.page-index {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

.page-index__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
}

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

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

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

.page-index__btn {
  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;
  text-align: center;
}

.page-index__btn--primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 120px;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-index__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__about-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__mobile-section,
.page-index__security-section,
.page-index__support-section,
.page-index__details-section,
.page-index__cta-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-index__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

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

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

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

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

.page-index__promo-card {
  display: flex;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 30px;
  align-items: center;
}

.page-index__promo-image {
  width: 60%;
  height: auto;
  object-fit: cover;
}

.page-index__promo-content {
  width: 40%;
  padding: 30px;
}

.page-index__promo-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__promo-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-index__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index__mobile-image {
  width: 50%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.page-index__mobile-text {
  width: 50%;
}

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

.page-index__feature-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
}

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

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

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

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

.page-index__channel-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
}

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

.page-index__channel-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-index__detail-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__detail-card-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-index__detail-card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__promo-card {
    flex-direction: column;
  }
  .page-index__promo-image,
  .page-index__promo-content {
    width: 100%;
  }
  .page-index__mobile-content {
    flex-direction: column;
  }
  .page-index__mobile-image,
  .page-index__mobile-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 100%;
    min-width: unset;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__game-grid,
  .page-index__security-features,
  .page-index__support-channels,
  .page-index__details-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promo-content,
  .page-index__mobile-text {
    padding: 20px;
  }
  /* Ensure images do not display smaller than 200px */
  .page-index img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum display size */
    min-height: 200px; /* Enforce minimum display size */
    object-fit: cover;
  }
  .page-index__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-content {
    padding: 20px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__text-content {
    font-size: 0.95em;
  }
}