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

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

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

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

.page-index__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

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

.page-index__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  display: block;
}

.page-index__card-title {
  font-size: 22px;
  color: #26A9E0;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-index__card-title a:hover {
  color: #1a7bb5;
  text-decoration: underline;
}

.page-index__card p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index__card-link {
  display: inline-block;
  padding: 8px 20px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push link to bottom */
}

.page-index__card-link:hover {
  background: #1a7bb5;
}

.page-index__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
  box-sizing: border-box;
}

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

.page-index__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff;
  color: #26A9E0;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #26A9E0;
  text-align: center;
  box-sizing: border-box;
}

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

/* 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); /* Fixed header spacing */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF);
  overflow: hidden;
}

.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: 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;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #EA7C07; /* Login color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.page-index__cta-button:hover {
  background: #d66f06;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-index__quick-access-section .page-index__section-title,
.page-index__quick-access-section .page-index__section-description {
  color: #ffffff;
}

.page-index__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Module 3: Games Section */
.page-index__games-section {
  padding: 80px 0;
}

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

.page-index__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-index__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

.page-index__game-card .page-index__card-title {
  font-size: 24px;
  margin: 20px 15px 10px;
}

.page-index__game-card .page-index__card-title a {
  color: #26A9E0;
}

.page-index__game-card p {
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__game-card .page-index__card-link {
  margin-top: auto;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 0 0 10px 10px;
  display: block;
}

/* Module 4: Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}