/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #f5e6ce; /* Light text for dark background */
  background-color: #0A1931; /* Main background color */
  line-height: 1.6;
}

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

.page-index-highlight {
  color: #FFD700; /* Auxiliary color for highlights */
}

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

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

.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;
  white-space: nowrap;
}

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

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

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text on dark background */
  border: 2px solid #FFD700;
  margin-left: 15px;
}

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

.page-index-btn-tertiary {
  background-color: #1a325a;
  color: #FFD700;
  border: 1px solid #FFD700;
  font-size: 0.95em;
  padding: 10px 20px;
}

.page-index-btn-tertiary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

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

.page-index-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #0A1931 0%, #1a325a 100%);
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-index-hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
  z-index: 1;
}

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

.page-index-hero-description {
  font-size: 1.3em;
  color: #cccccc;
  margin-bottom: 40px;
}

.page-index-hero-actions {
  display: flex;
  gap: 15px;
}

.page-index-hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

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

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

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

.page-index-feature-item {
  background-color: #1a325a; /* Darker blue background */
  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(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-index-feature-text {
  font-size: 1em;
  color: #cccccc;
}

/* Promo CTA Section */
.page-index-promo-cta {
  background: linear-gradient(90deg, #FFD700, #e6c200);
  padding: 60px 0;
  text-align: center;
}

.page-index-promo-title {
  font-size: 3em;
  color: #0A1931;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-promo-description {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-promo-actions .page-index-btn-primary {
  background-color: #0A1931;
  color: #FFD700;
  border-color: #0A1931;
}

.page-index-promo-actions .page-index-btn-primary:hover {
  background-color: #1a325a;
  border-color: #1a325a;
}

.page-index-promo-actions .page-index-btn-secondary {
  background-color: transparent;
  color: #0A1931;
  border-color: #0A1931;
}

.page-index-promo-actions .page-index-btn-secondary:hover {
  background-color: #0A1931;
  color: #FFD700;
}

/* Game Overview Section */
.page-index-game-overview {
  padding: 80px 0;
  background-color: #0A1931;
}

.page-index-game-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-index-game-text {
  flex: 1;
  min-width: 300px;
}

.page-index-game-subtitle {
  font-size: 2em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-game-text p {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 15px;
}

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

.page-index-game-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* App Download Section */
.page-index-app-download {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a325a, #0A1931);
}

.page-index-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap-reverse; /* Image on right, text on left for desktop */
}

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

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

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

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

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

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

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

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

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

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

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

.page-index-detail-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

/* Final CTA Section */
.page-index-cta-final {
  background: linear-gradient(45deg, #FFD700, #e6c200);
  padding: 80px 0;
  text-align: center;
}

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

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

.page-index-cta-final .page-index-btn-primary {
  background-color: #0A1931;
  color: #FFD700;
  border-color: #0A1931;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-index-cta-final .page-index-btn-primary:hover {
  background-color: #1a325a;
  border-color: #1a325a;
}

/* About Platform Section (Long Content) */
.page-index-about-platform {
  padding: 80px 0;
  background-color: #0A1931;
}

.page-index-about-platform p {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index-about-platform h2 {
  margin-bottom: 30px;
}

.page-index-mt-30 {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-title {
    font-size: 3em;
  }
  .page-index-hero-description {
    font-size: 1.1em;
  }
  .page-index-hero-content, .page-index-hero-image-wrapper {
    min-width: unset;
    max-width: 100%;
  }
  .page-index-hero-content {
    text-align: center;
    margin-bottom: 40px;
  }
  .page-index-hero-actions {
    justify-content: center;
  }
  .page-index-game-content, .page-index-app-content {
    flex-direction: column;
  }
  .page-index-game-image-wrapper, .page-index-app-image-wrapper {
    min-width: unset;
    order: -1; /* Image above text for mobile */
  }
  .page-index-app-content {
    flex-direction: column-reverse; /* Text above image for mobile */
  }
  .page-index-app-image-wrapper {
    order: 0;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 80px 0;
  }
  .page-index-hero-title {
    font-size: 2.5em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-section-title {
    font-size: 2.2em;
  }
  .page-index-promo-title, .page-index-cta-title {
    font-size: 2.5em;
  }
  .page-index-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-index-hero-actions {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-promo-title, .page-index-cta-title {
    font-size: 2em;
  }
  .page-index-feature-item {
    padding: 20px;
  }
  .page-index-feature-title {
    font-size: 1.5em;
  }
  .page-index-app-title {
    font-size: 2.2em;
  }
}