.page-index {
  color: #333333; /* Default text color for light body background */
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #0A2239;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-top: var(--header-offset, 120px);
}

.page-index__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-index__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-index__button--primary {
  background-color: #FFD700;
  color: #0A2239;
  border: 2px solid #FFD700;
}

.page-index__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-index__button--secondary {
  background-color: transparent;
  color: #0A2239;
  border: 2px solid #0A2239;
}

.page-index__button--secondary:hover {
  background-color: #0A2239;
  color: #ffffff;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.6);
}

.page-index__hero-container {
  position: relative;
  padding: 120px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure content is visible */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFD700;
}

.page-index__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-index__hero-actions .page-index__button {
  margin: 0 10px;
  font-size: 1.1em;
  padding: 15px 35px;
}

/* Features Section */
.page-index__features-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

.page-index__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-index__feature-icon {
  width: 250px;
  height: 187px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-index__feature-title {
  font-size: 1.8em;
  color: #0A2239;
  margin-bottom: 15px;
}

.page-index__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-index__feature-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index__feature-link:hover {
  color: #e6c200;
}

/* Games Section */
.page-index__games-section {
  padding: 60px 0;
  background-color: #0A2239;
  color: #ffffff;
}

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

.page-index__games-section .page-index__section-title::after {
  background-color: #FFD700;
}

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

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

.page-index__game-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-index__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 4px solid #FFD700;
}

.page-index__game-title {
  font-size: 1.8em;
  margin: 20px 0 10px;
  color: #FFD700;
}

.page-index__game-text {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-index__game-card .page-index__button {
  margin-bottom: 20px;
  background-color: #FFD700;
  color: #0A2239;
  border: none;
}

.page-index__game-card .page-index__button:hover {
  background-color: #e6c200;
}

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

.page-index__promo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-index__promo-image {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-index__promo-details {
  flex: 1;
  min-width: 300px;
}

.page-index__promo-headline {
  font-size: 2.2em;
  color: #0A2239;
  margin-bottom: 20px;
}

.page-index__promo-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 25px;
}

.page-index__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__promo-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1em;
  color: #333333;
}

.page-index__promo-list li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index__promo-details .page-index__button {
  margin-right: 15px;
  margin-bottom: 10px;
}

/* Download Section */
.page-index__download-section {
  padding: 60px 0;
  background-color: #0A2239;
  color: #ffffff;
}

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

.page-index__download-section .page-index__section-title::after {
  background-color: #FFD700;
}

.page-index__download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-index__download-text-area {
  flex: 1;
  min-width: 300px;
}

.page-index__download-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #cccccc;
}

.page-index__download-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__download-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1em;
  color: #ffffff;
}

.page-index__download-features li::before {
  content: '★';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

/* Testimonials Section */
.page-index__testimonials-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-index__testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
}

.page-index__testimonial-card::before {
  content: '“';
  font-size: 4em;
  color: #FFD700;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.3;
}

.page-index__testimonial-quote {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 20px; /* Space for quote icon */
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #0A2239;
  font-size: 0.95em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__promo-image {
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .page-index__section-title {
    padding-top: 60px; /* Adjust for smaller header offset on mobile if needed */
  }
  .page-index__hero-container {
    padding: 100px 15px 60px;
    min-height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions .page-index__button {
    font-size: 1em;
    padding: 12px 25px;
    margin: 5px;
  }
  .page-index__features-grid, .page-index__games-grid, .page-index__testimonials-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promo-content, .page-index__download-content {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .page-index__promo-image, .page-index__download-image {
    max-width: 100%;
  }
  .page-index__promo-details .page-index__button {
    margin-right: 10px;
    margin-bottom: 10px;
  }
  /* Mobile content area images must be constrained */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__hero-actions {
    flex-direction: column;
  }
  .page-index__hero-actions .page-index__button {
    width: 90%;
    margin-bottom: 10px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__promo-headline {
    font-size: 1.8em;
  }
}