.page-index {
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Body background color from shared.css */
}

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

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

.page-index__section-title .highlight {
  color: #ffffff;
}

/* HERO Section */
.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;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: #1A1A1A; /* Dark background for hero section */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-title .highlight {
  color: #ffffff;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-index__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFC107);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index__cta-button--secondary {
  background: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index__cta-button--secondary:hover {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

.page-index__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
  margin-top: 15px;
}

/* Game Leaderboard Section */
.page-index__game-leaderboard-section {
  padding: 60px 20px;
  background-color: #0a0a0a;
}

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

.page-index__page-title .highlight {
  color: #ffffff;
}

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

.page-index__game-card {
  background: #1A1A1A;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 20px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: #FFD700;
}

.page-index__game-card-segment {
  padding: 0 20px;
  height: 100%; /* Ensure segments have equal height for vertical line */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-index__segment-1 {
  position: relative;
  min-width: 120px;
  max-width: 150px;
  padding-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.page-index__segment-2 {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index__segment-3 {
  min-width: 150px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index__segment-4 {
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding-right: 0;
}

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

.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;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-index__game-description a {
  color: #00BFFF; /* Light blue for links */
  font-weight: bold;
  text-decoration: none;
}

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

.page-index__game-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.page-index__stars {
  color: #FFD700;
  font-size: 18px;
  margin-right: 5px;
  font-weight: bold;
}

.page-index__rating-number {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
}

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

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

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

.page-index__hot-badge {
  background: linear-gradient(45deg, #FF416C, #FF4B2B);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

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

.page-index__btn-download {
  background: linear-gradient(135deg, #667eea, #764ba2); /* Purple gradient */
  color: #ffffff;
}

.page-index__btn-download:hover {
  background: linear-gradient(135deg, #5a6ed1, #6b3e92);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

/* Brand Review Content Section */
.page-index__review-content-section {
  padding: 60px 20px;
  background: #0a0a0a; /* Consistent with body background */
}

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

.page-index__review-content-card {
  background: #1A1A1A; /* Dark card background */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 40px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index__review-content-card h2.page-index__section-title {
  font-size: 32px;
  color: #FFD700;
  margin-bottom: 24px;
  text-align: center;
}

.page-index__review-content-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-top: 28px;
  margin-bottom: 12px;
}

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

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

/* Homepage Introduction Section */
.page-index__intro-section {
  padding: 60px 20px;
  background: #0a0a0a;
}

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

.page-index__intro-card {
  background: #1A1A1A;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__intro-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index__intro-card h3 {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__intro-card p {
  font-size: 15px;
  color: #f0f0f0;
}

/* Core Games Section */
.page-index__games-section {
  padding: 60px 20px;
  background: #0a0a0a;
}

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

.page-index__tab-button {
  background: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-index__tab-button:hover {
  background: #FFD700;
  color: #1A1A1A;
}

.page-index__tab-button--active {
  background: #FFD700;
  color: #1A1A1A;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index__game-content {
  background: #1A1A1A;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index__tab-pane {
  display: none;
}

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

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

.page-index__game-item {
  background: #0a0a0a;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-index__game-item h3 {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__game-item p {
  font-size: 14px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-index__game-button {
  display: inline-block;
  background: linear-gradient(135deg, #FF416C, #FF4B2B);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-index__game-button:hover {
  background: linear-gradient(135deg, #FF4B2B, #FF416C);
  transform: translateY(-2px);
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 60px 20px;
  background: #0a0a0a;
}

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

.page-index__promo-card {
  background: #1A1A1A;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 25px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-index__promo-card h3 {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__promo-card p {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-index__promo-card p a {
  color: #00BFFF;
  text-decoration: none;
}

.page-index__promo-card p a:hover {
  text-decoration: underline;
}

/* Latest Blog Content Section */
.page-index__blog-section {
  padding: 60px 20px;
  background: #0a0a0a;
}

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

.page-index__blog-card {
  background: #1A1A1A;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index__blog-content {
  padding: 25px;
}

.page-index__blog-card h3 {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-index__blog-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-index__blog-card p {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-index__blog-date {
  font-size: 13px;
  color: #888888;
}

.page-index__view-all-button-container {
  text-align: center;
  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__section-title {
    font-size: 30px;
  }

  .page-index__game-card-segment {
    padding: 0 15px;
  }

  .page-index__segment-1 {
    min-width: 100px;
    max-width: 120px;
  }

  .page-index__segment-4 {
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__hero-title {
    font-size: 32px;
  }

  .page-index__hero-description {
    font-size: 16px;
  }

  .page-index__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-index__page-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-index__game-leaderboard-section,
  .page-index__review-content-section,
  .page-index__intro-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__blog-section {
    padding: 40px 15px;
  }

  .page-index__game-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .page-index__game-card-segment {
    width: 100%;
    padding: 10px 0;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .page-index__game-card-segment:last-child {
    border-bottom: none;
  }

  .page-index__segment-1 {
    min-width: unset;
    max-width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__rank-badge {
    position: static;
    width: 28px;
    height: 28px;
    font-size: 16px;
    margin-right: 10px;
  }

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

  .page-index__game-name {
    font-size: 20px;
  }

  .page-index__game-description {
    font-size: 13px;
  }

  .page-index__segment-3 {
    min-width: unset;
    width: 100%;
  }

  .page-index__segment-4 {
    min-width: unset;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-index__btn-download,
  .page-index__btn-review {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 14px;
    padding: 10px 15px;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }

  .page-index__review-content-card {
    padding: 30px 20px;
  }

  .page-index__review-content-card h2.page-index__section-title {
    font-size: 26px;
  }

  .page-index__review-content-card h3 {
    font-size: 20px;
  }

  .page-index__intro-grid,
  .page-index__game-grid,
  .page-index__promotions-grid,
  .page-index__blog-grid {
    grid-template-columns: 1fr;
  }

  .page-index__intro-icon {
    width: 100px;
  }

  .page-index__game-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .page-index__tab-button {
    width: 100%;
  }

  .page-index__game-image {
    height: 180px;
  }

  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__hero-container,
  .page-index__game-leaderboard,
  .page-index__review-content-container,
  .page-index__intro-section .page-index__container,
  .page-index__games-section .page-index__container,
  .page-index__promotions-section .page-index__container,
  .page-index__blog-section .page-index__container
  {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 28px;
  }

  .page-index__hero-description {
    font-size: 15px;
  }

  .page-index__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }

  .page-index__page-title {
    font-size: 24px;
  }

  .page-index__game-name {
    font-size: 18px;
  }

  .page-index__review-content-card h2.page-index__section-title {
    font-size: 22px;
  }

  .page-index__review-content-card h3 {
    font-size: 18px;
  }

  .page-index__review-body p {
    font-size: 14px;
  }

  .page-index__intro-card h3,
  .page-index__promo-card h3,
  .page-index__blog-card h3 {
    font-size: 18px;
  }

  .page-index__intro-card p,
  .page-index__promo-card p,
  .page-index__blog-card p {
    font-size: 14px;
  }

  .page-index__tab-button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .page-index__game-image {
    height: 160px;
  }
}