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

:root {
  --primary-color: #B80F0A;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000000;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-index-review-hi88 {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark);
}

/* Fixed header padding adjustment */
.page-index-review-hi88__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  background: var(--background-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.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;
  padding: 0 20px;
}

.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;
}

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

.page-index-review-hi88__main-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-review-hi88__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-hi88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-review-hi88__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__btn-primary:hover {
  background: #a00c08;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* Review Content Section */
.page-index-review-hi88__review-content-section {
  padding: 60px 20px;
  background: var(--background-dark);
  color: var(--text-light);
}

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

.page-index-review-hi88__review-content-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 40px;
  color: var(--text-light);
}

.page-index-review-hi88__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 28px;
  text-align: center;
  line-height: 1.3;
}

.page-index-review-hi88__sub-section-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 35px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.page-index-review-hi88__review-content-card p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-index-review-hi88__review-content-card p strong {
  color: var(--secondary-color);
}

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

.page-index-review-hi88__review-content-card a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-index-review-hi88__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-index-review-hi88__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

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

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

.page-index-review-hi88__faq-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-index-review-hi88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.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 20px;
  opacity: 0;
  color: #f0f0f0;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 5px 5px;
}

.page-index-review-hi88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color);
  border: 1px solid #7c0a07;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

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

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

.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);
}

.page-index-review-hi88__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--text-light);
  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;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-hi88__main-title {
    font-size: 38px;
  }
  .page-index-review-hi88__hero-description {
    font-size: 17px;
  }
  .page-index-review-hi88__section-title {
    font-size: 28px;
  }
  .page-index-review-hi88__sub-section-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-index-review-hi88__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-hi88__main-title {
    font-size: 32px;
  }
  .page-index-review-hi88__hero-description {
    font-size: 16px;
  }
  .page-index-review-hi88__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index-review-hi88__review-content-section,
  .page-index-review-hi88__faq-section {
    padding: 40px 15px;
  }
  .page-index-review-hi88__review-content-card {
    padding: 25px 20px;
  }
  .page-index-review-hi88__section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-index-review-hi88__sub-section-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-index-review-hi88__review-content-card p {
    font-size: 15px;
  }
  .page-index-review-hi88__faq-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .page-index-review-hi88__faq-question {
    padding: 15px 18px;
  }
  .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-answer {
    padding: 0 18px;
  }
  .page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
    padding: 18px !important;
  }

  /* Mobile image adaptation */
  .page-index-review-hi88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-hi88__hero-container,
  .page-index-review-hi88__review-content-container,
  .page-index-review-hi88__faq-container,
  .page-index-review-hi88__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-review-hi88__main-title {
    font-size: 28px;
  }
  .page-index-review-hi88__hero-description {
    font-size: 15px;
  }
  .page-index-review-hi88__cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-index-review-hi88__section-title {
    font-size: 22px;
  }
  .page-index-review-hi88__sub-section-title {
    font-size: 18px;
  }
  .page-index-review-hi88__review-content-card p {
    font-size: 14px;
  }
  .page-index-review-hi88__faq-title {
    font-size: 22px;
  }
  .page-index-review-hi88__faq-question h3 {
    font-size: 15px;
  }
}