/* style/index-review-fabet.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #DC143C;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #121212;
  --bg-light: #f1f3f5;
  --card-bg: #ffffff;
  --border-light: #e0e0e0;
}

.page-index-review-fabet {
  color: var(--text-light); /* Dark body background #121212, so use light text */
  background-color: var(--bg-dark);
}

/* Fixed header padding */
.page-index-review-fabet__top-padding {
  padding-top: 120px; /* Desktop */
}

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

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

.page-index-review-fabet__review-content-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-index-review-fabet__review-content-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: var(--text-dark);
}

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

.page-index-review-fabet__review-content-card h2 {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-index-review-fabet__review-content-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-index-review-fabet__review-body {
  color: var(--text-dark);
  line-height: 1.7;
}

.page-index-review-fabet__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

.page-index-review-fabet__text-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-index-review-fabet__rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.page-index-review-fabet__overall-rating {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.page-index-review-fabet__image-placeholder {
    margin: 30px 0;
    text-align: center;
}

.page-index-review-fabet__image-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-index-review-fabet__action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* CTA Buttons */
.page-index-review-fabet__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-review-fabet__btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-review-fabet__btn-primary:hover {
  background: linear-gradient(135deg, #FFA500, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__btn-secondary {
  background: var(--card-bg);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-review-fabet__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* About Section (Module 2) */
.page-index-review-fabet__about-section {
  padding: 60px 20px;
  background: var(--bg-light);
  color: var(--text-dark);
}

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

.page-index-review-fabet__about-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
}

.page-index-review-fabet__about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index-review-fabet__about-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index-review-fabet__about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-index-review-fabet__about-text {
  flex: 2;
  line-height: 1.7;
  font-size: 16px;
}

.page-index-review-fabet__about-text p {
  margin-bottom: 15px;
}

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

.page-index-review-fabet__games-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-review-fabet__games-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-index-review-fabet__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: #cccccc;
}

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

.page-index-review-fabet__game-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-fabet__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-index-review-fabet__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-review-fabet__game-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

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

.page-index-review-fabet__game-card-link:hover {
  color: var(--secondary-color);
}

.page-index-review-fabet__game-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #666666;
}

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

.page-index-review-fabet__promotions-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-review-fabet__promotions-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 20px;
}

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

.page-index-review-fabet__promo-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-fabet__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-index-review-fabet__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-review-fabet__promo-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

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

.page-index-review-fabet__promo-card-link:hover {
  color: var(--secondary-color);
}

.page-index-review-fabet__promo-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #666666;
}

/* Blog Section (Module 5) */
.page-index-review-fabet__blog-section {
  padding: 60px 20px;
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-index-review-fabet__blog-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-review-fabet__blog-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.page-index-review-fabet__blog-post-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-fabet__blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-index-review-fabet__blog-post-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-review-fabet__blog-post-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

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

.page-index-review-fabet__blog-card-link:hover {
  color: var(--secondary-color);
}

.page-index-review-fabet__blog-post-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #666666;
}

.page-index-review-fabet__post-date {
  font-size: 13px;
  color: #999999;
  display: block;
  margin-bottom: 20px;
}

.page-index-review-fabet__view-all-button {
  margin-top: 50px;
}

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

.page-index-review-fabet__faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-index-review-fabet__faq-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.page-index-review-fabet__faq-list {
  margin-top: 30px;
  text-align: left;
}

.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;
  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-answer p {
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
}

.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-light);
  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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

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

.page-index-review-fabet__faq-item.active .page-index-review-fabet__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fabet__review-content-card, 
  .page-index-review-fabet__about-content, 
  .page-index-review-fabet__games-grid, 
  .page-index-review-fabet__promotions-grid, 
  .page-index-review-fabet__blog-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fabet__review-content-section,
  .page-index-review-fabet__about-section,
  .page-index-review-fabet__games-section,
  .page-index-review-fabet__promotions-section,
  .page-index-review-fabet__blog-section,
  .page-index-review-fabet__faq-section {
    padding: 30px 15px;
  }
  
  .page-index-review-fabet__review-content-card {
    padding: 25px;
  }

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

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

  .page-index-review-fabet__review-content-card h3 {
    font-size: 18px;
  }

  .page-index-review-fabet__review-body p,
  .page-index-review-fabet__about-text p,
  .page-index-review-fabet__game-card p,
  .page-index-review-fabet__promo-card p,
  .page-index-review-fabet__blog-post-card p {
    font-size: 14px;
  }

  .page-index-review-fabet__rating-summary {
      padding: 15px;
  }

  .page-index-review-fabet__overall-rating {
      font-size: 20px;
  }

  .page-index-review-fabet__action-buttons {
      flex-direction: column;
      gap: 15px;
  }

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

  .page-index-review-fabet__about-content {
    flex-direction: column;
    text-align: center;
  }

  .page-index-review-fabet__about-image {
    margin-bottom: 20px;
  }

  .page-index-review-fabet__games-section h2,
  .page-index-review-fabet__promotions-section h2,
  .page-index-review-fabet__blog-section h2,
  .page-index-review-fabet__faq-section h2 {
    font-size: 26px;
  }

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

  .page-index-review-fabet__game-card h3,
  .page-index-review-fabet__promo-card h3,
  .page-index-review-fabet__blog-post-card h3 {
    font-size: 18px;
  }

  .page-index-review-fabet__post-date {
    font-size: 12px;
  }

  .page-index-review-fabet__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-fabet__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-fabet__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .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;
  }
}