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

:root {
  --primary-color: #FFD700;
  --secondary-color: #1A202C;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-color-dark: #121212;
  --card-background-light: #ffffff;
  --border-color-light: #e0e0e0;
  --hot-badge-color: #E53E3E;
}

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

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

.page-index-review-hi88 a:hover {
  text-decoration: underline;
  color: #FFA500; /* Slightly darker gold on hover */
}

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

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

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

.page-index-review-hi88__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFC107);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: var(--secondary-color);
}

.page-index-review-hi88__btn-small {
  padding: 10px 25px;
  font-size: 16px;
  margin-top: 20px;
}

/* 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-color: var(--secondary-color);
  overflow: hidden;
}

.page-index-review-hi88__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  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: 12px;
  overflow: hidden;
}

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

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

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

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

.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-color: var(--card-background-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  color: var(--text-color-dark);
  transition: transform 0.3s ease;
}

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

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

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

.page-index-review-hi88__segment-1 {
  flex-shrink: 0;
  width: 120px;
  padding-left: 0;
  padding-right: 15px;
  position: relative;
}

.page-index-review-hi88__rank-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Default orange */
  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: 8px;
  object-fit: contain;
}

.page-index-review-hi88__segment-2 {
  flex-grow: 1;
}

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

.page-index-review-hi88__game-name-link {
  color: #000000;
  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: #000000;
  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;
}

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

.page-index-review-hi88__segment-3 {
  flex-shrink: 0;
  width: 150px;
}

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

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

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

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

.page-index-review-hi88__promotion-link {
  color: #0066cc;
  font-weight: bold;
}

.page-index-review-hi88__hot-badge {
  background-color: var(--hot-badge-color);
  color: #ffffff;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
}

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

.page-index-review-hi88__btn-download,
.page-index-review-hi88__btn-review {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  margin-top: 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
  color: var(--secondary-color);
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.page-index-review-hi88__btn-review {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

/* Brand Review Content Section */
.page-index-review-hi88__review-content-section {
  padding: 40px 20px;
  background-color: var(--background-color-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-background-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: var(--text-color-dark);
}

.page-index-review-hi88__review-content-card h2 {
  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-color-dark);
  line-height: 1.7;
}

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

.page-index-review-hi88__review-body a {
  color: #0066cc;
  font-weight: bold;
}

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

/* Introduction Section */
.page-index-review-hi88__introduction-section {
  padding: 60px 20px;
  background-color: var(--secondary-color); /* Dark background */
  color: var(--text-color-light);
}

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

.page-index-review-hi88__intro-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark card */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-review-hi88__intro-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index-review-hi88__intro-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

.page-index-review-hi88__intro-text a {
  color: var(--primary-color);
}

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

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

.page-index-review-hi88__service-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-index-review-hi88__tab-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-index-review-hi88__tab-button:hover,
.page-index-review-hi88__tab-button.active {
  background: linear-gradient(135deg, var(--primary-color), #FFA500);
  color: var(--secondary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out forwards;
}

.page-index-review-hi88__tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-index-review-hi88__content-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__content-image {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-index-review-hi88__content-heading {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-index-review-hi88__content-text a {
  color: var(--primary-color);
}

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

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

.page-index-review-hi88__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-review-hi88__promo-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

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

.page-index-review-hi88__promo-text a {
  color: var(--primary-color);
}

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

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

.page-index-review-hi88__blog-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-hi88__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

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

.page-index-review-hi88__blog-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

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

.page-index-review-hi88__blog-excerpt a {
  color: var(--primary-color);
}

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

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

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

  .page-index-review-hi88__section-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-card {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-index-review-hi88__game-card-segment {
    width: 100%;
    padding: 10px 0;
    border-left: none !important;
    border-bottom: 1px solid var(--border-color-light);
  }

  .page-index-review-hi88__game-card-segment:last-child {
    border-bottom: none;
  }

  .page-index-review-hi88__segment-1 {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    padding-right: 0;
  }

  .page-index-review-hi88__rank-badge {
    position: static;
    margin-right: 10px;
  }

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

  .page-index-review-hi88__segment-2,
  .page-index-review-hi88__segment-3,
  .page-index-review-hi88__segment-4 {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .page-index-review-hi88__btn-download,
  .page-index-review-hi88__btn-review {
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-index-review-hi88__intro-grid,
  .page-index-review-hi88__promo-grid,
  .page-index-review-hi88__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-index-review-hi88__content-image {
    max-width: 300px;
  }
}

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

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

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

  .page-index-review-hi88__hero-description {
    font-size: 15px;
  }

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

  .page-index-review-hi88__game-leaderboard-section,
  .page-index-review-hi88__review-content-section,
  .page-index-review-hi88__introduction-section,
  .page-index-review-hi88__games-services-section,
  .page-index-review-hi88__promotions-section,
  .page-index-review-hi88__latest-blog-section {
    padding: 30px 15px;
  }

  .page-index-review-hi88__review-content-card,
  .page-index-review-hi88__intro-item,
  .page-index-review-hi88__promo-card,
  .page-index-review-hi88__blog-card,
  .page-index-review-hi88__content-card {
    padding: 20px;
  }

  .page-index-review-hi88__review-content-card h2 {
    font-size: 22px;
  }

  .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-heading,
  .page-index-review-hi88__promo-heading,
  .page-index-review-hi88__blog-title {
    font-size: 18px;
  }

  .page-index-review-hi88__intro-text,
  .page-index-review-hi88__promo-text,
  .page-index-review-hi88__blog-excerpt {
    font-size: 14px;
  }

  .page-index-review-hi88__tab-button {
    padding: 10px 15px;
    font-size: 14px;
  }

  .page-index-review-hi88__content-heading {
    font-size: 22px;
  }

  .page-index-review-hi88__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-review-hi88__segment-4 {
    max-width: 100%;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .page-index-review-hi88__btn-download,
  .page-index-review-hi88__btn-review {
    max-width: 100%;
    width: 100%;
    font-size: 12px;
    padding: 8px 12px;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }

  /* Ensure all images and their containers are responsive */
  .page-index-review-hi88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-index-review-hi88__container,
  .page-index-review-hi88__hero-container,
  .page-index-review-hi88__game-leaderboard,
  .page-index-review-hi88__review-content-container,
  .page-index-review-hi88__intro-grid,
  .page-index-review-hi88__promo-grid,
  .page-index-review-hi88__blog-grid,
  .page-index-review-hi88__game-card,
  .page-index-review-hi88__review-content-card,
  .page-index-review-hi88__intro-item,
  .page-index-review-hi88__promo-card,
  .page-index-review-hi88__blog-card,
  .page-index-review-hi88__content-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
  }
}