.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 is not hidden by fixed header */
}

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

.page-index__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-index__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(26, 32, 44, 0.7); /* Dark overlay from primary color */
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
}

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

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-index__button--primary {
  background-color: #FFD700; /* Gold for primary action */
  color: #1A202C;
}

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

.page-index__button--secondary {
  background-color: #1A202C; /* Dark blue-gray for secondary action */
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index__button--secondary:hover {
  background-color: #333d50;
  color: #ffffff;
}

.page-index__button--small {
  padding: 10px 20px;
  min-width: unset;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #1A202C; /* Dark blue-gray for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-index__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__about-section,
.page-index__games-section,
.page-index__promotions-section,
.page-index__download-section,
.page-index__faq-section,
.page-index__cta-section {
  padding: 80px 0;
}

.page-index__about-section {
  background-color: #f8f8f8;
}

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

.page-index__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index__feature-icon {
  width: 200px; /* Minimum size 200px */
  height: 200px; /* Minimum size 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index__feature-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 10px;
}

.page-index__feature-description {
  color: #555555;
}

.page-index__games-section {
  background-color: #eeeeee;
}

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

.page-index__game-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__game-image {
  width: 100%;
  height: 200px; /* Example fixed height for consistency, will be object-fit cover */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__game-card-title {
  font-size: 1.8em;
  color: #1A202C;
  margin-bottom: 10px;
}

.page-index__game-card-description {
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index__promotions-section {
  background-color: #f8f8f8;
}

.page-index__promo-banner {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index__promo-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index__program-links {
  text-align: center;
  margin-top: 30px;
}

.page-index__link {
  color: #1A202C;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
}

.page-index__link:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-index__download-section {
  background-color: #eeeeee;
  text-align: center;
}

.page-index__download-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 40px auto;
}

.page-index__download-actions {
  margin-top: 30px;
}

.page-index__faq-section {
  background-color: #f8f8f8;
}

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

.page-index__faq-item {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
}

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

.page-index__faq-answer {
  color: #555555;
}

.page-index__support-text {
  margin-top: 30px;
  font-size: 1.1em;
}

.page-index__cta-section {
  background-color: #1A202C;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

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

.page-index__cta-section .page-index__text-content {
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__hero-overlay {
    padding: 30px;
  }
  .page-index__hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__button {
    padding: 12px 25px;
    min-width: 180px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__about-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__download-section,
  .page-index__faq-section,
  .page-index__cta-section {
    padding: 60px 0;
  }
  .page-index__text-content {
    font-size: 1em;
  }
  .page-index__features,
  .page-index__game-categories {
    grid-template-columns: 1fr;
  }
  .page-index__game-image {
    height: 250px;
  }
  .page-index__promo-actions,
  .page-index__cta-actions {
    flex-direction: column;
    align-items: center;
  }
  /* Mobile content area image constraint */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__feature-icon,
  .page-index__game-image,
  .page-index__promo-banner,
  .page-index__download-image {
    width: 100%; /* Ensure images scale down */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
  .page-index__hero-section {
    min-height: 400px;
  }
  .page-index__hero-overlay {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__button {
    min-width: 150px;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__hero-overlay {
    padding: 15px;
  }
}

/* Ensure all content area images are not smaller than 200px */
.page-index img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider) {
  min-width: 200px;
  min-height: 200px;
}