:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f1f3f5;
  --border-light: #e4e4e4;
}

.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-color: var(--primary-color);
  color: var(--text-light);
}

.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;
  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: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-index__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

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

/* Game Leaderboard Section */
.page-index__game-leaderboard-section {
  padding: 60px 20px;
  background: var(--background-light);
}

.page-index__page-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  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: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  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.15);
}

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

.page-index__game-card-segment:not(:first-child) {
  border-left: 1px solid var(--border-light);
}

.page-index__segment-1 {
  flex-shrink: 0;
  width: 130px;
  padding-left: 0;
  flex-direction: row;
  justify-content: flex-start;
  gap: 15px;
}

.page-index__rank-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

.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__rank-badge:not(.page-index__rank-1):not(.page-index__rank-2):not(.page-index__rank-3) {
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Orange for 4+ */
}

.page-index__game-icon {
  max-width: 80px; /* Reduced from 100px to make badge relatively larger */
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.page-index__segment-2 {
  flex-grow: 1;
  text-align: center;
}

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

.page-index__game-name-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

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

.page-index__game-description {
  font-size: 15px;
  color: var(--text-dark);
  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;
  transition: color 0.3s ease;
}

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

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

.page-index__game-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 18px;
}

.page-index__stars {
  color: var(--secondary-color);
  margin-right: 5px;
  font-weight: bold;
}

.page-index__rating-number {
  color: var(--text-dark);
  font-weight: bold;
}

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

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

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

.page-index__hot-badge {
  background-color: #e74c3c;
  color: var(--text-light);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: bold;
}

.page-index__segment-4 {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 0;
}

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

.page-index__btn-download {
  background: linear-gradient(135deg, #4CAF50, #66BB6A); /* Green for download/main action */
  color: var(--text-light);
}

.page-index__btn-download:hover {
  background: linear-gradient(135deg, #388E3C, #4CAF50);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-index__btn-review {
  background: linear-gradient(135deg, #2196F3, #42A5F5); /* Blue for review/secondary action */
  color: var(--text-light);
}

.page-index__btn-review:hover {
  background: linear-gradient(135deg, #1976D2, #2196F3);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Brand Review Content Section */
.page-index__review-content-section {
  padding: 40px 20px;
  background: var(--background-light);
}

.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;
  color: var(--text-dark);
}

.page-index__review-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.page-index__review-content-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 28px;
  margin-bottom: 15px;
}

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

/* General Section Styles */
.page-index__section {
  padding: 60px 20px;
  background-color: #ffffff;
  color: var(--text-dark);
}

.page-index__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-index__dark-section .page-index__section-title {
  color: var(--secondary-color);
}

.page-index__section-subtitle {
  font-size: 18px;
  color: #666666;
  text-align: center;
  margin-bottom: 40px;
}

.page-index__dark-section .page-index__section-subtitle {
  color: #cccccc;
}

/* Intro Section */
.page-index__intro-section {
  background-color: var(--background-light);
  padding: 60px 20px;
}

.page-index__intro-section .page-index__section-title {
  color: var(--primary-color);
}

.page-index__grid-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index__intro-content {
  flex: 1;
}

.page-index__intro-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-index__intro-image {
  flex: 1;
  text-align: center;
}

.page-index__intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-index__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #1A202C, #333d4e);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__btn-primary:hover {
  background: linear-gradient(135deg, #333d4e, #1A202C);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-index__service-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__service-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px; /* Example max width, adjust as needed */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index__service-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-index__service-description {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-index__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(255, 215, 0, 0.3);
}

.page-index__btn-secondary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(255, 215, 0, 0.4);
}

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

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

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

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

.page-index__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 20px 10px;
}

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

.page-index__promo-card .page-index__btn-primary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  box-sizing: border-box;
}

.page-index__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

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

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

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

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

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

.page-index__blog-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-index__blog-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index__blog-summary {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 15px;
}

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

.page-index__view-all-blogs {
  text-align: center;
  margin-top: 50px;
}

.page-index__copyright-info {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--primary-color);
  color: #e0e0e0;
  font-size: 14px;
  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__page-title,
  .page-index__review-title,
  .page-index__section-title {
    font-size: 30px;
  }
  .page-index__game-card {
    flex-wrap: wrap;
    padding: 15px;
  }
  .page-index__game-card-segment {
    width: 100%;
    padding: 10px 0;
    border-left: none !important;
    border-bottom: 1px solid var(--border-light);
  }
  .page-index__game-card-segment:last-child {
    border-bottom: none;
  }
  .page-index__segment-1 {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }
  .page-index__segment-2,
  .page-index__segment-3,
  .page-index__segment-4 {
    width: 100%;
  }
  .page-index__game-icon {
    max-width: 60px;
  }
  .page-index__game-name {
    font-size: 20px;
  }
  .page-index__game-description {
    font-size: 14px;
  }
  .page-index__game-rating,
  .page-index__promotion-text {
    justify-content: center;
  }
  .page-index__segment-4 {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
  .page-index__btn-download,
  .page-index__btn-review {
    width: auto;
    flex-grow: 1;
    max-width: calc(50% - 10px);
    font-size: 15px;
    padding: 10px 12px;
  }
  .page-index__grid-layout {
    flex-direction: column;
  }
  .page-index__intro-image img {
    margin-top: 30px;
  }
  .page-index__services-grid,
  .page-index__promotions-grid,
  .page-index__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@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;
    margin-bottom: 30px;
  }
  .page-index__cta-button {
    padding: 15px 30px;
    font-size: 18px;
  }
  .page-index__page-title,
  .page-index__review-title,
  .page-index__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-index__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-index__game-leaderboard-section,
  .page-index__review-content-section,
  .page-index__section {
    padding: 30px 15px;
  }
  .page-index__review-content-card {
    padding: 25px 20px;
  }
  .page-index__review-content-card h3 {
    font-size: 20px;
  }
  .page-index__review-body p {
    font-size: 15px;
  }
  .page-index__game-card {
    padding: 10px;
  }
  .page-index__segment-1 {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .page-index__game-icon {
    max-width: 50px;
  }
  .page-index__game-name {
    font-size: 18px;
  }
  .page-index__game-description {
    font-size: 13px;
  }
  .page-index__btn-download,
  .page-index__btn-review {
    font-size: 12px;
    padding: 8px 10px;
    white-space: normal;
    word-wrap: break-word;
    max-width: calc(50% - 8px);
  }
  .page-index__segment-4 {
    gap: 8px;
  }
  .page-index__intro-content p {
    font-size: 15px;
  }
  .page-index__service-title {
    font-size: 20px;
  }
  .page-index__service-description {
    font-size: 14px;
  }
  .page-index__promo-title,
  .page-index__blog-title {
    font-size: 18px;
  }
  .page-index__promo-description,
  .page-index__blog-summary {
    font-size: 14px;
  }
  .page-index__blog-image {
    height: 150px;
  }
  .page-index__copyright-info {
    padding: 20px 15px;
    font-size: 13px;
  }
}