.page-index {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #f1f3f5; /* Light gray background for the entire page content */
}

/* HERO Section Styles */
.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: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Brand colors */
  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;
  max-width: 800px; /* Limit image width for better presentation */
}

.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.2);
}

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

.page-index__hero-content h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Gold-like color for high contrast */
  color: #333333;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index__cta-button:hover {
  background: #FFA500; /* Darker orange on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: #333333;
}

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

.page-index__game-leaderboard-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-index__leaderboard-intro {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__game-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-index__game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  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: 100px; /* Ensure consistent height for segments */
}

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

.page-index__segment-1 {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  padding-left: 0;
  padding-right: 20px;
  justify-content: center;
}

.page-index__rank-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Default orange for ranks 4+ */
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  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: 80px; /* Adjusted from 100px to 80px for better fit */
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 10px;
}

.page-index__segment-2 {
  flex-grow: 1;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

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

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

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

.page-index__game-description {
  font-size: 14px;
  color: #000000;
  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: 150px;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

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

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

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

.page-index__promotion-text {
  font-size: 14px;
  color: #0066cc;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.page-index__hot-badge {
  background: #dc3545;
  color: #ffffff;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  margin-left: 5px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-index__segment-4 {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
  padding-right: 0;
}

.page-index__cta-button {
  display: block;
  width: 100%;
  padding: 12px 15px;
  background: var(--primary-color);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-index__review-content-card h2 {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

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

.page-index__review-body {
  color: #333333;
  line-height: 1.7;
  font-size: 17px;
}

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

.page-index__review-body strong {
  color: var(--primary-color);
}

/* Home Page Introduction Section */
.page-index__introduction-section {
  padding: 60px 20px;
  background-color: #e9ecef; /* Slightly different background for visual separation */
}

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

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

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

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

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

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

.page-index__intro-card p {
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
}

/* Core Game/Service Introduction Section */
.page-index__core-games-section {
  padding: 60px 20px;
  background-color: #f1f3f5;
}

.page-index__core-games-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-index__core-games-intro {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-index__game-type-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-index__game-type-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: #333333;
  margin: 20px 15px 10px;
}

.page-index__game-type-card p {
  font-size: 16px;
  color: #555555;
  padding: 0 15px 20px;
  line-height: 1.6;
}

.page-index__read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-index__read-more-button:hover {
  background: #218838; /* Darker green */
}

/* Offers and Promotions Section */
.page-index__promotions-section {
  padding: 60px 20px;
  background-color: #e9ecef;
}

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

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

.page-index__promotions-intro {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__promo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  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.12);
}

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

.page-index__promo-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: #333333;
  margin: 20px 15px 10px;
}

.page-index__promo-card p {
  font-size: 16px;
  color: #555555;
  padding: 0 15px 20px;
  line-height: 1.6;
}

.page-index__promo-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-index__promo-button:hover {
  background: #0056b3; /* Darker blue */
}

/* Latest Blog Content Section */
.page-index__latest-blog-section {
  padding: 60px 20px;
  background-color: #f1f3f5;
}

.page-index__latest-blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-index__latest-blog-intro {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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.12);
}

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

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

.page-index__blog-content h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index__blog-content h3 a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__blog-content h3 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index__blog-meta {
  font-size: 14px;
  color: #888888;
  margin-bottom: 15px;
}

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

.page-index__blog-read-more {
  display: inline-block;
  padding: 8px 15px;
  background: #6c757d; /* Gray for blog read more */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__blog-read-more:hover {
  background: #5a6268;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-content h1 {
    font-size: 38px;
  }
  .page-index__hero-content p {
    font-size: 18px;
  }
  .page-index__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-index__page-title,
  .page-index__introduction-title,
  .page-index__core-games-title,
  .page-index__promotions-title,
  .page-index__latest-blog-title {
    font-size: 32px;
  }
  .page-index__game-card {
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
  }
  .page-index__game-card-segment {
    height: auto;
    min-height: 80px;
    width: 100%;
    padding: 10px 0;
    border-left: none !important;
    border-bottom: 1px dashed #e4e4e4;
  }
  .page-index__game-card-segment:last-child {
    border-bottom: none;
  }
  .page-index__segment-1 {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
  .page-index__rank-badge {
    position: static;
    margin-right: 10px;
  }
  .page-index__game-icon {
    max-width: 60px; /* Smaller on tablet */
  }
  .page-index__segment-2 {
    width: 100%;
    padding: 10px 0;
  }
  .page-index__game-name {
    font-size: 20px;
  }
  .page-index__game-description {
    font-size: 13px;
  }
  .page-index__segment-3 {
    width: 100%;
    padding: 10px 0;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .page-index__segment-4 {
    width: 100%;
    padding: 10px 0;
    flex-direction: row;
    gap: 10px;
  }
  .page-index__cta-button {
    font-size: 14px;
    padding: 10px 12px;
  }
  .page-index__review-content-card h2 {
    font-size: 28px;
  }
  .page-index__review-content-card h3 {
    font-size: 20px;
  }
  .page-index__review-body p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__hero-content h1 {
    font-size: 32px;
  }
  .page-index__hero-content p {
    font-size: 16px;
  }
  .page-index__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index__page-title,
  .page-index__introduction-title,
  .page-index__core-games-title,
  .page-index__promotions-title,
  .page-index__latest-blog-title {
    font-size: 28px;
  }
  .page-index__leaderboard-intro,
  .page-index__core-games-intro,
  .page-index__promotions-intro,
  .page-index__latest-blog-intro {
    font-size: 16px;
  }
  .page-index__game-leaderboard-section,
  .page-index__review-content-section,
  .page-index__introduction-section,
  .page-index__core-games-section,
  .page-index__promotions-section,
  .page-index__latest-blog-section {
    padding: 30px 15px;
  }
  .page-index__review-content-card {
    padding: 25px;
  }
  .page-index__review-content-card h2 {
    font-size: 24px;
  }
  .page-index__review-content-card h3 {
    font-size: 18px;
  }
  .page-index__review-body p {
    font-size: 15px;
  }
  .page-index__intro-card h3,
  .page-index__game-type-card h3,
  .page-index__promo-card h3,
  .page-index__blog-content h3 {
    font-size: 20px;
  }
  .page-index__intro-card p,
  .page-index__game-type-card p,
  .page-index__promo-card p,
  .page-index__blog-content p {
    font-size: 15px;
  }
  .page-index__game-type-image,
  .page-index__promo-image,
  .page-index__blog-image {
    height: 180px;
  }
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__hero-image,
  .page-index__game-leaderboard-container,
  .page-index__review-content-container,
  .page-index__introduction-container,
  .page-index__core-games-container,
  .page-index__promotions-container,
  .page-index__latest-blog-container,
  .page-index__introduction-content,
  .page-index__game-types-grid,
  .page-index__promo-grid,
  .page-index__blog-grid,
  .page-index__game-card-segment {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px !important; /* Remove padding for full width if container already has it */
    padding-right: 0px !important; /* Remove padding for full width if container already has it */
  }
  .page-index__game-card {
    padding: 15px;
  }
  .page-index__segment-4 {
    padding-left: 10px !important;
    padding-right: 10px !important;
    flex-wrap: wrap;
  }
}