.page-index {
  --primary-color: #0A192F;
  --secondary-color: #E0B400;
  --text-light: #F0F2F5;
  --text-dark: #1A1A1A;
  --bg-dark: #0A192F;
  --bg-light: #FFFFFF;
  --bg-section-alt: #162B4D;
}

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

.page-index section {
  padding: 60px 0;
  text-align: center;
}

.page-index h1, .page-index h2, .page-index h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index h1 {
  font-size: 3.2em;
  color: var(--text-light);
}

.page-index h2 {
  font-size: 2.5em;
  margin-top: 40px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-index h3 {
  font-size: 1.8em;
  color: var(--text-light);
}

.page-index p {
  color: var(--text-light);
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-index .cta-link-inline {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index .cta-link-inline:hover {
  color: #FFD700; /* Slightly brighter gold */
  text-decoration: underline;
}

/* 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: 80px 20px;
  background: var(--bg-dark);
  overflow: hidden;
}

.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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.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%;
  max-width: 800px;
  padding: 20px;
}

.page-index .hero-content h1 {
  font-size: 3.8em;
  color: var(--secondary-color);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 25px;
}

.page-index .hero-content p {
  font-size: 1.2em;
  color: var(--text-light);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 30px;
}

.page-index .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-index .cta-button:hover {
  background: #FFD700;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Section Intro */
.page-index .section-intro {
  background: var(--bg-section-alt);
  color: var(--text-light);
  padding: 80px 0;
}

.page-index .section-intro h2 {
  color: var(--secondary-color);
}

.page-index .section-intro p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1em;
}

/* Quick Access Section */
.page-index .section-quick-access {
  background: var(--bg-dark);
  padding: 80px 0;
}

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

.page-index .access-card {
  background: var(--bg-section-alt);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.page-index .access-card .card-icon {
  width: 120px; /* Increased size for content image, not icon */
  height: 120px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
  padding: 5px;
}

.page-index .access-card h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-index .access-card p {
  color: var(--text-light);
  font-size: 0.95em;
  flex-grow: 1;
}

/* Games Section */
.page-index .section-games {
  background: var(--bg-section-alt);
  padding: 80px 0;
}

.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: var(--bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  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 15px 30px rgba(0, 0, 0, 0.6);
}

.page-index .game-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid var(--secondary-color);
}

.page-index .game-card h3 {
  padding: 20px;
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-bottom: 0;
}

.page-index .game-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
  font-size: 1em;
  flex-grow: 1;
}

/* Promotions Section */
.page-index .section-promotions {
  background: var(--bg-dark);
  padding: 80px 0;
}

.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: var(--bg-section-alt);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  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 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index .promo-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid var(--secondary-color);
}

.page-index .promo-card h3 {
  padding: 15px 20px 0;
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index .promo-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
  font-size: 0.95em;
  flex-grow: 1;
}

/* Security & Support Section */
.page-index .section-security-support {
  background: var(--bg-section-alt);
  padding: 80px 0;
}

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

.page-index .feature-card {
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .feature-icon {
  width: 100px; /* Increased size for content image, not icon */
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
  padding: 5px;
}

.page-index .feature-card h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-index .feature-card p {
  color: var(--text-light);
  font-size: 0.95em;
}

/* FAQ Section */
.page-index .section-faq {
  background: var(--bg-dark);
  padding: 80px 0;
}

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

.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: 18px 25px;
  background: var(--bg-section-alt);
  border: 1px solid #1f3b6a; /* Darker blue border */
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-index .faq-question:hover {
  background: #254070; /* Slightly lighter dark blue on hover */
  border-color: var(--secondary-color);
}

.page-index .faq-question h3 {
  color: var(--text-light);
  font-size: 1.25em;
  margin: 0;
  flex-grow: 1;
}

.page-index .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.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;
  padding: 0 25px;
  background: #11223A; /* Slightly lighter than bg-dark */
  border-radius: 0 0 8px 8px;
  color: var(--text-light);
}

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

.page-index .faq-answer p {
  margin: 0;
  color: var(--text-light);
}

/* Blog Section */
.page-index .section-blog {
  background: var(--bg-section-alt);
  padding: 80px 0;
}

.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: var(--bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index .blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--secondary-color);
}

.page-index .blog-card h3 {
  padding: 15px 20px 0;
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index .blog-card p {
  padding: 0 20px;
  color: var(--text-light);
  font-size: 0.95em;
  flex-grow: 1;
}

.page-index .blog-date {
  display: block;
  padding: 15px 20px;
  font-size: 0.85em;
  color: #999;
  border-top: 1px solid #1f3b6a;
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-content h1 {
    font-size: 3em;
  }
  .page-index h2 {
    font-size: 2em;
  }
  .page-index h3 {
    font-size: 1.6em;
  }
  .page-index p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-index section {
    padding: 40px 0;
  }
  .page-index .hero-content h1 {
    font-size: 2.5em;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-index h2 {
    font-size: 1.8em;
  }
  .page-index h3 {
    font-size: 1.4em;
  }
  .page-index .quick-access-grid, .page-index .game-categories, .page-index .promo-grid, .page-index .feature-grid, .page-index .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .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 .container {
    padding: 0 15px;
  }
  .page-index .hero-content h1 {
    font-size: 2em;
  }
  .page-index h2 {
    font-size: 1.6em;
  }
  .page-index h3 {
    font-size: 1.2em;
  }
  .page-index .cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-index .quick-access-grid, .page-index .game-categories, .page-index .promo-grid, .page-index .feature-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index .access-card .card-icon, .page-index .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-index .game-img {
    height: 180px;
  }
  .page-index .promo-img {
    height: 150px;
  }
  .page-index .blog-img {
    height: 160px;
  }
}