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

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

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

.page-index__section:nth-of-type(even) {
  background-color: #eef2f6;
}

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

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

.page-index__center-text {
  text-align: center;
}

.page-index__max-width-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-index__btn--primary {
  background-color: #FFD700;
  color: #0A2463; /* Dark text for contrast */
  margin: 10px;
}

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

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

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

.page-index__btn--text {
  background: none;
  color: #0A2463;
  padding: 0;
  margin: 10px 0;
  font-size: 1.1em;
}

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

.page-index__icon {
  margin-left: 8px;
  font-size: 1.2em;
}

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

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

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #0A2463 0%, #1a3c7c 100%); /* Dark blue gradient */
  color: #ffffff;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_geometric,blue_gold,digital_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

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

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

.page-index__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
  text-align: center;
}

.page-index__hero-actions {
  margin-top: 30px;
}

.page-index__hero-image-wrapper {
  position: absolute;
  bottom: -50px; /* Adjust to show partial image */
  right: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 0; /* Behind text content */
  opacity: 0.2; /* Subtle background image */
}

.page-index__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content Grid for text and image sections */
.page-index__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-index__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-index__text-content {
  flex: 1;
  min-width: 300px;
}

.page-index__image-content {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Why Choose Section */
.page-index__why-choose .page-index__section-title {
  margin-bottom: 40px;
}

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

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

.page-index__feature-item:hover {
  transform: translateY(-5px);
}

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

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

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

.page-index__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-index__game-card-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

.page-index__mt-40 {
  margin-top: 40px;
}

/* Promotions Section */
.page-index__promotions .page-index__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-index__promotions .page-index__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333;
  display: flex;
  align-items: flex-start;
}

.page-index__promotions .page-index__list-icon {
  color: #FFD700;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.3em;
  line-height: 1;
}

/* App Download Section */
.page-index__app-download .page-index__qr-code-image {
  width: 150px;
  height: 150px;
  margin-bottom: 15px;
  border: 5px solid #0A2463;
  border-radius: 8px;
}

.page-index__app-download-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.page-index__app-item {
  text-align: center;
}

.page-index__app-label {
  font-size: 1.1em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__app-mockup-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-top: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
}

/* Safety Guide Section */
.page-index__safety-guide .page-index__text-content {
  text-align: left;
}

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

.page-index__detail-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  border-left: 5px solid #0A2463;
}

.page-index__detail-card-title {
  font-size: 1.3em;
  color: #0A2463;
  margin-bottom: 10px;
}

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

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

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

/* Final CTA Section */
.page-index__cta-final {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 0;
}

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

.page-index__cta-final .page-index__paragraph {
  color: #e0e0e0;
}

/* Copyright */
.page-index__copyright {
  background-color: #0A2463;
  color: #e0e0e0;
  padding: 20px 0;
  font-size: 0.9em;
  text-align: center;
  border-top: 1px solid #1a3c7c;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }

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

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

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

  .page-index__content-grid--reverse {
    flex-direction: column;
  }

  .page-index__text-content, .page-index__image-content {
    width: 100%;
  }

  .page-index__feature-grid, .page-index__game-categories, .page-index__detail-page-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

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

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

  .page-index__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-index__hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-index__btn--primary, .page-index__btn--secondary {
    width: 80%;
    max-width: 300px;
    margin: 5px auto;
  }

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

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

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

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

  .page-index__paragraph {
    font-size: 0.95em;
  }

  .page-index__feature-grid, .page-index__game-categories, .page-index__detail-page-grid {
    grid-template-columns: 1fr;
  }

  .page-index__app-download-grid {
    flex-direction: column;
    gap: 20px;
  }
}