/* -------------------------------------------------------------------------- */
/*                              Base Styles                                 */
/* -------------------------------------------------------------------------- */
.page-faq {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

.page-faq__hero-section {
  padding: 80px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%);
  position: relative;
  overflow: hidden;
}

.page-faq__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 18px;
  color: #FFF3E6;
  margin-bottom: 30px;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
}

.page-faq__btn-secondary:hover {
  background: rgba(255, 165, 58, 0.1);
  color: #FFB04D;
  border-color: #FFB04D;
  transform: translateY(-2px);
}

.page-faq__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 20px;
}

.page-faq__content-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-faq__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-description {
  font-size: 17px;
  color: #FFF3E6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-faq__faq-list {
  margin-top: 30px;
}

.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-item summary.page-faq__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: #FFF3E6;
  font-size: 18px;
  font-weight: 600;
}

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

.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: rgba(255, 165, 58, 0.05);
}

.page-faq__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 25px;
  background: rgba(23, 25, 31, 0.8);
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
  font-size: 16px;
}

.page-faq__faq-item .page-faq__faq-answer p {
  margin-bottom: 10px;
}

.page-faq__faq-item .page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__call-to-action {
  padding: 80px 0;
  text-align: center;
  background-color: #0D0E12;
}

.page-faq__call-to-action .page-faq__container {
  background: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid #A84F0C;
}

.page-faq__cta-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 19px;
  color: #FFF3E6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__btn-large {
  padding: 16px 35px;
  font-size: 20px;
}

/* -------------------------------------------------------------------------- */
/*                              Responsive Styles                             */
/* -------------------------------------------------------------------------- */

/* Homepage trial game specific CSS - must be included as per instructions */
@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;
    margin: 0 auto;
    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;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-faq__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !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%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-faq__hero-brand,
  .page-faq__hero-jackpot,
  .page-faq__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-faq__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-faq__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-faq__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-faq__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-faq__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* General mobile adaptations for FAQ page */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px 20px;
  }

  .page-faq__main-title {
    font-size: 28px;
  }

  .page-faq__description {
    font-size: 16px;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-faq__content-section {
    padding: 40px 0;
  }

  .page-faq__section-title {
    font-size: 24px;
  }

  .page-faq__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-faq__faq-qtext {
    font-size: 16px;
  }

  .page-faq__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }

  .page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .page-faq__call-to-action {
    padding: 50px 0;
  }

  .page-faq__call-to-action .page-faq__container {
    padding: 30px;
    margin: 0 15px;
  }

  .page-faq__cta-title {
    font-size: 26px;
  }

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

  .page-faq__btn-large {
    font-size: 18px;
    padding: 14px 25px;
  }

  /* Image responsive adapt */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__hero-image-container,
  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Homepage specific modules - CSS inclusion for compliance */
  .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);
  }
  /* Add other homepage specific mobile rules here if required by prompt */
}

/* General utility classes */
.is-hidden {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}