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

:root {
  --primary-color: #0A0A0A;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0A0A0A;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-index-review-hi88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so text is light */
  line-height: 1.6;
  background-color: var(--bg-dark); /* Ensure overall page content adapts to body background */
}

/* Fixed header spacing */
.page-index-review-hi88__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #333333 100%);
  position: relative;
  overflow: hidden;
  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;
  z-index: 2;
}

.page-index-review-hi88__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-index-review-hi88__hero-title {
  font-size: 3.5em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-index-review-hi88__hero-description {
  font-size: 1.4em;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-index-review-hi88__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.5em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-index-review-hi88__cta-button:hover {
  background: #ffd000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-index-review-hi88__section {
  padding: 60px 20px;
  background-color: var(--primary-color); /* Dark background for sections */
  color: var(--text-light); /* Light text for dark sections */
}

.page-index-review-hi88__section:nth-of-type(even) {
  background-color: #1a1a1a; /* Slightly different dark shade for contrast */
}

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

.page-index-review-hi88__section-title {
  font-size: 2.8em;
  color: var(--secondary-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__subtitle {
  font-size: 2em;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary-color);
  padding-left: 15px;
}

.page-index-review-hi88__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-light);
  opacity: 0.85;
}

.page-index-review-hi88__text-block strong {
  color: var(--secondary-color);
}

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

.page-index-review-hi88__list-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
  opacity: 0.9;
}

.page-index-review-hi88__list-item::before {
  content: '⚡'; /* Unicode lightning bolt */
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.2em;
  line-height: 1;
  top: 0;
}

.page-index-review-hi88__list-item strong {
  color: var(--secondary-color);
}

/* Quick Access Links */
.page-index-review-hi88__quick-access {
  background-color: #1a1a1a;
}

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

.page-index-review-hi88__quick-link-card {
  background: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-review-hi88__quick-link-card:hover {
  background: #3a3a3a;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__quick-link-card img {
  width: 120px; /* Increased size for content images, not icons */
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index-review-hi88__card-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin: 0;
}

/* Game Showcase */
.page-index-review-hi88__game-showcase {
  background-color: var(--primary-color);
}

.page-index-review-hi88__game-category {
  margin-bottom: 50px;
}

.page-index-review-hi88__category-title {
  font-size: 2.2em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

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

.page-index-review-hi88__game-card {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index-review-hi88__game-card img {
  width: 100%;
  height: 220px; /* Consistent height for game images */
  object-fit: cover;
  display: block;
  max-width: 100%;
  height: auto;
}

.page-index-review-hi88__game-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-hi88__game-name {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-index-review-hi88__game-description {
  font-size: 1em;
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 15px;
}

.page-index-review-hi88__game-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
}

.page-index-review-hi88__game-button:hover {
  background: #ffd000;
  transform: translateY(-2px);
}

/* Promotions Section */
.page-index-review-hi88__promotions {
  background-color: #1a1a1a;
}

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

.page-index-review-hi88__promo-card {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index-review-hi88__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  height: auto;
}

.page-index-review-hi88__promo-card .page-index-review-hi88__card-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  padding: 15px 20px 0;
}

.page-index-review-hi88__promo-card p {
  font-size: 1em;
  color: var(--text-light);
  opacity: 0.8;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-index-review-hi88__promo-card .page-index-review-hi88__game-button {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Security and Support */
.page-index-review-hi88__security-support {
  background-color: var(--primary-color);
}

/* FAQ Section */
.page-index-review-hi88__faq-section {
  background-color: #1a1a1a;
}

.page-index-review-hi88__faq-list {
  margin-top: 30px;
}

.page-index-review-hi88__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px 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: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-index-review-hi88__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

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

.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: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.2);
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-toggle {
  color: var(--secondary-color);
  background: var(--primary-color);
  transform: rotate(45deg); /* Plus to Minus visual effect */
}

.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: #222222;
  border: 1px solid #3a3a3a;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px !important;
  opacity: 1;
  color: var(--text-light);
}

.page-index-review-hi88__faq-answer p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-light);
  opacity: 0.85;
}

