/* style/index-review-fabet.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000000;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-index-review-fabet {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so default text is light */
  background-color: var(--background-dark);
  line-height: 1.6;
  padding-top: 120px; /* Default desktop padding to clear fixed header */
}

@media (max-width: 768px) {
  .page-index-review-fabet {
    padding-top: 100px !important; /* Mobile padding */
  }
}

/* HERO Intro Section */
.page-index-review-fabet__hero-intro-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding-top: 180px; /* Desktop padding-top for HERO, higher to clear header and be visually dominant */
}

.page-index-review-fabet__hero-intro-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

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

.page-index-review-fabet__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-index-review-fabet__hero-image-wrapper {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

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

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

.page-index-review-fabet__cta-button--primary:hover {
  background: #f0c929; /* Slightly darker secondary */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-index-review-fabet__review-content-card {
  background: var(--primary-color); /* Dark background for review card */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  padding: 50px;
  color: var(--text-light);
}

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

.page-index-review-fabet__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 35px;
  margin-bottom: 15px;
}

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

.page-index-review-fabet__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-index-review-fabet__rating {
  text-align: center;
  margin-top: 40px;
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-index-review-fabet__stars {
  color: var(--secondary-color);
  margin-right: 10px;
}

/* Games Section (Module 3) */
.page-index-review-fabet__games-section {
  padding: 60px 20px;
  background: var(--background-dark);
}

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

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

.page-index-review-fabet__game-card {
  background: var(--primary-color); /* Dark card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-index-review-fabet__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-review-fabet__game-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
  padding: 0 20px;
}

.page-index-review-fabet__game-description {
  font-size: 16px;
  margin-bottom: 25px;
  padding: 0 20px;
  color: var(--text-light);
}

.page-index-review-fabet__btn-play {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-review-fabet__btn-play:hover {
  background: #f0c929;
  transform: translateY(-2px);
}

/* Promotions Section (Module 4) */
.page-index-review-fabet__promotions-section {
  padding: 60px 20px;
  background: var(--background-dark);
}

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

.page-index-review-fabet__promo-item {
  background: var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-index-review-fabet__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-fabet__promo-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text-light);
}

.page-index-review-fabet__btn-join {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-review-fabet__btn-join:hover {
  background: #f0c929;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-index-review-fabet__faq-section {
  padding: 60px 20px;
  background: var(--background-dark);
}

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

.page-index-review-fabet__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-index-review-fabet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color); /* Dark background for question */
  border: 1px solid #1a3a7a; /* Slightly lighter border for contrast */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-index-review-fabet__faq-question:hover {
  background: #1a3a7a;
  border-color: #2b509e;
}

.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-light);
}

.page-index-review-fabet__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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;
  height: 32px;
}

.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 25px;
  opacity: 0;
  background: #0d2e70; /* Slightly lighter dark background for answer */
  color: var(--text-light);
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-toggle {
  color: var(--text-light);
  transform: rotate(180deg);
}

.page-index-review-fabet__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-index-review-fabet__faq-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-review-fabet__faq-link:hover {
  color: #f0c929;
}

/* Related Articles Section */
.page-index-review-fabet__related-articles-section {
  padding: 60px 20px 80px;
  background: var(--background-dark);
}

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

.page-index-review-fabet__article-card {
  background: var(--primary-color); /* Dark card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-index-review-fabet__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.page-index-review-fabet__article-title {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 20px 10px;
  line-height: 1.4;
}

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

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

.page-index-review-fabet__article-summary {
  font-size: 15px;
  margin: 0 20px 20px;
  color: var(--text-light);
}

.page-index-review-fabet__read-more {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-review-fabet__read-more:hover {
  background: #f0c929;
  transform: translateY(-2px);
}

/* Common container for content sections */
.page-index-review-fabet__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-review-fabet__main-title {
    font-size: 36px;
  }
  .page-index-review-fabet__intro-text {
    font-size: 17px;
  }
  .page-index-review-fabet__review-content-card {
    padding: 40px;
  }
  .page-index-review-fabet__section-title {
    font-size: 32px;
  }
  .page-index-review-fabet__sub-title {
    font-size: 22px;
  }
  .page-index-review-fabet__review-content-card p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fabet__hero-intro-section {
    padding-top: 140px !important; /* Mobile HERO padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-fabet__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-index-review-fabet__intro-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .page-index-review-fabet__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-review-fabet__cta-button {
    width: 100%;
    max-width: 300px; /* Limit button width on mobile */
    margin: 0 auto;
    font-size: 16px;
    padding: 12px 25px;
  }

  .page-index-review-fabet__review-content-section,
  .page-index-review-fabet__games-section,
  .page-index-review-fabet__promotions-section,
  .page-index-review-fabet__faq-section,
  .page-index-review-fabet__related-articles-section {
    padding: 40px 15px;
  }
  .page-index-review-fabet__review-content-card {
    padding: 25px;
  }
  .page-index-review-fabet__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }
  .page-index-review-fabet__sub-title {
    font-size: 20px;
    margin-top: 25px;
  }
  .page-index-review-fabet__review-content-card p {
    font-size: 15px;
  }
  .page-index-review-fabet__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-index-review-fabet__game-image {
    height: 160px;
  }
  .page-index-review-fabet__game-title {
    font-size: 20px;
  }
  .page-index-review-fabet__game-description {
    font-size: 14px;
  }
  .page-index-review-fabet__promo-title {
    font-size: 18px;
  }
  .page-index-review-fabet__promo-description {
    font-size: 14px;
  }
  .page-index-review-fabet__faq-question {
    padding: 15px 20px;
  }
  .page-index-review-fabet__faq-question h3 {
    font-size: 16px;
  }
  .page-index-review-fabet__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-index-review-fabet__faq-answer {
    padding: 0 20px;
  }
  .page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-answer {
    padding: 15px 20px !important;
  }
  .page-index-review-fabet__faq-answer p {
    font-size: 14px;
  }
  .page-index-review-fabet__article-image {
    height: 150px;
  }
  .page-index-review-fabet__article-title {
    font-size: 18px;
    margin: 15px 15px 8px;
  }
  .page-index-review-fabet__article-summary {
    font-size: 13px;
    margin: 0 15px 15px;
  }
  .page-index-review-fabet__read-more {
    margin: 0 15px 15px;
    padding: 7px 15px;
    font-size: 13px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-index-review-fabet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-fabet__container,
  .page-index-review-fabet__hero-intro-container,
  .page-index-review-fabet__review-content-container,
  .page-index-review-fabet__game-list,
  .page-index-review-fabet__promo-list,
  .page-index-review-fabet__faq-list,
  .page-index-review-fabet__article-list,
  .page-index-review-fabet__hero-image-wrapper,
  .page-index-review-fabet__game-card,
  .page-index-review-fabet__promo-item,
  .page-index-review-fabet__faq-item,
  .page-index-review-fabet__article-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-review-fabet__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-review-fabet__main-title {
    font-size: 24px;
  }
  .page-index-review-fabet__intro-text {
    font-size: 14px;
  }
  .page-index-review-fabet__section-title {
    font-size: 22px;
  }
  .page-index-review-fabet__sub-title {
    font-size: 18px;
  }
  .page-index-review-fabet__review-content-card {
    padding: 20px;
  }
  .page-index-review-fabet__game-title {
    font-size: 18px;
  }
  .page-index-review-fabet__promo-title {
    font-size: 16px;
  }
  .page-index-review-fabet__faq-question h3 {
    font-size: 15px;
  }
  .page-index-review-fabet__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
}