/* style/index-review-hi88.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000;
  --background-light-card: #ffffff;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
}

.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(--background-dark); /* Inherited from body */
}

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

.page-index-review-hi88__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index-review-hi88__light-bg {
  background-color: var(--background-light-card);
  color: var(--text-dark);
}

.page-index-review-hi88__introduction-section {
  padding-top: 120px; /* Desktop padding to clear fixed header */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7a 100%);
}

.page-index-review-hi88__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-hi88__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-index-review-hi88__intro-text strong {
  color: var(--secondary-color);
}

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

.page-index-review-hi88__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-index-review-hi88__cta-button--primary:hover {
  background: #f0c92e;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-index-review-hi88__cta-button--secondary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

.page-index-review-hi88__cta-button--secondary:hover {
  background: #1a3a7a;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--shadow-medium);
}

.page-index-review-hi88__review-section {
  padding: 60px 0;
}

.page-index-review-hi88__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-index-review-hi88__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-index-review-hi88__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.page-index-review-hi88__paragraph a:hover {
  color: #004499;
}

.page-index-review-hi88__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-light);
}

.page-index-review-hi88__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 20px auto 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-light);
}

.page-index-review-hi88__game-grid, .page-index-review-hi88__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-index-review-hi88__game-card, .page-index-review-hi88__promo-card {
  background-color: var(--background-light-card);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-hi88__game-card:hover, .page-index-review-hi88__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-index-review-hi88__game-image, .page-index-review-hi88__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-review-hi88__game-title, .page-index-review-hi88__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-review-hi88__game-desc, .page-index-review-hi88__promo-desc {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-index-review-hi88__pros-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #28a745; /* Green for pros */
  margin-bottom: 20px;
}

.page-index-review-hi88__cons-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #dc3545; /* Red for cons */
  margin-bottom: 20px;
}

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

.page-index-review-hi88__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05em;
}

.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-strong {
  font-weight: bold;
}

.page-index-review-hi88__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7a 100%);
}

.page-index-review-hi88__conclusion-section .page-index-review-hi88__section-title {
  color: var(--secondary-color);
}

.page-index-review-hi88__conclusion-section .page-index-review-hi88__paragraph {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
}

.page-index-review-hi88__faq-section {
  padding: 60px 0;
}

.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: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

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

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

.page-index-review-hi88__blog-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a3a7a 0%, var(--primary-color) 100%);
}

.page-index-review-hi88__blog-section .page-index-review-hi88__section-title {
  color: var(--secondary-color);
}

.page-index-review-hi88__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-hi88__blog-card {
  background-color: var(--background-light-card);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-review-hi88__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-index-review-hi88__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index-review-hi88__blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-review-hi88__blog-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

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

.page-index-review-hi88__blog-title a:hover {
  text-decoration: underline;
  color: #004499;
}

.page-index-review-hi88__blog-excerpt {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index-review-hi88__read-more {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-review-hi88__main-title {
    font-size: 2.8em;
  }
  .page-index-review-hi88__section-title {
    font-size: 2.2em;
  }
  .page-index-review-hi88__sub-title {
    font-size: 1.6em;
  }
  .page-index-review-hi88__paragraph {
    font-size: 1em;
  }
  .page-index-review-hi88__game-card, .page-index-review-hi88__promo-card {
    padding: 20px;
  }
  .page-index-review-hi88__pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index-review-hi88__introduction-section {
    padding-top: 100px !important; /* Mobile padding to clear fixed header */
    padding-bottom: 30px;
  }
  .page-index-review-hi88__container {
    padding: 15px;
  }
  .page-index-review-hi88__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-index-review-hi88__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index-review-hi88__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-review-hi88__review-section, .page-index-review-hi88__conclusion-section, .page-index-review-hi88__faq-section, .page-index-review-hi88__blog-section {
    padding: 40px 0;
  }
  .page-index-review-hi88__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index-review-hi88__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-index-review-hi88__paragraph {
    font-size: 0.95em;
    margin-bottom: 15px;
  }
  .page-index-review-hi88__image-full-width, .page-index-review-hi88__image-content {
    margin-bottom: 20px;
    border-radius: 4px;
  }
  .page-index-review-hi88__game-grid, .page-index-review-hi88__promo-grid, .page-index-review-hi88__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
  }
  .page-index-review-hi88__game-card, .page-index-review-hi88__promo-card, .page-index-review-hi88__blog-card {
    padding: 15px;
    border-radius: 8px;
  }
  .page-index-review-hi88__game-image, .page-index-review-hi88__promo-image {
    height: 160px;
    margin-bottom: 15px;
  }
  .page-index-review-hi88__game-title, .page-index-review-hi88__promo-title, .page-index-review-hi88__blog-title {
    font-size: 1.2em;
  }
  .page-index-review-hi88__game-desc, .page-index-review-hi88__promo-desc, .page-index-review-hi88__blog-excerpt {
    font-size: 0.9em;
  }
  .page-index-review-hi88__pros-cons-grid {
    gap: 20px;
  }
  .page-index-review-hi88__pros-title, .page-index-review-hi88__cons-title {
    font-size: 1.4em;
    margin-bottom: 15px;
  }
  .page-index-review-hi88__list li {
    font-size: 0.95em;
    margin-bottom: 8px;
  }
  .page-index-review-hi88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-review-hi88__faq-question h3 {
    font-size: 15px;
    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;
  }

  /* Force responsive images for 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,
  .page-index-review-hi88__game-card,
  .page-index-review-hi88__promo-card,
  .page-index-review-hi88__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}