/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #f5f5f5; /* Light text on dark background for contrast */
  line-height: 1.6;
}

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

.page-index__highlight {
  color: #E3B505;
}

.page-index__section-title {
  font-size: 2.8em;
  color: #E3B505; /* Primary heading color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__btn--primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

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

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

.page-index__btn--secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
}

.page-index__btn--text {
  color: #E3B505;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  border: none;
  background: none;
  font-size: 1em;
}

.page-index__btn--text:hover {
  text-decoration: underline;
}

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

.page-index__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Hero Section */
.page-index__hero {
  background: linear-gradient(135deg, #0A2463 0%, #1a3c7a 100%);
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  color: #f5f5f5;
}

.page-index__hero-content {
  max-width: 900px;
  z-index: 10;
}

.page-index__hero-title {
  font-size: 4.2em;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #f5f5f5;
}

.page-index__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-index__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 1;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.page-index__about .page-index__section-title {
  color: #E3B505;
}

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

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

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

/* Features Section */
.page-index__features {
  background-color: #1a3c7a;
  padding: 80px 0;
  color: #f5f5f5;
}

.page-index__features .page-index__section-title {
  color: #E3B505;
}

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

.page-index__feature-item {
  background-color: #0A2463;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-10px);
}

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(227, 181, 5, 0.7));
}

.page-index__feature-title {
  font-size: 1.6em;
  color: #E3B505;
  margin-bottom: 15px;
}

.page-index__feature-item p {
  color: #cccccc;
  font-size: 1em;
}

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

.page-index__games .page-index__section-title {
  color: #E3B505;
}

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

.page-index__category-item {
  background-color: #1a3c7a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index__category-item:hover {
  transform: translateY(-10px);
}

.page-index__category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
}

.page-index__category-title {
  font-size: 1.5em;
  color: #E3B505;
  margin: 20px 0 10px;
}

.page-index__category-item p {
  color: #cccccc;
  padding: 0 20px 20px;
  font-size: 0.95em;
}

.page-index__category-item .page-index__btn {
  margin-bottom: 20px;
}

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

.page-index__promotions .page-index__section-title {
  color: #E3B505;
}

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

.page-index__promo-item {
  background-color: #0A2463;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index__promo-item:hover {
  transform: translateY(-10px);
}

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

.page-index__promo-title {
  font-size: 1.6em;
  color: #E3B505;
  margin: 20px 0 10px;
}

.page-index__promo-item p {
  color: #cccccc;
  padding: 0 20px 20px;
  font-size: 0.95em;
}

.page-index__promo-item .page-index__btn {
  margin-bottom: 20px;
}

.page-index__center-cta {
  text-align: center;
}

/* Mobile App Section */
.page-index__mobile-app {
  background-color: #0A2463;
  padding: 80px 0;
  color: #f5f5f5;
}

.page-index__mobile-app .page-index__section-title {
  color: #E3B505;
}

.page-index__grid--reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.page-index__grid--reverse > *:first-child {
  grid-column: 2;
  direction: ltr;
}

.page-index__grid--reverse > *:last-child {
  grid-column: 1;
  direction: ltr;
}

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

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

.page-index__detail-pages .page-index__section-title {
  color: #E3B505;
}

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

.page-index__detail-item {
  background-color: #0A2463;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index__detail-item:hover {
  transform: translateY(-10px);
}

.page-index__detail-title {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-index__detail-title a {
  color: #E3B505;
  text-decoration: none;
}

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

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

/* Bottom CTA Section */
.page-index__cta-bottom {
  background: linear-gradient(45deg, #0A2463, #3a5b9c);
  padding: 80px 0;
  text-align: center;
  color: #f5f5f5;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3.5em;
  }
  .page-index__hero-description {
    font-size: 1.3em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__grid {
    grid-template-columns: 1fr;
  }
  .page-index__grid--reverse > *:first-child {
    grid-column: 1;
  }
  .page-index__grid--reverse > *:last-child {
    grid-column: 1;
  }
  .page-index__grid--reverse {
    direction: ltr;
  }
  .page-index__text-content, .page-index__image-wrapper {
    text-align: center;
  }
  .page-index__mobile-image, .page-index__about-image {
    max-width: 80%;
    margin: 20px auto 0;
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    padding: 80px 0;
    min-height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-index__hero-actions .page-index__btn {
    margin: 0;
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__cta-description {
    font-size: 1.1em;
  }
  .page-index__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-index__features-grid, .page-index__game-categories, .page-index__promo-grid, .page-index__detail-list {
    grid-template-columns: 1fr;
  }
  .page-index__about, .page-index__features, .page-index__games, .page-index__promotions, .page-index__mobile-app, .page-index__detail-pages, .page-index__cta-bottom {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 0.95em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__feature-title, .page-index__category-title, .page-index__promo-title, .page-index__detail-title {
    font-size: 1.3em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__hero-actions .page-index__btn {
    width: 90%;
  }
}