/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Light text on dark background */
  background-color: #0A1931; /* Main dark background */
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

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

.page-index__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #CCCCCC;
  text-align: justify;
}

.page-index__brand-highlight {
  color: #FFD700;
}

.page-index__keyword {
  font-weight: bold;
  color: #FFD700;
}

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

.page-index__hero-content {
  z-index: 1;
  max-width: 900px;
}

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

.page-index__hero-description {
  font-size: 1.5em;
  color: #E0E0E0;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

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

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

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

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

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-index__btn--text {
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
  display: inline-block;
}

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

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FFD700;
  color: #0A1931;
  border: none;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

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

.page-index__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 50%; /* Adjust as needed */
  height: auto;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

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

/* Featured Games Section */
.page-index__featured-games {
  padding: 80px 0;
  background-color: #1a2a47; /* Slightly lighter dark background */
}

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

.page-index__game-card {
  background-color: #0A1931;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__game-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-index__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__game-description {
  font-size: 1em;
  color: #CCCCCC;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-index__promo-card {
  background-color: #1a2a47;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__promo-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__promo-description {
  font-size: 1em;
  color: #CCCCCC;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Security Section */
.page-index__security {
  padding: 80px 0;
  background-color: #1a2a47;
}

.page-index__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index__security-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index__security-text {
  flex: 2 1 500px;
}

/* Mobile Experience Section */
.page-index__mobile-experience {
  padding: 80px 0;
  background-color: #0A1931;
}

.page-index__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-direction: row-reverse; /* Image on right */
}

.page-index__mobile-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index__mobile-text {
  flex: 2 1 500px;
}

/* Customer Service Section */
.page-index__customer-service {
  padding: 80px 0;
  background-color: #1a2a47;
  text-align: center;
}

/* Explore More Section (Detail Pages) */
.page-index__explore-more {
  padding: 80px 0;
  background-color: #0A1931;
}

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

.page-index__detail-card {
  background-color: #1a2a47;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-title {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-index__detail-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
  .page-index__hero {
    padding: 60px 15px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index__section-subtitle {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-index__game-card, .page-index__promo-card, .page-index__detail-card {
    padding: 25px;
  }
  .page-index__security-content, .page-index__mobile-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__security-image, .page-index__mobile-image {
    order: -1; /* Image appears first on mobile for mobile section */
    max-width: 80%;
  }
  .page-index__mobile-content {
    flex-direction: column; /* Revert order for mobile section on small screens */
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__text-block {
    font-size: 0.95em;
  }
  .page-index__hero-image {
    display: none; /* Hide hero image on very small screens to save space */
  }
}