.page-index {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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: 40px;
  font-weight: bold;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__button--register {
  background-color: #000000;
  color: #FFFFFF;
  margin-right: 15px;
}

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

.page-index__button--login {
  background-color: #FCBC45;
  color: #000000;
  margin-right: 15px;
}

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

.page-index__button--explore, .page-index__button--learn-more, .page-index__button--play-now, .page-index__button--claim-bonus, .page-index__button--view-all, .page-index__button--read-guide, .page-index__button--download-app, .page-index__button--view-payments, .page-index__button--join-now {
  background-color: #000000;
  color: #FFFFFF;
}

.page-index__button--explore:hover, .page-index__button--learn-more:hover, .page-index__button--play-now:hover, .page-index__button--claim-bonus:hover, .page-index__button--view-all:hover, .page-index__button--read-guide:hover, .page-index__button--download-app:hover, .page-index__button--view-payments:hover, .page-index__button--join-now:hover {
  background-color: #333333;
}

/* Hero Section */
.page-index__hero-section {
  background-color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index__hero-content-wrapper {
  max-width: 900px;
  margin-bottom: 40px;
  padding: 0 20px;
}

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

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

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

.page-index__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-index__about-text {
  flex: 1;
}

.page-index__about-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.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 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-index__game-card {
  background-color: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

.page-index__game-card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  padding: 0 15px;
}

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

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

.page-index__promo-text {
  flex: 1;
}

.page-index__promo-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

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

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

.page-index__button--claim-bonus {
  background-color: #FCBC45;
  color: #000000;
  margin-right: 15px;
}

.page-index__button--claim-bonus:hover {
  background-color: #e0a53b;
}

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

.page-index__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse; /* Image on left, text on right */
}

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

.page-index__security-text {
  flex: 1;
}

.page-index__security-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444444;
}

.page-index__security-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.page-index__security-list li {
  margin-bottom: 8px;
}

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

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

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

.page-index__mobile-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444444;
}

.page-index__mobile-features-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.page-index__mobile-features-list li {
  margin-bottom: 8px;
}

.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 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-index__payment-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-index__payment-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-index__payment-description {
  font-size: 1em;
  color: #666666;
}

/* 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;
}

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

.page-index__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.2em;
  padding: 15px 40px;
}

.page-index__button--join-now:hover {
  background-color: #e0a53b;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__about-content, .page-index__promo-content, .page-index__security-content, .page-index__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__security-content {
    flex-direction: column; /* Reset for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 60px 0;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-index__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index__section-subtitle {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-index__about-section, .page-index__games-section, .page-index__promo-section, .page-index__security-section, .page-index__mobile-section, .page-index__payments-section, .page-index__cta-section {
    padding: 50px 0;
  }
  .page-index__game-card-image {
    height: 200px;
  }
  .page-index__about-image, .page-index__promo-image, .page-index__security-image, .page-index__mobile-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  /* Mobile content area images must not overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__about-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__game-card-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__promo-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__security-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__mobile-image {
    max-width: 100%;
    height: auto;
  }
  .page-index__payments-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__button {
    width: 90%;
    padding: 10px 20px;
  }
  .page-index__hero-buttons {
    gap: 10px;
  }
  .page-index__game-card-title {
    font-size: 1.5em;
  }
  .page-index__cta-description {
    font-size: 1.1em;
  }
  .page-index__button--join-now {
    font-size: 1.1em;
    padding: 12px 30px;
  }
}