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

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Dark Slate */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a; /* From body background */
  --card-bg-light: #ffffff;
  --border-light: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
}

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

/* --- 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: 180px; /* Desktop: Adjust for fixed header */
  background: var(--secondary-color);
  color: var(--text-light);
}

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

.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;
  box-shadow: 0 8px 20px var(--shadow-light);
}

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

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

.page-index-review-hi88__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-index-review-hi88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

/* --- Game Leaderboard Section (Module 1) --- */
.page-index-review-hi88__game-leaderboard-section {
  padding: 60px 20px;
  background: #f1f3f5; /* Lighter background for contrast */
  color: var(--text-dark);
}

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

.page-index-review-hi88__game-leaderboard {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-index-review-hi88__game-card {
  background: var(--card-bg-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.page-index-review-hi88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px var(--shadow-light);
}

.page-index-review-hi88__game-card-segment {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.page-index-review-hi88__segment-1 {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  padding-left: 0;
  border-right: 1px solid var(--border-light);
  padding-right: 20px;
}

.page-index-review-hi88__rank-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Default orange */
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold */
}

.page-index-review-hi88__rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #A0A0A0); /* Silver */
}

.page-index-review-hi88__rank-3 {
  background: linear-gradient(135deg, #CD7F32, #B87333); /* Bronze */
}

.page-index-review-hi88__game-icon {
  max-width: 80px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-index-review-hi88__segment-2 {
  flex: 1;
  border-right: 1px solid var(--border-light);
  text-align: center;
}

.page-index-review-hi88__game-name {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
}

.page-index-review-hi88__game-name-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-index-review-hi88__game-name-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-review-hi88__game-description {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-index-review-hi88__game-description a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
}

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

.page-index-review-hi88__segment-3 {
  flex-shrink: 0;
  width: 150px;
  border-right: 1px solid var(--border-light);
}

.page-index-review-hi88__game-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.page-index-review-hi88__stars {
  color: var(--primary-color);
  font-size: 18px;
  margin-right: 5px;
  font-weight: bold;
}

.page-index-review-hi88__rating-number {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: bold;
}

.page-index-review-hi88__promotion-text {
  font-size: 13px;
  color: #0066cc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-review-hi88__promotion-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
}

.page-index-review-hi88__promotion-link:hover {
  text-decoration: underline;
}

.page-index-review-hi88__hot-badge {
  background: #e74c3c;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  margin-left: 5px;
  font-weight: bold;
}

.page-index-review-hi88__segment-4 {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 0;
}

.page-index-review-hi88__cta-button.page-index-review-hi88__btn-download,
.page-index-review-hi88__cta-button.page-index-review-hi88__btn-review {
  display: block;
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.page-index-review-hi88__cta-button.page-index-review-hi88__btn-download:hover {
  background: #FFC107;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-hi88__cta-button.page-index-review-hi88__btn-review:hover {
  background: #343a40;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Brand Review Content Section (Module 1.5) --- */
.page-index-review-hi88__review-content-section {
  padding: 40px 20px;
  background: #f1f3f5; /* Lighter background for contrast */
  color: var(--text-dark);
}

.page-index-review-hi88__review-content-container {
  max-width: 1400px; /* Wider for better readability */
  margin: 0 auto;
}

.page-index-review-hi88__review-content-card {
  background: var(--card-bg-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
  padding: 40px;
  border: 1px solid var(--border-light);
}

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

.page-index-review-hi88__review-content-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-index-review-hi88__review-body {
  color: var(--text-dark);
  line-height: 1.7;
}

.page-index-review-hi88__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

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

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

.page-index-review-hi88__dark-bg {
  background-color: var(--secondary-color);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
}

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

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

.page-index-review-hi88__intro-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-hi88__intro-item:hover {
  transform: translateY(-5px);
}

.page-index-review-hi88__intro-item img {
  max-width: 150px; /* Larger images, not icons */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__intro-item h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-index-review-hi88__intro-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

/* --- Core Games Section (Module 3) --- */
.page-index-review-hi88__games-section {
  padding: 60px 20px;
  background-color: #f1f3f5;
  color: var(--text-dark);
}

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

.page-index-review-hi88__games-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.page-index-review-hi88__games-carousel::-webkit-scrollbar {
  height: 8px;
}

.page-index-review-hi88__games-carousel::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.page-index-review-hi88__games-carousel::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 4px;
}

.page-index-review-hi88__game-card-carousel {
  flex: 0 0 300px; /* Fixed width for carousel items */
  background: var(--card-bg-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.page-index-review-hi88__game-card-carousel:hover {
  transform: translateY(-5px);
}

.page-index-review-hi88__game-card-carousel img {
  max-width: 250px; /* Large image for carousel card */
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-hi88__game-card-carousel h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-index-review-hi88__game-card-carousel p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-index-review-hi88__btn-play {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-review-hi88__btn-play:hover {
  background: #FFC107;
  transform: translateY(-2px);
}

/* --- Promotions Section (Module 4) --- */
.page-index-review-hi88__promotions-section {
  padding: 60px 20px;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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

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

.page-index-review-hi88__promo-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.page-index-review-hi88__promo-card:hover {
  transform: translateY(-5px);
}

.page-index-review-hi88__promo-card img {
  max-width: 250px; /* Large image for promo card */
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__promo-card h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-index-review-hi88__promo-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-index-review-hi88__btn-claim {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-review-hi88__btn-claim:hover {
  background: #FFC107;
  transform: translateY(-2px);
}

/* --- Blog Section (Module 5) --- */
.page-index-review-hi88__blog-section {
  padding: 60px 20px;
  background-color: #f1f3f5;
  color: var(--text-dark);
}

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

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

.page-index-review-hi88__blog-card {
  background: var(--card-bg-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
  padding: 25px;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.page-index-review-hi88__blog-card:hover {
  transform: translateY(-5px);
}

.page-index-review-hi88__blog-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-index-review-hi88__blog-card h3 a.page-index-review-hi88__blog-link {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-index-review-hi88__blog-card h3 a.page-index-review-hi88__blog-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-review-hi88__blog-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-index-review-hi88__blog-date {
  font-size: 13px;
  color: #777;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-hi88__hero-title {
    font-size: 36px;
  }
  .page-index-review-hi88__hero-description {
    font-size: 18px;
  }
  .page-index-review-hi88__page-title,
  .page-index-review-hi88__review-content-title,
  .page-index-review-hi88__intro-title,
  .page-index-review-hi88__games-title,
  .page-index-review-hi88__promotions-title,
  .page-index-review-hi88__blog-title {
    font-size: 28px;
  }
  .page-index-review-hi88__game-card {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-index-review-hi88__game-card-segment {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    padding: 15px 0;
  }
  .page-index-review-hi88__segment-1 {
    border-right: none;
    width: 100%;
    padding-left: 0;
    padding-bottom: 15px;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
  }
  .page-index-review-hi88__rank-badge {
    position: static;
    margin-right: 10px;
  }
  .page-index-review-hi88__segment-2 {
    border-right: none;
    padding-bottom: 15px;
  }
  .page-index-review-hi88__segment-3 {
    border-right: none;
    padding-bottom: 15px;
    width: 100%;
  }
  .page-index-review-hi88__segment-4 {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 0;
    border-bottom: none;
  }
  .page-index-review-hi88__game-icon {
    max-width: 60px;
  }
  .page-index-review-hi88__game-name {
    font-size: 20px;
  }
  .page-index-review-hi88__game-description {
    font-size: 13px;
  }
  .page-index-review-hi88__game-card-carousel {
    flex: 0 0 250px;
  }
  .page-index-review-hi88__intro-grid,
  .page-index-review-hi88__promotions-grid,
  .page-index-review-hi88__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-review-hi88__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
  }
  .page-index-review-hi88__hero-title {
    font-size: 28px;
  }
  .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__game-leaderboard-section,
  .page-index-review-hi88__review-content-section,
  .page-index-review-hi88__intro-section,
  .page-index-review-hi88__games-section,
  .page-index-review-hi88__promotions-section,
  .page-index-review-hi88__blog-section {
    padding: 30px 15px;
  }
  .page-index-review-hi88__page-title,
  .page-index-review-hi88__review-content-title,
  .page-index-review-hi88__intro-title,
  .page-index-review-hi88__games-title,
  .page-index-review-hi88__promotions-title,
  .page-index-review-hi88__blog-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-index-review-hi88__review-content-card {
    padding: 25px;
  }
  .page-index-review-hi88__review-content-card h3 {
    font-size: 18px;
  }
  .page-index-review-hi88__review-body p {
    font-size: 15px;
  }
  .page-index-review-hi88__intro-item img,
  .page-index-review-hi88__promo-card img,
  .page-index-review-hi88__game-card-carousel img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-index-review-hi88__intro-item h3,
  .page-index-review-hi88__game-card-carousel h3,
  .page-index-review-hi88__promo-card h3,
  .page-index-review-hi88__blog-card h3 {
    font-size: 18px;
  }
  .page-index-review-hi88__intro-item p,
  .page-index-review-hi88__game-card-carousel p,
  .page-index-review-hi88__promo-card p,
  .page-index-review-hi88__blog-card p {
    font-size: 14px;
  }
  .page-index-review-hi88__game-card-carousel {
    flex: 0 0 90%;
  }
  .page-index-review-hi88__segment-4 {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-index-review-hi88__btn-download,
  .page-index-review-hi88__btn-review {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }
  .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__dark-bg {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}