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

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

.page-index__section-title {
  font-size: 2.5em;
  color: #000080; /* Dark blue */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.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-color 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark blue */
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

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

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

/* Hero Section */
.page-index__hero {
  background: linear-gradient(135deg, #000080 0%, #000050 100%); /* Dark blue gradient */
  color: #fff;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 600px;
  text-align: left;
}

.page-index__hero-content {
  max-width: 600px;
  padding: 0 20px;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold */
  font-weight: bold;
}

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

.page-index__hero-actions {
  display: flex;
  gap: 20px;
}

.page-index__hero-image-wrapper {
  flex-shrink: 0;
  max-width: 500px;
  text-align: center;
}

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

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

.page-index__about-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index__about-text {
  flex: 1;
  font-size: 1.1em;
  color: #444;
}

.page-index__about-text p {
  margin-bottom: 15px;
}

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

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

.page-index__about-cta {
  margin-top: 20px;
}

/* Games Section */
.page-index__games {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

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

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

.page-index__game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-index__game-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 10px;
}

.page-index__game-description {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-index__promotions {
  padding: 80px 0;
  background-color: #000080; /* Dark blue background */
  color: #fff;
}

.page-index__promotions .page-index__section-title {
  color: #FFD700; /* Gold title on dark blue */
}

.page-index__promotions .page-index__section-subtitle {
  color: #e0e0e0;
}

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

.page-index__promo-card {
  background-color: #1a1a90; /* Slightly lighter dark blue */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index__promo-image {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__promo-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
}

.page-index__promo-description {
  color: #ccc;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-index__all-promos-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-index__app-download .page-index__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index__app-content {
  flex: 1;
}

.page-index__app-description {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 30px;
}

.page-index__app-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.page-index__app-note {
  font-style: italic;
  color: #777;
}

.page-index__app-image-wrapper {
  flex: 1;
  text-align: center;
}

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

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

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

.page-index__feature-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-index__feature-title {
  font-size: 1.4em;
  color: #000080;
  margin-bottom: 10px;
}

.page-index__feature-description {
  color: #666;
  font-size: 0.95em;
}

/* Latest Articles Section (Details Page List) */
.page-index__latest-articles {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index__article-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-index__article-card h3 {
  padding: 15px 20px 0;
}

.page-index__article-card h3 a {
  font-size: 1.4em;
  color: #000080;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index__article-card h3 a:hover {
  color: #FFD700;
}

.page-index__article-description {
  color: #666;
  font-size: 0.95em;
  padding: 0 20px 15px;
}

.page-index__article-card .page-index__btn {
  margin: 0 20px 20px;
}

/* Call to Action Bottom */
.page-index__cta-bottom {
  background: linear-gradient(90deg, #FFD700 0%, #e6c200 100%); /* Gold gradient */
  padding: 60px 0;
  text-align: center;
  color: #000080; /* Dark blue text on gold */
}

.page-index__cta-bottom-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #000080;
}

.page-index__cta-bottom-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333;
}

.page-index__cta-bottom-btn {
  background-color: #000080; /* Dark blue button */
  color: #FFD700; /* Gold text */
  border: 2px solid #000080;
}

.page-index__cta-bottom-btn:hover {
  background-color: #1a1a90;
  border-color: #1a1a90;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px;
    min-height: auto;
  }

  .page-index__hero-content {
    max-width: 100%;
  }

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

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

  .page-index__hero-actions {
    justify-content: center;
  }

  .page-index__about-grid {
    flex-direction: column;
  }

  .page-index__app-download .page-index__container {
    flex-direction: column;
  }

  .page-index__app-image-wrapper {
    order: -1; /* Image above content on mobile */
  }
}

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

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

  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__btn {
    width: 100%;
  }

  .page-index__app-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

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

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

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

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