/* style/index-review-tot88.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f1f3f5;
  --border-light: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
}

/* Ensure content is not hidden by fixed header */
.page-index-review-tot88 {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, likely dark */
  color: var(--text-light); /* Default text color for the page content, assuming dark body bg */
}

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

.page-index-review-tot88__intro-section {
  text-align: center;
  padding: 60px 0;
  background: var(--dark-bg-1); /* Match body background */
  color: var(--text-light);
}

.page-index-review-tot88__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color); /* Use primary color for main title */
  line-height: 1.2;
}

.page-index-review-tot88__intro-text {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-index-review-tot88__intro-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-tot88__intro-text a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-index-review-tot88__intro-image-wrapper {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-tot88__cta-group {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.page-index-review-tot88__cta-button {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index-review-tot88__cta-button--primary {
  background: linear-gradient(135deg, var(--primary-color), #FFC107);
  color: #000000; /* Dark text for gold background */
}

.page-index-review-tot88__cta-button--primary:hover {
  background: linear-gradient(135deg, #FFC107, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__cta-button--secondary {
  background: linear-gradient(135deg, var(--secondary-color), #A00000);
  color: var(--text-light);
}

.page-index-review-tot88__cta-button--secondary:hover {
  background: linear-gradient(135deg, #A00000, var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__review-content-section {
  padding: 60px 20px;
  background: var(--dark-bg-1); /* Match body background */
}

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

.page-index-review-tot88__review-content-card {
  background: #1a1a1a; /* Dark background for review card */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  padding: 40px;
  color: var(--text-light); /* Light text on dark background */
  border: 1px solid rgba(var(--primary-color-rgb), 0.3);
}

.page-index-review-tot88__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 35px;
  text-align: center;
  line-height: 1.3;
}

.page-index-review-tot88__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-index-review-tot88__review-content-card p,
.page-index-review-tot88__review-content-card li {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-index-review-tot88__review-content-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-tot88__review-content-card a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-index-review-tot88__review-content-card ul {
  list-style: disc inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-index-review-tot88__game-showcase,
.page-index-review-tot88__promo-image-wrapper {
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-tot88__final-rating {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-review-tot88__stars-large {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-review-tot88__rating-text {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--text-light);
}

.page-index-review-tot88__cta-group--bottom {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

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

.page-index-review-tot88__faq-list {
  margin-top: 40px;
}

.page-index-review-tot88__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

.page-index-review-tot88__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;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #2a2a2a;
  border-radius: 0 0 8px 8px;
  color: #e0e0e0;
}

.page-index-review-tot88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1a1a1a;
  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-tot88__faq-question:hover {
  background: #2a2a2a;
  border-color: var(--primary-color);
}

.page-index-review-tot88__faq-question:active {
  background: #3a3a3a;
}

.page-index-review-tot88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

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

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

.page-index-review-tot88__faq-answer p {
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-tot88__main-title {
    font-size: 2.8em;
  }
  .page-index-review-tot88__section-title {
    font-size: 2.2em;
  }
  .page-index-review-tot88__sub-title {
    font-size: 1.6em;
  }
  .page-index-review-tot88__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-review-tot88__cta-button {
    width: 80%;
    max-width: 350px;
    margin: 0 auto;
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .page-index-review-tot88 {
    padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
    font-size: 15px;
    line-height: 1.6;
  }
  .page-index-review-tot88__container {
    padding: 0 15px;
  }
  .page-index-review-tot88__intro-section,
  .page-index-review-tot88__review-content-section,
  .page-index-review-tot88__faq-section {
    padding: 40px 0;
  }
  .page-index-review-tot88__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-index-review-tot88__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index-review-tot88__cta-button {
    font-size: 1em;
    padding: 12px 25px;
    width: 100%;
    max-width: 100%;
  }
  .page-index-review-tot88__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-index-review-tot88__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-index-review-tot88__review-content-card {
    padding: 25px;
  }
  .page-index-review-tot88__review-content-card p,
  .page-index-review-tot88__review-content-card li {
    font-size: 0.95em;
    margin-bottom: 10px;
  }
  .page-index-review-tot88__stars-large {
    font-size: 2.8em;
  }
  .page-index-review-tot88__rating-text {
    font-size: 1.2em;
  }
  .page-index-review-tot88__faq-question {
    padding: 15px 20px;
  }
  .page-index-review-tot88__faq-question h3 {
    font-size: 1em;
  }
  .page-index-review-tot88__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
    padding: 15px 20px !important;
  }
  /* Mobile image fallback */
  .page-index-review-tot88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-tot88__section,
  .page-index-review-tot88__card,
  .page-index-review-tot88__container,
  .page-index-review-tot88__intro-image-wrapper,
  .page-index-review-tot88__game-showcase,
  .page-index-review-tot88__promo-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-tot88__review-content-container {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .page-index-review-tot88__main-title {
    font-size: 1.8em;
  }
  .page-index-review-tot88__section-title {
    font-size: 1.5em;
  }
  .page-index-review-tot88__sub-title {
    font-size: 1.2em;
  }
  .page-index-review-tot88__cta-group {
    gap: 10px;
  }
  .page-index-review-tot88__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index-review-tot88__stars-large {
    font-size: 2.2em;
  }
  .page-index-review-tot88__rating-text {
    font-size: 1em;
  }
  .page-index-review-tot88__review-content-card {
    padding: 20px 15px;
  }
  .page-index-review-tot88__faq-question h3 {
    font-size: 0.9em;
  }
  .page-index-review-tot88__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
    padding: 10px 15px !important;
  }
}