.page-index {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark background */
  background-color: #000000; /* Primary background color */
  line-height: 1.6;
}

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

/* --- Hero Section --- */
.page-index__hero {
  background: linear-gradient(135deg, #000000 0%, #333333 100%); /* Dark gradient for hero */
  padding: 80px 0;
  display: flex;
  align-items: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-index__hero-content {
  flex: 1;
  z-index: 1;
  position: relative;
  color: #ffffff; /* White text for contrast */
}

.page-index__hero-title {
  font-size: 3.5em; /* Larger font for H1 */
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 600px;
}

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

.page-index__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 0;
}

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

/* --- General Section Styling --- */
.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-index__section-description {
  font-size: 1.1em;
  color: #cccccc; /* Lighter grey for description */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-index__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-index__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #cccccc;
}

.page-index__list li {
  margin-bottom: 10px;
}

/* --- Buttons --- */
.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #000000; /* Black text for contrast */
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700; /* Gold background on hover */
  color: #000000; /* Black text on hover */
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  background-color: #FFD700;
  color: #000000;
  border: none;
}

.page-index__btn--small:hover {
  background-color: #e6c200;
  transform: translateY(-1px);
}

.page-index__center-cta {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 60px;
}

/* --- About Section --- */
.page-index__about {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-index__about-text {
  flex: 2;
  color: #cccccc;
}

.page-index__about-text p {
  margin-bottom: 15px;
}

.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.3);
}

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

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

.page-index__game-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

.page-index__games-footer-text {
  color: #cccccc;
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
}

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

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

.page-index__promo-card {
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-index__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__promo-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index__promotions-footer-text {
  color: #cccccc;
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
}

/* --- App Download Section --- */
.page-index__app-download {
  padding: 80px 0;
  background-color: #000000;
}

.page-index__app-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index__app-image-wrapper {
  flex: 1;
  min-width: 280px; /* Ensure image wrapper has minimum width */
  text-align: center;
}

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

.page-index__app-text {
  flex: 2;
  color: #cccccc;
  min-width: 300px; /* Ensure text wrapper has minimum width */
}

.page-index__app-text p {
  margin-bottom: 15px;
}

.page-index__app-qr-info {
  margin-top: 20px;
  font-style: italic;
  color: #FFD700;
}

.page-index__qr-code {
  width: 150px;
  height: 150px;
  margin-top: 15px;
  border: 5px solid #FFD700;
  border-radius: 5px;
}

/* --- Detail Pages Section --- */
.page-index__detail-pages {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-index__detail-card {
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-title {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-index__detail-title a {
  color: #FFD700; /* Gold link for titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__detail-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-index__detail-description {
  font-size: 0.95em;
  color: #cccccc;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* --- Final CTA Section --- */
.page-index__cta-final {
  padding: 80px 0;
  background: linear-gradient(45deg, #000000, #333333);
  text-align: center;
}

.page-index__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* --- FAQ Section --- */
.page-index__faq {
  padding: 80px 0;
  background-color: #000000;
}

.page-index__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__faq-answer {
  color: #cccccc;
  font-size: 1em;
}

.page-index__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-index__faq-answer a:hover {
  text-decoration: underline;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-index__hero {
    min-height: auto;
    padding: 60px 0;
  }

  .page-index__hero-content {
    text-align: center;
  }

  .page-index__hero-image-wrapper {
    display: none; /* Hide hero image on tablets */
  }

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

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

  .page-index__about-grid,
  .page-index__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-index__about-image-wrapper,
  .page-index__app-image-wrapper {
    order: -1; /* Image appears above text on mobile */
  }

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

  .page-index__sub-title {
    font-size: 1.6em;
  }

  .page-index__list {
    text-align: left;
    margin-left: 0;
    padding-left: 20px;
  }
}

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

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

  .page-index__hero-actions {
    justify-content: center;
  }

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

  .page-index__section-description {
    font-size: 0.95em;
  }

  .page-index__game-title,
  .page-index__promo-title,
  .page-index__detail-title {
    font-size: 1.4em;
  }

  .page-index__faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-index__hero {
    padding: 40px 0;
  }

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

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

  .page-index__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-index__section-title {
    padding-top: 40px;
    font-size: 1.6em;
  }

  .page-index__section-description {
    margin-bottom: 30px;
  }

  .page-index__about,
  .page-index__games,
  .page-index__promotions,
  .page-index__app-download,
  .page-index__detail-pages,
  .page-index__cta-final,
  .page-index__faq {
    padding: 40px 0;
  }

  .page-index__app-qr-info {
    font-size: 0.9em;
  }

  .page-index__qr-code {
    width: 120px;
    height: 120px;
  }
}