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

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

.page-index-hero {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

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

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

.page-index-hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #eee;
}

.page-index-hero-actions .page-index-btn {
  margin: 0 10px;
}

.page-index-hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 0;
  opacity: 0.6;
}

.page-index-hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  transform: translateX(10%);
}

.page-index-section-title {
  font-size: 2.8em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
  font-weight: bold;
}

.page-index-section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.highlight-text {
  color: #FFD700;
}

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

.page-index-btn-primary {
  background-color: #FFD700;
  color: #003366;
}

.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: #003366;
  transform: translateY(-2px);
}

.page-index-btn-promo {
  background-color: #CC0000;
  color: #fff;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-index-btn-promo:hover {
  background-color: #a30000;
}

.page-index-btn-detail {
  background-color: #003366;
  color: #fff;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-index-btn-detail:hover {
  background-color: #001a33;
}

.page-index-about {
  background-color: #fff;
  padding: 80px 0;
}

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

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

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

.page-index-feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-index-feature-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-feature-text {
  color: #666;
}

.page-index-promotions {
  background-color: #f0f4f7;
  padding: 80px 0;
}

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

.page-index-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
}

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

.page-index-card-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-index-card-text {
  color: #666;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-index-games {
  background-color: #fff;
  padding: 80px 0;
}

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

.page-index-category-item {
  text-align: center;
  padding: 30px 20px;
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.page-index-category-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
}

.page-index-category-text {
  color: #666;
}

.page-index-view-more-games {
  text-align: center;
  margin-top: 50px;
}

.page-index-download-app {
  background: linear-gradient(90deg, #003366 0%, #001a33 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-index-download-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-index-download-app .page-index-section-title {
  color: #fff;
}

.page-index-download-app .page-index-section-description {
  color: #eee;
}

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

.page-index-btn-download {
  background-color: #FFD700;
  color: #003366;
  display: flex;
  align-items: center;
  padding: 12px 25px;
  font-size: 1.1em;
}

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

.page-index-app-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.page-index-qr-code {
  width: 180px;
  height: 180px;
  margin-top: 30px;
  border: 5px solid #fff;
  border-radius: 10px;
}

.page-index-download-note {
  margin-top: 20px;
  font-size: 1.1em;
  color: #FFD700;
}

.page-index-detail-pages {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-index-detail-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-detail-item h3 {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-detail-item h3 a {
  color: #003366;
  text-decoration: none;
}

.page-index-detail-item h3 a:hover {
  color: #FFD700;
}

.page-index-detail-item p {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-faq {
  padding: 80px 0;
  background-color: #fff;
}

.page-index-faq-items {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-faq-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
}

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

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

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

.page-index-faq-answer {
  color: #666;
  display: none;
  margin-top: 10px;
}

.page-index-faq-answer.active {
  display: block;
}

.page-index-cta {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

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

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

.page-index-cta-actions .page-index-btn {
  margin: 0 10px;
}

.page-index-copyright {
  background-color: #001a33;
  color: #aaa;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9em;
}

@media (max-width: 992px) {
  .page-index-hero-title {
    font-size: 2.8em;
  }
  .page-index-section-title {
    font-size: 2.2em;
  }
  .page-index-hero-image-wrapper {
    width: 70%;
    transform: translateX(15%);
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 80px 0;
    min-height: 500px;
  }
  .page-index-hero-title {
    font-size: 2.2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-hero-actions .page-index-btn {
    margin: 0;
    width: 80%;
    max-width: 250px;
  }
  .page-index-hero-image-wrapper {
    display: none;
  }
  .page-index-section-title {
    font-size: 2em;
    padding-top: 40px;
  }
  .page-index-section-description {
    margin-bottom: 30px;
  }
  .page-index-features-grid, .page-index-promotion-cards, .page-index-game-categories, .page-index-detail-list {
    grid-template-columns: 1fr;
  }
  .page-index-card-image {
    height: 180px;
  }
  .page-index-download-app .page-index-section-title {
    font-size: 2.2em;
  }
  .page-index-app-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-btn-download {
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
  }
  .page-index-cta-title {
    font-size: 2em;
  }
  .page-index-cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-cta-actions .page-index-btn {
    margin: 0;
    width: 80%;
    max-width: 250px;
  }
  .page-index-faq-question {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 1.8em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-card-title {
    font-size: 1.4em;
  }
  .page-index-category-title {
    font-size: 1.3em;
  }
  .page-index-cta-title {
    font-size: 1.8em;
  }
  .page-index-faq-question {
    font-size: 1.1em;
  }
}