:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f1f3f5;
  --bg-white: #ffffff;
  --border-light: #e0e0e0;
}

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

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

.page-index-review-tot88__section {
  padding: 60px 20px;
}

.page-index-review-tot88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

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

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

.page-index-review-tot88__highlight {
  color: var(--secondary-color);
}

.page-index-review-tot88__cta-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-tot88__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__cta-button--light {
  background: var(--text-light);
  color: var(--primary-color);
}

.page-index-review-tot88__cta-button--light:hover {
  background: #f0f0f0;
}

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

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

.page-index-review-tot88__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-dark);
}

.page-index-review-tot88__text-block--light {
  color: var(--text-light);
}

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

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

.page-index-review-tot88__text-link--light {
  color: var(--secondary-color);
}

.page-index-review-tot88__text-link--light:hover {
  color: #e6c200;
}

/* Overview Section */
.page-index-review-tot88__overview-section {
  background: var(--bg-white);
}

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

.page-index-review-tot88__card {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.page-index-review-tot88__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-index-review-tot88__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-index-review-tot88__card-text {
  font-size: 15px;
  color: var(--text-dark);
  text-align: justify;
}

/* Games Section */
.page-index-review-tot88__games-section {
  background: var(--primary-color);
}

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

.page-index-review-tot88__game-category-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-index-review-tot88__game-category-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-index-review-tot88__game-category-icon {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
}

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

.page-index-review-tot88__game-category-description {
  font-size: 15px;
  color: var(--text-light);
  text-align: justify;
}

/* Promotions Section */
.page-index-review-tot88__promotions-section {
  background: var(--bg-white);
}

.page-index-review-tot88__promo-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-index-review-tot88__promo-item {
  display: flex;
  align-items: flex-start;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  border: 1px solid var(--border-light);
}

.page-index-review-tot88__promo-icon {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  margin-right: 25px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 150px;
  min-height: 150px;
}

.page-index-review-tot88__promo-content {
  flex-grow: 1;
}

.page-index-review-tot88__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-review-tot88__promo-description {
  font-size: 15px;
  color: var(--text-dark);
  text-align: justify;
}

/* Payments & Support Section */
.page-index-review-tot88__payments-support-section {
  background: var(--bg-light);
}

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

.page-index-review-tot88__feature-item {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.page-index-review-tot88__feature-icon {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  min-width: 180px;
  min-height: 180px;
  object-fit: contain;
}

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

.page-index-review-tot88__feature-description {
  font-size: 15px;
  color: var(--text-dark);
  text-align: justify;
}

/* Conclusion Section */
.page-index-review-tot88__conclusion-section {
  background: var(--primary-color);
}

/* FAQ Section */
.page-index-review-tot88__faq-section {
  background: var(--bg-white);
}

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

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

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

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

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

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

.page-index-review-tot88__faq-toggle {
  font-size: 24px;
  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: 28px;
  height: 28px;
}

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

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

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-index-review-tot88__faq-answer p {
  margin: 0;
  font-size: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-tot88__main-title {
    font-size: 36px;
  }

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

  .page-index-review-tot88__card-image, .page-index-review-tot88__game-category-icon, .page-index-review-tot88__promo-icon, .page-index-review-tot88__feature-icon {
    min-width: 150px;
    min-height: 150px;
  }
  .page-index-review-tot88__promo-icon {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    margin-right: 20px;
  }
}

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

  .page-index-review-tot88__section {
    padding: 40px 15px;
  }

  .page-index-review-tot88__main-title {
    font-size: 28px;
  }

  .page-index-review-tot88__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-index-review-tot88__cta-button {
    padding: 12px 25px;
    font-size: 18px;
  }

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

  .page-index-review-tot88__text-block {
    font-size: 15px;
  }

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

  .page-index-review-tot88__card-image, .page-index-review-tot88__game-category-icon, .page-index-review-tot88__promo-icon, .page-index-review-tot88__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-index-review-tot88__card-grid, .page-index-review-tot88__game-categories, .page-index-review-tot88__features-grid {
    gap: 20px;
  }

  .page-index-review-tot88__promo-item {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .page-index-review-tot88__promo-icon {
    margin-right: 0;
    margin-bottom: 20px;
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
  }

  .page-index-review-tot88__promo-content {
    text-align: center;
  }

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

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

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

  .page-index-review-tot88__card-title, .page-index-review-tot88__game-category-title, .page-index-review-tot88__promo-title, .page-index-review-tot88__feature-title {
    font-size: 20px;
  }

  .page-index-review-tot88__text-block, .page-index-review-tot88__card-text, .page-index-review-tot88__game-category-description, .page-index-review-tot88__promo-description, .page-index-review-tot88__feature-description, .page-index-review-tot88__faq-answer p {
    font-size: 14px;
  }
  .page-index-review-tot88__card-image, .page-index-review-tot88__game-category-icon, .page-index-review-tot88__promo-icon, .page-index-review-tot88__feature-icon {
    min-width: 100% !important;
    min-height: 100% !important;
  }
}