.page-index {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-index__section-title {
  color: #FFD700; /* Gold for titles */
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.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.2s ease;
  text-align: center;
  white-space: nowrap;
}

.page-index__button--primary {
  background-color: #FFD700;
  color: #8B0000; /* Dark red text on gold button */
  border: 2px solid #FFD700;
}

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

.page-index__button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
}

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

.page-index__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-index__button--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Only for darkening, not changing color */
}

.page-index__hero-container {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
}

.page-index__hero-content {
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

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

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

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

/* Features Section */
.page-index__features-section {
  background-color: rgba(0, 0, 0, 0.6); /* Slightly transparent dark background */
  padding: 60px 0;
}

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

.page-index__feature-card {
  background-color: rgba(255, 255, 255, 0.05); /* Lighter transparent background for cards */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__feature-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-index__card-text {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-index__promotions-section {
  background-color: rgba(139, 0, 0, 0.7); /* Dark red transparent background */
  padding: 60px 0;
}

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

.page-index__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-index__full-promo-link {
    text-align: center;
    margin-top: 40px;
}

/* Why Choose Section */
.page-index__why-choose-section {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 60px 0;
}

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

.page-index__benefit-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-index__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 50%; /* Example for circular icons */
  border: 2px solid #FFD700;
  padding: 10px;
}

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

.page-index__benefit-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-index__more-info-link {
    text-align: center;
    margin-top: 40px;
}

/* How to Start Section */
.page-index__how-to-start-section {
    background-color: rgba(139, 0, 0, 0.7);
    padding: 60px 0;
}

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

.page-index__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-index__step-card:hover {
    transform: translateY(-8px);
}

.page-index__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Download Section */
.page-index__download-section {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 60px 0;
}

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

.page-index__download-text-content {
  text-align: center;
  max-width: 700px;
}

.page-index__download-image-container {
  width: 100%;
  max-width: 500px;
}

.page-index__download-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid #FFD700;
}

/* Responsible Gaming Section */
.page-index__responsible-gaming-section {
  background-color: rgba(139, 0, 0, 0.7);
  padding: 60px 0;
}

.page-index__responsible-gaming-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Testimonials Section */
.page-index__testimonials-section {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 60px 0;
}

.page-index__testimonial-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.05);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #FFD700;
}

.page-index__testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    color: #e0e0e0;
}

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

/* Call to Action Section */
.page-index__cta-section {
  background: linear-gradient(45deg, #8B0000, #FFD700);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
}

.page-index__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.page-index__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-intro {
    font-size: 1em;
  }
  .page-index__feature-grid, .page-index__promo-grid, .page-index__benefits-grid, .page-index__steps-grid, .page-index__testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-index__download-flex {
    flex-direction: column;
  }
  .page-index__responsible-gaming-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-index img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-index__feature-image, .page-index__promo-image, .page-index__benefit-icon, .page-index__step-image, .page-index__download-image {
    height: auto; /* Allow auto height for smaller screens */
    max-width: 100%; /* Ensure images don't overflow */
  }
  .page-index__benefit-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__button {
    width: 95%;
  }
}