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

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

.page-index section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-index section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-index h1, .page-index h2 {
  color: #0A2463;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-index h1 {
  font-size: 3em;
}

.page-index h2 {
  font-size: 2.5em;
}

.page-index h3 {
  color: #0A2463;
  font-size: 1.5em;
  margin-bottom: 15px;
}

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

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

.page-index a:hover {
  color: #0A2463;
}

/* CTA Buttons */
.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #E3B505;
  color: #0A2463;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index .cta-button:hover {
  background: #0A2463;
  color: #E3B505;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index .cta-button-small {
  display: inline-block;
  padding: 10px 25px;
  background: #0A2463;
  color: #E3B505;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-index .cta-button-small:hover {
  background: #E3B505;
  color: #0A2463;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* 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: 60px 20px;
  background: linear-gradient(135deg, #0A2463, #3B5998);
  color: #ffffff;
}

.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: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index .hero-content h1 {
  color: #E3B505;
  font-size: 3.5em;
  margin-bottom: 20px;
}

.page-index .hero-content p {
  color: #e0e0e0;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Module 1: Intro Section */
.page-index .section-intro {
  background-color: #f0f2f5;
}

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

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

.page-index .intro-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .intro-item h3 {
  color: #0A2463;
  margin-top: 20px;
  font-size: 1.4em;
}

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

.page-index .intro-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Module 2: Quick Links */
.page-index .section-quick-links {
  background-color: #ffffff;
}

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

.page-index .quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 15px;
  background: #0A2463;
  color: #ffffff;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-index .quick-link-item:hover {
  background: #E3B505;
  color: #0A2463;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.page-index .quick-link-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-index .quick-link-item span {
  display: block;
  margin-top: 10px;
}

/* Module 3: Games Section */
.page-index .section-games {
  background-color: #f0f2f5;
}

.page-index .games-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 10px;
}

.page-index .game-tab-button {
  background: #0A2463;
  color: #E3B505;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-index .game-tab-button:hover {
  background: #E3B505;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-index .game-tab-button.active {
  background: #E3B505;
  color: #0A2463;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index .games-content {
  margin-top: 30px;
}

.page-index .game-tab-content {
  display: none;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-index .game-tab-content.active {
  display: block;
}

.page-index .game-tab-content h3 {
  color: #0A2463;
  font-size: 2em;
  margin-bottom: 20px;
}

.page-index .game-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Module 4: Promotions Section */
.page-index .section-promotions {
  background-color: #ffffff;
}

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

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

.page-index .promotion-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .promotion-item h3 {
  color: #0A2463;
  font-size: 1.4em;
  margin-top: 15px;
}

.page-index .promotion-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Module 5: Security & Support */
.page-index .section-security-support {
  background-color: #f0f2f5;
}

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

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

.page-index .security-support-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .security-support-item h3 {
  color: #0A2463;
  margin-top: 20px;
  font-size: 1.4em;
}

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

.page-index .security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Module 6: FAQ Section */
.page-index .section-faq {
  background-color: #ffffff;
}

.page-index .faq-list {
  margin-top: 40px;
}

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

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A2463;
  color: #E3B505;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index .faq-question:hover {
  background: #1a3c7c;
}

.page-index .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #E3B505;
}

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

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

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

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

/* Module 7: Blog Section */
.page-index .section-blog {
  background-color: #f0f2f5;
}

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

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

.page-index .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-index .blog-content h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-index .blog-content h3 a {
  color: #0A2463;
  display: block;
}

.page-index .blog-content h3 a:hover {
  color: #E3B505;
}

.page-index .blog-content p {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 15px;
}

.page-index .blog-date {
  font-size: 0.85em;
  color: #999;
  display: block;
  text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index h1 {
    font-size: 2.8em;
  }

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

  .page-index .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-index section {
    padding: 40px 0;
  }

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

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

  .page-index h3 {
    font-size: 1.2em;
  }

  .page-index .hero-section {
    padding: 40px 15px;
  }
  
  .page-index .hero-image img {
    border-radius: 4px;
  }

  .page-index .hero-content h1 {
    font-size: 2.5em;
  }

  .page-index .hero-content p {
    font-size: 1em;
  }

  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-index .intro-grid, .page-index .quick-links-grid, .page-index .promotion-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }

  .page-index .quick-link-item {
    padding: 20px 10px;
    font-size: 0.95em;
  }

  .page-index .game-tab-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-index .game-tab-content {
    padding: 25px;
  }

  .page-index .game-tab-content h3 {
    font-size: 1.5em;
  }

  .page-index .faq-question {
    padding: 15px 20px;
  }

  .page-index .faq-question h3 {
    font-size: 1.1em;
  }

  .page-index .faq-toggle {
    font-size: 20px;
  }

  .page-index .faq-answer {
    padding: 15px 20px;
  }
}

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

  .page-index h2 {
    font-size: 1.5em;
  }

  .page-index .hero-content h1 {
    font-size: 2em;
  }

  .page-index .games-tabs {
    flex-direction: column;
  }

  .page-index .game-tab-button {
    width: 100%;
  }
}