/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Default text color for dark backgrounds */
  background-color: #000080; /* Dark blue background */
}

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

/* Hero Section */
.page-index-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  padding: 80px 20px;
  background: linear-gradient(135deg, #000080 0%, #00004d 100%);
  color: #FFD700;
  text-align: center;
  overflow: hidden;
}

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

.page-index-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-index-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-index-hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #FFFFFF;
  line-height: 1.5;
}

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

/* Buttons */
.page-index-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.page-index-btn-primary {
  background-color: #FFD700;
  color: #000080;
  border-color: #FFD700;
}

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

.page-index-btn-secondary {
  background-color: #0028ff; /* Complementary to #FFD700 for emphasis */
  color: #FFFFFF;
  border-color: #0028ff;
}

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

.page-index-btn-outline {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

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

.page-index-btn-link {
  color: #FFD700;
  text-decoration: underline;
  background-color: transparent;
  border: none;
  padding: 0;
  font-size: 1em;
  font-weight: normal;
}

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

.page-index-btn-play {
  background-color: #FFD700;
  color: #000080;
  border-color: #FFD700;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-index-btn-play:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

/* General Section Styling */
.page-index-section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-index-sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-index-text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-index-about, .page-index-features, .page-index-games, .page-index-promotions, .page-index-app-download, .page-index-deep-content, .page-index-detail-pages, .page-index-cta {
  padding: 60px 0;
  background-color: #000080;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-index-feature-item {
  background-color: #00004d; /* Slightly lighter dark blue */
  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.5);
}

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

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

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

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

.page-index-game-item {
  background-color: #00004d;
  padding: 20px;
  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-game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index-game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-index-game-description {
  font-size: 0.95em;
  color: #CCCCCC;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-index-promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  font-size: 1.1em;
  color: #FFFFFF;
  text-align: center;
}

.page-index-promo-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-index-promo-list li::before {
  content: '⚡'; /* Lightning bolt emoji */
  position: absolute;
  left: 0;
  color: #FFD700;
}

.page-index-promo-highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-index-promotion-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* App Download Section */
.page-index-app-download {
  text-align: center;
  background: linear-gradient(135deg, #000080 0%, #00004d 100%);
}

.page-index-app-download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

/* Deep Content Section */
.page-index-deep-content {
  padding: 80px 0;
  background-color: #000066; /* Slightly different dark blue */
}

/* Detail Pages Section */
.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: #00004d;
  padding: 25px;
  border-radius: 10px;
  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 8px 20px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-index-detail-description {
  font-size: 0.95em;
  color: #CCCCCC;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* CTA Section */
.page-index-cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(90deg, #FFD700 0%, #b39700 100%);
  color: #000080;
}

.page-index-cta .page-index-section-title {
  color: #000080;
}

.page-index-cta .page-index-section-title::after {
  background-color: #000080;
}

.page-index-cta .page-index-text-content {
  color: #000080;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-index-cta .page-index-btn-primary {
  background-color: #000080;
  color: #FFD700;
  border-color: #000080;
}

.page-index-cta .page-index-btn-primary:hover {
  background-color: #000066;
  border-color: #000066;
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-title {
    font-size: 2.8em;
  }
  .page-index-hero-subtitle {
    font-size: 1.3em;
  }
  .page-index-section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    min-height: 450px;
  }
  .page-index-hero-title {
    font-size: 2.2em;
  }
  .page-index-hero-subtitle {
    font-size: 1.1em;
  }
  .page-index-hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-feature-grid, .page-index-game-categories, .page-index-detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index-app-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 1.8em;
  }
  .page-index-hero-subtitle {
    font-size: 1em;
  }
  .page-index-btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-index-section-title {
    font-size: 1.5em;
  }
  .page-index-sub-title {
    font-size: 1.5em;
  }
  .page-index-text-content {
    font-size: 0.95em;
  }
}