.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__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Main color for hero background */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 70vh;
}

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

.page-index__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF; /* White text for dark hero overlay */
  padding: 40px 20px;
  max-width: 900px;
}

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

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

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

.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, transform 0.3s ease;
  font-size: 1.1em;
}

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

.page-index__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-3px);
}

.page-index__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__button--login:hover {
  background-color: #E8A832;
  transform: translateY(-3px);
}

.page-index__button--play, .page-index__button--bet, .page-index__button--claim, .page-index__button--join-vip, .page-index__button--join-now, .page-index__button--download, .page-index__button--read-more, .page-index__button--learn-more, .page-index__button--view-all, .page-index__button--contact {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-index__button--play:hover, .page-index__button--bet:hover, .page-index__button--claim:hover, .page-index__button--join-vip:hover, .page-index__button--join-now:hover, .page-index__button--download:hover, .page-index__button--read-more:hover, .page-index__button--learn-more:hover, .page-index__button--view-all:hover, .page-index__button--contact:hover {
  background-color: #E8A832;
  transform: translateY(-3px);
}

.page-index__container, .page-index__about-container, .page-index__games-container, .page-index__promo-container, .page-index__why-choose-us-container, .page-index__cta-container, .page-index__blog-container, .page-index__download-app-container, .page-index__contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

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

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

.page-index__about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.page-index__about-text {
  flex: 2;
  min-width: 300px;
}

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

.page-index__games-section, .page-index__promo-section, .page-index__blog-section {
  background-color: #f8f8f8;
}

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

.page-index__game-card, .page-index__promo-card, .page-index__blog-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__game-card-image, .page-index__promo-card-image, .page-index__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__game-card-title, .page-index__promo-card-title, .page-index__blog-card-title {
  font-size: 1.5em;
  color: #000000;
  margin: 0 15px 10px;
  font-weight: bold;
}

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

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

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

.page-index__game-card .page-index__button, .page-index__promo-card .page-index__button, .page-index__blog-card .page-index__button {
  margin-top: auto;
}

.page-index__view-all-games, .page-index__view-all-promos, .page-index__view-all-blog {
  text-align: center;
  margin-top: 40px;
}

.page-index__why-choose-us-section {
  background-color: #FFFFFF;
}

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

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

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

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

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

.page-index__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-index__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
}

.page-index__download-app-section {
  text-align: center;
}

.page-index__app-download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-index__app-showcase-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__contact-section {
  background-color: #f0f0f0;
  text-align: center;
}

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

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__about-content {
    flex-direction: column;
  }
  .page-index__about-image {
    min-width: unset;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__game-cards, .page-index__promo-cards, .page-index__blog-cards {
    grid-template-columns: 1fr;
  }
  .page-index__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__cta-description {
    font-size: 1.1em;
  }
  .page-index__download-app-container .page-index__app-showcase-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-index__app-download-buttons {
    flex-direction: column;
  }
  .page-index__app-download-buttons .page-index__button {
    width: 90%;
  }
  /* Mobile content area images must be responsive */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__feature-icon {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__container, .page-index__about-container, .page-index__games-container, .page-index__promo-container, .page-index__why-choose-us-container, .page-index__cta-container, .page-index__blog-container, .page-index__download-app-container, .page-index__contact-container {
    padding: 40px 15px;
  }
}