.page-index {
  color: #FFF6D6;
  background: #0A0A0A;
}

.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
}

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

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

.page-index__hero-image-wrapper 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: 900px;
}

.page-index__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFF6D6;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 246, 214, 0.8);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-index__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Text on button is dark for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
  border: none;
  cursor: pointer;
}

.page-index__cta-button:hover {
  background: linear-gradient(180deg, #FFE699 0%, #F2C14E 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-index__btn-secondary {
  background: #111111; /* Card BG color */
  color: #F2C14E;
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  border-color: #FFD36B;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-index__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  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: #FFD36B;
  border-radius: 2px;
}

.page-index__text-block {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 246, 214, 0.7);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-index__dark-bg {
  background: #0A0A0A;
  color: #FFF6D6;
}

.page-index__light-bg {
  background: #111111; /* Card BG for lighter sections */
  color: #FFF6D6;
}

.page-index__features-grid,
.page-index__quick-links-grid,
.page-index__game-categories,
.page-index__promotions-grid,
.page-index__security-support-grid,
.page-index__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__feature-item,
.page-index__game-category-card,
.page-index__promotion-card,
.page-index__security-support-item,
.page-index__blog-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__feature-item:hover,
.page-index__game-category-card:hover,
.page-index__promotion-card:hover,
.page-index__security-support-item:hover,
.page-index__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.2);
  border-color: #F2C14E;
}

.page-index__feature-item img,
.page-index__security-support-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(242, 193, 78, 0.5));
}

.page-index__feature-title,
.page-index__game-category-title,
.page-index__promotion-title,
.page-index__security-support-title,
.page-index__blog-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.page-index__feature-item p,
.page-index__game-category-card p,
.page-index__promotion-card p,
.page-index__security-support-item p,
.page-index__blog-card p {
  font-size: 0.95rem;
  color: rgba(255, 246, 214, 0.6);
  line-height: 1.6;
}

.page-index__quick-link-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__quick-link-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
  border-color: #F2C14E;
}

.page-index__quick-link-title {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index__quick-link-item p {
  font-size: 0.9rem;
  color: rgba(255, 246, 214, 0.6);
  line-height: 1.5;
}

.page-index__game-category-card img,
.page-index__promotion-card img,
.page-index__blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(242, 193, 78, 0.3);
}

.page-index__game-category-link {
  display: inline-block;
  margin-top: 20px;
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #F2C14E;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-index__game-category-link:hover {
  color: #FFD36B;
  border-color: #FFD36B;
}

.page-index__more-promos-button-wrapper,
.page-index__contact-button-wrapper,
.page-index__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-index__faq-list {
  margin-top: 40px;
}

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF6D6;
  font-weight: 600;
}

details.page-index__faq-item summary.page-index__faq-question::-webkit-details-marker {
  display: none;
}

details.page-index__faq-item summary.page-index__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-index__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-index__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 25px 25px;
  background: rgba(242, 193, 78, 0.05);
  border-radius: 0 0 12px 12px;
}

details.page-index__faq-item .page-index__faq-answer p {
  font-size: 0.95rem;
  color: rgba(255, 246, 214, 0.7);
  line-height: 1.7;
  text-align: left;
}

/* Blog Section */
.page-index__blog-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 20px;
}

.page-index__blog-card img {
  height: 220px;
  margin-bottom: 15px;
}

.page-index__blog-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index__blog-title-link {
  text-decoration: none;
}

.page-index__blog-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.page-index__blog-title-link:hover .page-index__blog-title {
  color: #FFD36B;
}

.page-index__blog-excerpt {
  font-size: 0.9rem;
  color: rgba(255, 246, 214, 0.6);
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index__blog-date {
  font-size: 0.85rem;
  color: rgba(255, 246, 214, 0.5);
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-image-wrapper img {
    height: 500px;
  }
  .page-index__game-category-card img,
  .page-index__promotion-card img,
  .page-index__blog-card img {
    
  }
}

@media (max-width: 768px) {
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index__section,
  .page-index__container,
  .page-index__hero-section,
  .page-index__introduction-section,
  .page-index__quick-access-section,
  .page-index__games-overview-section,
  .page-index__promotions-section,
  .page-index__security-support-section,
  .page-index__faq-section,
  .page-index__blog-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-index__hero-image-wrapper {
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .page-index__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-index__hero-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__cta-button,
  .page-index__btn-primary,
  .page-index__btn-secondary,
  .page-index a[class*="button"],
  .page-index a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-index__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-index__text-block {
    font-size: 0.9rem;
    margin-bottom: 40px;
  }

  .page-index__features-grid,
  .page-index__quick-links-grid,
  .page-index__game-categories,
  .page-index__promotions-grid,
  .page-index__security-support-grid,
  .page-index__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index__feature-item,
  .page-index__quick-link-item,
  .page-index__game-category-card,
  .page-index__promotion-card,
  .page-index__security-support-item,
  .page-index__blog-card {
    padding: 20px;
  }

  .page-index__feature-item img,
  .page-index__security-support-item img {
    
    
  }

  .page-index__feature-title,
  .page-index__quick-link-title,
  .page-index__game-category-title,
  .page-index__promotion-title,
  .page-index__security-support-title,
  .page-index__blog-title {
    font-size: 1.2rem;
  }

  .page-index__game-category-card img,
  .page-index__promotion-card img,
  .page-index__blog-card img {
    
  }

  details.page-index__faq-item summary.page-index__faq-question {
    padding: 15px 20px;
  }

  .page-index__faq-qtext {
    font-size: 1rem;
  }

  .page-index__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-index__faq-item .page-index__faq-answer {
    padding: 0 20px 20px;
  }

  .page-index__blog-card {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-index__main-title {
    font-size: 1.8rem;
  }
  .page-index__hero-description {
    font-size: 0.85rem;
  }
  .page-index__section-title {
    font-size: 1.6rem;
  }
  .page-index__text-block {
    font-size: 0.85rem;
  }
  .page-index__cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-index__feature-item img,
  .page-index__security-support-item img {
    
    
  }
  .page-index__feature-title,
  .page-index__quick-link-title,
  .page-index__game-category-title,
  .page-index__promotion-title,
  .page-index__security-support-title,
  .page-index__blog-title {
    font-size: 1.1rem;
  }
  .page-index__game-category-card img,
  .page-index__promotion-card img,
  .page-index__blog-card img {
    
  }
  .page-index__blog-excerpt {
    font-size: 0.8rem;
  }
}