/* style/index-review-fa88.css */
:root {
  --primary-color: #336699;
  --secondary-color: #FFCC00;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --border-color: #e0e0e0;
  --light-bg: #f1f3f5;
  --dark-body-bg: #000000; /* Body background from shared.css */
}

.page-index-review-fa88 {
  color: var(--light-text-color); /* Main text color for dark body background */
  background-color: var(--dark-body-bg);
  padding-bottom: 60px;
}

/* HERO Section */
.page-index-review-fa88__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; /* Adjust for fixed header */
  background-color: var(--dark-body-bg); /* Ensure consistent background */
  color: var(--light-text-color);
}

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

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

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

.page-index-review-fa88__hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--light-text-color);
  line-height: 1.2;
}

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

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

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

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

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

.page-index-review-fa88__game-card {
  background: var(--light-text-color);
  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-fa88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-index-review-fa88__rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text-color);
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-index-review-fa88__rank-badge:not(.page-index-review-fa88__rank-1):not(.page-index-review-fa88__rank-2):not(.page-index-review-fa88__rank-3) {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.page-index-review-fa88__game-icon {
  max-width: 100px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

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

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

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

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

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

.page-index-review-fa88__game-description a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index-review-fa88__segment-3 {
  min-width: 180px;
  max-width: 200px;
}

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

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

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

.page-index-review-fa88__promotion-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-index-review-fa88__promotion-link {
  color: #0066cc;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index-review-fa88__hot-badge {
  background: #ff4d4f;
  color: var(--light-text-color);
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 3px;
  font-weight: bold;
  flex-shrink: 0;
}

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

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

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

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

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

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

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

.page-index-review-fa88__review-content-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-index-review-fa88__review-content-card {
  background: var(--light-text-color);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  text-align: left;
}

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

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

.page-index-review-fa88__review-content-card h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--dark-text-color);
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

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

.page-index-review-fa88__review-body p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-index-review-fa88__review-body p a:hover {
  text-decoration: underline;
  color: #2a527a;
}

/* General Section Styling */
.page-index-review-fa88__section {
  padding: 60px 20px;
  background-color: var(--dark-body-bg);
  color: var(--light-text-color);
}

.page-index-review-fa88__section:nth-of-type(odd) {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

.page-index-review-fa88__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-review-fa88__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-index-review-fa88__section-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #cccccc;
}

.page-index-review-fa88__content-wrapper {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--light-text-color);
  text-align: left;
}

.page-index-review-fa88__content-wrapper p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-index-review-fa88__content-wrapper p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-index-review-fa88__content-wrapper p a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-index-review-fa88__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-review-fa88__feature-list li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #e0e0e0;
}

.page-index-review-fa88__feature-list li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-review-fa88__feature-list li strong {
  color: var(--light-text-color);
}

/* Primary Button Style */
.page-index-review-fa88__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--dark-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

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

/* Game Showcase Section */
.page-index-review-fa88__game-showcase-section {
  background-color: var(--dark-body-bg);
}

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

.page-index-review-fa88__game-card-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-index-review-fa88__game-card-item h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--light-text-color);
  margin-bottom: 15px;
}

.page-index-review-fa88__game-card-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-review-fa88__game-card-item p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-index-review-fa88__game-card-item p a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-index-review-fa88__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin-top: auto; /* Push button to bottom */
}

.page-index-review-fa88__btn-secondary:hover {
  background: #2a527a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-index-review-fa88__promotions-section {
  background-color: #1a1a1a;
}

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

.page-index-review-fa88__promo-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-index-review-fa88__promo-item h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--light-text-color);
  margin-bottom: 15px;
}

.page-index-review-fa88__promo-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-review-fa88__promo-item p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-index-review-fa88__promo-item p a:hover {
  text-decoration: underline;
  color: #FFD700;
}

/* News Section */
.page-index-review-fa88__news-section {
  background-color: var(--dark-body-bg);
}

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

.page-index-review-fa88__news-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-index-review-fa88__news-item h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--light-text-color);
  margin-bottom: 10px;
}

