.page-index {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0A2239; /* Primary dark blue background */
}

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

.page-index .section-title {
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  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 p {
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.page-index h3 {
  color: #FFD700; /* Gold for sub-titles */
  font-size: 1.5em;
  margin-bottom: 15px;
}

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

.page-index a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-index .btn-primary, .page-index .cta-button, .page-index .btn-small {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #0A2239;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-index .btn-primary:hover, .page-index .cta-button:hover, .page-index .btn-small:hover {
  background: #E6C200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-index .btn-small {
  font-size: 16px;
  padding: 10px 25px;
  margin-top: 15px;
}

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

/* 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: #0A2239;
  overflow: hidden;
}

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

.page-index .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.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: 0 20px;
}

.page-index .hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-index .hero-description {
  font-size: 1.3em;
  color: #E0E0E0;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

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

.page-index .intro-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

.page-index .intro-item {
  background-color: #0A2239;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  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.4);
}

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

.page-index .intro-item h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.page-index .intro-item p {
  font-size: 0.95em;
  color: #B0B0B0;
  text-align: center;
}

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

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

.page-index .quick-link-item {
  background-color: #1A3A5A;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index .quick-link-item:hover {
  transform: translateY(-5px);
  background-color: #2A4A6A;
}

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

.page-index .quick-link-item span {
  color: #FFD700;
  font-weight: bold;
  font-size: 1.1em;
}

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

.page-index .core-games-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

.page-index .game-card {
  background-color: #0A2239;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

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

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

.page-index .game-card h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  padding: 0 20px;
}

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

.page-index .game-card p {
  font-size: 0.95em;
  color: #B0B0B0;
  padding: 0 20px;
  flex-grow: 1;
}

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

.page-index .promotions-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

.page-index .promo-card {
  background-color: #1A3A5A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-index .promo-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index .promo-card h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  padding: 0 20px;
}

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

.page-index .promo-card p {
  font-size: 0.9em;
  color: #B0B0B0;
  padding: 0 20px;
  flex-grow: 1;
}

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

.page-index .security-support-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

.page-index .security-support-item {
  background-color: #0A2239;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  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.4);
}

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

.page-index .security-support-item h3 {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-index .security-support-item p {
  font-size: 0.9em;
  color: #B0B0B0;
  text-align: center;
}

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

.page-index .faq-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

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

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

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

.page-index .faq-question h3 {
  margin: 0;
  color: #FFD700;
  font-size: 1.25em;
  flex-grow: 1;
  text-align: left;
}

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

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #0A2239;
  color: #E0E0E0;
  border-radius: 0 0 8px 8px;
}

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

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

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

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

.page-index .latest-blog-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.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: #0A2239;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}

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

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

.page-index .blog-card h3 {
  font-size: 1.5em;
  margin: 20px 20px 10px 20px;
  flex-grow: 1;
}

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

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

.page-index .blog-card .blog-date {
  font-size: 0.85em;
  color: #888;
  padding: 0 20px 20px 20px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-title {
    font-size: 2.8em;
  }
  .page-index .hero-description {
    font-size: 1.1em;
  }
  .page-index .section-title {
    font-size: 2em;
  }
  .page-index .game-categories, .page-index .promo-grid, .page-index .security-support-grid, .page-index .intro-grid, .page-index .quick-links-grid, .page-index .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-title {
    font-size: 2em;
  }
  .page-index .hero-description {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .section-title {
    font-size: 1.8em;
  }
  .page-index .intro-section, .page-index .quick-access-section, .page-index .core-games-section, .page-index .promotions-section, .page-index .security-support-section, .page-index .faq-section, .page-index .latest-blog-section {
    padding: 50px 0;
  }
  .page-index .faq-question {
    padding: 15px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .faq-answer {
    padding: 15px;
  }
  .page-index .game-card-img {
    height: 200px;
  }
  .page-index .promo-card-img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-title {
    font-size: 1.8em;
  }
  .page-index .hero-description {
    font-size: 0.9em;
  }
  .page-index .section-title {
    font-size: 1.5em;
  }
  .page-index .intro-item, .page-index .quick-link-item, .page-index .game-card, .page-index .promo-card, .page-index .security-support-item, .page-index .blog-card {
    margin-bottom: 20px;
  }
  .page-index .faq-question h3 {
    font-size: 1em;
  }
  .page-index .faq-toggle {
    font-size: 18px;
  }
}