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

:root {
  --primary-color: #FFD700;
  --secondary-color: #00CED1;
  --dark-bg-color: #1a1a2e;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-bg-color: #ffffff;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --hover-shadow-color: rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Default text color for dark body background */
  background-color: var(--dark-bg-color); /* Inherited from body */
  padding-top: 120px; /* Adjust for fixed header */
}

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

.page-index-review-hi88__main-title,
.page-index-review-hi88__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--light-text-color); /* Ensure contrast on dark sections */
}

.page-index-review-hi88__section-title {
  font-size: 32px;
  margin-top: 60px;
  margin-bottom: 30px;
}

.page-index-review-hi88__lead-paragraph {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-hi88__highlight-text {
  color: var(--primary-color);
}

.page-index-review-hi88__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index-review-hi88__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.page-index-review-hi88__btn-primary {
  background: var(--primary-color);
  color: var(--dark-text-color); /* Ensure contrast on primary color */
  border: 2px solid var(--primary-color);
}

.page-index-review-hi88__btn-primary:hover {
  background: #e6c200;
  box-shadow: 0 6px 16px var(--hover-shadow-color);
  transform: translateY(-2px);
}

.page-index-review-hi88__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-index-review-hi88__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--dark-text-color); /* Ensure contrast on primary color */
  box-shadow: 0 6px 16px var(--hover-shadow-color);
  transform: translateY(-2px);
}

.page-index-review-hi88__inline-cta {
  display: inline-block;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  margin-top: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-index-review-hi88__inline-cta:hover {
  color: #e6c200;
  border-color: #e6c200;
}

/* Sections */
.page-index-review-hi88__intro-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-bg-color) 0%, #3a3a5a 100%);
  color: var(--light-text-color);
  padding-top: 180px; /* Desktop: Adjust for fixed header */
}

.page-index-review-hi88__review-content-section {
  padding: 40px 0;
  background: var(--dark-bg-color); /* Inherit dark background */
  color: var(--light-text-color); /* Light text for dark background */
}

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

.page-index-review-hi88__review-content-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for card on dark background */
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-color);
  padding: 40px;
  margin-bottom: 30px;
  color: var(--light-text-color); /* Light text on card */
}

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

.page-index-review-hi88__review-content-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--light-text-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-index-review-hi88__review-body p a,
.page-index-review-hi88__review-body li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-hi88__review-body p a:hover,
.page-index-review-hi88__review-body li a:hover {
  text-decoration: underline;
  color: #00b3b3;
}

.page-index-review-hi88__review-body ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

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

.page-index-review-hi88__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.page-index-review-hi88__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-hi88__image--full-width {
  width: 100%;
}

/* News List */
.page-index-review-hi88__news-list {
  list-style: none;
  padding: 0;
}

.page-index-review-hi88__news-list li {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-hi88__news-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__news-link {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

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

.page-index-review-hi88__news-summary {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 8px;
}

.page-index-review-hi88__news-date {
  font-size: 13px;
  color: #999999;
  display: block;
  text-align: right;
}

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

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

.page-index-review-hi88__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-hi88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  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: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.page-index-review-hi88__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-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 25px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 12px 12px;
  color: #e0e0e0;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
  max-height: 2000px !important; /* Use !important for override */
  padding: 20px 25px !important; /* Use !important for override */
  opacity: 1;
}

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

/* Conclusion Section */
.page-index-review-hi88__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #3a3a5a 0%, var(--dark-bg-color) 100%);
  color: var(--light-text-color);
}

.page-index-review-hi88__conclusion-section .page-index-review-hi88__section-title {
  margin-top: 0;
}

.page-index-review-hi88__conclusion-section p {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

@media (max-width: 768px) {
  .page-index-review-hi88 {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 15px;
  }

  .page-index-review-hi88__main-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .page-index-review-hi88__section-title {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-index-review-hi88__lead-paragraph {
    font-size: 16px;
  }

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

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

  .page-index-review-hi88__intro-section,
  .page-index-review-hi88__review-content-section,
  .page-index-review-hi88__faq-section,
  .page-index-review-hi88__conclusion-section {
    padding: 30px 0;
  }

  .page-index-review-hi88__container {
    padding: 0 15px;
  }

  .page-index-review-hi88__review-content-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  .page-index-review-hi88__review-content-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-index-review-hi88__review-content-card h3 {
    font-size: 19px;
    margin-top: 25px;
    margin-bottom: 12px;
  }

  .page-index-review-hi88__review-body p,
  .page-index-review-hi88__review-body li {
    font-size: 15px;
  }

  .page-index-review-hi88__news-link {
    font-size: 16px;
  }

  .page-index-review-hi88__news-summary {
    font-size: 14px;
  }

  .page-index-review-hi88__faq-question {
    padding: 15px 20px;
  }

  .page-index-review-hi88__faq-question h3 {
    font-size: 16px;
  }

  .page-index-review-hi88__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image responsive styles */
  .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__review-content-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}