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

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

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Accent color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  position: relative;
}

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

.page-index__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index__text-content a {
  color: #FFD700;
  text-decoration: none;
}

.page-index__text-content a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-index__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A192F 0%, #1A2E4B 100%);
  min-height: 600px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index__hero-content {
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

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

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

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

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

.page-index__btn--primary {
  background-color: #FFD700;
  color: #0A192F;
}

.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;
  border-radius: 6px;
  background-color: #FFD700;
  color: #0A192F;
}

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

.page-index__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* About Section */
.page-index__about {
  padding: 60px 0;
  background-color: #0F2038;
}

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

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

.page-index__game-card {
  background-color: #1A2E4B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-index__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #FFD700;
}

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

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

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

.page-index__card-description {
  font-size: 0.95em;
  color: #B0B0B0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index__game-card .page-index__btn--small {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Promotions Section */
.page-index__promotions {
  padding: 60px 0;
  background-color: #0F2038;
}

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

.page-index__promo-card {
  background-color: #1A2E4B;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

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

.page-index__promo-description {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Guide Section */
.page-index__guide {
  padding: 60px 0;
  background-color: #0A192F;
}

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

.page-index__step-item {
  background-color: #1A2E4B;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__step-description {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-index__why-choose {
  padding: 60px 0;
  background-color: #0F2038;
}

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

.page-index__feature-item {
  background-color: #1A2E4B;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

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

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

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

.page-index__accordion {
  margin-top: 40px;
  border: 1px solid #1A2E4B;
  border-radius: 12px;
  overflow: hidden;
}

.page-index__accordion-item {
  border-bottom: 1px solid #1A2E4B;
}

.page-index__accordion-item:last-child {
  border-bottom: none;
}

.page-index__accordion-header {
  background-color: #1A2E4B;
  color: #FFD700;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.3em;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-index__accordion-header:hover {
  background-color: #2A4060;
}

.page-index__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-index__accordion-content {
  background-color: #0F2038;
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index__accordion-content p {
  padding: 20px 0;
  margin: 0;
  color: #B0B0B0;
}

.page-index__accordion-content.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px 30px;
}

/* Contact Section */
.page-index__contact {
  padding: 60px 0;
  background-color: #0F2038;
  text-align: center;
}

.page-index__contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 1.1em;
}

.page-index__contact-list li {
  margin-bottom: 10px;
  color: #E0E0E0;
}

.page-index__contact .page-index__btn--primary {
  margin-top: 20px;
}

/* Copyright */
.page-index__copyright {
  background-color: #05101A;
  color: #666;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

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

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

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

  .page-index__card-title {
    font-size: 1.3em;
  }

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

  .page-index__step-title {
    font-size: 1.4em;
  }

  .page-index__feature-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    flex-direction: column;
    text-align: center;
  }

  .page-index__hero-content {
    margin-bottom: 30px;
  }

  .page-index__hero-image-wrapper {
    position: relative;
    height: 300px;
    opacity: 0.5;
  }

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

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

  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__btn {
    width: 100%;
  }

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

  .page-index__game-grid, .page-index__promo-grid, .page-index__guide-steps, .page-index__feature-list {
    grid-template-columns: 1fr;
  }

  .page-index__card-image {
    height: 180px;
  }

  .page-index__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-index__accordion-content {
    padding: 0 20px;
  }

  .page-index__accordion-content.active {
    padding: 15px 20px;
  }
}

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

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

  .page-index__text-content, .page-index__card-description, .page-index__promo-description, .page-index__step-description, .page-index__feature-description {
    font-size: 0.9em;
  }

  .page-index__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index__btn--small {
    padding: 8px 15px;
    font-size: 0.85em;
  }
}