/* style/index-review-fabet.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #FFD700;
  --dark-bg-1: #0d0d0d;
  --text-light: #ffffff;
  --text-dark: #333333;
  --card-bg-light: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
  --border-color: #e0e0e0;
}

.page-index-review-fabet {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
}

/* Fixed header padding */
.page-index-review-fabet__hero-banner {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
}

.page-index-review-fabet__review-content-section,
.page-index-review-fabet__games-section,
.page-index-review-fabet__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-index-review-fabet__general-intro-section,
.page-index-review-fabet__promotions-section,
.page-index-review-fabet__latest-news-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-index-review-fabet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-review-fabet__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-index-review-fabet__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Banner */
.page-index-review-fabet__hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #0056b3); /* Darker blue gradient */
  color: var(--text-light);
  text-align: center;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-review-fabet__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-review-fabet__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-index-review-fabet__hero-subtitle {
  font-size: 22px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.page-index-review-fabet__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-review-fabet__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--card-shadow);
}

.page-index-review-fabet__btn-primary {
  background: var(--secondary-color);
  color: var(--text-dark);
  border: 2px solid var(--secondary-color);
}

.page-index-review-fabet__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-fabet__btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-index-review-fabet__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Review Content Section (Module 1.5) */
.page-index-review-fabet__review-content-section {
  background: var(--card-bg-light);
  color: var(--text-dark);
  padding: 60px 20px;
}

.page-index-review-fabet__review-content-container {
  max-width: 1000px; /* Wider for readability */
  margin: 0 auto;
}

.page-index-review-fabet__review-content-card {
  background: var(--card-bg-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--card-shadow);
  padding: 40px;
}

.page-index-review-fabet__section-title.page-index-review-fabet__review-content-section h2 {
  color: var(--text-dark);
}

.page-index-review-fabet__section-title {
  color: var(--text-dark); /* Override for light background sections */
}

.page-index-review-fabet__review-content-card h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.page-index-review-fabet__sub-title {
  font-size: 24px;
  font-weight: bold; /* Small titles bold */
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.page-index-review-fabet__review-content-card p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-index-review-fabet__review-content-card p strong {
  color: var(--primary-color);
}

.page-index-review-fabet__link-promotion {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-fabet__link-promotion:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* General Intro Section (Adapted Module 2) */
.page-index-review-fabet__general-intro-section {
  background: var(--dark-bg-1);
  color: var(--text-light);
  padding: 80px 20px;
}

.page-index-review-fabet__general-intro-section .page-index-review-fabet__section-title {
  color: var(--text-light);
}

.page-index-review-fabet__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-fabet__intro-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px var(--card-shadow);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-review-fabet__intro-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.page-index-review-fabet__intro-icon {
  width: 80px; /* Minimum size 200x200px, but here it's an icon, so I'll follow the rule for content images */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px;
  object-fit: contain;
}

.page-index-review-fabet__card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-index-review-fabet__intro-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.page-index-review-fabet__cta-center {
  text-align: center;
  margin-top: 60px;
}

/* Games Section (Module 3) */
.page-index-review-fabet__games-section {
  background: var(--card-bg-light);
  color: var(--text-dark);
  padding: 80px 20px;
}

.page-index-review-fabet__games-section .page-index-review-fabet__section-title,
.page-index-review-fabet__games-section .page-index-review-fabet__section-description {
  color: var(--text-dark);
}

.page-index-review-fabet__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-fabet__game-card {
  background: var(--card-bg-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--card-shadow);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-dark);
}

.page-index-review-fabet__game-card:hover {
  transform: translateY(-5px);
}

.page-index-review-fabet__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px;
}

.page-index-review-fabet__game-card .page-index-review-fabet__card-title {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-review-fabet__game-card p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-review-fabet__game-card .page-index-review-fabet__btn-download {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: none;
}

.page-index-review-fabet__game-card .page-index-review-fabet__btn-download:hover {
  background: #0056b3;
}

/* Promotions Section (Module 4) */
.page-index-review-fabet__promotions-section {
  background: var(--dark-bg-1);
  color: var(--text-light);
  padding: 80px 20px;
}

.page-index-review-fabet__promotions-section .page-index-review-fabet__section-title,
.page-index-review-fabet__promotions-section .page-index-review-fabet__section-description {
  color: var(--text-light);
}

.page-index-review-fabet__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-fabet__promo-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px var(--card-shadow);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-fabet__promo-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.page-index-review-fabet__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px;
}

