.page-index {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-index-highlight {
  color: #FFD700;
}

.page-index-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

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

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

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #003366;
}

.page-index-btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-index-btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #003366, #001a33);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.page-index-hero .page-index-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

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

.page-index-hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  opacity: 0.9;
}

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

.page-index-hero-image {
  margin-top: 40px;
}

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

/* General Section Styling */
.page-index-section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #003366;
}

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

.page-index-about, .page-index-games, .page-index-offers, .page-index-app-download, .page-index-tips, .page-index-detail-pages {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-index-about {
  background-color: #fff;
}

.page-index-games, .page-index-offers, .page-index-tips {
  background-color: #eef2f6;
}

/* Features Grid */
.page-index-features-grid, .page-index-game-grid, .page-index-offer-grid, .page-index-tip-grid, .page-index-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-feature-item, .page-index-game-item, .page-index-offer-item, .page-index-tip-item, .page-index-detail-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-feature-item:hover, .page-index-game-item:hover, .page-index-offer-item:hover, .page-index-tip-item:hover, .page-index-detail-item:hover {
  transform: translateY(-5px);
}

.page-index-feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.page-index-feature-title, .page-index-game-title, .page-index-offer-title, .page-index-tip-title, .page-index-detail-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-game-img, .page-index-offer-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-game-item p, .page-index-offer-item p, .page-index-tip-item p, .page-index-detail-item p {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-index-game-item .page-index-btn, .page-index-offer-item .page-index-btn, .page-index-detail-item .page-index-btn {
  margin-top: auto;
}

.page-index-tip-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

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

.page-index-detail-title a:hover {
  color: #FFD700;
}

/* App Download Section */
.page-index-app-download .page-index-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.page-index-app-content {
  flex: 1;
  text-align: left;
}

.page-index-app-content .page-index-section-title, .page-index-app-content .page-index-section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-index-download-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

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

.page-index-app-image img {
  max-width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Final CTA */
.page-index-cta-final {
  background: linear-gradient(90deg, #003366, #004d99);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-index-cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #fff;
}

.page-index-cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-title {
    font-size: 2.5em;
  }
  .page-index-hero-description {
    font-size: 1.1em;
  }
  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-section-description {
    font-size: 1em;
  }
  .page-index-app-download .page-index-container {
    flex-direction: column;
    text-align: center;
  }
  .page-index-app-content {
    text-align: center;
  }
  .page-index-app-content .page-index-section-title, .page-index-app-content .page-index-section-description {
    text-align: center;
  }
  .page-index-download-buttons {
    justify-content: center;
  }
  .page-index-app-image img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 60px 0;
  }
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-index-btn-secondary {
    margin-left: 0;
  }
  .page-index-features-grid, .page-index-game-grid, .page-index-offer-grid, .page-index-tip-grid, .page-index-detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-cta-title {
    font-size: 2em;
  }
  .page-index-cta-description {
    font-size: 1em;
  }
}

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