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

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

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

.page-index .section-title {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  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 .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(90deg, #FFD700, #DC143C);
  color: #0A192F;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index .cta-button:hover {
  background: linear-gradient(90deg, #DC143C, #FFD700);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  color: #FFFFFF;
}

/* HERO Section */
.page-index .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.page-index .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-index .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(10, 25, 47, 0.85); /* Semi-transparent background for text readability */
  border-radius: 12px;
  margin-top: -80px; /* Overlap with image slightly */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-index .hero-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index .hero-description {
  font-size: 20px;
  color: #E0E0E0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Module 1: About Section */
.page-index .about-section {
  padding: 80px 0;
  background-color: #1A2E4B;
}

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

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

.page-index .about-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-index .about-item-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index .about-item p {
  font-size: 16px;
  color: #E0E0E0;
}

/* Module 2: Quick Access Section */
.page-index .quick-access-section {
  padding: 80px 0;
  background-color: #0A192F;
}

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

.page-index .quick-link-card {
  background-color: #1A2E4B;
  padding: 25px;
  border-radius: 10px;
  text-decoration: none;
  color: #E0E0E0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: block;
}

.page-index .quick-link-card:hover {
  transform: translateY(-8px);
  background-color: #2A4060;
}

.page-index .quick-link-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index .quick-link-card p {
  font-size: 15px;
  color: #B0B0B0;
}

/* Module 3: Games Section */
.page-index .games-section {
  padding: 80px 0;
  background-color: #1A2E4B;
}

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

.page-index .game-card {
  background-color: #0A192F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-index .game-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index .game-card-title {
  font-size: 24px;
  color: #FFD700;
  padding: 20px 20px 10px;
}

.page-index .game-card p {
  font-size: 16px;
  color: #E0E0E0;
  padding: 0 20px 20px;
}

.page-index .game-card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  text-align: center;
  background-color: #DC143C;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index .game-card-button:hover {
  background-color: #FFD700;
  color: #0A192F;
}

/* Module 4: Promotions Section */
.page-index .promotions-section {
  padding: 80px 0;
  background-color: #0A192F;
}

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

.page-index .promotion-card {
  background-color: #1A2E4B;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index .promotion-card:hover {
  transform: translateY(-8px);
}

.page-index .promotion-card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index .promotion-card p {
  font-size: 16px;
  color: #E0E0E0;
}

/* Module 5: Security & Support Section */
.page-index .security-support-section {
  padding: 80px 0;
  background-color: #1A2E4B;
}

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

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

.page-index .info-item:hover {
  background-color: #1A2E4B;
}

.page-index .info-item-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index .info-item p {
  font-size: 16px;
  color: #E0E0E0;
}

.page-index .info-item a {
  color: #DC143C;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Module 6: FAQ Section */
.page-index .faq-section {
  padding: 80px 0;
  background-color: #0A192F;
}

.page-index .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index .faq-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1A2E4B;
  color: #FFD700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 8px;
}

.page-index .faq-question:hover {
  background: #2A4060;
}

.page-index .faq-question-text {
  font-size: 20px;
  margin: 0;
  color: #FFD700;
}

.page-index .faq-toggle {
  font-size: 28px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #DC143C;
}

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

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  border-top: 1px solid #1A2E4B;
}

.page-index .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #FFD700;
}

.page-index .faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-index .faq-answer a {
  color: #DC143C;
  text-decoration: none;
}

.page-index .faq-answer a:hover {
  text-decoration: underline;
}

/* Module 7: Blog Section */
.page-index .blog-section {
  padding: 80px 0;
  background-color: #1A2E4B;
}

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

.page-index .blog-card {
  background-color: #0A192F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-index .blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index .blog-card-content {
  padding: 20px;
}

.page-index .blog-card-title {
  font-size: 22px;
  margin-bottom: 10px;
}

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

.page-index .blog-card-title a:hover {
  color: #DC143C;
}

.page-index .blog-card-excerpt {
  font-size: 15px;
  color: #B0B0B0;
  margin-bottom: 15px;
  height: 75px; /* Limit excerpt height */
  overflow: hidden;
}

.page-index .blog-read-more {
  color: #DC143C;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index .blog-read-more:hover {
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-title {
    font-size: 40px;
  }
  .page-index .hero-description {
    font-size: 18px;
  }
  .page-index .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 60px 15px;
  }
  .page-index .hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-index .hero-title {
    font-size: 32px;
  }
  .page-index .hero-description {
    font-size: 16px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .page-index .about-item, .page-index .quick-link-card, .page-index .game-card, .page-index .promotion-card, .page-index .info-item, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .about-item-title, .page-index .quick-link-title, .page-index .game-card-title, .page-index .promotion-card-title, .page-index .info-item-title, .page-index .blog-card-title {
    font-size: 20px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question-text {
    font-size: 18px;
  }
  .page-index .faq-toggle {
    font-size: 24px;
  }
  .page-index .faq-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-title {
    font-size: 28px;
  }
  .page-index .hero-description {
    font-size: 14px;
  }
  .page-index .section-title {
    font-size: 24px;
  }
  .page-index .cta-button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-index .about-grid, .page-index .quick-links-grid, .page-index .games-grid, .page-index .promotions-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index .game-card-img {
    height: 200px;
  }
  .page-index .faq-question-text {
    font-size: 16px;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
}