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

:root {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --accent-color: #FF4500; /* Red for emphasis */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --background-light: #f8f9fa;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-index-review-hi88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Inherited from body */
}

/* Ensure content is not hidden by fixed header */
.page-index-review-hi88__intro-section {
  padding-top: 180px; /* Desktop: Adjust based on actual header height */
}

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

.page-index-review-hi88__main-title,
.page-index-review-hi88__section-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

.page-index-review-hi88__intro-section {
  background: var(--secondary-color);
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-index-review-hi88__intro-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-index-review-hi88__intro-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-index-review-hi88__intro-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-index-review-hi88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color), #FFC107);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
}

.page-index-review-hi88__cta-button:hover {
  background: linear-gradient(135deg, #FFC107, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__review-criteria-section {
  background: var(--background-light);
  padding: 80px 0;
}

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

.page-index-review-hi88__criteria-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-index-review-hi88__criteria-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-review-hi88__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-index-review-hi88__criteria-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-index-review-hi88__criteria-card p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-hi88__criteria-card p a:hover {
  text-decoration: underline;
}

.page-index-review-hi88__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-review-hi88__register-section {
  background: var(--secondary-color);
  padding: 80px 0;
  text-align: center;
}

.page-index-review-hi88__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-index-review-hi88__text-block a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-hi88__text-block a:hover {
  text-decoration: underline;
}

.page-index-review-hi88__register-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-index-review-hi88__register-steps li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-light);
  position: relative;
  padding-left: 60px;
}

.page-index-review-hi88__register-steps li:last-child {
  margin-bottom: 0;
}

.page-index-review-hi88__register-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: var(--secondary-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.page-index-review-hi88__register-steps li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-hi88__register-steps li a:hover {
  text-decoration: underline;
}

.page-index-review-hi88__pros-cons-section {
  background: var(--background-light);
  padding: 80px 0;
}

.page-index-review-hi88__pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-index-review-hi88__pros-card,
.page-index-review-hi88__cons-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  color: var(--text-dark);
}

.page-index-review-hi88__pros-card .page-index-review-hi88__card-title {
  color: #28a745; /* Green for pros */
}

.page-index-review-hi88__cons-card .page-index-review-hi88__card-title {
  color: #dc3545; /* Red for cons */
}

.page-index-review-hi88__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-index-review-hi88__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-index-review-hi88__pros-card .page-index-review-hi88__list li::before {
  content: '✓';
  color: #28a745;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-review-hi88__cons-card .page-index-review-hi88__list li::before {
  content: '✕';
  color: #dc3545;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-review-hi88__list li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-hi88__list li a:hover {
  text-decoration: underline;
}

.page-index-review-hi88__comparison-section {
  background: var(--secondary-color);
  padding: 80px 0;
  text-align: center;
}

.page-index-review-hi88__comparison-section .page-index-review-hi88__text-block {
  margin-bottom: 40px;
}

.page-index-review-hi88__faq-section {
  background: var(--background-light);
  padding: 80px 0;
}

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

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

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

.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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-index-review-hi88__faq-question h3 a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-index-review-hi88__faq-toggle {
  font-size: 24px;
  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: 28px;
  height: 28px;
}

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

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

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

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

.page-index-review-hi88__conclusion-section {
  background: var(--secondary-color);
  padding: 80px 0;
  text-align: center;
}

.page-index-review-hi88__related-articles-section {
  background: var(--background-light);
  padding: 80px 0;
}

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

.page-index-review-hi88__article-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-index-review-hi88__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-review-hi88__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-review-hi88__article-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-index-review-hi88__article-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-index-review-hi88__article-title a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.page-index-review-hi88__article-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-index-review-hi88__article-excerpt a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-hi88__article-excerpt a:hover {
  text-decoration: underline;
}

.page-index-review-hi88__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

.page-index-review-hi88__read-more:hover {
  text-decoration: underline;
}

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

  .page-index-review-hi88__section-title {
    font-size: 32px;
  }

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

@media (max-width: 768px) {
  .page-index-review-hi88__intro-section {
    padding-top: 140px !important; /* Mobile: Adjust based on mobile header height */
    padding-bottom: 40px;
  }

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

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

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

  .page-index-review-hi88__intro-text,
  .page-index-review-hi88__text-block {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-index-review-hi88__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
  }

  .page-index-review-hi88__criteria-grid,
  .page-index-review-hi88__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-hi88__criteria-card,
  .page-index-review-hi88__pros-card,
  .page-index-review-hi88__cons-card,
  .page-index-review-hi88__article-card {
    padding: 20px;
  }

  .page-index-review-hi88__card-title {
    font-size: 20px;
  }

  .page-index-review-hi88__criteria-card p,
  .page-index-review-hi88__list li,
  .page-index-review-hi88__faq-answer p,
  .page-index-review-hi88__article-excerpt {
    font-size: 15px;
  }

  .page-index-review-hi88__register-steps li {
    padding: 15px 15px 15px 50px;
    font-size: 15px;
  }

  .page-index-review-hi88__register-steps li::before {
    width: 25px;
    height: 25px;
    font-size: 14px;
    left: 15px;
  }

  .page-index-review-hi88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-hi88__faq-question h3 {
    font-size: 15px;
    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;
  }

  .page-index-review-hi88__article-image {
    height: 180px;
  }

  /* Force images and containers to fit mobile screen */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}