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

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-dark: #000000; /* From shared.css */
  --bg-light-grey: #f1f3f5;
  --border-color: #e4e4e4;
}

.page-index-review-saobet {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-light); /* Base text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency with shared.css body background */
}

.page-index-review-saobet h1,
.page-index-review-saobet h2,
.page-index-review-saobet h3,
.page-index-review-saobet h4,
.page-index-review-saobet h5,
.page-index-review-saobet h6 {
  color: var(--text-color-light);
}

/* HERO Section */
.page-index-review-saobet__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(--bg-dark);
}

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

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

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

.page-index-review-saobet__hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color); /* Use primary color for hero title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-saobet__hero-content p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-color-light);
}

.page-index-review-saobet__hero-content .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-index-review-saobet__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  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-saobet__cta-button:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Game Leaderboard Section */
.page-index-review-saobet__game-leaderboard-section {
  background: var(--bg-light-grey); /* Light background for contrast */
  padding: 60px 20px;
  text-align: center;
  color: var(--text-color-dark);
}

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

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

.page-index-review-saobet__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, box-shadow 0.3s ease;
}

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

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

.page-index-review-saobet__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-saobet__segment-1 {
  flex-shrink: 0;
  width: 120px;
  padding-left: 0;
}

.page-index-review-saobet__rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

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

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

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

.page-index-review-saobet__rank-badge:not(.page-index-review-saobet__rank-1):not(.page-index-review-saobet__rank-2):not(.page-index-review-saobet__rank-3) {
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Orange for others */
}

.page-index-review-saobet__game-icon {
  max-width: 100px;
  height: auto;
  object-fit: contain;
  margin-top: 10px; /* Space for badge */
}

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

.page-index-review-saobet__game-name {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 8px;
}

.page-index-review-saobet__game-name-link {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

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

.page-index-review-saobet__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-saobet__game-description a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
}

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

.page-index-review-saobet__segment-3 {
  flex-shrink: 0;
  width: 150px;
  text-align: center;
}

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

.page-index-review-saobet__stars {
  font-size: 18px;
  margin-right: 5px;
  font-weight: bold;
}

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

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

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

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

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

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

.page-index-review-saobet__cta-button.page-index-review-saobet__btn-download,
.page-index-review-saobet__cta-button.page-index-review-saobet__btn-review {
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 0;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-review-saobet__cta-button.page-index-review-saobet__btn-download {
  background: linear-gradient(135deg, #4CAF50, #8BC34A); /* Greenish for download */
}

.page-index-review-saobet__cta-button.page-index-review-saobet__btn-download:hover {
  background: linear-gradient(135deg, #8BC34A, #4CAF50);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.page-index-review-saobet__cta-button.page-index-review-saobet__btn-review {
  background: linear-gradient(135deg, #2196F3, #03A9F4); /* Blueish for review */
}

.page-index-review-saobet__cta-button.page-index-review-saobet__btn-review:hover {
  background: linear-gradient(135deg, #03A9F4, #2196F3);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

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

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

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

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

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

.page-index-review-saobet__introduction-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-review-saobet__introduction-card h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-index-review-saobet__introduction-card p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-index-review-saobet__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255,255,255,0.15);
}

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

.page-index-review-saobet__feature-icon {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px var(--primary-color));
}

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

.page-index-review-saobet__feature-item p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-color-light);
}

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

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

.page-index-review-saobet__games-showcase-section h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-index-review-saobet__games-showcase-section > p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text-color-dark);
}

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

.page-index-review-saobet__game-category-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-saobet__category-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
}

.page-index-review-saobet__game-category-card h3 {
  font-size: 22px;
  color: var(--text-color-dark);
  margin-bottom: 10px;
}

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

.page-index-review-saobet__category-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-review-saobet__category-button:hover {
  background: var(--secondary-color);
}

.page-index-review-saobet__more-games-text {
  margin-top: 40px;
  font-size: 18px;
  color: var(--text-color-dark);
}

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

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

.page-index-review-saobet__promotions-section h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

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

.page-index-review-saobet__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding-bottom: 20px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255,255,255,0.15);
}

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

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

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

.page-index-review-saobet__promo-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-color-light);
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-index-review-saobet__promo-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-review-saobet__promo-button:hover {
  background: var(--primary-color);
}

