.page-faq {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px;
}

.page-faq__hero-section {
  padding: 10px 20px 40px;
  background-color: #111111;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #3A2A12;
}

.page-faq__hero-image-wrapper {
  margin-bottom: 30px;
  max-width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-faq__description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF6D6;
}

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

.page-faq__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  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, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
}

.page-faq__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 216, 106, 0.3);
}

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

.page-faq__btn--secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-faq__content-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-faq__section-title {
  font-size: 2rem;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

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

details.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: #FFF6D6;
}
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: rgba(255, 255, 255, 0.05);
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}

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

details.page-faq__faq-item .page-faq__faq-answer {
  padding: 0 25px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #FFF6D6;
}

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

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 20px 0;
  object-fit: cover;
}

.page-faq__conclusion-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #111111;
  border-top: 1px solid #3A2A12;
}

.page-faq__conclusion-text {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFF6D6;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* Homepage game trial reset (mandated to be included, even if not directly used by FAQ content) */
  .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) {
  /* Homepage game trial 3-column layout (mandated to be included, even if not directly used by FAQ content) */
  .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;
  }

  /* FAQ specific desktop adjustments */
  .page-faq__hero-section {
    padding-left: 40px;
    padding-right: 40px;
  }
  .page-faq__content-section {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 15px 30px;
  }
  .page-faq__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-faq__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-faq__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 20px;
  }
  .page-faq__content-section {
    margin: 30px auto;
    padding: 0 15px;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px 20px;
  }
  .page-faq__faq-qtext {
    font-size: 1rem;
  }
  .page-faq__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 20px 15px;
  }
  .page-faq__conclusion-section {
    padding: 40px 15px;
  }
  .page-faq__conclusion-text {
    font-size: 1.1rem;
  }

  /* Mobile image adaptation */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__hero-image-wrapper,
  .page-faq__content-section,
  .page-faq__faq-item,
  .page-faq__cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__hero-section,
  .page-faq__conclusion-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* Mandated homepage responsive blocks for 768px (included even if not directly used by FAQ content) */
  .page-faq__promo-strip-track {
    grid-template-columns: repeat(2,1fr); /* Example, assuming 2 columns on mobile */
    gap: 15px;
    overflow-x: hidden;
    padding: 0 15px;
  }
  .page-faq__promo-card {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    text-align: center;
  }
  .page-faq__promo-card-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .page-faq__hot-games-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-faq__hot-games-card {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  .page-faq__hot-games-name,
  .page-faq__hot-games-rtp,
  .page-faq__hot-games-desc {
    display: none; /* Hide for compact view */
  }
  .page-faq__brand-intro {
    padding: 30px 15px;
  }
  .page-faq__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(0,0,0,0.9);
    padding: 10px 15px;
  }
  body {
    padding-bottom: 60px; /* Adjust for fixed ticker */
  }
  .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;
  }
}