/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #F8F8F8;
  background-color: #1A1A2E;
  line-height: 1.6;
}

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

.page-index__highlight {
  color: #E0B14A;
}

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

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

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

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

.page-index__btn--secondary:hover {
  background-color: #E0B14A;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-index__btn--text {
  background-color: transparent;
  color: #E0B14A;
  border: none;
  padding: 0;
  text-decoration: underline;
}

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

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

.page-index__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
  border-radius: 10px;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #F8F8F8;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #0A2463, #1A1A2E);
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-index__hero-description {
  font-size: 1.2em;
  color: #CCCCCC;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-index__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

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

.page-index__about-content {
  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: #CCCCCC;
}

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

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

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

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

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

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

.page-index__game-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-index__game-card-title {
  font-size: 1.5em;
  color: #E0B14A;
  margin-bottom: 10px;
}

.page-index__game-card-description {
  color: #CCCCCC;
  font-size: 0.95em;
  margin-bottom: 20px;
}

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

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

.page-index__promotion-card {
  background-color: #0A2463;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__promotion-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-index__promotion-card-title {
  font-size: 1.6em;
  color: #E0B14A;
  margin-bottom: 10px;
}

.page-index__promotion-card-description {
  color: #CCCCCC;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-index__full-promo-cta {
  text-align: center;
}

/* How-To Section */
.page-index__how-to-section {
  background-color: #0A2463;
  padding: 80px 0;
}

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

.page-index__step-card {
  background-color: #1A1A2E;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index__step-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index__step-title {
  font-size: 1.8em;
  color: #E0B14A;
  margin-bottom: 10px;
}

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

.page-index__download-app-cta {
  background-color: #1A1A2E;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  margin-top: 50px;
}

.page-index__download-title {
  font-size: 2em;
  color: #F8F8F8;
  margin-bottom: 15px;
}

.page-index__download-app-cta p {
  color: #CCCCCC;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-index__qr-code-image {
  width: 150px;
  height: 150px;
  margin-top: 20px;
  border-radius: 8px;
  background-color: white;
  padding: 10px;
}

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

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

.page-index__feature-card {
  background-color: #0A2463;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-index__feature-description {
  color: #CCCCCC;
  font-size: 0.95em;
}

/* Final CTA Section */
.page-index__cta-final-section {
  background: linear-gradient(45deg, #0A2463, #1A1A2E);
  padding: 100px 0;
  text-align: center;
}

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

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

/* Floating Buttons */
.page-index__floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 100px; /* Adjust to be above footer placeholder */
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-index__float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #E0B14A;
  color: #0A2463;
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  line-height: 1.2;
  padding: 5px;
}

.page-index__float-btn:hover {
  background-color: #f5c862;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__about-content {
    flex-direction: column;
  }
  .page-index__about-image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-index__game-card-image, .page-index__promotion-card-image {
    height: 150px;
  }
  .page-index__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn--primary, .page-index__btn--secondary {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__game-grid, .page-index__promotion-grid, .page-index__steps-grid, .page-index__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index__floating-buttons {
    right: 10px;
    bottom: 80px;
    gap: 10px;
  }
  .page-index__float-btn {
    width: 50px;
    height: 50px;
    font-size: 0.8em;
  }
  .page-index__cta-title {
    font-size: 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.9em;
  }
  .page-index__btn--primary, .page-index__btn--secondary {
    width: 90%;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__section-subtitle {
    font-size: 0.9em;
  }
  .page-index__download-title {
    font-size: 1.5em;
  }
  .page-index__download-app-cta p {
    font-size: 0.9em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
}