.page-index {
  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: 20px;
  margin-top: 60px;
  font-weight: bold;
}

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

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

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

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

.page-index__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-left: 15px;
}

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

.page-index__button--learn-more,
.page-index__button--view-all,
.page-index__button--claim-bonus,
.page-index__button--download-app,
.page-index__button--contact-us,
.page-index__button--final-register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

.page-index__button--learn-more:hover,
.page-index__button--view-all:hover,
.page-index__button--claim-bonus:hover,
.page-index__button--download-app:hover,
.page-index__button--contact-us:hover,
.page-index__button--final-register:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-index__button--claim-bonus {
  margin-left: 15px;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-index__button--play-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 1em;
}

.page-index__button--play-now:hover {
  background-color: #e0a73c;
  border-color: #e0a73c;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden;
}

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

.page-index__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index__hero-content {
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  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.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

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

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

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

/* Game Categories Section */
.page-index__game-categories-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: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

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

.page-index__game-card-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

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

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

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

.page-index__promotions-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-index__promotions-buttons {
  display: flex;
  gap: 15px;
}

/* Mobile App Section */
.page-index__mobile-app-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: 20px;
  font-size: 1.1em;
  color: #333333;
}

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

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

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

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

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

.page-index__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-index__security-links {
  margin-top: 20px;
}

.page-index__link {
  display: block;
  color: #000000;
  text-decoration: underline;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-index__link:hover {
  color: #FCBC45;
}

/* Why Choose Section */
.page-index__why-choose-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-index__feature-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-5px);
}

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

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

/* Customer Support Section */
.page-index__support-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-index__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

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

/* Final CTA Section */
.page-index__final-cta-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-index__final-register {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .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__about-content,
  .page-index__promotions-content,
  .page-index__mobile-content,
  .page-index__security-content,
  .page-index__support-content {
    flex-direction: column;
    text-align: center;
  }

  .page-index__about-image-wrapper,
  .page-index__promotions-image-wrapper,
  .page-index__mobile-image-wrapper,
  .page-index__security-image-wrapper,
  .page-index__support-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }

  .page-index__promotions-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-index__button--login,
  .page-index__button--claim-bonus {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    min-height: 500px;
  }

  .page-index__hero-content {
    padding: 30px 20px;
  }

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

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

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

  .page-index__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-index__button {
    width: 100%;
    margin-left: 0 !important;
  }

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

  /* Ensure all images within .page-index are responsive and don't overflow */
  .page-index img {
    max-width: 100%;
    height: auto;
  }

  /* Content area images must not display smaller than 200px */
  .page-index__about-image,
  .page-index__game-card-image,
  .page-index__promotions-image,
  .page-index__mobile-image,
  .page-index__security-image,
  .page-index__support-image {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width to maintain aspect ratio with max-width */
  }
}

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

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

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