/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #1A2E47; /* Chủ đạo */
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #1A2E47;
  text-align: center;
  margin-bottom: 20px;
  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; /* Vàng kim */
  border-radius: 2px;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #5f6d7e;
  text-align: center;
  margin-bottom: 40px;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Vàng kim */
  color: #1A2E47;
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #e5c000;
  border-color: #e5c000;
  color: #1A2E47;
}

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

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2E47;
}

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

.page-index__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #1A2E47 0%, #3a506b 100%); /* Gradient từ xanh đậm sang xanh nhạt */
  color: #ffffff;
  padding: 100px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_geometric,dark_pattern,subtle_texture]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index__hero-section > .page-index__container {
    position: relative;
    z-index: 1;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Vàng kim */
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__hero-actions .page-index__btn {
  margin: 0 10px;
}

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

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-index__about-image-wrapper {
    text-align: center;
}

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

.page-index__about-content h2 {
    text-align: left;
    margin-bottom: 15px;
}

.page-index__about-content h2::after {
    left: 0;
    transform: translateX(0);
}

.page-index__about-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333;
}

/* Why Choose Section */
.page-index__why-choose-section {
  background-color: #f0f2f5;
  padding: 80px 0;
}

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

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

.page-index__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index__feature-title {
  font-size: 1.5em;
  color: #1A2E47;
  margin-bottom: 15px;
}

.page-index__feature-description {
  color: #5f6d7e;
}

/* Featured Games Section */
.page-index__featured-games-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-index__game-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-5px);
}

.page-index__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index__game-card-title {
  font-size: 1.6em;
  color: #1A2E47;
  padding: 15px 20px 5px;
}

.page-index__game-card-description {
  color: #5f6d7e;
  padding: 0 20px 15px;
  font-size: 0.95em;
}

.page-index__game-card .page-index__btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-index__view-all-games {
  text-align: center;
}

/* Promotions Section */
.page-index__promotions-section {
  background-color: #1A2E47;
  color: #ffffff;
  padding: 80px 0;
}

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

.page-index__promotions-content h2,
.page-index__promotions-content p {
  color: #ffffff;
  text-align: left;
}

.page-index__promotions-content h2::after {
    left: 0;
    transform: translateX(0);
    background-color: #FFD700;
}

.page-index__promotions-image-wrapper {
    text-align: center;
}

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

.page-index__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-index__promo-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.93"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #e0e0e0;
  font-size: 1.1em;
}

/* Download Section */
.page-index__download-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-index__download-content h2 {
    text-align: left;
    margin-bottom: 15px;
}

.page-index__download-content h2::after {
    left: 0;
    transform: translateX(0);
}

.page-index__download-content p {
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #333;
}

.page-index__download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index__btn--download {
  background-color: #1A2E47;
  color: #ffffff;
  border: 2px solid #1A2E47;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.page-index__btn--download:hover {
  background-color: #0d1a2b;
  border-color: #0d1a2b;
}

.page-index__download-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: invert(1) brightness(1.5); /* Làm sáng icon để nổi bật trên nền xanh */
}

.page-index__download-image-wrapper {
    text-align: center;
}

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

/* Detail Pages Section */
.page-index__detail-pages-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-index__detail-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-index__detail-card:hover {
  transform: translateY(-5px);
}

.page-index__detail-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index__detail-card-title {
  font-size: 1.6em;
  padding: 15px 20px 5px;
}

.page-index__detail-card-title a {
    color: #1A2E47;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index__detail-card-title a:hover {
    color: #FFD700;
}

.page-index__detail-card-description {
  color: #5f6d7e;
  padding: 0 20px 15px;
  font-size: 0.95em;
}

.page-index__detail-card .page-index__btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* CTA Section */
.page-index__cta-section {
  background: linear-gradient(45deg, #1A2E47, #3a506b);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-index__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-index__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-index__about-grid,
  .page-index__promotions-grid,
  .page-index__download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-index__about-section .page-index__about-content,
  .page-index__download-section .page-index__download-content {
      order: 0;
  }

  .page-index__promotions-section .page-index__promotions-content {
      order: 1;
  }

  .page-index__about-section .page-index__about-image-wrapper,
  .page-index__promotions-section .page-index__promotions-image-wrapper,
  .page-index__download-section .page-index__download-image-wrapper {
      order: 1;
  }

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

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

  .page-index__about-content h2,
  .page-index__promotions-content h2,
  .page-index__download-content h2 {
      text-align: left;
  }

  .page-index__about-content h2::after,
  .page-index__promotions-content h2::after,
  .page-index__download-content h2::after {
      left: 0;
      transform: translateX(0);
  }

  .page-index__cta-title {
    font-size: 4em;
  }
}

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

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

  .page-index__hero-actions .page-index__btn {
    margin: 10px 0;
    display: block;
    width: 100%;
  }

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

  .page-index__section-subtitle {
    font-size: 1em;
  }

  .page-index__feature-item,
  .page-index__game-card,
  .page-index__detail-card {
    margin-bottom: 20px;
  }

  .page-index__cta-title {
    font-size: 2.5em;
  }

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

  .page-index__download-buttons {
      flex-direction: column;
      align-items: center;
  }

  .page-index__btn--download {
      width: 100%;
      max-width: 280px;
  }

  .page-index__about-content h2,
  .page-index__promotions-content h2,
  .page-index__download-content h2 {
      text-align: center;
  }

  .page-index__about-content h2::after,
  .page-index__promotions-content h2::after,
  .page-index__download-content h2::after {
      left: 50%;
      transform: translateX(-50%);
  }
}