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

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

.page-index__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index__subsection-title {
  font-size: 2.2em;
  color: #FFD700; /* Gold for subtitles */
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #B0B0B0; /* Slightly darker light gray for subtitles */
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.5;
}

.page-index p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 1em;
  color: #E0E0E0;
}

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

.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;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold background */
  color: #0A1931; /* Midnight Blue text */
}

.page-index__btn--primary:hover {
  background-color: #E0B500; /* Darker gold on hover */
  transform: translateY(-2px);
}

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

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
  transform: translateY(-2px);
}

.page-index__btn--gold {
  background-color: #FFD700;
  color: #0A1931;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 5px;
  margin-top: 15px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__btn--gold:hover {
  background-color: #E0B500;
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #FFD700;
  color: #0A1931;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index__btn--small:hover {
  background-color: #E0B500;
  transform: translateY(-1px);
}

/* Hero Section */
.page-index__hero {
  background: linear-gradient(135deg, #0A1931, #1A3A6B);
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index__hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
  padding-left: 20px;
}

.page-index__hero-title {
  font-size: 3.8em;
  color: #FFFFFF; /* White for main title */
  margin-bottom: 25px;
  line-height: 1.2;
  font-weight: bold;
}

.page-index__hero-description {
  font-size: 1.3em;
  color: #C0C0C0; /* Light gray for description */
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-index__hero-cta-group {
  display: flex;
  gap: 20px;
}

.page-index__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 20px;
}

.page-index__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-index__features {
  padding: 80px 20px;
  background-color: #0F203D; /* Slightly lighter dark blue */
  text-align: center;
}

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

.page-index__feature-item {
  background-color: #1A2F50; /* Darker blue for feature cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px 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 15px 25px rgba(0, 0, 0, 0.4);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

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

.page-index__feature-text {
  font-size: 1em;
  color: #C0C0C0;
  line-height: 1.6;
}

/* Games Promo Section */
.page-index__games-promo {
  background-color: #0A1931;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap-reverse; /* Image on right for desktop, top for mobile */
}

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

.page-index__games-promo-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__games-promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* App Download Section */
.page-index__app-download {
  background-color: #0F203D;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

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

.page-index__app-download-cta-group {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.page-index__app-download-image-wrapper {
  flex: 1;
  min-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__app-download-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Deep Content Section */
.page-index__deep-content {
  padding: 80px 20px;
  background-color: #0A1931;
  color: #E0E0E0;
}

.page-index__deep-content h4 {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-index__list li {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 8px;
}

.page-index__list strong {
  color: #FFD700;
}

/* Detail Pages Section */
.page-index__detail-pages {
  padding: 80px 20px;
  background-color: #0F203D;
  text-align: center;
}

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

.page-index__detail-item {
  background-color: #1A2F50;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-index__detail-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__detail-title a {
  color: #FFD700; /* Gold for detail page titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__detail-title a:hover {
  color: #E0B500;
  text-decoration: underline;
}

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

/* Final CTA Section */
.page-index__cta-final {
  background: linear-gradient(90deg, #0A1931, #1A3A6B);
  padding: 80px 20px;
  text-align: center;
}

.page-index__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px;
  }

  .page-index__hero-content {
    padding-left: 0;
    text-align: center;
  }

  .page-index__hero-title {
    font-size: 3em;
  }

  .page-index__hero-description {
    font-size: 1.1em;
  }

  .page-index__hero-image-wrapper {
    padding-right: 0;
  }

  .page-index__games-promo,
  .page-index__app-download {
    flex-direction: column;
    text-align: center;
  }

  .page-index__games-promo-content,
  .page-index__app-download-content {
    text-align: center;
  }

  .page-index__hero-cta-group,
  .page-index__app-download-cta-group,
  .page-index__cta-group {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .page-index__btn {
    width: 80%;
    max-width: 300px;
  }

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

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

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

  .page-index__hero-description {
    font-size: 1em;
  }

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

  .page-index__subsection-title {
    font-size: 1.5em;
  }

  .page-index__btn {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-index p,
  .page-index__list li {
    font-size: 0.95em;
  }

  .page-index__feature-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
}