/* Blog Section */
.page-index-review-hi88__blog-section {
  background-color: var(--primary-color);
}

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

.page-index-review-hi88__blog-card {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-index-review-hi88__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-hi88__blog-title {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-index-review-hi88__blog-title a:hover {
  color: #ffd000;
}

.page-index-review-hi88__blog-excerpt {
  font-size: 1em;
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 15px;
}

.page-index-review-hi88__read-more {
  display: inline-block;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
}

.page-index-review-hi88__read-more:hover {
  background: #ffd000;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-hi88__hero-title {
    font-size: 2.8em;
  }

  .page-index-review-hi88__hero-description {
    font-size: 1.2em;
  }

  .page-index-review-hi88__cta-button {
    padding: 15px 35px;
    font-size: 1.3em;
  }

  .page-index-review-hi88__section-title {
    font-size: 2.2em;
  }

  .page-index-review-hi88__subtitle {
    font-size: 1.8em;
  }

  .page-index-review-hi88__text-block,
  .page-index-review-hi88__list-item,
  .page-index-review-hi88__game-description,
  .page-index-review-hi88__blog-excerpt,
  .page-index-review-hi88__promo-card p {
    font-size: 1em;
  }

  .page-index-review-hi88__quick-link-card img {
    width: 100px;
    height: 100px;
  }

  .page-index-review-hi88__card-title,
  .page-index-review-hi88__game-name,
  .page-index-review-hi88__blog-title {
    font-size: 1.3em;
  }

  .page-index-review-hi88__game-card img,
  .page-index-review-hi88__promo-card img,
  .page-index-review-hi88__blog-card img {
    height: 180px;
  }

  .page-index-review-hi88__faq-question h3 {
    font-size: 1.1em;
  }
}

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

  .page-index-review-hi88__hero-title {
    font-size: 2.2em;
  }

  .page-index-review-hi88__hero-description {
    font-size: 1em;
  }

  .page-index-review-hi88__cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  .page-index-review-hi88__section {
    padding: 40px 15px;
  }

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

  .page-index-review-hi88__subtitle {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-index-review-hi88__text-block,
  .page-index-review-hi88__list-item,
  .page-index-review-hi88__game-description,
  .page-index-review-hi88__blog-excerpt,
  .page-index-review-hi88__promo-card p {
    font-size: 0.95em;
  }

  .page-index-review-hi88__quick-link-card img {
    width: 80px;
    height: 80px;
  }

  .page-index-review-hi88__card-title,
  .page-index-review-hi88__game-name,
  .page-index-review-hi88__blog-title {
    font-size: 1.2em;
  }

  .page-index-review-hi88__game-card-wrapper,
  .page-index-review-hi88__promo-grid,
  .page-index-review-hi88__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-index-review-hi88__game-card img,
  .page-index-review-hi88__promo-card img,
  .page-index-review-hi88__blog-card img {
    height: 160px;
  }

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

  .page-index-review-hi88__faq-question h3 {
    font-size: 1em;
  }

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

  /* Ensure all images are responsive and containers don't cause overflow */
  .page-index-review-hi88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-hi88__section,
  .page-index-review-hi88__container,
  .page-index-review-hi88__hero-container,
  .page-index-review-hi88__quick-link-card,
  .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;
  }
  .page-index-review-hi88__container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-index-review-hi88__hero-title {
    font-size: 1.8em;
  }

  .page-index-review-hi88__hero-description {
    font-size: 0.9em;
  }

  .page-index-review-hi88__cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }

  .page-index-review-hi88__section-title {
    font-size: 1.5em;
  }

  .page-index-review-hi88__subtitle {
    font-size: 1.3em;
  }

  .page-index-review-hi88__quick-link-card img {
    width: 70px;
    height: 70px;
  }

  .page-index-review-hi88__card-title,
  .page-index-review-hi88__game-name,
  .page-index-review-hi88__blog-title {
    font-size: 1.1em;
  }

  .page-index-review-hi88__game-card img,
  .page-index-review-hi88__promo-card img,
  .page-index-review-hi88__blog-card img {
    height: 140px;
  }

  .page-index-review-hi88__faq-question h3 {
    font-size: 0.95em;
  }

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