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

.page-index__section-padding {
  padding: 60px 0;
}

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

.page-index__bg-primary {
  background-color: #003366; /* Main color */
}

.page-index__bg-light {
  background-color: #f8f8f8;
}

.page-index__hero-section {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%); /* Darker gradient for hero */
  color: #fff;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Overlay for readability */
  z-index: 1;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00; /* Accent color for title */
  font-weight: bold;
  line-height: 1.2;
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #e0e0e0; /* Lighter text for contrast */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index__btn--primary {
  background-color: #FFCC00; /* Accent color */
  color: #003366; /* Main color for text */
}

.page-index__btn--primary:hover {
  background-color: #e6b800; /* Darker accent on hover */
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFCC00; /* Accent color */
  border: 2px solid #FFCC00;
}

.page-index__btn--secondary:hover {
  background-color: #FFCC00;
  color: #003366; /* Main color for text */
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  background-color: #FFCC00;
  color: #003366;
}

.page-index__btn--small:hover {
  background-color: #e6b800;
  color: #003366;
}

.page-index__btn--light {
  background-color: #fff;
  color: #003366;
  border: 2px solid #fff;
}

.page-index__btn--light:hover {
  background-color: transparent;
  color: #fff;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #003366; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-index__about-item, .page-index__promotion-card, .page-index__game-card, .page-index__detail-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index__about-item:hover, .page-index__promotion-card:hover, .page-index__game-card:hover, .page-index__detail-card:hover {
  transform: translateY(-5px);
}

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

.page-index__item-title, .page-index__card-title {
  font-size: 1.5em;
  color: #003366; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__card-title a {
  color: #003366;
  text-decoration: none;
}

.page-index__card-title a:hover {
  color: #FFCC00;
}

.page-index__item-description, .page-index__card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

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

.page-index__content-depth .page-index__section-title {
  margin-bottom: 30px;
}

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

.page-index__sub-title {
  font-size: 1.8em;
  color: #003366; /* Main color */
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__center-btn {
  text-align: center;
  margin-top: 40px;
}

.page-index__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-index__cta-section {
  text-align: center;
  color: #fff;
}

.page-index__cta-content {
  padding: 60px 20px;
}

.page-index__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFCC00; /* Accent color */
  font-weight: bold;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__sub-title {
    font-size: 1.5em;
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 80px 0;
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index__section-padding {
    padding: 40px 0;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__about-grid, .page-index__promotions-grid, .page-index__games-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promotion-image, .page-index__game-image {
    height: 180px;
  }
  .page-index__text-block {
    font-size: 1em;
  }
  .page-index__sub-title {
    font-size: 1.3em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    padding: 60px 0;
  }
  .page-index__hero-title {
    font-size: 1.6em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__item-title, .page-index__card-title {
    font-size: 1.3em;
  }
  .page-index__promotion-image, .page-index__game-image {
    height: 150px;
  }
  .page-index__cta-title {
    font-size: 1.6em;
  }
}