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

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

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

.page-index-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-index-btn-primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
  background-color: #e6c200;
  border-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: #0A1931;
  transform: translateY(-2px);
}

.page-index-btn-play {
  background-color: #FFD700;
  color: #0A1931;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-index-btn-play:hover {
  background-color: #e6c200;
}

.page-index-btn-detail {
  background-color: #1a325a;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 8px 18px;
  font-size: 0.85em;
  margin-top: 10px;
}

.page-index-btn-detail:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-index-btn-download {
  background-color: #007bff; /* Example blue for download */
  color: #FFFFFF;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

.page-index-btn-download:hover {
  background-color: #0056b3;
}

.page-index-btn-download img {
  height: 20px;
  width: auto;
  vertical-align: middle;
}

.page-index-btn-large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-index-btn-xl {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

/* Hero Section */
.page-index-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A1931 0%, #1a325a 100%);
  color: #E0E0E0;
  overflow: hidden;
  position: relative;
}

.page-index-hero-content {
  max-width: 900px;
  z-index: 1;
}

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

.page-index-hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #B0B0B0;
}

.page-index-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

/* About Us Section */
.page-index-about-us {
  background-color: #1a325a;
  padding: 60px 0;
  text-align: center;
}

.page-index-section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-index-section-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #C0C0C0;
}

.page-index-about-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-index-feature-item {
  background-color: #0A1931;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-feature-item:hover {
  transform: translateY(-10px);
}

.page-index-feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(1.2);
}

.page-index-feature-item h3 {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-feature-item p {
  font-size: 1em;
  color: #E0E0E0;
}

/* Games Section */
.page-index-games {
  padding: 60px 0;
  background-color: #0A1931;
  text-align: center;
}

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

.page-index-game-card {
  background-color: #1a325a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

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

.page-index-game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-game-card h3 {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-game-card p {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 15px;
  flex-grow: 1;
}

/* Promotions Section */
.page-index-promotions {
  background-color: #1a325a;
  padding: 60px 0;
  text-align: center;
}

.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: #0A1931;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  padding-bottom: 20px;
}

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

.page-index-promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-promo-card h3 {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-promo-card p {
  font-size: 1em;
  color: #C0C0C0;
  padding: 0 15px;
}

/* App Download Section */
.page-index-app-download {
  background-color: #0A1931;
  padding: 60px 0;
}

.page-index-app-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-index-app-content {
  flex: 1;
}

.page-index-app-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index-app-image-wrapper {
  flex: 1;
  text-align: center;
}

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

/* CTA Section */
.page-index-cta-section {
  background: linear-gradient(90deg, #0A1931, #1a325a);
  padding: 80px 20px;
  text-align: center;
}

.page-index-cta-section .page-index-section-title {
  font-size: 3em;
  margin-bottom: 25px;
}

.page-index-cta-section .page-index-section-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* FAQ Section */
.page-index-faq {
  background-color: #1a325a;
  padding: 60px 0;
}

.page-index-accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-accordion-header {
  width: 100%;
  background-color: #0A1931;
  color: #FFD700;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.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-header:hover {
  background-color: #2a416e;
}

.page-index-accordion-body {
  padding: 0 25px;
  background-color: #2a416e;
  color: #E0E0E0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-accordion-body.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-index-accordion-body p {
  margin-bottom: 15px;
  font-size: 1em;
}

.page-index-faq-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-index-faq-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-title {
    font-size: 2.8em;
  }
  .page-index-hero-description {
    font-size: 1.1em;
  }
  .page-index-section-title {
    font-size: 2.2em;
  }
  .page-index-section-description {
    font-size: 1em;
  }
  .page-index-app-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-index-app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 60px 15px;
  }
  .page-index-hero-title {
    font-size: 2.2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-about-features, .page-index-game-categories, .page-index-promo-grid {
    grid-template-columns: 1fr;
  }
  .page-index-cta-section .page-index-section-title {
    font-size: 2.5em;
  }
  .page-index-btn-download {
    width: 100%;
  }
  .page-index-accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-index-accordion-body.active {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 1.8em;
  }
  .page-index-section-title {
    font-size: 1.5em;
  }
  .page-index-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index-btn-large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-cta-section .page-index-section-title {
    font-size: 2em;
  }
}