/* 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__highlight {
  color: #FFD700;
}

.page-index__keyword {
  color: #1A237E;
  font-weight: bold;
}

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

.page-index__btn--primary {
  background-color: #1A237E;
  color: #fff;
  border: 2px solid #1A237E;
}

.page-index__btn--primary:hover {
  background-color: #0d124f;
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #1A237E;
  border: 2px solid #1A237E;
  margin-left: 15px;
}

.page-index__btn--secondary:hover {
  background-color: #1A237E;
  color: #fff;
  transform: translateY(-2px);
}

.page-index__btn--text {
  background: none;
  border: none;
  color: #1A237E;
  padding: 0;
  margin-top: 10px;
  display: inline-block;
  text-decoration: underline;
}

.page-index__btn--text:hover {
  color: #0d124f;
}

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

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

/* Hero Section */
.page-index__hero {
  background: linear-gradient(135deg, #1A237E 0%, #3f4a9b 100%);
  color: #fff;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 500px;
}

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

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

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

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

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

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

/* General Section Styles */
.page-index__section-title {
  font-size: 2.5em;
  color: #1A237E;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.page-index__about-us, .page-index__why-choose, .page-index__featured-games, .page-index__promotions, .page-index__quick-access, .page-index__detail-pages, .page-index__cta {
  padding: 80px 0;
}

.page-index__about-us {
  background-color: #fff;
}

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

.page-index__about-text {
  flex: 1;
  min-width: 300px;
}

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

.page-index__about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

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

/* Why Choose Section */
.page-index__why-choose {
  background-color: #f0f4f7;
}

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

.page-index__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  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__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-index__feature-item p {
  color: #555;
}

/* Featured Games Section */
.page-index__featured-games {
  background-color: #fff;
}

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

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

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

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

.page-index__game-title {
  font-size: 1.4em;
  color: #1A237E;
  margin: 20px 15px 10px;
}

.page-index__game-description {
  color: #555;
  padding: 0 15px 20px;
}

.page-index__game-card .page-index__btn--small {
  margin-bottom: 20px;
  background-color: #FFD700;
  color: #1A237E;
  border: 2px solid #FFD700;
}

.page-index__game-card .page-index__btn--small:hover {
  background-color: #e5c100;
  border-color: #e5c100;
}

.page-index__view-more {
  text-align: center;
  margin-top: 20px;
}

/* Promotions Section */
.page-index__promotions {
  background-color: #f0f4f7;
}

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

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

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

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

.page-index__promo-title {
  font-size: 1.4em;
  color: #1A237E;
  margin: 20px 15px 10px;
}

.page-index__promo-description {
  color: #555;
  padding: 0 15px 20px;
}

.page-index__promo-card .page-index__btn--small {
  margin-bottom: 20px;
  background-color: #1A237E;
  color: #fff;
  border: 2px solid #1A237E;
}

.page-index__promo-card .page-index__btn--small:hover {
  background-color: #0d124f;
  border-color: #0d124f;
}

/* Quick Access Section */
.page-index__quick-access {
  background-color: #fff;
}

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

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

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

.page-index__step-title {
  font-size: 1.6em;
  color: #1A237E;
  margin-bottom: 10px;
}

.page-index__step-item p {
  color: #555;
  margin-bottom: 20px;
}

.page-index__step-item .page-index__btn--small {
  background-color: #FFD700;
  color: #1A237E;
  border: 2px solid #FFD700;
}

.page-index__step-item .page-index__btn--small:hover {
  background-color: #e5c100;
  border-color: #e5c100;
}

/* Detail Pages Section */
.page-index__detail-pages {
  background-color: #f0f4f7;
}

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

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

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

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

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

.page-index__detail-title a:hover {
  text-decoration: underline;
  color: #0d124f;
}

.page-index__detail-description {
  color: #555;
  margin-bottom: 20px;
}

.page-index__detail-card .page-index__btn--text {
  text-decoration: none;
  font-weight: bold;
}

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

/* CTA Section */
.page-index__cta {
  background: linear-gradient(135deg, #FFD700 0%, #e5c100 100%);
  padding: 100px 0;
  text-align: center;
  color: #1A237E;
}

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

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

.page-index__cta .page-index__btn--primary {
  background-color: #1A237E;
  border-color: #1A237E;
  color: #fff;
}

.page-index__cta .page-index__btn--primary:hover {
  background-color: #0d124f;
  border-color: #0d124f;
}

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

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

  .page-index__hero-image-wrapper {
    padding: 0 20px;
    margin-top: 40px;
  }

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

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

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

  .page-index__about-text, .page-index__about-image {
    min-width: unset;
    width: 100%;
  }

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

@media (max-width: 768px) {
  .page-index__hero {
    padding: 40px 0;
  }

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

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

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

  .page-index__btn--secondary {
    margin-left: 0;
    margin-top: 10px;
  }

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

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

  .page-index__about-us, .page-index__why-choose, .page-index__featured-games, .page-index__promotions, .page-index__quick-access, .page-index__detail-pages, .page-index__cta {
    padding: 60px 0;
  }

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

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

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

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

  .page-index__btn {
    width: 100%;
    margin-left: 0 !important;
  }

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

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

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