/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #e5d1bb; /* Light text for dark background */
  background-color: #1A2E44; /* Primary dark background */
}

.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;
}

.page-index-section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

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

.page-index-hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

.page-index-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-index-hero > .page-index-container {
  position: relative;
  z-index: 1;
}

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

.page-index-hero-subtitle {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-index-hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-index-btn-primary:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-index-btn-secondary {
  background-color: #3a506b;
  color: #e5d1bb;
  border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
  background-color: #4b627e;
  transform: translateY(-2px);
}

.page-index-btn-tertiary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-btn-tertiary:hover {
  background-color: #FFD700;
  color: #1A2E44;
  transform: translateY(-2px);
}

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

.page-index-about-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index-about-text {
  flex: 2;
  font-size: 1.1em;
  line-height: 1.7;
  color: #e5d1bb;
}

.page-index-about-text strong {
  color: #FFD700;
}

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

.page-index-about-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-index-features {
  padding: 80px 0;
  background-color: #243e5c;
}

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

.page-index-feature-item {
  background-color: #1A2E44;
  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;
}

.page-index-feature-item p {
  font-size: 1em;
  line-height: 1.5;
  color: #e5d1bb;
}

/* Games Showcase */
.page-index-games-showcase {
  padding: 80px 0;
  background-color: #1A2E44;
}

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

.page-index-game-card {
  background-color: #243e5c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

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

.page-index-game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-index-game-description {
  font-size: 1em;
  color: #e5d1bb;
  padding: 0 20px 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.page-index-btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
  background-color: #FFD700;
  color: #1A2E44;
}

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

/* Promotions Section */
.page-index-promotions {
  padding: 80px 0;
  background-color: #243e5c;
}

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

.page-index-promo-card {
  background-color: #1A2E44;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.page-index-promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index-promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-index-promo-description {
  font-size: 1em;
  color: #e5d1bb;
  padding: 0 20px 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.page-index-btn-promo {
  padding: 12px 25px;
  font-size: 1em;
  margin-bottom: 20px;
  background-color: #FFD700;
  color: #1A2E44;
}

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

/* Guides Section */
.page-index-guides {
  padding: 80px 0;
  background-color: #1A2E44;
}

.page-index-guide-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  color: #e5d1bb;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-index-guide-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-index-guide-list li::before {
  content: '⚡'; /* Unicode lightning bolt */
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
  top: 0;
}

.page-index-guide-list strong {
  color: #FFD700;
}

/* Detail Pages Section */
.page-index-detail-pages {
  padding: 80px 0;
  background-color: #243e5c;
}

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

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

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

.page-index-detail-title {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-index-detail-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index-detail-description {
  font-size: 1em;
  color: #e5d1bb;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-btn-detail {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #FFD700;
  color: #1A2E44;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

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

/* Bottom CTA */
.page-index-cta-bottom {
  background: linear-gradient(45deg, #1A2E44, #3a506b);
  padding: 80px 0;
  text-align: center;
  color: #e5d1bb;
}

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

.page-index-cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-index-btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-title {
    font-size: 2.8em;
  }
  .page-index-hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-about-content {
    flex-direction: column;
  }
  .page-index-about-image {
    margin-top: 30px;
  }
  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index-hero-title {
    font-size: 2.2em;
  }
  .page-index-hero-subtitle {
    font-size: 1em;
  }
  .page-index-hero-cta-group {
    flex-direction: column;
  }
  .page-index-btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-cta-title {
    font-size: 2em;
  }
  .page-index-btn-large {
    width: 90%;
  }
}

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