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

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

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

.page-index .section-title {
  font-size: 36px;
  color: #000080; /* Dark Blue */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-index .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  border-radius: 2px;
}

.page-index .section-description {
  font-size: 18px;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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-color: #000080; /* Dark Blue background for contrast */
  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;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
}

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

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

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

.page-index .hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: #ffffff; /* White */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-index .cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

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

.page-index .intro-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-index .feature-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index .feature-title {
  font-size: 24px;
  color: #000080;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

.page-index .access-button {
  display: inline-block;
  padding: 15px 30px;
  background: #000080; /* Dark Blue */
  color: #FFD700; /* Gold */
  text-decoration: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 128, 0.3);
  border: none;
  cursor: pointer;
}

.page-index .access-button:hover {
  background: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 128, 0.4);
}

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

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

.page-index .game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index .game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index .game-title {
  font-size: 22px;
  color: #000080;
  padding: 20px 20px 10px;
  font-weight: bold;
}

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

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

.page-index .game-description {
  font-size: 15px;
  color: #666;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-index .card-link {
  display: inline-block;
  background: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index .card-link:hover {
  background: #000080; /* Dark Blue */
  color: #FFD700; /* Gold */
}

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

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

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

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

.page-index .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index .promo-title {
  font-size: 20px;
  color: #000080;
  padding: 15px 20px 10px;
  font-weight: bold;
}

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

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

.page-index .promo-description {
  font-size: 15px;
  color: #666;
  padding: 0 20px 15px;
  flex-grow: 1;
}

/* Security & Customer Section */
.page-index .security-customer-section {
  background-color: #ffffff;
  padding: 80px 0;
}

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

.page-index .security-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  background-color: #f9f9f9;
}

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

.page-index .security-title {
  font-size: 22px;
  color: #000080;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index .security-item p {
  font-size: 15px;
  color: #666;
}

.page-index .contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  color: #000080;
  font-weight: bold;
}

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

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #000080; /* Dark Blue */
  color: #ffffff; /* White */
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
  background: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  flex-grow: 1;
  color: inherit; /* Inherit color from parent */
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  margin-left: 15px;
  transition: transform 0.3s ease;
  line-height: 1;
  color: inherit; /* Inherit color from parent */
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #000080; /* Dark Blue when active */
}

.faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: #FFD700; /* Gold when active */
  color: #000080; /* Dark Blue when active */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #ffffff;
  color: #333;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

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

.faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555;
}

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

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

.page-index .article-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index .article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index .article-title {
  font-size: 20px;
  color: #000080;
  padding: 15px 20px 10px;
  font-weight: bold;
}

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

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

.page-index .article-summary {
  font-size: 15px;
  color: #666;
  padding: 0 20px 15px;
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-title {
    font-size: 40px;
  }
  .page-index .hero-description {
    font-size: 19px;
  }
  .page-index .section-title {
    font-size: 30px;
  }
  .page-index .section-description {
    font-size: 16px;
  }
  .page-index .feature-item, .page-index .game-card, .page-index .promo-card, .page-index .article-card {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-title {
    font-size: 32px;
  }
  .page-index .hero-description {
    font-size: 16px;
  }
  .page-index .cta-button {
    padding: 14px 35px;
    font-size: 18px;
  }
  .page-index section {
    padding: 50px 0;
  }
  .page-index .section-title {
    font-size: 26px;
  }
  .page-index .section-description {
    font-size: 15px;
  }
  .page-index .intro-features, .page-index .access-links, .page-index .game-categories, .page-index .promo-grid, .page-index .security-grid, .page-index .blog-articles {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .page-index .feature-item, .page-index .security-item {
    width: 100%;
    max-width: 400px;
  }
  .page-index .access-button {
    width: 80%;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-title {
    font-size: 28px;
  }
  .page-index .hero-description {
    font-size: 14px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .section-title {
    font-size: 22px;
  }
  .page-index .section-description {
    font-size: 14px;
  }
  .page-index .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-index .feature-title {
    font-size: 20px;
  }
  .page-index .game-title, .page-index .promo-title, .page-index .security-title, .page-index .article-title {
    font-size: 18px;
  }
  .page-index .game-description, .page-index .promo-description, .page-index .security-item p, .page-index .article-summary {
    font-size: 13px;
  }
  .page-index .card-link {
    padding: 8px 15px;
    font-size: 14px;
  }
}