.page-index-review-fabet__promo-card .page-index-review-fabet__card-title {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-index-review-fabet__promo-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-review-fabet__promo-card .page-index-review-fabet__btn-download {
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: none;
}

.page-index-review-fabet__promo-card .page-index-review-fabet__btn-download:hover {
  background: #e6c200;
}

/* FAQ Section */
.page-index-review-fabet__faq-section {
  background: var(--card-bg-light);
  color: var(--text-dark);
  padding: 80px 20px;
}

.page-index-review-fabet__faq-section .page-index-review-fabet__section-title {
  color: var(--text-dark);
}

.page-index-review-fabet__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-index-review-fabet__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-review-fabet__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 15px;
  opacity: 0;
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-index-review-fabet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-fabet__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-review-fabet__faq-question:active {
  background: #eeeeee;
}

.page-index-review-fabet__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-index-review-fabet__faq-toggle {
  font-size: 28px; /* Larger for better visibility */
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color); /* Use primary color */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* Larger toggle area */
  height: 32px;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Rotate for 'x' effect */
  border-color: #333;
}

/* Latest News Section (Module 5) */
.page-index-review-fabet__latest-news-section {
  background: var(--dark-bg-1);
  color: var(--text-light);
  padding: 80px 20px;
}

.page-index-review-fabet__latest-news-section .page-index-review-fabet__section-title {
  color: var(--text-light);
}

.page-index-review-fabet__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-fabet__news-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--card-shadow);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-index-review-fabet__news-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.page-index-review-fabet__news-image {
  width: 100%;
  height: 220px; /* Fixed height for news images */
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px;
}

.page-index-review-fabet__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-fabet__news-content .page-index-review-fabet__card-title {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: left;
  color: var(--secondary-color);
}

.page-index-review-fabet__news-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-fabet__news-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-index-review-fabet__news-card p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-index-review-fabet__news-date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  display: block;
}

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

  .page-index-review-fabet__hero-subtitle {
    font-size: 20px;
  }

  .page-index-review-fabet__section-title {
    font-size: 30px;
  }

  .page-index-review-fabet__sub-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fabet__hero-banner {
    padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
  }

  .page-index-review-fabet__hero-title {
    font-size: 32px;
  }

  .page-index-review-fabet__hero-subtitle {
    font-size: 18px;
  }

  .page-index-review-fabet__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-review-fabet__cta-button {
    width: 100%;
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-index-review-fabet__review-content-card {
    padding: 25px;
  }

  .page-index-review-fabet__review-content-card h2 {
    font-size: 26px;
  }

  .page-index-review-fabet__sub-title {
    font-size: 20px;
    margin-top: 25px;
  }

  .page-index-review-fabet__review-content-card p,
  .page-index-review-fabet__intro-card p,
  .page-index-review-fabet__game-card p,
  .page-index-review-fabet__promo-card p,
  .page-index-review-fabet__news-card p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .page-index-review-fabet__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-index-review-fabet__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-index-review-fabet__intro-grid,
  .page-index-review-fabet__games-grid,
  .page-index-review-fabet__promotions-grid,
  .page-index-review-fabet__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-fabet__intro-icon,
  .page-index-review-fabet__game-image,
  .page-index-review-fabet__promo-image,
  .page-index-review-fabet__news-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-index-review-fabet__intro-card,
  .page-index-review-fabet__game-card,
  .page-index-review-fabet__promo-card,
  .page-index-review-fabet__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-review-fabet__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-fabet__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-fabet__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .page-index-review-fabet__faq-answer {
    padding: 0 15px;
  }
  
  .page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-index-review-fabet__hero-title {
    font-size: 28px;
  }

  .page-index-review-fabet__hero-subtitle {
    font-size: 16px;
  }

  .page-index-review-fabet__section-title {
    font-size: 24px;
  }

  .page-index-review-fabet__sub-title {
    font-size: 18px;
  }

  .page-index-review-fabet__cta-button {
    font-size: 15px;
    padding: 10px 20px;
  }
}