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

:root {
  --primary-color: #8B0000; /* Deep Red */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #111;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

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

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

.page-index-review-go88__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-review-go88__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.page-index-review-go88__btn-primary,
.page-index-review-go88__btn-secondary,
.page-index-review-go88__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-go88__btn-primary:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-go88__btn-secondary:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-review-go88__btn-tertiary {
  background: #333;
  color: var(--text-light);
}

.page-index-review-go88__btn-tertiary:hover {
  background: #555;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-go88 .highlight-keyword {
  color: var(--secondary-color);
  font-weight: bold;
}

/* 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: linear-gradient(135deg, var(--primary-color), #5a0000);
}

.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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-index-review-go88__hero-content h1 {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-go88__hero-content p {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-go88__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index-review-go88__cta-button:hover {
  background: #e0b800;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-index-review-go88__page-title {
  font-size: 38px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-index-review-go88__game-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 1400px; /* Slightly wider for better card content */
  margin: 0 auto;
}

.page-index-review-go88__game-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-index-review-go88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-index-review-go88__segment-1 {
  min-width: 120px;
  max-width: 150px;
  padding-left: 0;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-review-go88__rank-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: bold;
  font-size: 14px;
  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__rank-badge:not(.page-index-review-go88__rank-1):not(.page-index-review-go88__rank-2):not(.page-index-review-go88__rank-3) {
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Orange for 4+ */
}

.page-index-review-go88__game-icon {
  max-width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-index-review-go88__game-name-link:hover {
  color: #a00000;
  text-decoration: underline;
}

.page-index-review-go88__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-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;
  text-align: center;
}

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

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

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

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

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

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

.page-index-review-go88__hot-badge {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  margin-left: 8px;
}

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

.page-index-review-go88__btn-download,
.page-index-review-go88__btn-review {
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-go88__btn-download:hover {
  background: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

/* Brand Review Content Section */
.page-index-review-go88__review-content-section {
  padding: 60px 20px;
  background: var(--background-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: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 40px;
  color: var(--text-dark);
}

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

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

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

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

/* Homepage Introduction Section */
.page-index-review-go88__intro-section {
  padding: 60px 20px;
  background-color: var(--background-dark);
}

.page-index-review-go88__intro-container {
  max-width: 1200px;
}

.page-index-review-go88__intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 40px;
  color: var(--text-dark);
}

.page-index-review-go88__intro-text {
  flex: 1;
}

.page-index-review-go88__intro-text p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-index-review-go88__intro-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-go88__intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.page-index-review-go88__game-item {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-go88__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-go88__game-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-review-go88__game-item p {
  font-size: 16px;
  margin-bottom: 20px;
}

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

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

.page-index-review-go88__promotion-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-go88__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-go88__promotion-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-review-go88__promotion-card p {
  font-size: 16px;
  margin-bottom: 20px;
}

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

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

.page-index-review-go88__blog-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-go88__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-go88__blog-card h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

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

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

.page-index-review-go88__blog-card p {
  font-size: 15px;
  margin-bottom: 15px;
}

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

.page-index-review-go88__view-all {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-go88__hero-content h1 {
    font-size: 42px;
  }

  .page-index-review-go88__hero-content p {
    font-size: 18px;
  }

  .page-index-review-go88__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }

  .page-index-review-go88__section-title {
    font-size: 32px;
  }

  .page-index-review-go88__game-card {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 15px;
  }

  .page-index-review-go88__game-card-segment {
    width: 100%;
    padding: 10px 0;
  }

  .page-index-review-go88__game-card-segment:not(:first-child)::before {
    width: 80%;
    height: 1px;
    top: 0;
    left: 10%;
    bottom: auto;
  }
  
  .page-index-review-go88__segment-1 {
    min-width: unset;
    max-width: unset;
    order: 1;
    flex-direction: row;
    gap: 15px;
    padding-top: 0;
  }

  .page-index-review-go88__rank-badge {
    position: static;
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .page-index-review-go88__game-icon {
    max-width: 80px;
  }

  .page-index-review-go88__segment-2 {
    order: 2;
  }

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

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

  .page-index-review-go88__segment-3 {
    min-width: unset;
    max-width: unset;
    order: 3;
    flex-direction: row;
    gap: 10px;
  }

  .page-index-review-go88__game-rating, .page-index-review-go88__promotion-text {
    margin-bottom: 0;
  }

  .page-index-review-go88__segment-4 {
    min-width: unset;
    max-width: 100%;
    order: 4;
    flex-direction: row;
    gap: 15px;
    padding-bottom: 0;
  }
  
  .page-index-review-go88__btn-download, .page-index-review-go88__btn-review {
    flex: 1;
    font-size: 14px;
    padding: 10px 10px;
  }

  .page-index-review-go88__review-content-card h2 {
    font-size: 28px;
  }

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

  .page-index-review-go88__intro-content {
    flex-direction: column;
  }

  .page-index-review-go88__intro-image {
    width: 100%;
    height: 250px;
  }
}

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

  .page-index-review-go88__hero-content h1 {
    font-size: 32px;
  }

  .page-index-review-go88__hero-content p {
    font-size: 16px;
  }

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

  .page-index-review-go88__section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

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

  .page-index-review-go88__game-card {
    padding: 10px;
  }

  .page-index-review-go88__game-card-segment:not(:first-child)::before {
    top: 0;
    bottom: auto;
  }

  .page-index-review-go88__segment-1 {
    gap: 10px;
  }

  .page-index-review-go88__rank-badge {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

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

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

  .page-index-review-go88__game-description {
    font-size: 12px;
  }

  .page-index-review-go88__stars,
  .page-index-review-go88__rating-number {
    font-size: 16px;
  }

  .page-index-review-go88__promotion-text {
    font-size: 12px;
  }

  .page-index-review-go88__hot-badge {
    padding: 1px 6px;
    font-size: 10px;
    margin-left: 5px;
  }

  .page-index-review-go88__segment-4 {
    gap: 8px;
  }

  .page-index-review-go88__btn-download,
  .page-index-review-go88__btn-review {
    font-size: 12px !important;
    padding: 8px 10px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    min-width: auto !important;
  }

  .page-index-review-go88__review-content-card {
    padding: 25px 20px;
  }

  .page-index-review-go88__review-content-card h2 {
    font-size: 24px;
  }

  .page-index-review-go88__review-content-card h3 {
    font-size: 18px;
  }

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

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

  .page-index-review-go88__intro-text p {
    font-size: 15px;
  }

  .page-index-review-go88__intro-image {
    height: 200px;
  }

  .page-index-review-go88__game-item h3,
  .page-index-review-go88__promotion-card h3 {
    font-size: 20px;
  }

  .page-index-review-go88__game-item p,
  .page-index-review-go88__promotion-card p {
    font-size: 15px;
  }

  .page-index-review-go88__blog-card h3 {
    font-size: 18px;
  }

  .page-index-review-go88__blog-card p {
    font-size: 14px;
  }

  .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__intro-content,
  .page-index-review-go88__games-grid,
  .page-index-review-go88__promotions-grid,
  .page-index-review-go88__blog-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-review-go88__hero-content h1 {
    font-size: 28px;
  }
  .page-index-review-go88__page-title {
    font-size: 24px;
  }
  .page-index-review-go88__game-card-segment:not(:first-child)::before {
    width: 90%;
    left: 5%;
  }
  .page-index-review-go88__segment-1 {
    flex-direction: column;
  }
  .page-index-review-go88__segment-4 {
    flex-direction: column;
  }
  .page-index-review-go88__btn-download, .page-index-review-go88__btn-review {
    padding: 10px 5px !important;
    font-size: 11px !important;
  }
  .page-index-review-go88__intro-image {
    height: 180px;
  }
  .page-index-review-go88__game-item h3,
  .page-index-review-go88__promotion-card h3 {
    font-size: 18px;
  }
}