.page-index {
  color: #ffffff; /* Light text for dark 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: 20px;
}

.page-index__hero-section {
  position: relative;
  background-color: #000080; /* Auxiliary dark blue */
  overflow: hidden;
  padding: 0;
  margin-bottom: 40px;
}

.page-index__hero-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-index__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-index__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700; /* Gold main color */
  color: #000080; /* Dark blue text for contrast */
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-index__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold main color */
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
}

.page-index__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-index__about-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Inherited from body, explicit for clarity */
}

.page-index__about-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index__about-content {
  flex: 1;
}

.page-index__about-content p {
  margin-bottom: 20px;
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-index__about-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index__button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FFD700;
  color: #000080;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-index__games-showcase-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

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

.page-index__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-index__all-games-cta {
  text-align: center;
  margin-top: 50px;
}

.page-index__promotions-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-index__promo-card {
  background-color: rgba(0, 0, 128, 0.3); /* Semi-transparent auxiliary blue */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__promo-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-index__promotions-cta {
  text-align: center;
  margin-top: 50px;
}

.page-index__why-choose-us-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-index__why-choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow for icons */
}

.page-index__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__feature-description {
  font-size: 0.95em;
  color: #cccccc;
}

.page-index__resources-cta {
  text-align: center;
  margin-top: 50px;
}

.page-index__download-app-section {
  padding: 60px 0;
  background-color: #000080; /* Auxiliary dark blue */
}

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

.page-index__download-text {
  flex: 1;
}

.page-index__download-text .page-index__section-title {
  text-align: left;
  color: #FFD700;
}

.page-index__download-text .page-index__section-description {
  text-align: left;
  color: #f0f0f0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}

.page-index__download-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index__button--download-app {
  background-color: #FFD700;
  color: #000080;
}

.page-index__responsible-gaming-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  text-align: center;
}

.page-index__button--responsible-gaming {
  background-color: #000080;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-index__button--responsible-gaming:hover {
  background-color: #000066;
}

.page-index__testimonials-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

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

.page-index__testimonial-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index__testimonial-text {
  font-style: italic;
  color: #f0f0f0;
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #FFD700;
  text-align: right;
}

.page-index__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-index__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__faq-item {
  background-color: rgba(0, 0, 128, 0.2); /* Semi-transparent auxiliary blue */
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__faq-answer {
  font-size: 1em;
  color: #cccccc;
}

.page-index__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index__faq-answer a:hover {
  color: #e6c200;
}

.page-index__faq-cta {
  text-align: center;
  margin-top: 50px;
}

.page-index__cta-section {
  padding: 80px 0;
  background-color: #000080; /* Auxiliary dark blue */
  text-align: center;
}

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

.page-index__cta-section .page-index__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-index__button--join-now {
  padding: 18px 40px;
  font-size: 1.3em;
  background-color: #FFD700;
  color: #000080;
}

.page-index__partners-section {
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-index__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  margin-top: 40px;
}

.page-index__provider-logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.7) drop-shadow(0 0 5px rgba(255, 215, 0, 0.3)); /* Subtle glow for logos */
  transition: filter 0.3s ease;
}

.page-index__provider-logo:hover {
  filter: brightness(1) grayscale(0) drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

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

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

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

  .page-index__about-grid,
  .page-index__download-app-content {
    flex-direction: column;
  }

  .page-index__about-image-wrapper,
  .page-index__download-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-index__download-text .page-index__section-title,
  .page-index__download-text .page-index__section-description {
    text-align: center;
  }
}

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

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

  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__hero-button {
    width: 80%;
    max-width: 250px;
  }

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

  .page-index__section-description {
    font-size: 0.95em;
  }

  .page-index__game-image, .page-index__promo-image {
    height: 180px;
  }

  /* Critical for mobile content overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }

  .page-index__feature-icon {
    width: 60px;
    height: 60px;
  }
}

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

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

  .page-index__hero-button {
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-index__game-card, .page-index__promo-card, .page-index__feature-card, .page-index__testimonial-card {
    padding: 20px;
  }

  .page-index__game-title, .page-index__promo-title, .page-index__feature-title {
    font-size: 1.3em;
  }

  .page-index__faq-question {
    font-size: 1.1em;
  }

  .page-index__button--join-now {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-index__providers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}