.page-index-review-hi88__hero-content-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust based on fixed nav height */
  background: linear-gradient(135deg, #0056b3, #ffc107); /* Brand colors for visual appeal */
}

.page-index-review-hi88__hero-content-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__feature-image {
  width: 100%;
  height: auto;
  max-width: 1000px; /* Adjust max-width for the image */
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-review-hi88__main-title {
  font-size: 42px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-review-hi88__subtitle {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.5;
}

.page-index-review-hi88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color, #ffc107);
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__cta-button:hover {
  background: var(--secondary-color, #e0a800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__introduction-section,
.page-index-review-hi88__review-content-section,
.page-index-review-hi88__promotions-section,
.page-index-review-hi88__faq-section {
  padding: 60px 20px;
}

.page-index-review-hi88__games-section,
.page-index-review-hi88__blog-section {
  padding: 60px 20px;
}

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

.page-index-review-hi88__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

.page-index-review-hi88__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Color Contrast System */
.page-index-review-hi88__dark-bg {
  color: #ffffff; /* Dark background with light text */
  background: #0a0a0a; /* Body background */
}

.page-index-review-hi88__light-bg {
  color: #333333; /* Light background with dark text */
  background: #f1f3f5; /* Light grey for contrast with dark body */
}

.page-index-review-hi88__review-content-card {
  background: #ffffff; /* White background for review card */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: #333333; /* Dark text on white background */
}

.page-index-review-hi88__review-content-card h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 24px;
  text-align: center;
}

.page-index-review-hi88__sub-section-title {
  font-size: 24px;
  font-weight: bold;
  color: #0056b3; /* Brand primary color for subheadings */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-index-review-hi88__review-body p {
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.7;
  color: #333333; /* Ensure readability */
}

.page-index-review-hi88__review-body strong {
  color: #000000; /* Stronger black for emphasized text */
}

.page-index-review-hi88__rating-summary {
  text-align: center;
  margin-top: 40px;
  font-size: 20px;
  font-weight: bold;
  color: #0056b3;
}

.page-index-review-hi88__stars-large {
  color: #ffc107;
  font-size: 36px;
  display: block;
  margin-bottom: 10px;
}

.page-index-review-hi88__games-section .page-index-review-hi88__section-title,
.page-index-review-hi88__games-section .page-index-review-hi88__section-description,
.page-index-review-hi88__blog-section .page-index-review-hi88__section-title,
.page-index-review-hi88__blog-section .page-index-review-hi88__section-description {
  color: #ffffff;
}

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

.page-index-review-hi88__game-card,
.page-index-review-hi88__promotion-card,
.page-index-review-hi88__blog-card {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-hi88__game-image,
.page-index-review-hi88__promo-image,
.page-index-review-hi88__blog-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-index-review-hi88__game-title,
.page-index-review-hi88__promotion-title,
.page-index-review-hi88__blog-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
  color: #ffffff; /* For dark cards */
}

.page-index-review-hi88__promotion-card .page-index-review-hi88__promotion-title {
    color: #0056b3; /* For light cards */
}

.page-index-review-hi88__game-text,
.page-index-review-hi88__promotion-text,
.page-index-review-hi88__blog-excerpt {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #f0f0f0; /* For dark cards */
}

.page-index-review-hi88__promotion-card .page-index-review-hi88__promotion-text {
    color: #333333; /* For light cards */
}

.page-index-review-hi88__blog-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index-review-hi88__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: #0056b3;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.page-index-review-hi88__read-more-button:hover {
  background: #004499;
  transform: translateY(-1px);
}

/* FAQ Section */
.page-index-review-hi88__faq-list {
  margin-top: 40px;
}

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

.page-index-review-hi88__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-hi88__faq-item.active .page-index-review-hi88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Dark text on light background */
}

.page-index-review-hi88__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;
  color: #333333; /* Dark text on white background */
}

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

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

.page-index-review-hi88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px; /* Adjusted for better readability */
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333; /* Dark text on white background */
}

.page-index-review-hi88__faq-toggle {
  font-size: 28px; /* Adjusted for better visibility */
  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: 32px;
  height: 32px;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-hi88__main-title {
    font-size: 36px;
  }
  .page-index-review-hi88__subtitle {
    font-size: 18px;
  }
  .page-index-review-hi88__section-title {
    font-size: 32px;
  }
  .page-index-review-hi88__sub-section-title {
    font-size: 22px;
  }
  .page-index-review-hi88__game-title,
  .page-index-review-hi88__promotion-title,
  .page-index-review-hi88__blog-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-index-review-hi88__hero-content-section {
    padding-top: 160px !important; /* Mobile: Adjust based on fixed nav height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-hi88__hero-content-container {
    padding: 25px;
  }
  .page-index-review-hi88__main-title {
    font-size: 28px;
  }
  .page-index-review-hi88__subtitle {
    font-size: 16px;
  }
  .page-index-review-hi88__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index-review-hi88__introduction-section,
  .page-index-review-hi88__review-content-section,
  .page-index-review-hi88__games-section,
  .page-index-review-hi88__promotions-section,
  .page-index-review-hi88__blog-section,
  .page-index-review-hi88__faq-section {
    padding: 30px 15px;
  }
  .page-index-review-hi88__section-title {
    font-size: 28px;
  }
  .page-index-review-hi88__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-index-review-hi88__sub-section-title {
    font-size: 20px;
  }
  .page-index-review-hi88__review-body p {
    font-size: 15px;
    line-height: 1.6;
  }
  .page-index-review-hi88__game-categories,
  .page-index-review-hi88__promotion-grid,
  .page-index-review-hi88__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-hi88__game-title,
  .page-index-review-hi88__promotion-title,
  .page-index-review-hi88__blog-title {
    font-size: 18px;
  }
  .page-index-review-hi88__game-text,
  .page-index-review-hi88__promotion-text,
  .page-index-review-hi88__blog-excerpt {
    font-size: 14px;
  }
  .page-index-review-hi88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-review-hi88__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-index-review-hi88__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-index-review-hi88__faq-answer {
    padding: 0 15px;
  }
  .page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image responsive adaptation */
  .page-index-review-hi88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-hi88__section,
  .page-index-review-hi88__card,
  .page-index-review-hi88__container,
  .page-index-review-hi88__hero-content-container,
  .page-index-review-hi88__review-content-card,
  .page-index-review-hi88__game-card,
  .page-index-review-hi88__promotion-card,
  .page-index-review-hi88__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}