/* style/index.css */
.page-index {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #0056B3;
  text-align: center;
  margin-bottom: 40px;
  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__text-block {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #444;
}

.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;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-index__btn--primary {
  background-color: #FFD700;
  color: #0056B3;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-index__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-index__btn--secondary {
  background-color: #0056B3;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.4);
}

.page-index__btn--secondary:hover {
  background-color: #004085;
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 86, 179, 0.6);
}

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

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

.page-index__btn--text {
  background: none;
  color: #0056B3;
  padding: 0;
  border-bottom: 2px solid #FFD700;
  border-radius: 0;
}

.page-index__btn--text:hover {
  color: #004085;
  border-color: #e6c200;
}

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

.page-index__hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  animation: page-index__bubble-float 10s ease-in-out infinite alternate;
}

.page-index__hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background-color: rgba(255, 215, 0, 0.15);
  border-radius: 50%;
  animation: page-index__bubble-float 12s ease-in-out infinite;
}

@keyframes page-index__bubble-float {
  0% { transform: translate(0, 0); }
  50% { transform: translate(20px, 20px); }
  100% { transform: translate(0, 0); }
}

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

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

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

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

.page-index__hero-image-wrapper {
  margin-left: 50px;
  z-index: 1;
  max-width: 500px;
}

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

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

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

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

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

.page-index__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index__feature-title {
  font-size: 1.5em;
  color: #0056B3;
  margin-bottom: 15px;
}

.page-index__feature-description {
  font-size: 1em;
  color: #555;
}

/* Game Showcase Section */
.page-index__game-showcase {
  padding: 80px 0;
  background-color: #e3eefc;
}

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

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

.page-index__game-category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index__game-category-title {
  font-size: 1.4em;
  color: #0056B3;
  margin: 20px 0 10px;
}

.page-index__game-category-description {
  font-size: 0.95em;
  color: #555;
  padding: 0 20px 20px;
}

/* Promotions Section */
.page-index__promotions {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-index__promo-image {
  max-width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Guide Section */
.page-index__guide {
  padding: 80px 0;
  background-color: #f1f6fc;
}

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

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

.page-index__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #0056B3;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
}

.page-index__step-title {
  font-size: 1.4em;
  color: #0056B3;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-index__guide-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

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

.page-index__mobile-app .page-index__section-title::after {
  background-color: #fff;
}

.page-index__mobile-app .page-index__text-block {
  color: #e0e0e0;
}

.page-index__mobile-app-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.page-index__mobile-app-content {
  max-width: 550px;
  margin-right: 40px;
}

.page-index__mobile-app-image-wrapper {
  flex-shrink: 0;
}

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

/* Security Trust Section */
.page-index__security-trust {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-index__security-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-index__detail-item {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index__detail-title {
  font-size: 1.3em;
  color: #0056B3;
  margin-bottom: 10px;
}

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

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

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

.page-index__detail-item .page-index__btn--small {
  margin-top: auto;
  align-self: flex-start;
}

/* Final CTA Section */
.page-index__final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0056B3, #004085);
  color: #fff;
  text-align: center;
}

.page-index__final-cta .page-index__section-title {
  color: #FFD700;
}

.page-index__final-cta .page-index__section-title::after {
  background-color: #fff;
}

.page-index__final-cta .page-index__text-block {
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
  }
  .page-index__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
  }
  .page-index__hero-image-wrapper {
    margin-left: 0;
  }
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__mobile-app-flex {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-index__mobile-app-content {
    margin-right: 0;
    margin-top: 40px;
  }
}

@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: 1.1em;
  }
  .page-index__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index__btn--large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__features-grid, .page-index__game-categories, .page-index__steps-grid, .page-index__detail-list {
    grid-template-columns: 1fr;
  }
  .page-index__hero-cta-group, .page-index__guide-cta-group {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__btn {
    width: 100%;
  }
  .page-index__mobile-app-image {
    max-width: 280px;
  }
}

/* Counter for steps */
.page-index__guide {
  counter-reset: step-counter;
}