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

:root {
  --primary-color: #336699; /* Deep Blue */
  --secondary-color: #FFCC00; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000;
  --bg-light-card: #ffffff;
  --border-light: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
}

.page-index-review-hi88 {
  background-color: var(--bg-dark); /* Inherits from body, but explicitly set for main content contrast */
  color: var(--text-light); /* Default text color for the main content area */
  padding-top: 120px; /* Fixed nav bar spacing for desktop */
}

@media (max-width: 768px) {
  .page-index-review-hi88 {
    padding-top: 100px; /* Fixed nav bar spacing for mobile */
  }
}

/* Review Content Section */
.page-index-review-hi88__review-content-section {
  padding: 40px 20px;
  background: var(--bg-dark); /* Section background matches body for seamless dark theme */
}

.page-index-review-hi88__review-content-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-index-review-hi88__review-content-card {
  background: var(--bg-light-card); /* White card background */
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
  padding: 40px;
  color: var(--text-dark); /* Dark text on white card */
}

.page-index-review-hi88__main-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color); /* Brand color for main title */
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

.page-index-review-hi88__sub-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color); /* Brand color for sub titles */
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-index-review-hi88__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color); /* Brand color for feature titles */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.page-index-review-hi88__review-body {
  color: var(--text-dark);
  line-height: 1.7;
}

.page-index-review-hi88__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

.page-index-review-hi88__review-body a {
  color: var(--primary-color); /* Links within body text */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-index-review-hi88__review-body a:hover {
  color: #004488; /* Darker blue on hover */
  text-decoration: underline;
}

.page-index-review-hi88__review-main-image,
.page-index-review-hi88__content-image {
  width: 100%;
  max-width: 1000px; /* Example max-width for content images */
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-index-review-hi88__game-list,
.page-index-review-hi88__promotion-list,
.page-index-review-hi88__news-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.page-index-review-hi88__game-list li,
.page-index-review-hi88__promotion-list li,
.page-index-review-hi88__news-list li {
  margin-bottom: 8px;
}

.page-index-review-hi88__game-list li strong {
  color: var(--primary-color);
}

.page-index-review-hi88__cta-section {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.page-index-review-hi88__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: fit-content;
  min-width: 250px;
  text-align: center;
}

.page-index-review-hi88__btn-register {
  background: linear-gradient(135deg, var(--secondary-color), #FFA500); /* Gold gradient */
  color: var(--text-dark); /* Dark text on gold */
}

.page-index-review-hi88__btn-register:hover {
  background: linear-gradient(135deg, #FFA500, #FFD700);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__btn-learn-more {
  background: var(--primary-color); /* Primary blue */
  color: var(--text-light); /* Light text on blue */
}

.page-index-review-hi88__btn-learn-more:hover {
  background: #004488; /* Darker blue */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}


/* FAQ Section */
.page-index-review-hi88__faq-section {
  padding: 60px 20px;
  background: var(--bg-dark); /* Dark background for FAQ section */
  color: var(--text-light);
}

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

.page-index-review-hi88__faq-main-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color); /* Gold color for FAQ title */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.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: #333333; /* Darker background for active answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-light); /* Light text on dark background */
}

.page-index-review-hi88__faq-answer p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

.page-index-review-hi88__faq-answer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.page-index-review-hi88__faq-answer a:hover {
    text-decoration: underline;
}

.page-index-review-hi88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a1a; /* Dark background for question */
  border: 1px solid #444444; /* Slightly lighter border */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-hi88__faq-question:hover {
  background: #2a2a2a; /* Slightly lighter on hover */
  border-color: #666666;
}

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

.page-index-review-hi88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light); /* Light text for question */
}

.page-index-review-hi88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color); /* Gold color for toggle icon */
  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-hi88__faq-item.active .page-index-review-hi88__faq-toggle {
  color: var(--text-light); /* White on active */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-hi88__review-content-card {
    padding: 30px;
  }
  .page-index-review-hi88__main-title {
    font-size: 30px;
  }
  .page-index-review-hi88__sub-title {
    font-size: 24px;
  }
  .page-index-review-hi88__feature-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-index-review-hi88__review-content-section {
    padding: 20px 15px;
  }
  
  .page-index-review-hi88__review-content-card {
    padding: 24px 20px;
  }
  
  .page-index-review-hi88__main-title {
    font-size: 26px;
  }
  
  .page-index-review-hi88__sub-title {
    font-size: 22px;
  }
  
  .page-index-review-hi88__feature-title {
    font-size: 18px;
  }
  
  .page-index-review-hi88__review-body p,
  .page-index-review-hi88__game-list,
  .page-index-review-hi88__promotion-list,
  .page-index-review-hi88__news-list {
    font-size: 15px;
  }

  .page-index-review-hi88__cta-section {
    gap: 10px;
  }

  .page-index-review-hi88__cta-button {
    padding: 12px 20px;
    font-size: 16px;
    min-width: unset;
    width: 100%;
  }

  .page-index-review-hi88__faq-section {
    padding: 40px 15px;
  }
  
  .page-index-review-hi88__faq-main-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .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: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .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;
  }
}

@media (max-width: 480px) {
  .page-index-review-hi88__main-title {
    font-size: 24px;
  }
  .page-index-review-hi88__sub-title {
    font-size: 20px;
  }
  .page-index-review-hi88__feature-title {
    font-size: 17px;
  }
  .page-index-review-hi88__review-content-card {
    padding: 15px;
  }
}