.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

/* Base container for content sections */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
  line-height: 1.2;
}

.page-index__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6; /* Text Main */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-index__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index__card h3 {
  font-size: 24px;
  color: #FFD36B; /* Glow */
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-index__card p {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

.page-index__card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 15px;
  border-radius: 4px;
  object-fit: cover;
}

/* Buttons */
.page-index__cta-button,
.page-index__btn-primary,
.page-index__btn-secondary,
.page-index__game-button,
.page-index__promotion-button,
.page-index__support-button,
.page-index__view-all a {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box; /* For button responsiveness */
  white-space: normal; /* For button text wrap */
  word-wrap: break-word; /* For button text wrap */
}

.page-index__cta-button,
.page-index__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text for light button */
  border: none;
}

.page-index__cta-button:hover,
.page-index__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-index__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
  padding: 13px 38px;
}

.page-index__btn-secondary:hover {
  background: #FFD36B; /* Glow */
  color: #0A0A0A; /* Dark text for light button */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-index__game-button,
.page-index__promotion-button,
.page-index__support-button {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  border: none;
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 16px;
}

.page-index__game-button:hover,
.page-index__promotion-button:hover,
.page-index__support-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* HERO Section */
.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, body handles header offset */
  background-color: #0A0A0A; /* Background */
}

.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%; /* For flex item */
}

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

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index__hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Using clamp for responsive H1, avoids fixed large size */
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-index__hero-content p {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-index__introduction-section {
  background-color: #0A0A0A; /* Background */
  padding: 60px 0;
  color: #FFF6D6;
}

/* Quick Access Section */
.page-index__quick-access-section {
  background-color: #111111; /* Card BG, slightly different for contrast */
  padding: 60px 0;
}

.page-index__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

/* Games Section */
.page-index__games-section {
  background-color: #0A0A0A; /* Background */
  padding: 60px 0;
}

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

/* Promotions Section */
.page-index__promotions-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
}

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

/* Safety & Support Section */
.page-index__safety-support-section {
  background-color: #0A0A0A; /* Background */
  padding: 60px 0;
}

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

/* FAQ Section */
.page-index__faq-section {
  background-color: #111111; /* Card BG */
  padding: 60px 0;
}

.page-index__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Glow */
}

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: #222222; /* Slightly lighter dark for hover */
}

.page-index__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Text Main */
}

/* Blog Section */
.page-index__blog-section {
  background-color: #0A0A0A; /* Background */
  padding: 60px 0;
}

.page-index__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index__blog-card {
  text-align: left;
}

.page-index__blog-card img {
  margin-bottom: 15px;
  border-radius: 4px;
}

.page-index__blog-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.page-index__blog-card h3 a {
  color: #FFD36B; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__blog-card h3 a:hover {
  color: #F2C14E; /* Main color for hover */
}

.page-index__blog-card p {
  font-size: 15px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 10px;
}

.page-index__blog-date {
  font-size: 14px;
  color: #A0A0A0; /* A lighter shade for date */
}

.page-index__view-all {
  text-align: center;
  margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-index__container {
    padding: 30px 15px;
  }

  .page-index__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-index__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* HERO Section */
  .page-index__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index__hero-image img {
    border-radius: 4px;
  }

  .page-index__hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-index__hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-index__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Button Group */
  .page-index__button-group {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Grids */
  .page-index__games-grid,
  .page-index__promotions-grid,
  .page-index__info-grid,
  .page-index__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index__card {
    padding: 20px;
  }

  .page-index__card h3 {
    font-size: 20px;
  }

  .page-index__card p {
    font-size: 15px;
  }
  
  /* Images responsive */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index__game-card,
  .page-index__promotion-card,
  .page-index__info-card,
  .page-index__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index__game-button,
  .page-index__promotion-button,
  .page-index__support-button,
  .page-index__view-all a {
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ */
  details.page-index__faq-item summary.page-index__faq-question {
    padding: 15px;
  }
  .page-index__faq-qtext {
    font-size: 15px;
  }
  .page-index__faq-answer {
    padding: 0 15px 15px;
  }
}