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

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

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

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

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

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

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

.page-index a {
  color: #0A2463;
  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: #0A2463;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index .cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px 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: #0A2463; /* Fallback background */
}

.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.3);
}

.page-index .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background: rgba(10, 36, 99, 0.85); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  margin-top: -80px; /* Overlap with image slightly */
  color: #ffffff;
}

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

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

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

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

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

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

.page-index .feature-item .feature-icon {
  width: 200px; /* Minimum size 200x200 */
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

/* Quick Access Section */
.page-index .quick-access-section {
  padding: 80px 0;
  background-color: #eef1f4;
  text-align: center;
}

.page-index .quick-access-section p {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-index .access-button {
  display: inline-block;
  padding: 15px 30px;
  background: #0A2463;
  color: #ffffff;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.page-index .access-button:hover {
  background: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

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

.page-index .games-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

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

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

.page-index .game-card img {
  width: 100%;
  height: 250px; /* Minimum 200px, adjusted for card layout */
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-index .game-card h3 {
  margin: 20px 15px 10px 15px;
  font-size: 1.6em;
}

.page-index .game-card h3 a {
  color: #0A2463;
}

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

.page-index .game-card p {
  padding: 0 15px 20px 15px;
  color: #666666;
  font-size: 0.9em;
  text-align: center;
}

.page-index .game-card .game-link {
  display: inline-block;
  padding: 10px 20px;
  background: #FFD700;
  color: #0A2463;
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-index .game-card .game-link:hover {
  background: #e6c200;
}

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

.page-index .promotions-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

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

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

.page-index .promo-card img {
  width: 100%;
  height: 220px; /* Minimum 200px */
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-index .promo-card h3 {
  margin: 20px 15px 10px 15px;
  font-size: 1.4em;
}

.page-index .promo-card h3 a {
  color: #0A2463;
}

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

.page-index .promo-card p {
  padding: 0 15px 20px 15px;
  color: #666666;
  font-size: 0.9em;
  text-align: center;
}

.page-index .promo-card .promo-button {
  display: inline-block;
  padding: 10px 20px;
  background: #0A2463;
  color: #ffffff;
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

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

/* Security and Support Section */
.page-index .security-support-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-index .security-support-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-index .security-support-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.page-index .security-support-content > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index .security-support-content img {
  width: 100%;
  max-width: 400px; /* Minimum 200px, suitable for content image */
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index .security-support-content h3 {
  color: #0A2463;
  margin-top: 30px;
}

.page-index .security-support-content p {
  max-width: 700px;
  margin-bottom: 20px;
  color: #555555;
}

.page-index .support-button {
  display: inline-block;
  padding: 12px 25px;
  background: #FFD700;
  color: #0A2463;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.page-index .support-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

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

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

.page-index .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

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

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px 25px 25px;
  background: #f9f9f9;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-index .faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-index .faq-app-button {
  display: inline-block;
  padding: 8px 15px;
  background: #FFD700;
  color: #0A2463;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.page-index .faq-app-button:hover {
  background: #e6c200;
  transform: translateY(-1px);
}

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

.page-index .blog-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

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

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

.page-index .blog-post-card img {
  width: 100%;
  height: 200px; /* Minimum 200px */
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-index .blog-post-card h3 {
  margin: 20px 20px 10px 20px;
  font-size: 1.3em;
  line-height: 1.4;
}

.page-index .blog-post-card h3 a {
  color: #0A2463;
}

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

.page-index .blog-post-card p {
  padding: 0 20px;
  color: #666666;
  font-size: 0.9em;
  text-align: left;
}

.page-index .blog-post-card .post-date {
  display: block;
  font-size: 0.8em;
  color: #999999;
  padding: 0 20px 15px 20px;
}

.page-index .blog-post-card .read-more {
  display: inline-block;
  padding: 8px 15px;
  background: #0A2463;
  color: #ffffff;
  border-radius: 5px;
  font-weight: bold;
  margin: 0 20px 20px 20px;
  transition: background-color 0.3s ease;
  font-size: 0.9em;
}

.page-index .blog-post-card .read-more:hover {
  background: #FFD700;
  color: #0A2463;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index h1 {
    font-size: 2.8em;
  }
  .page-index h2 {
    font-size: 2em;
  }
  .page-index .hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-index .game-categories, .page-index .promo-grid, .page-index .blog-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index h1 {
    font-size: 2.2em;
  }
  .page-index h2 {
    font-size: 1.8em;
    padding-top: 20px;
    margin-bottom: 30px;
  }
  .page-index h3 {
    font-size: 1.5em;
  }
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 4px;
  }
  .page-index .hero-content {
    margin-top: -40px;
    padding: 15px;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1em;
    margin-top: 20px;
  }
  .page-index .intro-section, .page-index .quick-access-section, .page-index .games-section, .page-index .promotions-section, .page-index .security-support-section, .page-index .faq-section, .page-index .blog-section {
    padding: 50px 0;
  }
  .page-index .intro-features {
    grid-template-columns: 1fr;
  }
  .page-index .access-links {
    flex-direction: column;
  }
  .page-index .game-categories, .page-index .promo-grid, .page-index .blog-list {
    grid-template-columns: 1fr;
  }
  .page-index .game-card img, .page-index .promo-card img, .page-index .blog-post-card img {
    height: 220px;
  }
  .page-index .security-support-content {
    gap: 30px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 10px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 1.8em;
  }
  .page-index h2 {
    font-size: 1.5em;
  }
  .page-index .hero-content {
    margin-top: -30px;
    padding: 10px;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index .intro-section, .page-index .quick-access-section, .page-index .games-section, .page-index .promotions-section, .page-index .security-support-section, .page-index .faq-section, .page-index .blog-section {
    padding: 30px 0;
  }
  .page-index .container {
    padding: 0 15px;
  }
  .page-index .feature-item .feature-icon {
    width: 180px;
    height: 180px;
  }
  .page-index .game-card img {
    height: 180px;
  }
  .page-index .promo-card img {
    height: 180px;
  }
  .page-index .blog-post-card img {
    height: 160px;
  }
}