/* style/index-review-hi88.css */
:root {
  --primary-color: #1A2A44;
  --secondary-color: #FFCC00;
  --dark-bg-1: #0d0d0d; /* Giả định từ shared.css */
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-light: #e0e0e0;
  --bg-light: #f1f3f5;
}

.page-index-review-hi88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Mặc định text light cho body background tối */
  background-color: var(--dark-bg-1);
}

/* 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 based on fixed header height */
  background: linear-gradient(135deg, var(--primary-color), #0f1a2a); /* Darker gradient for hero */
  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;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px 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%;
}

.page-index-review-hi88__hero-title {
  font-size: 48px;
  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__hero-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-index-review-hi88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(90deg, #FF6B35, #FF8C42); /* Orange gradient for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
}

.page-index-review-hi88__cta-button:hover {
  background: linear-gradient(90deg, #FF8C42, #FF6B35);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Game Leaderboard Section */
.page-index-review-hi88__game-leaderboard-section {
  padding: 60px 20px;
  background: var(--bg-light);
  color: var(--text-dark);
}

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

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

.page-index-review-hi88__game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index-review-hi88__game-card-segment:not(:first-child) {
  border-left: 1px solid var(--border-light);
}

.page-index-review-hi88__segment-1 {
  min-width: 140px;
  max-width: 140px;
  padding-left: 0;
  flex-direction: row;
  gap: 10px;
}

.page-index-review-hi88__rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Default orange for 4+ */
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  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;
  object-fit: contain;
  flex-shrink: 0;
}

.page-index-review-hi88__segment-2 {
  flex-grow: 1;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

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

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

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

.page-index-review-hi88__game-description {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: bold;
  text-align: center;
  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 {
  min-width: 160px;
  max-width: 160px;
  text-align: center;
}

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

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

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

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

.page-index-review-hi88__promotion-link {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

.page-index-review-hi88__cta-button {
  width: 100%;
  text-align: center;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-review-hi88__btn-download {
  background: linear-gradient(90deg, #667eea, #764ba2); /* Purple gradient */
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-index-review-hi88__btn-download:hover {
  background: linear-gradient(90deg, #764ba2, #667eea);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.page-index-review-hi88__btn-review {
  background: #ffffff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index-review-hi88__btn-review:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Brand Review Content Section */
.page-index-review-hi88__review-content-section {
  padding: 40px 20px;
  background: var(--bg-light);
  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: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  border: 1px solid var(--border-light);
}

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

.page-index-review-hi88__review-content-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

.page-index-review-hi88__review-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

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

.page-index-review-hi88__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-hi88__intro-item {
  background: var(--primary-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.page-index-review-hi88__intro-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__intro-image {
  max-width: 250px;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-index-review-hi88__intro-item p {
  font-size: 15px;
  color: #e0e0e0;
}

/* Games Section */
.page-index-review-hi88__games-section {
  padding: 60px 20px;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-index-review-hi88__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--text-dark);
}

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

.page-index-review-hi88__game-type-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-index-review-hi88__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-review-hi88__btn-primary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.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: var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-index-review-hi88__promo-card p {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-index-review-hi88__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-color);
  cursor: pointer;
}

.page-index-review-hi88__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-color: var(--secondary-color);
}

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

.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: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index-review-hi88__blog-content {
  padding: 25px;
}

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

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

.page-index-review-hi88__blog-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.page-index-review-hi88__read-more {
  display: inline-block;
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

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

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

  .page-index-review-hi88__review-title {
    font-size: 28px;
  }

  .page-index-review-hi88__game-card {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .page-index-review-hi88__game-card-segment {
    border-left: none !important;
    padding: 15px 10px;
    width: 100%;
    max-width: 100%;
  }
  
  .page-index-review-hi88__segment-1 {
    flex-direction: column;
    gap: 5px;
    min-width: unset;
    max-width: 100%;
    width: auto;
  }

  .page-index-review-hi88__segment-2 {
    order: -1; /* Move name/description to top */
    padding-bottom: 10px;
  }

  .page-index-review-hi88__segment-3 {
    min-width: unset;
    max-width: 100%;
    flex-direction: row;
    gap: 20px;
  }

  .page-index-review-hi88__segment-4 {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    gap: 15px;
  }
  
  .page-index-review-hi88__cta-button, 
  .page-index-review-hi88__btn-download, 
  .page-index-review-hi88__btn-review {
    flex: 1; /* Make buttons take equal width */
  }

  .page-index-review-hi88__game-icon {
    max-width: 60px;
  }
}

@media (max-width: 768px) {
  .page-index-review-hi88__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust based on mobile fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-review-hi88__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-index-review-hi88__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

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

  .page-index-review-hi88__review-title {
    font-size: 24px;
  }

  .page-index-review-hi88__review-content-card h3 {
    font-size: 20px;
  }

  .page-index-review-hi88__review-body {
    font-size: 15px;
  }

  .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__game-card {
    padding: 15px;
  }

  .page-index-review-hi88__game-name {
    font-size: 20px;
  }

  .page-index-review-hi88__game-description {
    font-size: 13px;
  }

  .page-index-review-hi88__intro-image,
  .page-index-review-hi88__game-type-image,
  .page-index-review-hi88__promo-image,
  .page-index-review-hi88__blog-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-review-hi88__intro-item,
  .page-index-review-hi88__game-type-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;
  }

  .page-index-review-hi88__intro-grid,
  .page-index-review-hi88__game-types-grid,
  .page-index-review-hi88__promotions-grid,
  .page-index-review-hi88__blog-grid {
    gap: 20px;
  }

  .page-index-review-hi88__intro-subtitle,
  .page-index-review-hi88__game-type-title,
  .page-index-review-hi88__promo-title,
  .page-index-review-hi88__blog-title {
    font-size: 20px;
  }
  
  .page-index-review-hi88__segment-4 {
    padding-left: 10px;
    padding-right: 10px;
    flex-direction: column;
    gap: 10px;
  }
  
  .page-index-review-hi88__btn-download,
  .page-index-review-hi88__btn-review {
    max-width: 100%;
    width: 100%;
    font-size: 13px;
    padding: 10px 12px;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }
}