.page-index {
  color: #ffffff; /* Text color for dark body background */
}

.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #1A202C;
}

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

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-index__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
}

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

.page-index__hero-description {
  font-size: 1.3rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index__button--primary {
  background-color: #FFD700;
  color: #1A202C;
}

.page-index__button--primary:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-index__button--secondary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index__button--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-index__button--small {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
}

.page-index__button--view-all {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-index__button--view-all:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

.page-index__section-title {
  font-size: 2.5rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
}

.page-index__section-intro {
  font-size: 1.1rem;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-index__about-us-section,
.page-index__game-categories-section,
.page-index__promotions-section,
.page-index__mobile-app-section,
.page-index__responsible-gaming-section {
  padding: 60px 0;
}

.page-index__about-us-section {
  background-color: #0F1217;
}

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

.page-index__feature-card {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

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

.page-index__feature-title {
  font-size: 1.8rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__feature-description {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.5;
}

.page-index__game-categories-section {
  background-color: #1A202C;
}

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

.page-index__category-card {
  background-color: #0F1217;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-index__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-index__category-title {
  font-size: 1.6rem;
  color: #FFD700;
  padding: 15px 20px 5px;
}

.page-index__category-description {
  font-size: 0.95rem;
  color: #cccccc;
  padding: 0 20px 20px;
  line-height: 1.4;
}

.page-index__promotions-section {
  background-color: #0F1217;
}

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

.page-index__promotion-card {
  background-color: #1A202C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
}

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

.page-index__promotion-title {
  font-size: 1.8rem;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-index__promotion-description {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 20px;
  padding: 0 20px;
  line-height: 1.5;
}

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

.page-index__mobile-app-section {
  background-color: #1A202C;
}

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

.page-index__mobile-app-text {
  flex: 1;
  min-width: 300px;
}

.page-index__mobile-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index__app-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.page-index__app-features li {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.page-index__app-features li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index__responsible-gaming-section {
  background-color: #0F1217;
  text-align: center;
}

.page-index__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-index__floating-button {
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-index__floating-button--login {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index__floating-button:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3rem;
  }
  .page-index__hero-description {
    font-size: 1.2rem;
  }
  .page-index__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-bottom: 40px;
  }
  .page-index__hero-title {
    font-size: 2.2rem;
  }
  .page-index__hero-description {
    font-size: 1rem;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 100%;
    max-width: 250px;
  }
  .page-index__container {
    padding: 30px 15px;
  }
  .page-index__section-title {
    font-size: 1.8rem;
  }
  .page-index__section-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-index__features-grid,
  .page-index__categories-grid,
  .page-index__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index__mobile-app-content {
    flex-direction: column;
  }
  .page-index__mobile-app-text,
  .page-index__mobile-app-image-wrapper {
    min-width: unset;
  }
  .page-index__floating-buttons {
    bottom: 15px;
    right: 15px;
  }
  .page-index__floating-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .page-index img {
    max-width: 100%;
    height: auto; 
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8rem;
  }
  .page-index__hero-description {
    font-size: 0.9rem;
  }
  .page-index__button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-index__section-title {
    font-size: 1.5rem;
  }
  .page-index__feature-title,
  .page-index__category-title,
  .page-index__promotion-title {
    font-size: 1.4rem;
  }
  .page-index__feature-icon {
    width: 200px; /* Enforce min size */
    height: 200px; /* Enforce min size */
  }
  .page-index__category-image,
  .page-index__promotion-image {
    height: 200px;
  }
}