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

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

.page-index h1,
.page-index h2,
.page-index h3 {
  color: #0056B3;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index h1 {
  font-size: 3.2em;
  text-align: center;
  color: #ffffff;
}

.page-index h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
}

.page-index h3 {
  font-size: 1.8em;
  color: #0056B3;
}

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

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

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

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #0056B3;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-index .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: #0056B3;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index .btn-small:hover {
  background: #FFD700;
  color: #0056B3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px 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, #0056B3, #003F8C);
  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;
  max-width: 900px; /* Adjust max-width for the image */
}

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

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

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

/* Intro Section */
.page-index .intro-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.page-index .intro-section p {
  text-align: justify;
  max-width: 900px;
  margin: 0 auto 15px auto;
}

/* Quick Access Section */
.page-index .quick-access-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-index .access-card {
  display: block;
  background: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

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

.page-index .access-card h3 {
  color: #0056B3;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index .access-card p {
  color: #555;
  font-size: 1em;
}

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

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

.page-index .game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

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

.page-index .game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-index .game-card h3 {
  font-size: 1.6em;
  margin: 0 20px 10px 20px;
  color: #0056B3;
}

.page-index .game-card p {
  font-size: 1em;
  color: #666;
  padding: 0 20px;
  text-align: justify;
}

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

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

.page-index .promo-card {
  background: #fff3e0;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
  border: 1px solid #FFD700;
}

.page-index .promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index .promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-index .promo-card h3 {
  font-size: 1.5em;
  margin: 0 20px 10px 20px;
  color: #0056B3;
}

.page-index .promo-card p {
  font-size: 1em;
  color: #666;
  padding: 0 20px;
  text-align: justify;
}

/* Security & Support Section */
.page-index .security-support-section {
  padding: 60px 0;
  background-color: #e6f2ff;
}

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

.page-index .feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .feature-item img {
  width: 150px; /* Larger icons for features */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index .feature-item h3 {
  font-size: 1.5em;
  color: #0056B3;
}

.page-index .feature-item p {
  font-size: 1em;
  color: #666;
  text-align: justify;
}

.page-index .contact-info {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: #0056B3;
  border-radius: 12px;
  color: #ffffff;
}

.page-index .contact-info p {
  font-size: 1.4em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-index .contact-info .cta-button {
  background: #FFD700;
  color: #0056B3;
}

.page-index .contact-info .cta-button:hover {
  background: #ffffff;
  color: #0056B3;
}

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

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #0056B3;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #e6f2ff;
  color: #333;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  text-align: justify;
}

/* Blog Section */
.page-index .blog-section {
  padding: 60px 0;
  background-color: #f0f8ff;
}

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

.page-index .blog-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

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

.page-index .blog-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-index .blog-card h3 {
  font-size: 1.5em;
  margin: 0 20px 10px 20px;
  color: #0056B3;
}

.page-index .blog-card h3 a {
  color: #0056B3;
  text-decoration: none;
}

.page-index .blog-card h3 a:hover {
  color: #FFD700;
}

.page-index .blog-card p {
  font-size: 1em;
  color: #666;
  padding: 0 20px;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index h1 {
    font-size: 2.5em;
  }
  .page-index h2 {
    font-size: 2em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index .game-card img,
  .page-index .promo-card img,
  .page-index .blog-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-index .container {
    padding: 15px;
  }
  .page-index h1 {
    font-size: 2em;
  }
  .page-index h2 {
    font-size: 1.8em;
  }
  .page-index h3 {
    font-size: 1.4em;
  }
  .page-index p {
    font-size: 0.95em;
  }
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image {
    margin-bottom: 20px;
  }
  .page-index .hero-image img {
    border-radius: 8px;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index .access-links-grid,
  .page-index .game-categories,
  .page-index .promo-grid,
  .page-index .feature-grid,
  .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .game-card img,
  .page-index .promo-card img,
  .page-index .blog-card img {
    height: 180px;
  }
  .page-index .feature-item img {
    width: 120px;
    height: 120px;
  }
  .faq-question {
    padding: 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 1.8em;
  }
  .page-index h2 {
    font-size: 1.6em;
  }
  .page-index h3 {
    font-size: 1.2em;
  }
  .page-index .hero-content p {
    font-size: 0.9em;
  }
  .page-index .cta-button {
    padding: 8px 20px;
    font-size: 0.85em;
  }
  .page-index .game-card img,
  .page-index .promo-card img,
  .page-index .blog-card img {
    height: 150px;
  }
  .page-index .feature-item img {
    width: 100px;
    height: 100px;
  }
}