.page-index {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below 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;
}

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

.page-index__sub-section-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__paragraph {
  margin-bottom: 15px;
  font-size: 1em;
}

.page-index__bullet-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-index__list-item {
  margin-bottom: 10px;
}

.page-index__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2463;
  padding: 0;
  margin-bottom: 60px;
}

.page-index__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
}

.page-index__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  z-index: 2;
  max-width: 90%;
  padding: 20px;
  background-color: rgba(10, 36, 99, 0.6); /* Semi-transparent background for readability */
  border-radius: 10px;
}

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

.page-index__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

.page-index__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

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

.page-index__section--light {
  background-color: #f9f9f9;
  padding: 60px 0;
  margin-bottom: 60px;
}

.page-index__why-choose-us-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

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

.page-index__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  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(-10px);
}

.page-index__feature-icon {
  width: 200px; /* Minimum size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

.page-index__game-categories-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.1);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-index__game-image {
  width: 100%;
  height: 200px; /* Example display size */
  object-fit: cover;
  display: block;
}

.page-index__game-title {
  font-size: 1.4em;
  color: #FFD700;
  padding: 15px 20px 5px;
  font-weight: bold;
}

.page-index__game-description {
  font-size: 0.9em;
  color: #f0f0f0;
  padding: 0 20px 20px;
}

.page-index__cta-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-index__promotions-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

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

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

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

.page-index__promo-image {
  width: 200px; /* Minimum size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__promo-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-index__legitimacy-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

.page-index__app-download-section {
  padding: 60px 0;
  margin-bottom: 60px;
}

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

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

.page-index__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-index__contact-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A2463;
  color: #ffffff;
}

.page-index__contact-section .page-index__section-title,
.page-index__contact-section .page-index__section-intro {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__sub-section-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-index {
    padding-top: var(--header-offset, 80px);
  }
  .page-index__hero-content {
    padding: 15px;
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    padding: 12px 25px;
    font-size: 1em;
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-intro {
    font-size: 1em;
  }
  .page-index__features-grid,
  .page-index__game-categories-grid,
  .page-index__promo-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-index__app-download-content {
    flex-direction: column;
  }
  /* Ensure all content area images are responsive and not too small */
  .page-index img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-index__hero-image {
    min-width: unset;
    min-height: unset;
  }
  .page-index__game-image {
    height: 250px; /* Adjust height for better mobile display */
  }
  .page-index__feature-icon,
  .page-index__promo-image {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__button {
    width: 90%;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__sub-section-title {
    font-size: 1.4em;
  }
}