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

.page-index__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  background-color: #000; /* Fallback background */
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-index__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.page-index__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

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

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

.page-index__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__hero-button--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #000000;
}

.page-index__hero-button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-index__hero-button--secondary {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  border: 2px solid #ffc107;
}

.page-index__hero-button--secondary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
}

.page-index__section-intro {
  font-size: 1.1em;
  text-align: center;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__about-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.page-index__about-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 12px 25px;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__about-button:hover {
  background-color: #0056b3;
}

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

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

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

.page-index__game-card:hover {
  transform: translateY(-10px);
}

.page-index__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index__game-card-title {
  font-size: 1.5em;
  margin: 20px 0 10px;
  color: #007bff;
}

.page-index__game-card-title a {
  color: #007bff;
  text-decoration: none;
}

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

.page-index__game-card-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  line-height: 1.6;
  color: #555555;
}

.page-index__game-card-button {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 20px;
  background-color: #ffc107;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__game-card-button:hover {
  background-color: #e0a800;
}

.page-index__promotions-section {
  background-color: #f0f8ff; /* Light blue tint */
  padding: 60px 0;
}

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

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

.page-index__promo-card:hover {
  transform: translateY(-10px);
}

.page-index__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index__promo-card-title {
  font-size: 1.4em;
  margin: 20px 0 10px;
  color: #007bff;
}

.page-index__promo-card-title a {
  color: #007bff;
  text-decoration: none;
}

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

.page-index__promo-card-description {
  font-size: 0.9em;
  padding: 0 20px 20px;
  line-height: 1.6;
  color: #555555;
}

.page-index__promo-card-button {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 20px;
  background-color: #007bff;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__promo-card-button:hover {
  background-color: #0056b3;
}

.page-index__promotions-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 30px;
  background-color: #ffc107;
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-index__promotions-button:hover {
  background-color: #e0a800;
}

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

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

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

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

.page-index__feature-card-image {
  width: 250px; /* Enforce min 200px display width */
  height: 188px; /* Maintain aspect ratio */
  object-fit: cover;
  margin: 0 auto 20px auto;
  border-radius: 5px;
}

.page-index__feature-card-title {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-index__feature-card-button {
  display: inline-block;
  padding: 8px 18px;
  background-color: #ffc107;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-index__feature-card-button:hover {
  background-color: #e0a800;
}

.page-index__app-download-section {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
  padding: 60px 0;
}

.page-index__app-download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: left;
}

.page-index__app-text-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-index__app-image-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__app-image {
  width: 450px; /* Enforce min 200px display width */
  height: 338px; /* Maintain aspect ratio */
  object-fit: contain;
}

.page-index__app-download-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-index__app-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  color: #000000;
  background-color: #ffc107; /* Auxiliary color */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__app-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

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

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

.page-index__testimonial-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  line-height: 1.7;
  font-style: italic;
  position: relative;
}

.page-index__testimonial-card::before {
  content: '“';
  font-size: 4em;
  color: #ffc107;
  position: absolute;
  top: 10px;
  left: 15px;
  opacity: 0.3;
  line-height: 1;
}

.page-index__testimonial-text {
  margin-bottom: 15px;
  color: #333333;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #007bff;
  font-style: normal;
  text-align: right;
}

.page-index__cta-section {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-index__cta-button {
  display: inline-block;
  padding: 18px 35px;
  background-color: #ffc107; /* Auxiliary color */
  color: #000000;
  text-decoration: none;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 40px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__app-download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__app-text-content {
    max-width: 100%;
  }
  .page-index__app-download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-intro {
    font-size: 1em;
  }
  .page-index__game-card-image, .page-index__promo-card-image, .page-index__feature-card-image, .page-index__app-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
    width: auto; /* Override fixed width for mobile responsiveness */
    min-width: 200px; /* Ensure minimum display size */
    min-height: 150px; /* Ensure minimum display size */
  }
  .page-index__app-image {
    width: 300px;
    height: 225px;
  }
  .page-index__feature-card-image {
    width: 250px;
    height: 188px;
  }
  .page-index__hero-section {
    min-height: 500px;
  }
  .page-index__app-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.95em;
  }
  .page-index__hero-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__section-intro {
    font-size: 0.9em;
  }
}