/* style/index-review-hi88.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

.page-index-review-hi88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

/* Hero Section */
.page-index-review-hi88__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  padding-top: 100px; /* Adjust for fixed header if any */
}

.page-index-review-hi88__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-review-hi88__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-review-hi88__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-review-hi88__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-hi88__subtitle {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-index-review-hi88__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.page-index-review-hi88__cta-button--secondary {
  background: none;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.page-index-review-hi88__cta-button--secondary:hover {
  background: var(--text-light);
  color: var(--secondary-color);
  border-color: var(--text-light);
}

/* General Section Styling */
.page-index-review-hi88__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-index-review-hi88__section:last-of-type {
  border-bottom: none;
}

.page-index-review-hi88__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-review-hi88__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-index-review-hi88__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-index-review-hi88__content-block {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.page-index-review-hi88__content-block p {
  margin-bottom: 15px;
}

.page-index-review-hi88__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.page-index-review-hi88__game-category {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.page-index-review-hi88__game-category ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-top: 15px;
}

.page-index-review-hi88__game-category li {
  margin-bottom: 8px;
}

/* Promotions Section */
.page-index-review-hi88__promotions {
  background-color: var(--background-light);
}

.page-index-review-hi88__promo-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-index-review-hi88__promo-list li {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary-color);
}

.page-index-review-hi88__promo-list li h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

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

/* Payment and Support Section */
.page-index-review-hi88__payment-methods, 
.page-index-review-hi88__withdrawal-process, 
.page-index-review-hi88__customer-support {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

/* FAQ Section */
.page-index-review-hi88__faq {
  background-color: #ffffff;
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--background-light);
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #e0e0e0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #fdfdfd;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Latest News Section */
.page-index-review-hi88__latest-news {
  background-color: var(--background-light);
}

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

.page-index-review-hi88__news-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-index-review-hi88__news-card:hover {
  transform: translateY(-5px);
}

.page-index-review-hi88__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-review-hi88__news-title {
  font-size: 1.4em;
  margin: 15px 15px 10px 15px;
}

.page-index-review-hi88__news-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-hi88__news-title a:hover {
  color: var(--primary-color);
}

.page-index-review-hi88__news-excerpt {
  font-size: 0.95em;
  color: #666;
  padding: 0 15px;
  margin-bottom: 15px;
}

.page-index-review-hi88__read-more {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 15px 15px 15px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index-review-hi88__read-more:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-hi88__main-title {
    font-size: 2.8em;
  }

  .page-index-review-hi88__section-title {
    font-size: 2.2em;
  }

  .page-index-review-hi88__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-index-review-hi88__hero-section {
    padding: 40px 15px;
  }

  .page-index-review-hi88__main-title {
    font-size: 2.2em;
  }

  .page-index-review-hi88__subtitle {
    font-size: 1em;
  }

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

  .page-index-review-hi88__cta-button {
    width: 80%;
    max-width: 300px;
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-index-review-hi88__section {
    padding: 40px 0;
  }

  .page-index-review-hi88__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-index-review-hi88__sub-title {
    font-size: 1.4em;
  }

  .page-index-review-hi88__content-block, 
  .page-index-review-hi88__game-category, 
  .page-index-review-hi88__payment-methods, 
  .page-index-review-hi88__withdrawal-process, 
  .page-index-review-hi88__customer-support, 
  .page-index-review-hi88__promo-list li {
    padding: 20px;
  }

  .page-index-review-hi88__promo-list {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 12px 15px;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-toggle {
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-item.active .faq-answer {
    padding: 10px 15px;
  }

  .page-index-review-hi88__news-grid {
    grid-template-columns: 1fr;
  }
}

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

  .page-index-review-hi88__section-title {
    font-size: 1.6em;
  }

  .page-index-review-hi88__sub-title {
    font-size: 1.2em;
  }

  .page-index-review-hi88__cta-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Ensure color contrast */
.page-index-review-hi88 h1, .page-index-review-hi88 h2, .page-index-review-hi88 h3 {
  color: var(--secondary-color); /* Dark Red */
}

.page-index-review-hi88 p, .page-index-review-hi88 li {
  color: var(--text-dark); /* Dark text on light background */
}

.page-index-review-hi88__hero-section h1, .page-index-review-hi88__hero-section p {
  color: var(--text-light); /* Light text on dark/gradient background */
}

.page-index-review-hi88__cta-button {
  background: var(--primary-color);
  color: var(--secondary-color); /* Gold button, Dark Red text */
}

.page-index-review-hi88__cta-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color); /* Dark Red hover, Gold text */
}

.page-index-review-hi88__cta-button--secondary {
  background: none;
  border: 2px solid var(--text-light);
  color: var(--text-light); /* Transparent button, White text */
}

.page-index-review-hi88__cta-button--secondary:hover {
  background: var(--text-light);
  color: var(--secondary-color); /* White hover, Dark Red text */
}

.faq-question {
  background: var(--background-light);
  color: var(--text-dark);
}

.faq-question h3 {
  color: var(--secondary-color);
}

.faq-toggle {
  color: var(--primary-color);
}

.faq-item.active .faq-toggle {
  color: var(--secondary-color);
}

.faq-answer {
  background: #fdfdfd;
  color: var(--text-dark);
}

.page-index-review-hi88__news-title a {
  color: var(--secondary-color);
}

.page-index-review-hi88__news-title a:hover {
  color: var(--primary-color);
}

.page-index-review-hi88__read-more {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-index-review-hi88__read-more:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}