/* style/slot-games.css */

/* Base Styles & Typography */
.page-slot-games {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
  padding-top: 120px; /* Adjust for fixed header */
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for titles */
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #cccccc;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Color Contrast Adjustments */
.page-slot-games__dark-bg {
  background-color: var(--dark-bg-1);
  color: #f0f0f0;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.page-slot-games__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red for contrast */
}

.page-slot-games__btn-primary:hover {
  background-color: #e0b000;
  color: #6a0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border-color: #FFD700;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #8B0000; /* Dark Red for contrast */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-slot-games__cta-block {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.page-slot-games__cta-block p {
  font-size: 20px;
  margin-bottom: 25px;
  color: #f0f0f0;
}

/* Hero Banner */
.page-slot-games__hero-banner {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #FFD700; /* Gold */
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-slot-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 80px 0;
}

.page-slot-games__intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-slot-games__intro-content p {
  font-size: 18px;
  text-align: justify;
  color: #333333;
}

.page-slot-games__intro-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
}

.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-slot-games__feature-card p {
  font-size: 16px;
  color: #cccccc;
}

/* Popular Games Section */
.page-slot-games__popular-games {
  padding: 80px 0;
}

.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-slot-games__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 18px;
  font-weight: 600;
  padding: 15px;
  text-align: center;
  color: #333333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
}

.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-slot-games__step-number {
  font-size: 48px;
  font-weight: 800;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-slot-games__step-card p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #cccccc;
  flex-grow: 1;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
}

.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 22px;
  font-weight: 700;
  padding: 15px 15px 10px;
  color: #8B0000; /* Dark Red */
}

.page-slot-games__promo-card p {
  font-size: 16px;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-primary,
.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin: 0 15px 15px;
}

/* Security & Support Section */
.page-slot-games__security-support-section {
  padding: 80px 0;
}

.page-slot-games__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-slot-games__security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__security-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-slot-games__security-item p {
  font-size: 16px;
  color: #cccccc;
}

.page-slot-games__contact-info {
  text-align: center;
  margin-top: 50px;
  font-size: 18px;
  color: #f0f0f0;
}

.page-slot-games__contact-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
}

.page-slot-games__contact-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eeeeee;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #f0f0f0;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #8B0000; /* Dark Red */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #FFD700; /* Gold */
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #ffffff;
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #eeeeee;
}

.page-slot-games__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  color: #333333;
}

/* Blog Section */
.page-slot-games__blog-section {
  padding: 80px 0;
}

.page-slot-games__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__blog-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-slot-games__blog-content {
  padding: 20px;
}

.page-slot-games__blog-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFD700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-slot-games__blog-excerpt {
  font-size: 16px;
  color: #cccccc;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 40px;
  }

  .page-slot-games__section-title {
    font-size: 30px;
  }

  .page-slot-games__hero-description,
  .page-slot-games__section-description,
  .page-slot-games__intro-content p,
  .page-slot-games__feature-card p,
  .page-slot-games__step-card p,
  .page-slot-games__promo-card p,
  .page-slot-games__security-item p,
  .page-slot-games__faq-answer p,
  .page-slot-games__blog-excerpt {
    font-size: 16px;
  }

  .page-slot-games__game-title,
  .page-slot-games__blog-title {
    font-size: 17px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__step-title,
  .page-slot-games__promo-title,
  .page-slot-games__security-title,
  .page-slot-games__faq-question h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    padding-top: 100px !important;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__main-title {
    font-size: 32px;
  }

  .page-slot-games__hero-description {
    font-size: 17px;
  }

  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    padding: 10px 20px;
    font-size: 15px;
  }

  .page-slot-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-slot-games__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .page-slot-games__intro-content {
    gap: 30px;
  }

  .page-slot-games__intro-image {
    border-radius: 8px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__security-grid,
  .page-slot-games__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__step-card,
  .page-slot-games__security-item {
    padding: 25px;
  }

  .page-slot-games__feature-icon,
  .page-slot-games__security-icon {
    width: 70px;
    height: 70px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__step-title,
  .page-slot-games__promo-title,
  .page-slot-games__security-title {
    font-size: 18px;
  }

  .page-slot-games__game-image,
  .page-slot-games__promo-image,
  .page-slot-games__blog-image {
    height: 180px;
  }

  .page-slot-games__game-title,
  .page-slot-games__blog-title {
    font-size: 16px;
    padding: 12px;
  }

  .page-slot-games__promo-title {
    padding: 12px 12px 8px;
  }

  .page-slot-games__promo-card p {
    padding: 0 12px 15px;
  }

  .page-slot-games__promo-card .page-slot-games__btn-primary,
  .page-slot-games__promo-card .page-slot-games__btn-secondary {
    margin: 0 12px 12px;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
    margin-left: 15px;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-slot-games__blog-content {
    padding: 15px;
  }

  .page-slot-games__blog-excerpt {
    font-size: 15px;
  }

  .page-slot-games__cta-block {
    margin-top: 40px;
    padding-top: 30px;
  }

  .page-slot-games__cta-block p {
    font-size: 18px;
  }

  /* Ensure all images are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__hero-banner,
  .page-slot-games__introduction-section,
  .page-slot-games__features-section,
  .page-slot-games__popular-games,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__security-support-section,
  .page-slot-games__faq-section,
  .page-slot-games__blog-section {
    padding: 50px 0;
  }
}

/* General image responsiveness for all images within .page-slot-games */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all containers holding images are responsive */
.page-slot-games__intro-content,
.page-slot-games__features-grid,
.page-slot-games__game-grid,
.page-slot-games__steps-grid,
.page-slot-games__promo-grid,
.page-slot-games__security-grid,
.page-slot-games__blog-grid,
.page-slot-games__feature-card,
.page-slot-games__game-card,
.page-slot-games__step-card,
.page-slot-games__promo-card,
.page-slot-games__security-item,
.page-slot-games__blog-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-slot-games__intro-content,
  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__security-grid,
  .page-slot-games__blog-grid,
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__step-card,
  .page-slot-games__promo-card,
  .page-slot-games__security-item,
  .page-slot-games__blog-card {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important; /* Remove padding from container to allow grid items to fill */
    padding-right: 0 !important;
  }

  .page-slot-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}