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

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

.page-index__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  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: #E0B34F;
  border-radius: 2px;
}

.page-index__text-content {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #444;
}

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

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

.page-index__btn--primary:hover {
  background-color: #f0c56c;
  border-color: #f0c56c;
}

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

.page-index__btn--secondary:hover {
  background-color: #1a3a73;
  border-color: #1a3a73;
}

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

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

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #0A2463 0%, #1a3a73 100%);
  color: #FFFFFF;
  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.2;
  z-index: 0;
}

.page-index__hero-section .page-index__container {
  position: relative;
  z-index: 1;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #E0B34F; /* Gold for emphasis */
}

.page-index__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

/* Features Section */
.page-index__features-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-index__feature-item {
  background-color: #f0f4f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  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.1);
}

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(10%) sepia(90%) saturate(1000%) hue-rotate(200deg) brightness(80%) contrast(100%); /* Adjust to match primary color */
}

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

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

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

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

.page-index__game-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-index__game-title {
  font-size: 1.5em;
  color: #0A2463;
  margin: 20px 0 10px;
  padding: 0 15px;
  font-weight: bold;
}

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

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

/* Promo Section */
.page-index__promo-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-index__promo-item {
  background-color: #fef8e7; /* Lighter gold background */
  border: 1px solid #E0B34F;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__promo-image {
  width: 100%;
  max-width: 250px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index__promo-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__promo-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
}

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

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

.page-index__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-index__step-title {
  font-size: 1.8em;
  color: #E0B34F;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-index__step-item .page-index__btn {
  margin-top: auto;
}

/* Detail Pages List Section */
.page-index__details-list-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

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

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

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

.page-index__detail-card-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__detail-card-title a {
  color: #0A2463;
  text-decoration: none;
}

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

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

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

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

.page-index__cta-final-section .page-index__section-title {
  color: #E0B34F;
}

.page-index__cta-final-section .page-index__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-subtitle {
    font-size: 1.3em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 80px 0;
    min-height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn--large {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__text-content {
    font-size: 1em;
  }
  .page-index__feature-grid, .page-index__game-grid, .page-index__promo-grid, .page-index__guide-steps, .page-index__detail-cards {
    grid-template-columns: 1fr;
  }
  .page-index__feature-item, .page-index__game-item, .page-index__promo-item, .page-index__step-item, .page-index__detail-card {
    padding: 25px;
  }
  .page-index__feature-title, .page-index__game-title, .page-index__promo-title, .page-index__step-title, .page-index__detail-card-title {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    padding: 60px 0;
    min-height: 400px;
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-subtitle {
    font-size: 0.9em;
  }
  .page-index__hero-cta-group .page-index__btn {
    width: 90%;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__btn--large {
    width: 90%;
  }
}