.page-index-review-fa88__news-item h3 a {
  color: var(--light-text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-fa88__news-item h3 a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-index-review-fa88__news-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-review-fa88__read-more {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

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

.page-index-review-fa88__view-all-news {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fa88__hero-section {
    padding-top: 160px;
  }
  .page-index-review-fa88__hero-content h1 {
    font-size: 42px;
  }
  .page-index-review-fa88__hero-content p {
    font-size: 18px;
  }
  .page-index-review-fa88__page-title {
    font-size: 32px;
  }
  .page-index-review-fa88__game-card {
    flex-wrap: wrap;
    padding: 15px;
  }
  .page-index-review-fa88__game-card-segment {
    padding: 10px;
  }
  .page-index-review-fa88__segment-1, .page-index-review-fa88__segment-3, .page-index-review-fa88__segment-4 {
    min-width: unset;
    max-width: unset;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    border-left: none !important;
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-index-review-fa88__segment-2 {
    width: 100%;
    border-left: none !important;
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-index-review-fa88__game-card-segment:not(:first-child) {
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
  }
  .page-index-review-fa88__game-icon {
    max-width: 80px;
  }
  .page-index-review-fa88__game-name {
    font-size: 20px;
  }
  .page-index-review-fa88__game-description {
    font-size: 13px;
  }
  .page-index-review-fa88__cta-button {
    padding: 10px 12px;
    font-size: 13px;
  }
  .page-index-review-fa88__review-content-card h2 {
    font-size: 28px;
  }
  .page-index-review-fa88__review-content-card h3 {
    font-size: 22px;
  }
  .page-index-review-fa88__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fa88__hero-section {
    padding: 40px 15px;
    padding-top: 140px; /* Adjust for fixed header */
  }
  .page-index-review-fa88__hero-content h1 {
    font-size: 32px;
  }
  .page-index-review-fa88__hero-content p {
    font-size: 16px;
  }
  .page-index-review-fa88__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index-review-fa88__game-leaderboard-section {
    padding: 20px 15px;
  }
  .page-index-review-fa88__page-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-index-review-fa88__game-card {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }
  .page-index-review-fa88__game-card-segment {
    width: 100%;
    padding: 10px 0;
    border-left: none !important;
    text-align: center;
  }
  .page-index-review-fa88__game-card-segment:not(:first-child) {
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
  }
  .page-index-review-fa88__segment-1 {
    flex-direction: column;
    gap: 10px;
  }
  .page-index-review-fa88__game-icon {
    max-width: 60px;
  }
  .page-index-review-fa88__game-name {
    font-size: 20px;
  }
  .page-index-review-fa88__game-description {
    font-size: 12px;
  }
  .page-index-review-fa88__segment-3 {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
  .page-index-review-fa88__segment-4 {
    max-width: 100%;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    gap: 8px;
  }
  .page-index-review-fa88__btn-download, .page-index-review-fa88__btn-review {
    max-width: 100%;
    width: 100%;
    font-size: 12px;
    padding: 8px 12px;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }
  .page-index-review-fa88__review-content-section {
    padding: 20px 15px;
  }
  .page-index-review-fa88__review-content-card {
    padding: 24px 20px;
  }
  .page-index-review-fa88__review-content-card h2 {
    font-size: 24px;
  }
  .page-index-review-fa88__review-content-card h3 {
    font-size: 18px;
  }
  .page-index-review-fa88__review-body p {
    font-size: 15px;
  }
  .page-index-review-fa88__section {
    padding: 40px 15px;
  }
  .page-index-review-fa88__section-title {
    font-size: 24px;
  }
  .page-index-review-fa88__section-description {
    font-size: 16px;
  }
  .page-index-review-fa88__content-wrapper {
    padding: 20px;
  }
  .page-index-review-fa88__feature-list li {
    font-size: 15px;
  }
  .page-index-review-fa88__btn-primary {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-index-review-fa88__game-cards-grid, .page-index-review-fa88__promo-grid, .page-index-review-fa88__news-grid {
    gap: 20px;
  }
  .page-index-review-fa88__game-card-item, .page-index-review-fa88__promo-item, .page-index-review-fa88__news-item {
    padding: 20px;
  }
  .page-index-review-fa88__game-card-image, .page-index-review-fa88__promo-image, .page-index-review-fa88__news-image {
    height: 150px;
  }
  .page-index-review-fa88__game-card-item h3, .page-index-review-fa88__promo-item h3, .page-index-review-fa88__news-item h3 {
    font-size: 18px;
  }
  .page-index-review-fa88__game-card-item p, .page-index-review-fa88__promo-item p, .page-index-review-fa88__news-item p {
    font-size: 14px;
  }
  .page-index-review-fa88__btn-secondary {
    font-size: 14px;
    padding: 8px 20px;
  }
}