.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A192F; /* Main dark background color */
  line-height: 1.6;
}

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

.page-index__section {
  padding: 80px 0;
  text-align: center;
}

.page-index__hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #2a4163 100%);
  padding: 100px 0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-index__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__hero-ctas {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  border: none;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A192F; /* Dark blue */
}

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

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

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

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

.page-index__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-index__hero-image {
  max-width: 90%;
  height: auto;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.page-index__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-index__section-description {
  font-size: 1.1em;
  color: #B0B0B0;
  max-width: 900px;
  margin: 0 auto 50px;
}

.page-index__features-grid,
.page-index__game-categories,
.page-index__promotions-grid,
.page-index__steps-grid,
.page-index__detail-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__feature-item,
.page-index__game-card,
.page-index__promotion-card,
.page-index__step-item,
.page-index__detail-card {
  background-color: #1A2B42; /* Slightly lighter dark blue */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover,
.page-index__game-card:hover,
.page-index__promotion-card:hover,
.page-index__step-item:hover,
.page-index__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index__feature-icon,
.page-index__step-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-index__feature-title,
.page-index__game-card-title,
.page-index__promotion-title,
.page-index__step-title,
.page-index__detail-card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__detail-card-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-index__feature-text,
.page-index__game-card-text,
.page-index__promotion-text,
.page-index__step-text,
.page-index__detail-card-description {
  color: #B0B0B0;
  font-size: 1em;
}

.page-index__game-image,
.page-index__promotion-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index__text-center {
  text-align: center;
}

.page-index__mt-40 {
  margin-top: 40px;
}

.page-index__download-app {
  background-color: #1A2B42;
  padding: 80px 0;
}

.page-index__download-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

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

.page-index__download-text .page-index__section-title {
  text-align: left;
}

.page-index__download-text .page-index__section-title::after {
  margin-left: 0;
}

.page-index__download-text .page-index__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

.page-index__app-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-index__icon {
  color: #FFD700;
  font-size: 1.4em;
  margin-right: 10px;
}

.page-index__download-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-index__testimonials {
  background-color: #0A192F;
}

.page-index__testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 30px;
  padding-bottom: 20px;
  justify-content: center;
}

.page-index__testimonial-card {
  flex: 0 0 450px;
  background-color: #1A2B42;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  scroll-snap-align: start;
  text-align: center;
}

.page-index__testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #FFD700;
}

.page-index__testimonial-text {
  font-style: italic;
  color: #B0B0B0;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #FFD700;
}

.page-index__faq {
  background-color: #1A2B42;
}

.page-index__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-index__faq-item {
  background-color: #0A192F;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-index__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 25px;
  cursor: pointer;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.page-index__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-index__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
  color: #E0E0E0;
}

.page-index__faq-answer.active {
  max-height: 200px; /* Adjust based on expected content height */
  padding-bottom: 20px;
}

.page-index__cta-final {
  background: linear-gradient(45deg, #FFD700 0%, #e6c200 100%);
  color: #0A192F;
}

.page-index__cta-final .page-index__section-title,
.page-index__cta-final .page-index__section-description {
  color: #0A192F;
}

.page-index__cta-final .page-index__section-title::after {
  background-color: #0A192F;
}

.page-index__cta-final .page-index__btn--primary {
  background-color: #0A192F;
  color: #FFD700;
  border: 2px solid #0A192F;
}

.page-index__cta-final .page-index__btn--primary:hover {
  background-color: transparent;
  color: #0A192F;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__download-text .page-index__section-title,
  .page-index__download-text .page-index__section-title::after,
  .page-index__download-text .page-index__section-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-ctas {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section {
    padding: 60px 0;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__features-grid,
  .page-index__game-categories,
  .page-index__promotions-grid,
  .page-index__steps-grid,
  .page-index__detail-pages-grid {
    grid-template-columns: 1fr;
  }
  .page-index__testimonial-card {
    flex: 0 0 80%;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__btn {
    width: 90%;
    padding: 12px 20px;
  }
  .page-index__testimonial-card {
    flex: 0 0 90%;
  }
  .page-index__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-index__faq-answer p {
    font-size: 0.9em;
  }
}