/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #f5f5f5; /* Light text for dark background */
  background-color: #0A2240; /* Main dark blue 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; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  font-weight: bold;
}

.page-index-text-content {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #e0e0e0; /* Slightly lighter text for readability */
}

/* Hero Section */
.page-index-hero-section {
  background: linear-gradient(135deg, #0A2240, #1a3a60); /* Dark blue gradient */
  padding: 100px 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-index-hero-description {
  font-size: 1.3em;
  color: #ffffff; /* White description */
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-index-hero-buttons {
  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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-index-btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #0A2240; /* Dark blue text */
}

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

.page-index-btn-secondary {
  background-color: #007bff; /* A complementary blue */
  color: #ffffff;
}

.page-index-btn-secondary:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.page-index-btn-tertiary {
  background-color: #28a745; /* A green for download */
  color: #ffffff;
}

.page-index-btn-tertiary:hover {
  background-color: #218838;
  transform: translateY(-3px);
}

.page-index-hero-image {
  max-width: 100%;
  height: auto;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-index-about-section {
  padding: 80px 0;
  background-color: #0A2240;
}

/* Why Choose Section */
.page-index-why-choose-section {
  padding: 80px 0;
  background-color: #1a3a60; /* Slightly lighter dark blue */
}

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

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

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

.page-index-feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-index-feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Game Types Section */
.page-index-game-types-section {
  padding: 80px 0;
  background-color: #0A2240;
}

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

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

.page-index-game-item:hover {
  transform: translateY(-5px);
}

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

.page-index-game-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index-game-description {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-index-btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FFD700;
  color: #0A2240;
}

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

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

.page-index-promotion-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* App Section */
.page-index-app-section {
  padding: 80px 0;
  background-color: #0A2240;
  text-align: center;
}

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

.page-index-btn-app-store, .page-index-btn-google-play {
  background-color: #007bff; /* Blue for app stores */
  color: #ffffff;
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-index-btn-app-store:hover, .page-index-btn-google-play:hover {
  background-color: #0056b3;
}

.page-index-app-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Guide Section */
.page-index-guide-section {
  padding: 80px 0;
  background-color: #1a3a60;
}

.page-index-guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-guide-item {
  background-color: #0A2240;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-guide-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-guide-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-index-faq-section {
  padding: 80px 0;
  background-color: #0A2240;
}

.page-index-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-faq-item {
  background-color: #1a3a60;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  font-weight: 600;
}

.page-index-faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-index-faq-question.active::after {
  content: '-';
}

.page-index-faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-index-faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  margin-top: 15px;
}

/* Explore More Section (Detail Pages) */
.page-index-explore-more-section {
  padding: 80px 0;
  background-color: #1a3a60;
}

.page-index-detail-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-detail-item {
  background-color: #0A2240;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index-detail-item:hover {
  transform: translateY(-5px);
}

.page-index-detail-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index-detail-title a {
  color: #FFD700; /* Gold for detail page titles */
  text-decoration: none;
}

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

.page-index-detail-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Bottom CTA Section */
.page-index-cta-bottom-section {
  padding: 80px 0 100px 0;
  background: linear-gradient(45deg, #0A2240, #FFD700);
  text-align: center;
}

.page-index-btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #0A2240; /* Dark blue button on gradient background */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-index-btn-large:hover {
  background-color: #FFD700;
  color: #0A2240;
  border-color: #0A2240;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-title {
    font-size: 2.8em;
  }
  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-hero-description {
    font-size: 1.1em;
  }
  .page-index-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-index-hero-title {
    font-size: 2.2em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index-features-grid, .page-index-game-grid, .page-index-guide-steps, .page-index-detail-pages-grid {
    grid-template-columns: 1fr;
  }
  .page-index-app-download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-btn-app-store, .page-index-btn-google-play {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 1.8em;
  }
  .page-index-section-title {
    font-size: 1.5em;
  }
  .page-index-hero-section, .page-index-about-section, .page-index-why-choose-section, .page-index-game-types-section, .page-index-promotions-section, .page-index-app-section, .page-index-guide-section, .page-index-faq-section, .page-index-explore-more-section, .page-index-cta-bottom-section {
    padding: 40px 0;
  }
  .page-index-btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}