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

:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f1f3f5;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}

/* Ensure page content is below fixed header */
.page-index-review-fa88 {
  padding-top: 120px; /* Desktop: Adjust based on shared header height */
  color: var(--text-light); /* Default text color for dark body background */
}

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

.page-index-review-fa88__dark-bg {
  background: #0a0a0a; /* Matches body background from shared.css */
  color: var(--text-light);
}

.page-index-review-fa88__light-bg {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* Intro Section */
.page-index-review-fa88__intro-section {
  text-align: center;
  padding: 60px 0;
  padding-top: 180px; /* Specific padding-top for the first section */
  position: relative;
  overflow: hidden;
}

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

.page-index-review-fa88__main-title .highlight {
  color: var(--secondary-color);
}

.page-index-review-fa88__intro-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

.page-index-review-fa88__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

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

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

.page-index-review-fa88__btn-primary:hover {
  background: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

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

.page-index-review-fa88__intro-image {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Overview Section */
.page-index-review-fa88__overview-section {
  padding: 60px 0;
  text-align: center;
}

.page-index-review-fa88__section-title {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.page-index-review-fa88__card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
  color: var(--text-dark);
}

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

.page-index-review-fa88__card .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-index-review-fa88__overview-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

/* Detail Review Section */
.page-index-review-fa88__detail-review-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.page-index-review-fa88__review-item {
  padding: 25px;
}

.page-index-review-fa88__review-heading {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index-review-fa88__review-item p {
  margin-bottom: 15px;
}

.page-index-review-fa88__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-review-fa88__btn-small:hover {
  background: darken(var(--secondary-color), 10%);
  transform: translateY(-1px);
}

.page-index-review-fa88__game-image,
.page-index-review-fa88__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

.page-index-review-fa88__conclusion-cta {
  text-align: center;
  padding: 40px;
  margin-top: 40px;
}

.page-index-review-fa88__conclusion-cta p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-dark);
}

/* FAQ Section */
.page-index-review-fa88__faq-section {
  padding: 60px 0;
  background: #0a0a0a; /* Dark background */
  color: var(--text-light);
}

.page-index-review-fa88__faq-section .page-index-review-fa88__section-title {
  color: var(--text-light);
}

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

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

.page-index-review-fa88__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-fa88__faq-item.active .page-index-review-fa88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #1a1a1a; /* Slightly lighter dark background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-light);
}

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer p {
  color: var(--text-light);
}

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer .highlight {
  color: var(--secondary-color);
}

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer a {
  color: var(--secondary-color);
}

.page-index-review-fa88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg);
  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;
  color: var(--text-dark);
}

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

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

.page-index-review-fa88__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-fa88__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-fa88__faq-item.active .page-index-review-fa88__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-fa88__main-title {
    font-size: 36px;
  }
  .page-index-review-fa88__intro-text {
    font-size: 16px;
  }
  .page-index-review-fa88__section-title {
    font-size: 30px;
  }
  .page-index-review-fa88__review-heading {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fa88 {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile header height */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index-review-fa88__intro-section {
    padding-top: 140px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-fa88__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-index-review-fa88__intro-text {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-index-review-fa88__cta-group {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }
  .page-index-review-fa88__btn-primary,
  .page-index-review-fa88__btn-secondary {
    width: 100%;
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-index-review-fa88__intro-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-fa88__overview-section,
  .page-index-review-fa88__detail-review-section,
  .page-index-review-fa88__faq-section {
    padding: 40px 0;
  }
  .page-index-review-fa88__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-review-fa88__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-index-review-fa88__card {
    padding: 20px;
  }
  .page-index-review-fa88__card p {
    font-size: 15px;
  }
  .page-index-review-fa88__review-heading {
    font-size: 20px;
  }
  .page-index-review-fa88__btn-small {
    width: auto;
    font-size: 13px;
    padding: 8px 15px;
  }
  .page-index-review-fa88__game-image,
  .page-index-review-fa88__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-fa88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-review-fa88__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-index-review-fa88__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-index-review-fa88__faq-answer {
    padding: 0 15px;
  }
  .page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
    padding: 15px !important;
  }
}