.page-index {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-index-section-title {
  color: #1A237E;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  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: #FFD700;
  border-radius: 2px;
}

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

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #1A237E 0%, #3f4a9b 100%); /* Dark blue gradient */
  color: #fff;
  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 {
  max-width: 800px;
  z-index: 10;
  margin-bottom: 40px;
}

.page-index-hero h1 {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-hero p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

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

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

.page-index-btn-primary {
  background-color: #FFD700; /* Gold */
  color: #1A237E; /* Dark blue */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-index-btn-download {
  background-color: #FFD700;
  color: #1A237E;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-btn-download:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index-hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  opacity: 0.7;
  z-index: 5;
}

.page-index-hero-image {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* About Section */
.page-index-about {
  background-color: #fff;
}

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

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

.page-index-about-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-index-about-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

/* Features Section */
.page-index-features {
  background-color: #f0f2f5;
  padding: 60px 0;
}

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

.page-index-feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.page-index-feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(26, 35, 126, 0.3));
}

.page-index-feature-item h3 {
  color: #1A237E;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-index-feature-item p {
  color: #666;
  font-size: 0.95em;
}

/* Games Section */
.page-index-games {
  background-color: #1A237E;
  color: #fff;
  padding: 60px 0;
}

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

.page-index-games .page-index-section-title::after {
  background-color: #fff;
}

.page-index-games .page-index-section-subtitle {
  color: #e0e0e0;
}

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

.page-index-game-category {
  background-color: #2c3a99; /* Slightly lighter dark blue */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-game-category:hover {
  transform: translateY(-10px);
}

.page-index-game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

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

.page-index-game-category p {
  color: #c0c0c0;
  font-size: 0.9em;
  padding: 0 15px 20px;
}

.page-index-btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
  background-color: #FFD700;
  color: #1A237E;
}

.page-index-btn-small:hover {
  background-color: #e6c200;
  color: #1A237E;
}

/* Promotions Section */
.page-index-promotions {
  background-color: #fff;
  padding: 60px 0;
}

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

.page-index-promotion-text {
  flex: 1;
  min-width: 300px;
}

.page-index-promotion-text p {
  margin-bottom: 15px;
  color: #444;
}

.page-index-promotion-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-index-promotion-text ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #333;
}

.page-index-promotion-text strong {
  color: #1A237E;
}

.page-index-promotion-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

/* Guide Section */
.page-index-guide {
  background-color: #f0f2f5;
  padding: 60px 0;
}

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

.page-index-step-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
}

.page-index-step-number {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #1A237E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: -60px auto 20px;
  border: 5px solid #f0f2f5;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-index-step-item h3 {
  color: #1A237E;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index-step-item p {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Testimonials Section */
.page-index-testimonials {
  background-color: #1A237E;
  color: #fff;
  padding: 60px 0;
}

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

.page-index-testimonials .page-index-section-title::after {
  background-color: #fff;
}

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

.page-index-testimonial-item {
  background-color: #2c3a99;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-index-testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FFD700;
  margin-bottom: 15px;
}

.page-index-testimonial-quote {
  font-style: italic;
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-index-testimonial-author {
  font-weight: bold;
  color: #FFD700;
}

/* FAQ Section */
.page-index-faq {
  background-color: #fff;
  padding: 60px 0;
}

.page-index-faq-item {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.page-index-faq-question {
  background-color: #f7f7f7;
  padding: 18px 25px;
  margin: 0;
  font-size: 1.2em;
  color: #1A237E;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-index-faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-index-faq-question.active {
  background-color: #e0e0e0;
}

.page-index-faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background-color: #fff;
  color: #444;
}

.page-index-faq-answer p {
  padding: 15px 0;
  margin: 0;
}

/* Contact Section */
.page-index-contact {
  background-color: #f0f2f5;
  padding: 60px 0;
  text-align: center;
}

.page-index-contact p {
  color: #555;
  margin-bottom: 15px;
}

.page-index-contact ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.page-index-contact ul li {
  color: #333;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-index-contact ul li strong {
  color: #1A237E;
}

/* Detail Pages Section */
.page-index-detail-pages {
  background-color: #fff;
  padding: 60px 0;
}

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

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

.page-index-detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

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

.page-index-detail-item h3 a {
  color: #1A237E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-detail-item h3 a:hover {
  color: #FFD700;
}

.page-index-detail-item p {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 20px;
}

.page-index-detail-item .page-index-btn-small {
  display: inline-block;
  margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-hero h1 {
    font-size: 3em;
  }
  .page-index-hero p {
    font-size: 1.1em;
  }
  .page-index-hero-image-wrapper {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 60px 20px;
    min-height: 500px;
  }
  .page-index-hero-content {
    margin-bottom: 30px;
  }
  .page-index-hero h1 {
    font-size: 2.5em;
  }
  .page-index-hero p {
    font-size: 1em;
  }
  .page-index-hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-btn {
    width: 80%;
    max-width: 300px;
  }
  .page-index-hero-image-wrapper {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 30px;
    opacity: 1;
    display: none; /* Hide image on smaller screens if it obstructs content */
  }
  .page-index-about-content, .page-index-promotions-content {
    flex-direction: column;
  }
  .page-index-feature-item, .page-index-game-category, .page-index-step-item, .page-index-testimonial-item, .page-index-detail-item {
    padding: 25px;
  }
  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-step-number {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .page-index-hero h1 {
    font-size: 2em;
  }
  .page-index-hero p {
    font-size: 0.9em;
  }
  .page-index-btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
}