/* style/index-review-hi88.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #28A745;
  --accent-color: #FFA500;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --dark-bg-1: #1a1a1a; /* From shared.css, assuming it's a dark background */
}

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

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

.page-index-review-hi88__card {
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 40px;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.page-index-review-hi88__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-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(--secondary-color);
  border-radius: 2px;
}

.page-index-review-hi88__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-index-review-hi88__text-block {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.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 ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-index-review-hi88 ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-index-review-hi88 ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

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

/* 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;
  padding-top: 120px; /* Adjusted for fixed header */
  background: linear-gradient(135deg, #007BFF, #28A745);
  color: var(--text-light);
}

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

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

.page-index-review-hi88__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  color: var(--text-light);
}

.page-index-review-hi88__hero-description a {
  color: var(--accent-color);
  font-weight: bold;
  text-decoration: underline;
}

/* CTA Button */
.page-index-review-hi88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__cta-button:hover {
  background: #ff8c00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__secondary-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-index-review-hi88__secondary-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.page-index-review-hi88__introduction-section,
.page-index-review-hi88__games-section,
.page-index-review-hi88__promotions-section,
.page-index-review-hi88__guide-section,
.page-index-review-hi88__pros-cons-section,
.page-index-review-hi88__conclusion-section,
.page-index-review-hi88__faq-section,
.page-index-review-hi88__related-articles-section {
  padding: 40px 0;
}

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

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

.page-index-review-hi88__grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-index-review-hi88__feature-item {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: var(--text-dark);
}

.page-index-review-hi88__feature-item h3 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 10px;
}

/* Games Section */
.page-index-review-hi88__game-category {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
}

.page-index-review-hi88__game-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

/* Promotions Section */
.page-index-review-hi88__promo-list {
  list-style: none;
  padding-left: 0;
}

.page-index-review-hi88__promo-list li {
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
  font-size: 16px;
}

.page-index-review-hi88__promo-list li::before {
  content: '⚡'; /* Unicode lightning bolt */
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 20px;
  line-height: 1;
}

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

/* Guide Section */
.page-index-review-hi88__step-by-step {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
}

.page-index-review-hi88__step-by-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

/* Pros & Cons Section */
.page-index-review-hi88__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-index-review-hi88__pros,
.page-index-review-hi88__cons {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

.page-index-review-hi88__list-checked li::before {
  content: '✅';
  position: absolute;
  left: 0;
  font-size: 18px;
  line-height: 1.5;
}

.page-index-review-hi88__list-close li::before {
  content: '❌';
  position: absolute;
  left: 0;
  font-size: 18px;
  line-height: 1.5;
}

/* FAQ Section */
.page-index-review-hi88__faq-list {
  margin-top: 30px;
}

.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: #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: #fff;
  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;
}

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

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

/* Related Articles Section */
.page-index-review-hi88__article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-index-review-hi88__article-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-hi88__article-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for thumbnails */
  object-fit: cover;
  display: block;
}

.page-index-review-hi88__article-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  padding: 15px;
  margin-bottom: 0;
}

.page-index-review-hi88__article-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-index-review-hi88__article-excerpt {
  font-size: 15px;
  color: #555;
  padding: 0 15px 15px;
  flex-grow: 1;
}

.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: block;
  padding: 10px 15px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-index-review-hi88__read-more:hover {
  background: #1e7e34;
}

.page-index-review-hi88__view-all-news {
  margin-top: 40px;
  display: block;
  text-align: center;
}

/* General image responsiveness */
.page-index-review-hi88 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-hi88__section-title {
    font-size: 28px;
  }
  .page-index-review-hi88__main-title {
    font-size: 38px;
  }
  .page-index-review-hi88__hero-description {
    font-size: 16px;
  }
  .page-index-review-hi88__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-index-review-hi88__grid-2-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index-review-hi88 {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index-review-hi88__hero-section {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    padding-bottom: 40px;
  }
  .page-index-review-hi88__container {
    padding: 0 15px;
  }
  .page-index-review-hi88__card {
    padding: 25px;
  }
  .page-index-review-hi88__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-index-review-hi88__main-title {
    font-size: 32px;
  }
  .page-index-review-hi88__hero-description {
    font-size: 15px;
  }
  .page-index-review-hi88__cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
  .page-index-review-hi88__secondary-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  .page-index-review-hi88__grid-features {
    grid-template-columns: 1fr;
  }
  .page-index-review-hi88__game-title {
    font-size: 22px;
  }
  .page-index-review-hi88__step-title {
    font-size: 20px;
  }
  .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-grid {
    grid-template-columns: 1fr;
  }

  /* Force image responsiveness on mobile */
  .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;
  }
}