/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #1A202C; /* Auxiliary color for overall background */
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

.page-index__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #B0B0B0; /* Slightly darker light gray for descriptions */
}

.page-index__text-content {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-index__highlight {
  color: #FFD700; /* Primary color for highlights */
}

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

.page-index__btn--primary {
  background-color: #FFD700; /* Primary color for buttons */
  color: #1A202C; /* Auxiliary color for text on primary buttons */
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #E6C200;
  border-color: #E6C200;
  color: #0F131A;
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Primary color for text on secondary buttons */
  border: 2px solid #FFD700;
}

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

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

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

.page-index__btn--icon i {
  margin-right: 8px;
}

.page-index__mt-30 {
  margin-top: 30px;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #1A202C 0%, #3a475a 100%); /* Dark gradient background */
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,dark_pattern]');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index__hero-section .page-index__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-index__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

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

.page-index__hero-description {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-index__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

/* Features Section */
.page-index__features-section {
  padding: 80px 0;
  background-color: #252D3A; /* Slightly lighter dark background */
}

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

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

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

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow effect on icons */
}

.page-index__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__feature-description {
  font-size: 1em;
  color: #B0B0B0;
  line-height: 1.6;
}

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

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

.page-index__game-card {
  background-color: #252D3A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-index__game-card h3,
.page-index__game-card p,
.page-index__game-card .page-index__btn {
  padding: 0 20px;
}

.page-index__game-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__game-description {
  font-size: 0.95em;
  color: #B0B0B0;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index__game-card .page-index__btn {
  margin-bottom: 20px;
  align-self: center;
}

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

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

.page-index__promo-card {
  background-color: #1A202C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-index__promo-card h3,
.page-index__promo-card p,
.page-index__promo-card .page-index__btn {
  padding: 0 20px;
}

.page-index__promo-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__promo-description {
  font-size: 0.95em;
  color: #B0B0B0;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index__promo-card .page-index__btn {
  margin-bottom: 20px;
  align-self: center;
}

/* App Section */
.page-index__app-section {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-index__app-section .page-index__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index__app-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-index__app-download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index__app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

.page-index__detail-card {
  background-color: #1A202C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-index__detail-title {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-index__detail-description {
  font-size: 0.95em;
  color: #B0B0B0;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index__detail-card .page-index__btn {
  align-self: flex-start;
}

/* CTA Section */
.page-index__cta-section {
  padding: 80px 0;
  background: linear-gradient(90deg, #FFD700, #E6C200);
  color: #1A202C;
  text-align: center;
}

.page-index__cta-content {
  max-width: 800px;
}

.page-index__cta-title {
  font-size: 2.8em;
  color: #1A202C;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__cta-description {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-index__cta-section .page-index__highlight {
  color: #1A202C;
}

.page-index__cta-section .page-index__btn--primary {
  background-color: #1A202C;
  color: #FFD700;
  border-color: #1A202C;
}

.page-index__cta-section .page-index__btn--primary:hover {
  background-color: #3a475a;
  border-color: #3a475a;
  color: #FFD700;
}

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

  .page-index__hero-content,
  .page-index__app-content {
    max-width: 100%;
    text-align: center;
  }

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

  .page-index__hero-image-wrapper,
  .page-index__app-image-wrapper {
    margin-top: 40px;
  }

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

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

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

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

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

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

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

  .page-index__features-grid,
  .page-index__game-categories,
  .page-index__promotions-grid,
  .page-index__detail-pages-grid {
    grid-template-columns: 1fr;
  }

  .page-index__btn--large {
    font-size: 1em;
    padding: 12px 25px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-buttons,
  .page-index__app-download-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__hero-buttons .page-index__btn,
  .page-index__app-download-buttons .page-index__btn {
    width: 100%;
  }

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

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

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

  .page-index__hero-section,
  .page-index__about-section,
  .page-index__features-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__app-section,
  .page-index__detail-pages-section,
  .page-index__cta-section {
    padding: 50px 0;
  }
}