/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #f5e6d0; /* Light text for dark background */
  background-color: #0A192F;
  line-height: 1.6;
}

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

.page-index-section-title {
  font-size: 2.5em;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  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: #FFD700;
  border-radius: 2px;
}

.page-index-section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #d1d1d1;
}

.page-index-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.page-index-btn-primary {
  background-color: #FFD700; /* Auxiliary color for primary button */
  color: #0A192F;
  border: 2px solid #FFD700;
}

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

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

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

.page-index-btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-index-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #0A192F 0%, #2a3e5d 100%); /* Gradient background for hero */
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
}

.page-index-hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  margin-right: 40px;
}

.page-index-main-heading {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-sub-heading {
  font-size: 1.3em;
  color: #d1d1d1;
  margin-bottom: 30px;
}

.page-index-hero-actions {
  display: flex;
  gap: 20px;
}

.page-index-hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* About KV888 Section */
.page-index-about-kv888 {
  padding: 80px 0;
  background-color: #0A192F;
}

.page-index-about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-index-text-content {
  flex: 1;
  min-width: 300px;
  color: #f5e6d0;
}

.page-index-text-content p {
  margin-bottom: 15px;
}

.page-index-text-content a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-text-content a:hover {
  color: #e6c200;
}

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

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

/* Benefits Section */
.page-index-benefits {
  padding: 80px 0;
  background-color: #1a2a47; /* Slightly lighter dark background */
}

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

.page-index-benefit-item {
  background-color: #0A192F;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-index-benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-index-benefit-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-benefit-item p {
  color: #d1d1d1;
}

/* Featured Games Section */
.page-index-featured-games {
  padding: 80px 0;
  background-color: #0A192F;
}

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

.page-index-game-item {
  background-color: #1a2a47;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-index-game-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-index-game-description {
  padding: 0 20px;
  color: #d1d1d1;
  margin-bottom: 20px;
}

.page-index-game-item .page-index-btn {
  margin-bottom: 20px;
}

.page-index-more-games-text {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #d1d1d1;
}

.page-index-more-games-text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-more-games-text a:hover {
  color: #e6c200;
}

/* Promotions Section */
.page-index-promotions {
  padding: 80px 0;
  background-color: #1a2a47;
}

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

.page-index-promo-item {
  background-color: #0A192F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-index-promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.page-index-promo-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 0 10px;
}

.page-index-promo-item p {
  padding: 0 20px;
  color: #d1d1d1;
  margin-bottom: 20px;
}

.page-index-promo-item .page-index-btn {
  margin-bottom: 20px;
}

.page-index-view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* How-To Section */
.page-index-how-to {
  padding: 80px 0;
  background-color: #0A192F;
}

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

.page-index-how-to-step {
  background-color: #1a2a47;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index-how-to-step:hover {
  transform: translateY(-5px);
}

.page-index-how-to-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 7px #FFD700);
}

.page-index-how-to-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-how-to-step p {
  color: #d1d1d1;
  margin-bottom: 20px;
}

.page-index-how-to-step a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-how-to-step a:hover {
  color: #e6c200;
}

.page-index-note-text {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #d1d1d1;
}

.page-index-note-text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-note-text a:hover {
  color: #e6c200;
}

/* Safety & Responsibility Section */
.page-index-safety-responsibility {
  padding: 80px 0;
  background-color: #1a2a47;
}

.page-index-safety-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

/* Customer Support Section */
.page-index-customer-support {
  padding: 80px 0;
  background-color: #0A192F;
  text-align: center;
}

.page-index-support-content {
  max-width: 800px;
  margin: 0 auto;
  color: #f5e6d0;
}

.page-index-support-content p {
  margin-bottom: 25px;
  font-size: 1.1em;
}

.page-index-support-content a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-support-content a:hover {
  color: #e6c200;
}

/* Detail Pages List */
.page-index-detail-pages {
  padding: 80px 0;
  background-color: #1a2a47;
}

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

.page-index-detail-item {
  background-color: #0A192F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-index-detail-title {
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-index-detail-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-index-detail-description {
  color: #d1d1d1;
  margin-bottom: 20px;
}

/* Bottom CTA */
.page-index-cta-bottom {
  padding: 80px 0;
  background-color: #0A192F;
  text-align: center;
}

.page-index-cta-bottom .page-index-section-title {
  color: #FFD700;
}

.page-index-cta-bottom .page-index-section-description {
  margin-bottom: 40px;
  color: #f5e6d0;
}

.page-index-cta-bottom .page-index-section-description a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-cta-bottom .page-index-section-description a:hover {
  color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-content {
    margin-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .page-index-hero-actions {
    justify-content: center;
  }

  .page-index-main-heading {
    font-size: 2.8em;
  }

  .page-index-sub-heading {
    font-size: 1.1em;
  }

  .page-index-about-content, .page-index-safety-content {
    flex-direction: column;
  }

  .page-index-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-section-title {
    font-size: 2em;
  }

  .page-index-hero {
    padding: 60px 15px;
  }

  .page-index-main-heading {
    font-size: 2.2em;
  }

  .page-index-hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-btn {
    width: 100%;
  }

  .page-index-benefit-grid, .page-index-game-grid, .page-index-promo-grid, .page-index-how-to-grid, .page-index-detail-list {
    grid-template-columns: 1fr;
  }
}

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

  .page-index-main-heading {
    font-size: 1.8em;
  }

  .page-index-sub-heading {
    font-size: 1em;
  }

  .page-index-hero {
    padding: 40px 10px;
  }
}