/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

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

.page-index-section-title {
  font-size: 2.5em;
  color: #0D47A1; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

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

.page-index-section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.page-index-highlight {
  color: #0D47A1;
  font-weight: bold;
}

.page-index-long-text {
    font-size: 1.05em;
    margin-top: 30px;
    padding: 20px;
    background-color: #eaf1f8;
    border-left: 5px solid #0D47A1;
    border-radius: 5px;
    color: #333;
}

.page-index-text-center {
  text-align: center;
}

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

/* Buttons */
.page-index-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.05em;
  cursor: pointer;
  border: none;
}

.page-index-btn-primary {
  background-color: #0D47A1; /* Main color */
  color: #ffffff;
}

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

.page-index-btn-secondary {
  background-color: #FFD700; /* Auxiliary color */
  color: #0D47A1;
  margin-left: 15px;
}

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

.page-index-btn-link {
    background: none;
    color: #0D47A1;
    border: 1px solid #0D47A1;
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-index-btn-link:hover {
    background-color: #0D47A1;
    color: #ffffff;
}

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #0D47A1, #1A5FB4);
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.page-index-hero-content {
  max-width: 600px;
}

.page-index-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFD700; /* Auxiliary color for emphasis */
}

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

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

.page-index-hero-image {
  flex-shrink: 0;
  max-width: 500px;
}

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

/* About Section */
.page-index-about {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-index-grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-index-about-content p {
  margin-bottom: 15px;
  color: #444;
  font-size: 1.05em;
}

.page-index-about-image .page-index-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.page-index-games {
  padding: 60px 0;
  background-color: #f0f5fa;
}

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

.page-index-game-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-index-game-item:hover {
  transform: translateY(-5px);
}

.page-index-game-item .page-index-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-index-game-text {
  padding: 0 20px;
  color: #666;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-index-promotions {
  padding: 60px 0;
  background-color: #ffffff;
}

.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: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-index-promo-item:hover {
  transform: translateY(-5px);
}

.page-index-promo-item .page-index-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index-promo-title {
  font-size: 1.6em;
  color: #0D47A1;
  margin-bottom: 10px;
}

.page-index-promo-text {
  padding: 0 20px;
  color: #666;
  margin-bottom: 15px;
}

/* Why Choose Section */
.page-index-why-choose {
  padding: 60px 0;
  background-color: #0D47A1; /* Main color background */
  color: #ffffff;
}

.page-index-why-choose .page-index-section-title {
  color: #FFD700; /* Auxiliary color for title */
}

.page-index-why-choose .page-index-section-title::after {
  background-color: #ffffff;
}

.page-index-why-choose .page-index-section-description {
  color: #e0e0e0;
}

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

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

.page-index-feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-index-feature-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.page-index-feature-title {
  font-size: 1.8em;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-index-feature-text {
  color: #e0e0e0;
  font-size: 1.05em;
}

/* App Download Section */
.page-index-app-download {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-index-app-download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-index-app-text {
  max-width: 500px;
}

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

.page-index-app-benefits li {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #444;
}

.page-index-app-benefits li::before {
  content: '✔';
  color: #FFD700; /* Auxiliary color */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

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

/* Learn More Section (Detail Pages List) */
.page-index-learn-more {
  padding: 60px 0;
  background-color: #f0f5fa;
}

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

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

.page-index-detail-item:hover {
  transform: translateY(-5px);
}

.page-index-detail-title {
  font-size: 1.6em;
  color: #0D47A1;
  margin-bottom: 10px;
}

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

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

.page-index-detail-description {
  color: #666;
  margin-bottom: 20px;
}

/* Floating Ad Menu */
.page-index-floating-ad {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.page-index-floating-btn {
  display: flex;
  align-items: center;
  background-color: #FFD700; /* Auxiliary color */
  color: #0D47A1; /* Main color */
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.page-index-floating-btn:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-floating-icon {
  margin-right: 10px;
  font-size: 1.5em;
  line-height: 1;
}

.page-index-floating-icon img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.page-index-floating-text {
  margin-right: 5px;
}

.page-index-floating-cta {
  background-color: #0D47A1;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9em;
}

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

  .page-index-hero-image {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-index-hero-title {
    font-size: 2.8em;
  }

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

  .page-index-grid-2-col {
    grid-template-columns: 1fr;
  }

  .page-index-about-image {
    order: -1;
    margin-bottom: 30px;
  }

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

  .page-index-app-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-section-title {
    font-size: 2em;
  }

  .page-index-hero {
    padding: 60px 15px;
  }

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

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

  .page-index-btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-index-btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-index-game-grid, .page-index-promo-grid, .page-index-features-grid, .page-index-detail-pages-grid {
    grid-template-columns: 1fr;
  }

  .page-index-floating-ad {
    bottom: 20px;
    right: 20px;
  }

  .page-index-floating-btn {
    padding: 8px 15px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 1.8em;
  }

  .page-index-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-index-btn-secondary {
    margin-top: 10px;
  }

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

  .page-index-long-text {
      padding: 15px;
      font-size: 0.95em;
  }
}