.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
}

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

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

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

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

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

/* Buttons */
.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-index__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index__btn-primary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87c2;
  border-color: #1e87c2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Card Styles */
.page-index__card {
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-index__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-index__card-title a:hover {
  text-decoration: underline;
}

.page-index p {
  margin-bottom: 15px;
  color: #444444;
}

.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* HERO Section */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF);
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

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

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

.page-index__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-index__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__cta-button {
  padding: 15px 40px;
  font-size: 20px;
  border-radius: 50px;
  min-width: 200px;
}

.page-index__cta-button--primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-index__cta-button--primary:hover {
  background: #d66f06;
  border-color: #d66f06;
}

.page-index__cta-button--secondary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-index__cta-button--secondary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
}

/* Intro Section */
.page-index__intro-section {
  padding: 80px 0;
}

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

.page-index__intro-image img {
  border-radius: 12px;
}

/* Quick Access Section */
.page-index__quick-access-section {
  padding: 80px 0;
  background: #26A9E0;
}

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

.page-index__quick-access-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
  display: block;
}

.page-index__quick-access-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
}

.page-index__quick-access-card .page-index__card-title {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 10px;
}

.page-index__quick-access-card p {
  color: #f0f0f0;
  font-size: 16px;
}

/* Core Games Section */
.page-index__core-games-section {
  padding: 80px 0;
}

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