/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0;
  background-color: #0f1a2e;
  line-height: 1.6;
}

.page-index__brand-highlight {
  color: #FFD700;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-index__btn--primary {
  background-color: #FFD700;
  color: #1A2B4C;
}

.page-index__btn--primary:hover {
  background-color: #e5c100;
  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: #1A2B4C;
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #FFD700;
  color: #1A2B4C;
}

.page-index__btn--small:hover {
  background-color: #e5c100;
}

.page-index__btn--link {
  color: #FFD700;
  text-decoration: underline;
  background: none;
  padding: 0;
  border: none;
  font-weight: normal;
}

.page-index__btn--link:hover {
  color: #e5c100;
}

.page-index__hero {
  background: linear-gradient(135deg, #1A2B4C, #0f1a2e);
  color: #fff;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.page-index__hero-content {
  max-width: 900px;
}

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

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

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

.page-index__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
}

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

.page-index__section-header {
  text-align: center;
  padding: 60px 20px 40px;
}

.page-index__section-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #fff;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto;
}

.page-index__about-us {
  padding: 0 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index__about-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-index__games-overview {
  background-color: #1A2B4C;
  padding: 80px 20px;
}

.page-index__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__game-card {
  background-color: #0f1a2e;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.page-index__game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index__promotions {
  padding: 80px 20px;
}

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

.page-index__promo-card {
  background-color: #1A2B4C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
}

.page-index__promo-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-index__promo-description {
  font-size: 0.95em;
  color: #ccc;
  margin-bottom: 20px;
}

.page-index__why-choose {
  background-color: #0f1a2e;
  padding: 80px 20px;
}

.page-index__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__feature-item {
  background-color: #1A2B4C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__feature-description {
  font-size: 0.95em;
  color: #ccc;
}

.page-index__app-download {
  padding: 80px 20px;
}

.page-index__app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__app-text {
  text-align: center;
  max-width: 700px;
}

.page-index__app-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

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

.page-index__app-image-wrapper {
  width: 100%;
  max-width: 600px;
}

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

.page-index__detail-pages {
  background-color: #1A2B4C;
  padding: 80px 20px;
}

.page-index__detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index__detail-card {
  background-color: #0f1a2e;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-index__detail-title {
  font-size: 1.7em;
  margin-bottom: 10px;
  color: #FFD700;
}

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

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

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

.page-index__cta-footer {
  background: linear-gradient(90deg, #1A2B4C, #0f1a2e);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.page-index__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #fff;
}

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

@media (min-width: 768px) {
  .page-index__hero {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    padding: 120px 40px;
  }

  .page-index__hero-content {
    text-align: left;
    margin-right: 40px;
  }

  .page-index__hero-actions {
    justify-content: flex-start;
  }

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

  .page-index__hero-image-wrapper {
    margin-top: 0;
    max-width: 50%;
  }

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

  .page-index__app-text {
    text-align: left;
    margin-right: 40px;
  }

  .page-index__app-buttons {
    justify-content: flex-start;
  }
}

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

  .page-index__hero-description,
  .page-index__section-subtitle,
  .page-index__about-content p,
  .page-index__game-description,
  .page-index__promo-description,
  .page-index__feature-description,
  .page-index__app-text p,
  .page-index__detail-description,
  .page-index__cta-description {
    font-size: 1em;
  }

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

  .page-index__cta-title {
    font-size: 2.2em;
  }

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

  .page-index__btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__hero-actions, .page-index__app-buttons {
    gap: 10px;
  }
  .page-index__btn {
    padding: 10px 20px;
  }
}
@media (max-width: 992px) {
  .page-index-hero-section {
    padding: 80px 0;
  }
  .page-index-hero-title {
    font-size: 2.8em;
  }
  .page-index-hero-description {
    font-size: 1.1em;
  }
  .page-index-about-content {
    flex-direction: column;
  }
  .page-index-app-flex {
    flex-direction: column-reverse;
  }
  .page-index-app-content, .page-index-app-image {
    text-align: center;
  }
  .page-index-app-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .page-index-app-buttons .page-index-btn {
    margin: 10px;
  }
  .page-index-app-features {
    text-align: left;
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .page-index-section-title {
    font-size: 2.2em;
  }
  .page-index-section-subtitle {
    font-size: 1em;
  }
  .page-index-hero-section {
    padding: 60px 0;
  }
  .page-index-hero-title {
    font-size: 2.2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-index-hero-buttons .page-index-btn {
    margin-left: 0;
  }
  .page-index-cta-title {
    font-size: 2.5em;
  }
  .page-index-cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-hero-title {
    font-size: 1.8em;
  }
  .page-index-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index-game-card, .page-index-promo-card, .page-index-guide-card, .page-index-detail-card {
    padding: 15px;
  }
  .page-index-game-title, .page-index-promo-title, .page-index-guide-card h3, .page-index-detail-title {
    font-size: 1.2em;
  }
  .page-index-cta-title {
    font-size: 2em;
  }
}ge-index__faq-section {
    background-color: var(--page-index-background-light);
}

.page-index__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
    font-size: 1.3em;
    color: var(--page-index-secondary-color);
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: 600;
}

.page-index__faq-answer {
    font-size: 1.0em;
    color: var(--page-index-text-dark);
    display: none; /* Hidden by default, toggled by JS */
    padding-top: 5px;
}

/* CTA Final Section */
.page-index__cta-final {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-secondary-color);
    text-align: center;
    padding: 80px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-index__cta-final .page-index__section-title {
    color: var(--page-index-secondary-color);
    font-size: 3.2em;
}

.page-index__cta-final .page-index__section-description {
    color: var(--page-index-secondary-color);
    margin-bottom: 50px;
    font-size: 1.3em;
}

.page-index__cta-final .page-index__brand-highlight {
    color: var(--page-index-secondary-color);
}

/* Detail Pages Section */
.page-index__detail-pages-section {
    background-color: var(--page-index-background-light);
}

.page-index__detail-page-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-index__detail-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-index__detail-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.page-index__detail-title a {
    color: var(--page-index-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__detail-title a:hover {
    color: var(--page-index-primary-color);
    text-decoration: underline;
}

.page-index__detail-description {
    font-size: 1em;
    color: var(--page-index-text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index__hero-title {
        font-size: 3.2em;
    }
    .page-index__section-title {
        font-size: 2.2em;
    }
    .page-index__about-content,
    .page-index__app-section {
        flex-direction: column;
        text-align: center;
    }
    .page-index__app-section .page-index__section-title {
        text-align: center;
    }
    .page-index__app-features {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-index section {
        padding: 40px 15px;
    }
    .page-index__hero-title {
        font-size: 2.5em;
    }
    .page-index__hero-description {
        font-size: 1.2em;
    }
    .page-index__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__btn--secondary {
        margin-left: 0;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__section-description {
        font-size: 1em;
    }
    .page-index__game-categories,
    .page-index__promo-grid,
    .page-index__why-choose-grid,
    .page-index__detail-page-list {
        grid-template-columns: 1fr;
    }
    .page-index__app-section {
        margin: 20px auto;
        padding: 40px 20px;
    }
    .page-index__app-image {
        max-width: 80%;
    }
    .page-index__cta-final .page-index__section-title {
        font-size: 2.5em;
    }
    .page-index__cta-final .page-index__section-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-index__hero-title {
        font-size: 2em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__section-title {
        font-size: 1.5em;
    }
    .page-index__btn {
        width: 100%;
        padding: 12px 20px;
    }
    .page-index__btn--large {
        padding: 15px 30px;
    }
    .page-index__game-card, .page-index__promo-card, .page-index__why-choose-item, .page-index__detail-card {
        padding: 20px;
    }
    .page-index__faq-item {
        padding: 15px 20px;
    }
    .page-index__app-section .page-index__section-title {
        font-size: 2em;
    }
}