.page-index-review-saobet__cta-bottom {
  margin-top: 50px;
}

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

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

.page-index-review-saobet__blog-section h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-color-dark);
}

.page-index-review-saobet__blog-section > p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text-color-dark);
}

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

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

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

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

.page-index-review-saobet__blog-card h3 {
  font-size: 20px;
  color: var(--text-color-dark);
  margin: 0 20px 10px 20px;
}

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

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

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

.page-index-review-saobet__blog-date {
  font-size: 13px;
  color: #777777;
  padding: 0 20px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-saobet__hero-content h1 {
    font-size: 40px;
  }
  .page-index-review-saobet__hero-content p {
    font-size: 18px;
  }
  .page-index-review-saobet__page-title,
  .page-index-review-saobet__introduction-card h2,
  .page-index-review-saobet__games-showcase-section h2,
  .page-index-review-saobet__promotions-section h2,
  .page-index-review-saobet__blog-section h2 {
    font-size: 32px;
  }
  .page-index-review-saobet__review-content-card h2 {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .page-index-review-saobet__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-review-saobet__hero-image img {
    border-radius: 4px;
  }
  
  .page-index-review-saobet__hero-content h1 {
    font-size: 32px;
  }
  .page-index-review-saobet__hero-content p {
    font-size: 16px;
  }
  .page-index-review-saobet__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-index-review-saobet__game-leaderboard-section,
  .page-index-review-saobet__review-content-section,
  .page-index-review-saobet__introduction-section,
  .page-index-review-saobet__games-showcase-section,
  .page-index-review-saobet__promotions-section,
  .page-index-review-saobet__blog-section {
    padding: 30px 15px;
  }

  .page-index-review-saobet__page-title,
  .page-index-review-saobet__introduction-card h2,
  .page-index-review-saobet__games-showcase-section h2,
  .page-index-review-saobet__promotions-section h2,
  .page-index-review-saobet__blog-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-index-review-saobet__review-content-card h2 {
    font-size: 24px;
  }
  .page-index-review-saobet__review-content-card h3 {
    font-size: 18px;
  }
  .page-index-review-saobet__review-body p {
    font-size: 15px;
  }

  .page-index-review-saobet__game-card {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }
  .page-index-review-saobet__game-card-segment {
    padding: 10px 0;
    width: 100%;
    border-left: none !important;
  }
  .page-index-review-saobet__game-card-segment::before {
    display: none !important;
  }
  .page-index-review-saobet__segment-1 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .page-index-review-saobet__rank-badge {
    position: static;
    margin-right: 15px;
  }
  .page-index-review-saobet__game-icon {
    margin-top: 0;
    max-width: 80px;
  }
  .page-index-review-saobet__segment-2 {
    padding: 10px 0;
  }
  .page-index-review-saobet__game-name {
    font-size: 20px;
  }
  .page-index-review-saobet__game-description {
    font-size: 13px;
  }
  .page-index-review-saobet__segment-3 {
    width: 100%;
    padding: 10px 0;
  }
  .page-index-review-saobet__game-rating {
    margin-bottom: 5px;
  }
  .page-index-review-saobet__segment-4 {
    width: 100%;
    padding: 10px 0;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-review-saobet__cta-button.page-index-review-saobet__btn-download,
  .page-index-review-saobet__cta-button.page-index-review-saobet__btn-review {
    font-size: 14px;
    padding: 10px 15px;
    min-height: 40px;
  }

  .page-index-review-saobet__features-grid,
  .page-index-review-saobet__game-categories,
  .page-index-review-saobet__promo-grid,
  .page-index-review-saobet__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-index-review-saobet__feature-icon {
    width: 60px;
  }
  .page-index-review-saobet__feature-item h3,
  .page-index-review-saobet__game-category-card h3,
  .page-index-review-saobet__promo-card h3,
  .page-index-review-saobet__blog-card h3 {
    font-size: 20px;
  }
  .page-index-review-saobet__feature-item p,
  .page-index-review-saobet__game-category-card p,
  .page-index-review-saobet__promo-card p,
  .page-index-review-saobet__blog-card p {
    font-size: 14px;
  }

  .page-index-review-saobet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-saobet__section,
  .page-index-review-saobet__card,
  .page-index-review-saobet__container,
  .page-index-review-saobet__introduction-card,
  .page-index-review-saobet__review-content-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}