/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A1A2E;
}

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

.page-index-section-title {
  font-size: 2.5em;
  color: #E6B325; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
}

.page-index-text {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  color: #CCCCCC; /* Slightly darker light gray for paragraphs */
}

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

.page-index-btn-primary {
  background-color: #E6B325; /* Gold button */
  color: #1A1A2E; /* Dark text on gold */
  border: 2px solid #E6B325;
}

.page-index-btn-primary:hover {
  background-color: #FFD700; /* Lighter gold on hover */
  color: #000000; /* Black text on hover */
  border-color: #FFD700;
}

.page-index-btn-secondary {
  background-color: transparent;
  color: #E6B325; /* Gold text for secondary button */
  border: 2px solid #E6B325;
}

.page-index-btn-secondary:hover {
  background-color: #E6B325;
  color: #1A1A2E;
}

.page-index-btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

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

.page-index-btn-link {
  background: none;
  border: none;
  color: #E6B325;
  padding: 0;
  text-decoration: underline;
}

.page-index-btn-link:hover {
  color: #FFD700;
}

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #1A1A2E 0%, #3a3a5e 100%); /* Dark gradient */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-index-hero-subtitle {
  font-size: 1.5em;
  color: #F0F0F0; /* Light text for subtitle */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* About AX88 Section */
.page-index-about-ax88 {
  padding: 60px 0;
  background-color: #111122; /* Slightly lighter dark background */
}

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

.page-index-feature-item {
  background-color: #1A1A2E;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E2E4E;
}

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

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

.page-index-feature-description {
  font-size: 1em;
  color: #B0B0B0;
  line-height: 1.5;
}

.page-index-image-full {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 40px auto 0 auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Game Categories Section */
.page-index-game-categories {
  padding: 60px 0;
  background-color: #1A1A2E;
}

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

.page-index-category-item {
  background-color: #111122;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #2E2E4E;
}

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

.page-index-category-title {
  font-size: 1.6em;
  color: #E6B325;
  margin-bottom: 10px;
  padding: 0 15px;
  font-weight: bold;
}

.page-index-category-description {
  font-size: 0.95em;
  color: #B0B0B0;
  line-height: 1.4;
  padding: 0 15px;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-index-promotions {
  padding: 60px 0;
  background-color: #111122;
}

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

.page-index-promo-item {
  background-color: #1A1A2E;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E2E4E;
}

.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.8em;
  color: #E6B325;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-promo-description {
  font-size: 1em;
  color: #B0B0B0;
  line-height: 1.5;
  margin-bottom: 25px;
}

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

.page-index-app-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 40px;
}

.page-index-app-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-index-app-qr {
  flex-shrink: 0;
  text-align: center;
}

.page-index-qr-code {
  width: 200px;
  height: 200px;
  border: 5px solid #E6B325;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(230, 179, 37, 0.5);
}

.page-index-app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.page-index-app-features li {
  font-size: 1.1em;
  color: #F0F0F0;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-index-list-icon {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 3px #E6B325);
}

/* Latest News Section */
.page-index-latest-news {
  padding: 60px 0;
  background-color: #111122;
}

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

.page-index-news-item {
  background-color: #1A1A2E;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E2E4E;
}

.page-index-news-title {
  font-size: 1.5em;
  color: #E6B325;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-news-title a {
  color: #E6B325;
  text-decoration: none;
}

.page-index-news-title a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-news-description {
  font-size: 0.95em;
  color: #B0B0B0;
  line-height: 1.4;
  margin-bottom: 15px;
}

/* CTA Section */
.page-index-cta {
  padding: 80px 0;
  background: linear-gradient(45deg, #1A1A2E, #2E2E4E);
  text-align: center;
}

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

.page-index-cta-description {
  font-size: 1.3em;
  color: #F0F0F0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Detail Pages List */
.page-index-detail-pages {
  padding: 60px 0 80px 0;
  background-color: #1A1A2E;
}

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

.page-index-detail-item {
  background-color: #111122;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E2E4E;
}

.page-index-detail-title {
  font-size: 1.4em;
  color: #E6B325;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-detail-title a {
  color: #E6B325;
  text-decoration: none;
}

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

.page-index-detail-description {
  font-size: 0.95em;
  color: #B0B0B0;
  line-height: 1.4;
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-index-hero-title {
    font-size: 2.5em;
  }

  .page-index-hero-subtitle {
    font-size: 1.2em;
  }

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

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

  .page-index-app-flex {
    flex-direction: column;
  }

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

  .page-index-app-features {
    text-align: center;
    padding-left: 0;
  }
  .page-index-app-features li {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 1.8em;
  }

  .page-index-hero-subtitle {
    font-size: 1em;
  }

  .page-index-hero-actions {
    flex-direction: column;
  }

  .page-index-btn {
    width: 100%;
  }

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

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