:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --dark-bg-1: #0d0d0d; /* Assuming this is the body background from shared.css */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --border-color: #e0e0e0;
  --card-bg-color: #ffffff;
  --section-bg-light: #f1f3f5;
  --section-bg-dark: #1a1a1a;
}

.page-index-review-fabet {
  color: var(--light-text-color); /* Default text color for the main content area */
  background-color: var(--dark-bg-1);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Top padding to clear fixed header */
.page-index-review-fabet__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on actual header height */
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Example gradient */
}

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

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

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

.page-index-review-fabet__hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--light-text-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

.page-index-review-fabet__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--dark-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

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

/* Module 1: Game Leaderboard */
.page-index-review-fabet__game-leaderboard-section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
  color: var(--light-text-color);
}

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

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

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

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

.page-index-review-fabet__game-card-segment {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-left: 1px solid var(--border-color);
}

.page-index-review-fabet__segment-1 {
  padding-left: 0;
  border-left: none;
  width: 150px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-review-fabet__rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-index-review-fabet__game-icon {
  max-width: 100px;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: contain;
}

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

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

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

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

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

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

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

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

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

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

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

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

.page-index-review-fabet__promotion-link {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index-review-fabet__hot-badge {
  background: #e74c3c;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  margin-left: 5px;
}

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

.page-index-review-fabet__btn-download,
.page-index-review-fabet__btn-review {
  display: inline-block;
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: none;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-index-review-fabet__btn-download:hover {
  background: #071c4c;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

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