/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text for contrast on dark background */
  background-color: #0F1A2C; /* Slightly darker than primary for body background */
}

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

.page-index__hero {
  background: linear-gradient(135deg, #1A2B4C, #0F1A2C); /* Dark blue gradient */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #FFD700; /* Gold for hero text */
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.page-index__hero .page-index__container {
  position: relative;
  z-index: 1;
}

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E0E0E0; /* Light gray for description */
}

.page-index__hero-cta {
  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 */
  color: #1A2B4C; /* Dark blue */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index__btn--primary:hover {
  background-color: #E6C200; /* Slightly darker gold */
  transform: translateY(-3px);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2B4C;
  transform: translateY(-3px);
}

.page-index__btn--detail, .page-index__btn--read-more, .page-index__btn--promo {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    background-color: #FFD700;
    color: #1A2B4C;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-index__btn--detail:hover, .page-index__btn--read-more:hover, .page-index__btn--promo:hover {
    background-color: #E6C200;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-index__section-description {
  font-size: 1.1em;
  color: #B0B0B0; /* Lighter gray for section descriptions */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

/* Why Choose Us Section */
.page-index__why-choose-us {
  padding: 80px 0;
  background-color: #1A2B4C; /* Primary dark blue */
}

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

.page-index__feature-item {
  background-color: #0F1A2C; /* Darker background for items */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-index__feature-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for feature titles */
  margin-bottom: 15px;
}

.page-index__feature-text {
  font-size: 1em;
  color: #C0C0C0; /* Light gray for feature text */
  line-height: 1.6;
}

/* Featured Platforms Section */
.page-index__featured-platforms {
  padding: 80px 0;
  background-color: #0F1A2C;
}

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

.page-index__platform-card {
  background-color: #1A2B4C;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index__platform-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid #FFD700;
  padding: 5px;
}

.page-index__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__card-title a.page-index__card-link {
  color: inherit;
  text-decoration: none;
}

.page-index__card-title a.page-index__card-link:hover {
  text-decoration: underline;
}

.page-index__card-description {
  font-size: 0.95em;
  color: #C0C0C0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__cta-section {
  text-align: center;
  margin-top: 50px;
}

/* Latest Promotions Section */
.page-index__promotions {
  padding: 80px 0;
  background-color: #1A2B4C;
}

.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: #0F1A2C;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index__promo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FFD700;
}

.page-index__promo-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__promo-text {
  font-size: 0.95em;
  color: #C0C0C0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Game Guides and Strategies Section */
.page-index__guides {
  padding: 80px 0;
  background-color: #0F1A2C;
}

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

.page-index__article-card {
  background-color: #1A2B4C;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index__article-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FFD700;
}

.page-index__article-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__article-title a.page-index__card-link {
  color: inherit;
  text-decoration: none;
}

.page-index__article-title a.page-index__card-link:hover {
  text-decoration: underline;
}

.page-index__article-excerpt {
  font-size: 0.95em;
  color: #C0C0C0;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Final CTA Section */
.page-index__final-cta {
  padding: 80px 0;
  background: linear-gradient(45deg, #1A2B4C, #0F1A2C); /* Dark blue gradient */
  text-align: center;
  color: #E0E0E0;
}

.page-index__final-cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #FFD700;
}

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

.page-index__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

  .page-index__hero-description,
  .page-index__section-description,
  .page-index__final-cta-description {
    font-size: 1em;
  }

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

  .page-index__hero-cta, .page-index__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__btn, .page-index__btn--large {
    width: 80%;
    margin: 0 auto;
  }

  .page-index__features-grid, .page-index__platform-cards, .page-index__promo-grid, .page-index__guide-articles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }

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

  .page-index__feature-title, .page-index__card-title, .page-index__promo-title, .page-index__article-title {
    font-size: 1.4em;
  }

  .page-index__btn, .page-index__btn--large {
    width: 90%;
  }
}