.page-index {
  padding-top: 180px; /* Desktop padding for fixed header */
  background: #f1f3f5; /* Light grey background for the whole page content */
  color: #333333; /* Default text color for light background */
}

@media (max-width: 768px) {
  .page-index {
    padding-top: 140px; /* Mobile padding for fixed header */
  }
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1E1E1E, #333333); /* Dark background for hero */
  color: #ffffff;
}

.page-index__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__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-index__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #DAA520; /* Gold color for title */
}

.page-index__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index__hero-description a {
  color: #DAA520;
  text-decoration: underline;
}

.page-index__hero-description a:hover {
  color: #FFD700;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #DAA520, #FFD700); /* Gold gradient */
  color: #1E1E1E;
  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__cta-button:hover {
  background: linear-gradient(135deg, #FFD700, #DAA520);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive for Hero Section */
@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 40px 15px;
  }
  
  .page-index__hero-image img {
    border-radius: 4px;
  }
  
  .page-index__hero-title {
    font-size: 32px;
  }
  
  .page-index__hero-description {
    font-size: 16px;
  }
  
  .page-index__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

/* Game Leaderboard Section */
.page-index__game-leaderboard-section {
  padding: 40px 20px;
  background: #f1f3f5;
}

.page-index__page-title {
  font-size: 32px;
  font-weight: bold;
  color: #1E1E1E;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-index__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__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-index__game-card-segment {
  padding: 0 20px;
  border-left: 1px solid #e4e4e4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%; /* Ensure segments take full height for consistent vertical lines */
}

.page-index__segment-1 {
  border-left: none;
  padding-left: 0;
  width: 150px; /* Fixed width for first segment */
  flex-shrink: 0;
  position: relative;
}

.page-index__segment-2 {
  flex: 1; /* Main content column, takes remaining space */
  text-align: center;
}

.page-index__segment-3 {
  width: 180px; /* Fixed width for rating/promo */
  flex-shrink: 0;
}

.page-index__segment-4 {
  width: 220px; /* Fixed width for CTA buttons */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 0;
}

.page-index__rank-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Default orange for 4+ */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

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

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

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

.page-index__game-icon {
  max-width: 100px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.page-index__game-name {
  font-size: 24px;
  font-weight: bold;
  color: #1E1E1E;
  text-align: center;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.page-index__game-name-link {
  color: #1E1E1E;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-index__game-name-link:hover {
  color: #DAA520;
  text-decoration: underline;
}

.page-index__game-description {
  font-size: 14px;
  color: #333333;
  text-align: center;
  font-weight: bold;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

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

.page-index__game-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  color: #DAA520;
  font-weight: bold;
}

.page-index__stars {
  font-size: 18px;
}

.page-index__rating-number {
  font-size: 16px;
}

.page-index__promotion-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-index__promotion-link {
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.page-index__promotion-link:hover {
  color: #004499;
  text-decoration: underline;
}

.page-index__hot-badge {
  background: #ff4d4f;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-index__cta-button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #DAA520, #FFD700);
  color: #1E1E1E;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
}

.page-index__cta-button:hover {
  background: linear-gradient(135deg, #FFD700, #DAA520);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.page-index__btn-review {
  background: #1E1E1E;
  color: #ffffff;
}

.page-index__btn-review:hover {
  background: #333333;
}

/* Responsive for Leaderboard */
@media (max-width: 1024px) {
  .page-index__game-card {
    flex-wrap: wrap;
    padding: 15px;
  }

  .page-index__game-card-segment {
    border-left: none;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .page-index__segment-1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    padding-top: 10px;
  }

  .page-index__rank-badge {
    position: static;
    margin-right: 15px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    box-shadow: none;
  }

  .page-index__game-icon {
    max-width: 80px;
  }

  .page-index__segment-2 {
    order: 1; /* Push game info above rating/buttons */
    padding-bottom: 10px;
  }

  .page-index__segment-3 {
    width: 100%;
    order: 2;
    padding-top: 10px;
    border-top: 1px solid #e4e4e4;
  }

  .page-index__game-rating, .page-index__promotion-text {
    justify-content: center;
  }

  .page-index__segment-4 {
    width: 100%;
    order: 3;
    padding-top: 15px;
    border-top: 1px solid #e4e4e4;
  }
  
  .page-index__game-name {
    font-size: 20px;
  }
  
  .page-index__game-description {
    font-size: 13px;
  }
  
  .page-index__cta-button {
    font-size: 14px;
    padding: 10px 15px;
  }
}

@media (max-width: 768px) {
  .page-index__page-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-index__game-card {
    padding: 10px;
  }
  .page-index__cta-button {
    font-size: 12px;
    padding: 8px 12px;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }
  .page-index__segment-4 {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Brand Review Content Section */
.page-index__review-content-section {
  padding: 40px 20px;
  background: #f1f3f5;
}

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

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

.page-index__review-title {
  font-size: 28px;
  font-weight: bold;
  color: #1E1E1E;
  margin-bottom: 24px;
  text-align: center;
}

.page-index__review-content-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: #1E1E1E;
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-index__review-body {
  color: #333333;
  line-height: 1.7;
}

.page-index__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

.page-index__review-body a {
  color: #0066cc;
  text-decoration: none;
}

.page-index__review-body a:hover {
  text-decoration: underline;
}

/* Responsive for Review Content */
@media (max-width: 768px) {
  .page-index__review-content-section {
    padding: 20px 15px;
  }
  
  .page-index__review-content-card {
    padding: 24px 20px;
  }
  
  .page-index__review-title {
    font-size: 24px;
  }
  
  .page-index__review-content-card h3 {
    font-size: 18px;
  }
  
  .page-index__review-body p {
    font-size: 15px;
  }
}

/* General Section Styling */
.page-index__section-padding {
  padding: 60px 20px;
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #1E1E1E;
  text-align: center;
  margin-bottom: 30px;
}

.page-index__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-index__section-description a {
  color: #0066cc;
  text-decoration: none;
}

.page-index__section-description a:hover {
  text-decoration: underline;
}

.page-index__section-title--light, .page-index__section-description--light {
  color: #ffffff;
}

/* Homepage Introduction Section */
.page-index__introduction-section {
  background: #ffffff;
}

.page-index__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__text-block {
  line-height: 1.7;
}

.page-index__text-block p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-index__text-block p a {
  color: #0066cc;
  text-decoration: none;
}

.page-index__text-block p a:hover {
  text-decoration: underline;
}

.page-index__image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #DAA520, #FFD700);
  color: #1E1E1E;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-index__btn-primary:hover {
  background: linear-gradient(135deg, #FFD700, #DAA520);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

/* Core Games Section */
.page-index__core-games-section {
  background: #1E1E1E;
  color: #ffffff;
}

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

.page-index__game-card-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-index__game-card-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-index__game-item-title {
  font-size: 22px;
  font-weight: bold;
  color: #DAA520;
  margin-bottom: 10px;
}

.page-index__game-item-description {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-index__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #DAA520;
  color: #1E1E1E;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-index__btn-secondary:hover {
  background: #FFD700;
  transform: translateY(-2px);
}

/* Promotions Section */
.page-index__promotions-section {
  background: #f1f3f5;
}

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

.page-index__promotion-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-index__promotion-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-index__promotion-title {
  font-size: 22px;
  font-weight: bold;
  color: #1E1E1E;
  margin-bottom: 10px;
}

.page-index__promotion-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Blog Section */
.page-index__blog-section {
  background: #ffffff;
}

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

.page-index__blog-post-card {
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-index__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: #1E1E1E;
  margin: 20px 20px 10px;
  line-height: 1.4;
}

.page-index__blog-title a {
  color: #1E1E1E;
  text-decoration: none;
}

.page-index__blog-title a:hover {
  color: #DAA520;
  text-decoration: underline;
}

.page-index__blog-excerpt {
  font-size: 15px;
  color: #555555;
  margin: 0 20px 15px;
  line-height: 1.6;
}

.page-index__read-more {
  display: inline-block;
  color: #DAA520;
  text-decoration: none;
  font-weight: bold;
  padding: 0 20px 20px;
  transition: color 0.3s ease;
}

.page-index__read-more:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* Responsive for all sections */
@media (max-width: 768px) {
  .page-index__section-padding {
    padding: 40px 15px;
  }
  
  .page-index__section-title {
    font-size: 26px;
    margin-bottom: 25px;
  }
  
  .page-index__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .page-index__grid-2-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .page-index__game-cards-grid, .page-index__promotions-grid, .page-index__blog-grid {
    grid-template-columns: 1fr;
  }
  
  .page-index__game-image, .page-index__promotion-image, .page-index__blog-image {
    height: 180px;
  }
  
  .page-index__game-item-title, .page-index__promotion-title, .page-index__blog-title {
    font-size: 20px;
  }
  
  .page-index__game-item-description, .page-index__promotion-description, .page-index__blog-excerpt {
    font-size: 14px;
  }
}