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

:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f1f3f5;
  --border-light: #e4e4e4;
}

.page-index-review-go88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default for dark body background */
  background-color: var(--dark-bg-1); /* Assuming --dark-bg-1 is dark from shared.css */
}

/* HERO Section */
.page-index-review-go88__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(--primary-color);
  color: var(--text-light);
}

.page-index-review-go88__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-go88__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-index-review-go88__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

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

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

.page-index-review-go88__hero-description a:hover {
  color: #fff;
}

.page-index-review-go88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  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);
}

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

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

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

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

.page-index-review-go88__game-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.page-index-review-go88__game-card-segment {
  padding: 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%; /* Ensure segments take full height for vertical alignment */
}

.page-index-review-go88__game-card-segment:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-light);
}

.page-index-review-go88__segment-1 {
  min-width: 120px;
  max-width: 150px;
  padding-left: 0;
  align-items: flex-start;
  position: relative;
  flex-shrink: 0;
}

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

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

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

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

.page-index-review-go88__game-icon {
  max-width: 100px;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-top: 10px;
}

.page-index-review-go88__segment-2 {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.page-index-review-go88__game-name {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  line-height: 1.2;
}

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

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

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

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

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

.page-index-review-go88__segment-3 {
  min-width: 150px;
  max-width: 180px;
  flex-shrink: 0;
}

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

.page-index-review-go88__stars {
  color: #FFD700;
  font-size: 18px;
  margin-right: 5px;
  font-weight: bold;
}

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

.page-index-review-go88__promotion-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.page-index-review-go88__promotion-link {
  color: #0066cc;
  text-decoration: none;
  margin-right: 5px;
}

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

.page-index-review-go88__hot-badge {
  background: #dc3545;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

.page-index-review-go88__segment-4 {
  min-width: 180px;
  max-width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 0;
}

.page-index-review-go88__cta-button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  font-size: 16px;
}

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

.page-index-review-go88__btn-download:hover {
  background: #1a3a80;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-go88__btn-review:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Brand Review Content Section */
.page-index-review-go88__review-content-section {
  padding: 40px 20px;
  background: var(--bg-light);
  color: var(--text-dark);
}

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

.page-index-review-go88__review-content-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-index-review-go88__content-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

.page-index-review-go88__review-body h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.4;
}

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

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

.page-index-review-go88__review-body p a:hover {
  color: var(--secondary-color);
}

/* Homepage Introduction Section */
.page-index-review-go88__introduction-section {
  padding: 60px 20px;
  background: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
}

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

.page-index-review-go88__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.page-index-review-go88__intro-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index-review-go88__intro-icon {
  width: 100px;
  height: auto;
  max-width: 100px;
  margin-bottom: 20px;
}

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

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

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

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

/* Core Games/Services Section */
.page-index-review-go88__games-section {
  padding: 60px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

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

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

.page-index-review-go88__game-category-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

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

.page-index-review-go88__game-category-img {
  width: 150px;
  height: auto;
  max-width: 150px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.page-index-review-go88__game-category-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 10px;
}

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

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

.page-index-review-go88__game-category-text a:hover {
  color: #fff;
}

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

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

.page-index-review-go88__promo-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-index-review-go88__promo-img {
  width: 180px;
  height: auto;
  max-width: 180px;
  margin-bottom: 20px;
  border-radius: 4px;
}

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

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

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

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

.page-index-review-go88__promo-cta {
  margin-top: 40px;
}

/* Blog Section */
.page-index-review-go88__blog-section {
  padding: 60px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

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

.page-index-review-go88__blog-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, background 0.3s ease;
}

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

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

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

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

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

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

.page-index-review-go88__blog-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

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

.page-index-review-go88__blog-excerpt a:hover {
  color: #fff;
}

.page-index-review-go88__blog-date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.page-index-review-go88__blog-cta {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-go88__hero-title {
    font-size: 36px;
  }
  .page-index-review-go88__page-title,
  .page-index-review-go88__section-title {
    font-size: 28px;
  }
  .page-index-review-go88__game-card {
    flex-wrap: wrap;
    padding: 15px;
  }
  .page-index-review-go88__game-card-segment {
    padding: 10px;
    width: 100%;
    border-left: none !important;
    margin-bottom: 10px;
  }
  .page-index-review-go88__game-card-segment::before {
    display: none;
  }
  .page-index-review-go88__segment-1,
  .page-index-review-go88__segment-2,
  .page-index-review-go88__segment-3,
  .page-index-review-go88__segment-4 {
    min-width: unset;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  .page-index-review-go88__rank-badge {
    position: static;
    margin-bottom: 10px;
  }
  .page-index-review-go88__game-icon {
    margin-top: 0;
  }
  .page-index-review-go88__intro-grid,
  .page-index-review-go88__game-categories,
  .page-index-review-go88__promo-grid,
  .page-index-review-go88__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-review-go88__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-review-go88__hero-img {
    border-radius: 4px;
  }
  
  .page-index-review-go88__hero-title {
    font-size: 28px;
  }
  
  .page-index-review-go88__hero-description {
    font-size: 16px;
  }

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

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

  .page-index-review-go88__game-leaderboard-section,
  .page-index-review-go88__review-content-section,
  .page-index-review-go88__introduction-section,
  .page-index-review-go88__games-section,
  .page-index-review-go88__promotions-section,
  .page-index-review-go88__blog-section {
    padding: 30px 15px;
  }

  .page-index-review-go88__review-content-card {
    padding: 25px 20px;
  }
  
  .page-index-review-go88__content-title {
    font-size: 24px;
  }
  
  .page-index-review-go88__review-body h3 {
    font-size: 18px;
  }
  
  .page-index-review-go88__review-body p {
    font-size: 15px;
  }

  .page-index-review-go88__game-card {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .page-index-review-go88__segment-1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .page-index-review-go88__rank-badge {
    position: static;
    margin-right: 15px;
    margin-left: 0;
    top: auto;
    left: auto;
    font-size: 14px;
    width: 28px;
    height: 28px;
  }
  
  .page-index-review-go88__game-icon {
    max-width: 80px;
  }

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

  .page-index-review-go88__game-description {
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .page-index-review-go88__segment-4 {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .page-index-review-go88__btn-download,
  .page-index-review-go88__btn-review {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 14px;
    padding: 10px 15px;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }

  .page-index-review-go88__intro-grid,
  .page-index-review-go88__game-categories,
  .page-index-review-go88__promo-grid,
  .page-index-review-go88__blog-grid {
    grid-template-columns: 1fr;
  }
  
  .page-index-review-go88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-go88__section,
  .page-index-review-go88__card,
  .page-index-review-go88__container,
  .page-index-review-go88__hero-container,
  .page-index-review-go88__review-content-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-review-go88__blog-img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-index-review-go88__hero-title {
    font-size: 24px;
  }
  .page-index-review-go88__hero-description {
    font-size: 14px;
  }
  .page-index-review-go88__cta-button {
    font-size: 14px;
    padding: 10px 25px;
  }
  .page-index-review-go88__page-title,
  .page-index-review-go88__section-title {
    font-size: 22px;
  }
  .page-index-review-go88__game-name {
    font-size: 18px;
  }
  .page-index-review-go88__game-description {
    font-size: 12px;
  }
  .page-index-review-go88__intro-icon {
    width: 80px;
  }
  .page-index-review-go88__game-category-img {
    width: 120px;
  }
  .page-index-review-go88__promo-img {
    width: 150px;
  }
  .page-index-review-go88__blog-img {
    height: 150px;
  }
}