.page-index {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-index__card-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__card-title a {
  color: #0A2463;
  text-decoration: none;
}

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

.page-index__card-description {
  font-size: 1em;
  color: #666666;
}

.page-index__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-index__button--primary {
  background-color: #0A2463;
  color: #FFD700;
}

.page-index__button--primary:hover {
  background-color: #1a3a73;
  transform: translateY(-2px);
}

.page-index__button--secondary {
  background-color: #FFD700;
  color: #0A2463;
}

.page-index__button--secondary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-index__button--gold:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-index__button--text {
  color: #0A2463;
  background: none;
  padding: 8px 15px;
  border: 1px solid #0A2463;
  font-size: 0.95em;
}

.page-index__button--text:hover {
  background-color: #0A2463;
  color: #FFD700;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 40px 0;
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-index__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-index__hero-content {
  background-color: rgba(10, 36, 99, 0.85); /* Dark blue overlay for text readability */
  padding: 40px;
  border-radius: 15px;
  color: #ffffff;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-index__hero-actions .page-index__button {
  margin: 10px;
  min-width: 200px;
}

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

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

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

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

.page-index__feature-icon {
  width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

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

.page-index__game-card {
  display: block;
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index__game-card .page-index__card-title,
.page-index__game-card .page-index__card-description {
  padding: 0 20px;
  text-align: left;
}

.page-index__game-card .page-index__card-title {
  margin-top: 20px;
  margin-bottom: 5px;
}

.page-index__game-card .page-index__card-description {
  margin-bottom: 20px;
}

/* Bonus Section */
.page-index__bonus-section {
  padding: 80px 0;
  background-color: #0A2463;
  color: #ffffff;
}

.page-index__bonus-section .page-index__section-title {
  color: #FFD700;
}

.page-index__bonus-section .page-index__section-subtitle {
  color: #f0f0f0;
}

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

.page-index__bonus-image {
  flex: 1 1 45%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
  height: auto;
  object-fit: cover;
}

.page-index__bonus-details {
  flex: 1 1 45%;
  max-width: 500px;
}

.page-index__bonus-details .page-index__card-title {
  color: #FFD700;
  font-size: 2em;
}

.page-index__bonus-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.page-index__bonus-steps li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1.1em;
}

.page-index__step-number {
  background-color: #FFD700;
  color: #0A2463;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-index__terms-link {
  margin-top: 20px;
  font-size: 0.95em;
}

.page-index__terms-link a {
  color: #FFD700;
  text-decoration: none;
}

.page-index__terms-link a:hover {
  text-decoration: underline;
}

/* Details Section */
.page-index__details-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-index__detail-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index__detail-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

/* Mobile Section */
.page-index__mobile-section {
  padding: 80px 0;
  background-color: #e9eef6;
}

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

.page-index__mobile-image {
  flex: 1 1 45%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
  height: auto;
  object-fit: cover;
}

.page-index__mobile-cta {
  flex: 1 1 45%;
  max-width: 500px;
  text-align: left;
}

.page-index__mobile-cta .page-index__card-title {
  font-size: 2em;
  color: #0A2463;
}

.page-index__mobile-cta .page-index__card-description {
  margin-bottom: 20px;
}

.page-index__mobile-note {
  font-size: 0.9em;
  color: #777777;
  margin-top: 10px;
}

/* Support Section */
.page-index__support-section,
.page-index__responsible-gaming {
  padding: 60px 0;
  text-align: center;
  background-color: #ffffff;
}

.page-index__responsible-gaming {
  background-color: #f0f0f0;
}

.page-index__support-section .page-index__button,
.page-index__responsible-gaming .page-index__button {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }

  .page-index__hero-description {
    font-size: 1.2em;
  }

  .page-index__section-title {
    font-size: 2em;
  }

  .page-index__section-subtitle {
    font-size: 1.1em;
  }

  .page-index__bonus-image, .page-index__mobile-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index__hero-content {
    padding: 30px;
  }

  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-description {
    font-size: 1em;
  }

  .page-index__hero-actions .page-index__button {
    display: block;
    margin: 10px auto;
  }

  .page-index__features-grid,
  .page-index__games-grid,
  .page-index__details-grid {
    grid-template-columns: 1fr;
  }

  .page-index__game-image {
    height: 200px;
  }

  .page-index__bonus-content,
  .page-index__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-index__bonus-details,
  .page-index__mobile-cta {
    max-width: 100%;
    text-align: center;
  }

  .page-index__bonus-details .page-index__card-title,
  .page-index__mobile-cta .page-index__card-title {
    font-size: 1.8em;
  }

  .page-index__bonus-steps li {
    font-size: 1em;
  }

  .page-index__mobile-image {
    order: -1; /* Image above text on mobile */
  }

  .page-index__container {
    padding: 0 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }

  .page-index__section-title {
    font-size: 1.8em;
  }

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