/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #20003D; /* Darker background for contrast */
}

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

.page-index__hero-section {
  background: linear-gradient(135deg, #4B0082, #6A00B2);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-index__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #FFFFFF;
}

.page-index__main-heading {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFC107; /* Auxiliary color for main heading */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-index__sub-heading {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #E0E0E0;
  line-height: 1.5;
}

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

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
}

.page-index__button--primary {
  background-color: #FFC107;
  color: #4B0082; /* Main color for text on primary button */
}

.page-index__button--primary:hover {
  background-color: #FFD700;
  transform: translateY(-3px);
}

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

.page-index__button--secondary:hover {
  background-color: rgba(255, 193, 7, 0.1);
  transform: translateY(-3px);
}

.page-index__button--center {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-index__section-title {
  font-size: 2.8em;
  color: #FFC107;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 60px;
  font-weight: bold;
}

.page-index__section-description {
  font-size: 1.1em;
  color: #C0C0C0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-index__about-section, .page-index__popular-games-section, .page-index__promotions-section, .page-index__app-download-section, .page-index__guides-section, .page-index__explore-more-section, .page-index__cta-section {
  padding: 80px 0;
  background-color: #20003D;
}

.page-index__about-section {
  background-color: #1A0033;
}

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

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

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

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFC107);
}

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

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

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

.page-index__game-card {
  background-color: #4B0082;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFC107;
}

.page-index__game-title {
  font-size: 1.5em;
  color: #FFC107;
  margin: 20px 15px 10px 15px;
}

.page-index__game-description {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 15px 20px 15px;
  line-height: 1.5;
}

.page-index__game-card .page-index__button {
  margin-bottom: 20px;
}

.page-index__promotions-section {
  background-color: #1A0033;
}

.page-index__promo-card {
  display: flex;
  align-items: center;
  background-color: #4B0082;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__promo-image {
  width: 40%;
  height: 250px;
  object-fit: cover;
  border-right: 3px solid #FFC107;
}

.page-index__promo-content {
  padding: 30px;
  width: 60%;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: #FFC107;
  margin-bottom: 15px;
}

.page-index__promo-text {
  font-size: 1em;
  color: #C0C0C0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-index__app-download-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-index__app-image {
  width: 300px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(255, 193, 7, 0.5));
}

.page-index__app-info {
  max-width: 500px;
}

.page-index__app-subtitle {
  font-size: 2em;
  color: #FFC107;
  margin-bottom: 20px;
}

.page-index__app-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__app-features-list li {
  font-size: 1.1em;
  color: #E0E0E0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-index__icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.page-index__icon--check {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FFC107"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>');
}

.page-index__guides-section {
  background-color: #1A0033;
}

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

.page-index__step-item {
  background-color: #4B0082;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index__step-text {
  font-size: 1em;
  color: #C0C0C0;
  line-height: 1.6;
}

.page-index__explore-more-section {
  background-color: #20003D;
}

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

.page-index__detail-card {
  background-color: #4B0082;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

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

.page-index__cta-section {
  background: linear-gradient(135deg, #FFC107, #FFD700);
  padding: 100px 0;
  text-align: center;
}

.page-index__cta-section .page-index__section-title {
  color: #4B0082;
}

.page-index__cta-section .page-index__section-description {
  color: #6A00B2;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .page-index__main-heading {
    font-size: 2.8em;
  }
  .page-index__sub-heading {
    font-size: 1.3em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__promo-image {
    width: 100%;
    height: 200px;
    border-right: none;
    border-bottom: 3px solid #FFC107;
  }
  .page-index__promo-content {
    width: 100%;
    padding: 20px;
  }
  .page-index__promo-card {
    flex-direction: column;
  }
  .page-index__app-download-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-index__app-image {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 80px 0;
  }
  .page-index__main-heading {
    font-size: 2.2em;
  }
  .page-index__sub-heading {
    font-size: 1.1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__button {
    width: 80%;
    max-width: 300px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-description {
    font-size: 1em;
  }
  .page-index__features-grid, .page-index__games-grid, .page-index__guide-steps, .page-index__detail-pages-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promo-image {
    height: 180px;
  }
  .page-index__promo-title {
    font-size: 1.5em;
  }
  .page-index__app-subtitle {
    font-size: 1.7em;
  }
  .page-index__step-title, .page-index__detail-title {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .page-index__main-heading {
    font-size: 1.8em;
  }
  .page-index__sub-heading {
    font-size: 0.9em;
  }
  .page-index__hero-section {
    padding: 60px 0;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-index__promo-image {
    height: 150px;
  }
}