.page-index {
  color: #ffffff; /* Default text color for dark body background */
  padding-bottom: 60px;
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 20px 60px; /* Adjusted padding-top for fixed header */
  background: #000000; /* Match body background */
}

.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-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;
  color: #E5B80B; /* Use accent color for title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, #E5B80B, #FFD700);
  color: #0A2463;
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(229, 184, 11, 0.4);
  border: none;
  cursor: pointer;
}

.page-index__cta-button:hover {
  background: linear-gradient(135deg, #FFD700, #E5B80B);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(229, 184, 11, 0.6);
}

.page-index__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 8px;
}

.page-index__cta-button--large {
  padding: 20px 50px;
  font-size: 22px;
  border-radius: 12px;
}

/* Game Leaderboard Section */
.page-index__game-leaderboard-section {
  padding: 60px 20px;
  background: #000000; /* Dark background for this section */
  color: #ffffff;
}

.page-index__page-title {
  font-size: 36px;
  font-weight: bold;
  color: #E5B80B; /* Accent color for main title */
  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 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__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index__game-card-segment {
  padding: 0 20px;
  border-left: 1px solid #e4e4e4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

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

.page-index__segment-2 {
  flex: 1;
  min-width: 200px;
}

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

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

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

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

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

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

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

.page-index__game-icon {
  max-width: 100px;
  height: auto;
  display: block;
  margin-top: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-index__game-description {
  font-size: 14px;
  color: #333333;
  font-weight: bold;
  text-align: center;
  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;
  margin-bottom: 5px;
  color: #E5B80B;
  font-weight: bold;
  font-size: 16px;
}

.page-index__stars {
  margin-right: 5px;
}

.page-index__rating-number {
  color: #333333;
  font-weight: bold;
}

.page-index__promotion-text {
  font-size: 14px;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 5px;
}

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

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

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

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

.page-index__btn-download {
  background: linear-gradient(135deg, #0A2463, #1A3B7A);
  color: #ffffff;
}

.page-index__btn-download:hover {
  background: linear-gradient(135deg, #1A3B7A, #0A2463);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-index__btn-review {
  background: linear-gradient(135deg, #E5B80B, #FFD700);
  color: #0A2463;
}

.page-index__btn-review:hover {
  background: linear-gradient(135deg, #FFD700, #E5B80B);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

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

.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: #0A2463;
  margin-bottom: 24px;
  text-align: center;
}

.page-index__review-content-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: #0A2463;
  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;
}

/* Intro Section */
.page-index__intro-section {
  padding: 60px 20px;
  text-align: center;
}

.page-index__dark-section {
  background: #0A2463;
  color: #ffffff;
}

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

.page-index__intro-title {
  font-size: 36px;
  font-weight: bold;
  color: #E5B80B;
  margin-bottom: 20px;
}

.page-index__intro-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

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

.page-index__feature-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-index__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #E5B80B;
  margin-bottom: 10px;
}

.page-index__feature-item p {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.5;
}

.page-index__intro-cta {
  margin-top: 40px;
}

/* Games Showcase Section */
.page-index__games-showcase-section {
  padding: 60px 20px;
  background: #000000; /* Dark background */
  color: #ffffff;
}

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #E5B80B;
  text-align: center;
  margin-bottom: 20px;
}

.page-index__section-title--light {
  color: #E5B80B;
}

.page-index__section-description {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__section-description--light {
  color: #f0f0f0;
}

.page-index__games-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-index__tab-button {
  background: #1a3b7a;
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.page-index__tab-button:hover {
  background: #0A2463;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__tab-button--active {
  background: linear-gradient(135deg, #E5B80B, #FFD700);
  color: #0A2463;
  box-shadow: 0 4px 10px rgba(229, 184, 11, 0.4);
}

.page-index__tab-button--active:hover {
  background: linear-gradient(135deg, #FFD700, #E5B80B);
}

.page-index__tab-pane {
  display: none;
  animation: fadeIn 0.5s ease-out forwards;
}

.page-index__tab-pane--active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.page-index__game-card-small {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card-small:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.page-index__game-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-index__game-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-index__game-card-text {
  font-size: 15px;
  color: #333333;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-index__game-card-link {
  display: inline-block;
  padding: 10px 20px;
  background: #0A2463;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__game-card-link:hover {
  background: #1A3B7A;
  transform: translateY(-2px);
}

.page-index__tab-description {
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-index__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

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

.page-index__promo-card-img {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-index__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #E5B80B;
  margin-bottom: 10px;
}

.page-index__promo-card-text {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-index__promo-card-link {
  display: inline-block;
  padding: 10px 20px;
  background: #E5B80B;
  color: #0A2463;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__promo-card-link:hover {
  background: #FFD700;
  transform: translateY(-2px);
}

.page-index__promo-cta {
  margin-top: 40px;
}

/* Blog Section */
.page-index__blog-section {
  padding: 60px 20px;
  background: #000000; /* Dark background */
  color: #ffffff;
}

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

.page-index__blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

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

.page-index__blog-card-content {
  padding: 25px;
  text-align: left;
}

.page-index__blog-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #0A2463;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index__blog-card-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__blog-card-link:hover {
  color: #E5B80B;
}

.page-index__blog-card-excerpt {
  font-size: 15px;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-index__blog-card-date {
  font-size: 13px;
  color: #666666;
  font-style: italic;
}

.page-index__blog-cta {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 40px;
  }
  .page-index__hero-description {
    font-size: 18px;
  }
  .page-index__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-index__page-title,
  .page-index__section-title,
  .page-index__intro-title {
    font-size: 32px;
  }
  .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 {
    flex-basis: auto;
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-left: 0;
  }
  .page-index__rank-badge {
    position: static;
    margin-right: 10px;
  }
  .page-index__game-icon {
    max-width: 80px;
  }
  .page-index__segment-2 {
    order: 1;
    min-width: unset;
  }
  .page-index__segment-3 {
    order: 2;
    flex-basis: auto;
    width: 100%;
    border-top: 1px solid #e4e4e4;
    padding-top: 15px;
  }
  .page-index__segment-4 {
    order: 3;
    flex-basis: auto;
    width: 100%;
    border-top: 1px solid #e4e4e4;
    padding-top: 15px;
    padding-left: 0;
  }
  .page-index__review-content-card,
  .page-index__intro-features,
  .page-index__promo-grid,
  .page-index__blog-grid {
    padding: 30px;
  }
  .page-index__feature-icon,
  .page-index__promo-card-img {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 140px 15px 40px; /* Mobile padding-top for fixed header */
  }
  .page-index__hero-title {
    font-size: 32px;
  }
  .page-index__hero-description {
    font-size: 16px;
  }
  .page-index__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index__page-title,
  .page-index__section-title,
  .page-index__intro-title {
    font-size: 28px;
  }
  .page-index__game-card {
    padding: 10px;
  }
  .page-index__segment-1 {
    flex-direction: column;
  }
  .page-index__rank-badge {
    position: static;
    margin-bottom: 5px;
    margin-right: 0;
  }
  .page-index__game-icon {
    max-width: 70px;
  }
  .page-index__game-name {
    font-size: 20px;
  }
  .page-index__game-description {
    font-size: 13px;
    line-height: 1.3;
  }
  .page-index__game-rating,
  .page-index__promotion-text {
    font-size: 13px;
  }
  .page-index__hot-badge {
    font-size: 10px;
    padding: 2px 5px;
  }
  .page-index__btn-download,
  .page-index__btn-review {
    font-size: 14px;
    padding: 10px 15px;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }
  .page-index__segment-4 {
    padding-left: 0;
    padding-right: 0;
  }
  .page-index__review-content-section,
  .page-index__intro-section,
  .page-index__games-showcase-section,
  .page-index__promotions-section,
  .page-index__blog-section {
    padding: 30px 15px;
  }
  .page-index__review-content-card {
    padding: 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;
  }
  .page-index__feature-item,
  .page-index__promo-card,
  .page-index__blog-card-small {
    padding: 20px;
  }
  .page-index__feature-icon,
  .page-index__promo-card-img {
    width: 80px;
  }
  .page-index__feature-title,
  .page-index__promo-card-title {
    font-size: 20px;
  }
  .page-index__feature-item p,
  .page-index__promo-card-text {
    font-size: 15px;
  }
  .page-index__games-tabs {
    flex-direction: column;
    gap: 10px;
  }
  .page-index__tab-button {
    width: 100%;
  }
  .page-index__game-grid {
    grid-template-columns: 1fr;
  }
  .page-index__game-card-img {
    height: 180px;
  }
  .page-index__blog-card-img {
    height: 180px;
  }
}