.page-index {
  color: #333333; /* Dark text for default light body background */
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  overflow: hidden;
  background-color: #8B0000; /* Auxiliary color as a base for hero section */
}

.page-index__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 20px;
}

.page-index__hero-image {
  width: 60%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-index__hero-content {
  width: 40%;
  text-align: left;
  color: #FFFFFF; /* Light text for dark hero background */
  z-index: 1;
}

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold for main title */
  font-weight: 700;
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

.page-index__hero-actions {
  display: flex;
  gap: 20px;
}

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Maroon text */
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-index__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-index__btn--tertiary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.page-index__btn--tertiary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.5);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 6px;
  background-color: #FFD700;
  color: #8B0000;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.page-index__btn--small:hover {
  background-color: #e6c200;
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(255, 215, 0, 0.5);
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Maroon for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.page-index__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

.page-index__about-section {
  background-color: #f9f9f9;
}

.page-index__games-showcase,
.page-index__promotions-section,
.page-index__why-choose-us,
.page-index__faq-section {
  background-color: #ffffff;
}

.page-index__game-grid,
.page-index__promo-grid,
.page-index__features-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-index__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 25px;
}

.page-index__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 3px solid #FFD700;
}

.page-index__game-card-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
  font-weight: 600;
  padding: 0 15px;
}

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

.page-index__game-card-title a:hover {
  text-decoration: underline;
}

.page-index__game-card-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

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

.page-index__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 25px;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-index__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 3px solid #FFD700;
}

.page-index__promo-card-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 10px;
  font-weight: 600;
  padding: 0 15px;
}

.page-index__promo-card-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-index__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-index__app-section {
  background-color: #f0f0f0;
}

.page-index__app-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-index__app-content {
  flex: 1;
  text-align: left;
}

.page-index__app-image {
  flex: 0 0 400px; /* Fixed width for the image */
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-index__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

.page-index__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-index__feature-title {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-index__faq-item {
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
  font-size: 1.3em;
  color: #8B0000;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index__faq-answer {
  font-size: 1.0em;
  line-height: 1.7;
  color: #444444;
}

.page-index__cta-final {
  background-color: #8B0000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-index__cta-final .page-index__section-title {
  color: #FFD700;
}

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

.page-index__final-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.15em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__app-container {
    flex-direction: column;
    text-align: center;
  }
  .page-index__app-content {
    width: 100%;
  }
  .page-index__app-image {
    flex: none;
    width: 80%;
    max-width: 400px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-container {
    flex-direction: column;
    padding: 40px 15px;
    gap: 30px;
  }
  .page-index__hero-image {
    width: 100%;
    height: auto; /* Ensure responsive scaling */
    max-width: 100%;
  }
  .page-index__hero-content {
    width: 100%;
    text-align: center;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 100%;
  }
  .page-index__container {
    padding: 40px 15px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1.05em;
  }
  .page-index__text-content {
    font-size: 1em;
  }
  .page-index__game-grid, .page-index__promo-grid, .page-index__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index__game-card-image, .page-index__promo-card-image {
    max-width: 100%;
    height: auto;
  }
  /* Mobile content area images must use max-width: 100%; height: auto; */
  .page-index img {
    max-width: 100%;
    height: auto;
  }
  .page-index__final-actions {
    flex-direction: column;
    gap: 15px;
  }
}

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