.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 below fixed header */
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
}

.page-index__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-index__button--register {
  background-color: #000000; /* Dark background for register button */
  color: #FFFFFF; /* White text for register button */
  border: 2px solid #000000;
}

.page-index__button--register:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-index__button--login {
  background-color: #FCBC45; /* Yellow background for login button */
  color: #000000; /* Black text for login button */
  border: 2px solid #FCBC45;
  margin-left: 15px;
}

.page-index__button--login:hover {
  background-color: #e0a73d;
  border-color: #e0a73d;
}

.page-index__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

.page-index__button--download:hover {
  background-color: #e0a73d;
  border-color: #e0a73d;
}

.page-index__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #000000;
}

.page-index__button--small:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-index__button--outline {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
}

.page-index__button--outline:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-index__button--large {
  padding: 15px 35px;
  font-size: 1.2em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__button--large:hover {
  background-color: #e0a73d;
  border-color: #e0a73d;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* White text on dark image overlay */
  padding: 0; /* Remove padding here as content is centered */
  text-align: center;
}

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

.page-index__hero-container {
  position: relative;
  padding: 100px 20px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index__hero-content {
  max-width: 800px;
  z-index: 1;
}

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

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

.page-index__hero-actions .page-index__button {
  margin: 0 10px;
}

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-index__about-text {
  flex: 1;
  font-size: 1.1em;
  color: #333333;
}

.page-index__about-text p {
  margin-bottom: 20px;
}

.page-index__about-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-index__game-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.page-index__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

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

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

.page-index__game-title a:hover {
  color: #FCBC45;
}

.page-index__game-text {
  padding: 0 20px;
  color: #555555;
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-index__promo-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-index__promo-card {
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.page-index__promo-image {
  width: 100%;
  height: 280px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-index__promo-title {
  font-size: 1.6em;
  margin: 20px 0 10px;
  color: #000000;
}

.page-index__promo-title a {
  color: #000000;
  text-decoration: none;
}

.page-index__promo-title a:hover {
  color: #FCBC45;
}

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

/* Mobile Section */
.page-index__mobile-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-index__mobile-content {
  flex: 1;
}

.page-index__mobile-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-index__mobile-features li {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-index__icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 15px;
  background-color: #FCBC45;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-weight: bold;
}

/* Simple icons, replace with actual icon font/SVG if available */
.page-index__icon--phone::before { content: '📱'; }
.page-index__icon--secure::before { content: '🔒'; }
.page-index__icon--games::before { content: '🎮'; }
.page-index__icon--fast::before { content: '⚡'; }

.page-index__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-index__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Security Section */
.page-index__security-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-index__security-item {
  text-align: center;
  padding: 30px;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__security-item .page-index__icon {
  margin: 0 auto 20px;
  font-size: 1.5em;
}

.page-index__icon--lock::before { content: '🔐'; }
.page-index__icon--fair::before { content: '⚖️'; }
.page-index__icon--support::before { content: '💬'; }
.page-index__icon--responsible::before { content: '🛡️'; }

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

.page-index__security-text {
  color: #555555;
  font-size: 0.95em;
}

.page-index__security-cta {
  text-align: center;
  margin-top: 40px;
}

.page-index__security-cta .page-index__button {
  margin: 0 10px;
}

/* CTA Section */
.page-index__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-index__cta-section .page-index__section-title {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-index__cta-section .page-index__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

  .page-index__hero-description {
    font-size: 1.1em;
  }

  .page-index__section-title {
    font-size: 2em;
  }

  .page-index__about-content, .page-index__mobile-container {
    flex-direction: column;
    text-align: center;
  }

  .page-index__about-image-wrapper, .page-index__mobile-image-wrapper {
    margin-top: 30px;
  }

  .page-index__mobile-features {
    text-align: center;
  }

  .page-index__mobile-features li {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-index__hero-container {
    padding: 80px 20px;
    min-height: 400px;
  }

  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-description {
    font-size: 1em;
  }

  .page-index__hero-actions .page-index__button {
    display: block;
    margin: 15px auto;
  }

  .page-index__button--login {
    margin-left: auto;
  }

  .page-index__section-title {
    font-size: 1.8em;
  }

  .page-index__about-section, .page-index__games-section, .page-index__promo-section, .page-index__mobile-section, .page-index__security-section, .page-index__cta-section {
    padding: 60px 0;
  }

  .page-index__game-grid, .page-index__promo-grid, .page-index__security-grid {
    grid-template-columns: 1fr;
  }

  .page-index__mobile-features li {
    font-size: 1em;
  }

  .page-index__security-cta .page-index__button {
    display: block;
    margin: 15px auto;
  }

  .page-index img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }

  .page-index__hero-description {
    font-size: 0.9em;
  }

  .page-index__section-title {
    font-size: 1.5em;
  }

  .page-index__section-description {
    font-size: 0.9em;
  }

  .page-index__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-index__button--large {
    font-size: 1em;
    padding: 12px 25px;
  }
}