/* Custom colors as CSS variables */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* General styles for page-faq scope */
.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--bg-color); /* #08160F */
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Hero Section */
.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  color: var(--text-main); /* #F2FFF6 */
}

.page-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main); /* #F2FFF6 */
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Buttons */
.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: transparent;
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid var(--border-color); /* #2E7A4E */
}

.page-faq__btn-secondary:hover {
  background: var(--border-color); /* #2E7A4E */
  color: #ffffff;
  transform: translateY(-2px);
}

/* Content Section */
.page-faq__content-section {
  padding: 60px 0;
  background-color: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
}

.page-faq__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold); /* #F2C14E */
}

.page-faq__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* FAQ List */
.page-faq__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color); /* #2E7A4E */
  overflow: hidden;
  background: var(--deep-green); /* #0A4B2C */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-faq__faq-item summary.page-faq__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: var(--text-main); /* #F2FFF6 */
  font-weight: 600;
}
details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
  display: none;
}
details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: var(--divider); /* #1E3A2A */
}
.page-faq__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main); /* #F2FFF6 */
}
.page-faq__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow); /* #57E38D */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 20px 20px;
  background: var(--card-bg); /* #11271B */
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary); /* #A7D9B8 */
}
.page-faq__faq-answer p {
  margin-bottom: 15px;
}
.page-faq__faq-image {
  margin-top: 15px;
  border-radius: 8px;
  width: 100%;
  height: auto;
  display: block;
}

/* CTA Section */
.page-faq__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-green); /* #0A4B2C */
  color: var(--text-main); /* #F2FFF6 */
  border-top: 1px solid var(--border-color); /* #2E7A4E */
}

.page-faq__cta-title {
  font-size: clamp(2em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--gold); /* #F2C14E */
}

.page-faq__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Copyright Section */
.page-faq__copyright-section {
  padding: 25px 0;
  background-color: var(--bg-color); /* #08160F */
  text-align: center;
  color: var(--text-secondary); /* #A7D9B8 */
  border-top: 1px solid var(--divider); /* #1E3A2A */
}

.page-faq__copyright-text {
  font-size: 0.9em;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-faq__hero-content {
    padding: 30px 15px;
  }
  .page-faq__description {
    font-size: 1.1em;
  }
  .page-faq__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 15px;
    line-height: 1.5;
  }
  .page-faq__hero-content {
    padding: 20px 15px;
  }
  .page-faq__description {
    font-size: 1em;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Space between buttons if stacked */
  }
  .page-faq__hero-content .page-faq__btn-primary,
  .page-faq__cta-section .page-faq__btn-primary {
    display: block; /* Make buttons stack */
  }

  .page-faq__content-section,
  .page-faq__cta-section {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  details.page-faq__faq-item summary.page-faq__faq-question { padding: 15px; }
  .page-faq__faq-qtext {
    font-size: 1em;
    width: calc(100% - 40px); /* Adjust width for toggle icon */
  }
  .page-faq__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px;}
  details.page-faq__faq-item .page-faq__faq-answer { padding: 0 15px 15px; }

  .page-faq__cta-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-faq__copyright-section {
    padding: 20px 0;
  }

  /* Image responsiveness */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__container,
  .page-faq__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* The following blocks are included as per strict prompt requirement for base CSS/JS, even if not directly applicable to this non-homepage FAQ page. */
@media (max-width:1023px){.page-faq__home-hero{display:block!important;grid-template-columns:none!important;height:auto!important;max-height:none!important;overflow-x:hidden;box-sizing:border-box;}.page-faq__hero-brand,.page-faq__hero-jackpot{display:none!important;}.page-faq__game-trial{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:hidden!important;padding:0 0 12px!important;box-sizing:border-box;}.page-faq__game-trial-shell{height:auto!important;max-height:none!important;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box;}.page-faq__game-trial-topbar,.page-faq__game-trial-bottombar{display:none!important;}.page-faq__game-trial-viewport{position:relative;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-faq__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;max-width:100%;border:none;z-index:1;overflow:hidden;}.page-faq__game-trial-overlay{z-index:5!important;pointer-events:auto!important;}.page-faq__game-trial-start{z-index:6!important;pointer-events:auto!important;touch-action:manipulation;}}
@media (min-width:1024px){.page-faq__home-hero{display:grid;grid-template-columns:26% 48% 26%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-faq__hero-brand,.page-faq__hero-jackpot,.page-faq__game-trial{height:300px;max-height:300px;}.page-faq__game-trial{overflow:hidden;}.page-faq__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-faq__game-trial-viewport{flex:1;min-height:0;}.page-faq__game-trial-frame{height:100%;min-height:0;}.page-faq__hero-jackpot-claim{background:#c62828!important;}.page-faq__promo-strip{margin-top:16px;}}
@media (max-width:768px){.page-faq__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}.page-faq__hot-games-grid{grid-template-columns:repeat(2,1fr);}}
.page-faq__game-trial-overlay{z-index:5;pointer-events:auto;}.page-faq__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-faq__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-faq__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-faq__reward-modal{position:fixed;inset:0;z-index:10000;}