/* --- Homepage Trial Specific CSS (Mandatory Inclusion per prompt, even for non-homepage) --- */
@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;
  }
  /* Placeholder for other homepage modules if they were to appear */
  .page-faq__promo-strip {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
  }
  .page-faq__promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
  }
  .page-faq__promo-card-img {
    flex-shrink: 0;
    
    
    margin-right: 15px;
  }
  .page-faq__promo-card-content {
    flex-grow: 1;
  }
  .page-faq__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 16px;
  }
  .page-faq__hot-game-card {
    text-align: center;
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 10px;
  }
  .page-faq__hot-game-card-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  .page-faq__hot-game-card-name,
  .page-faq__hot-game-card-rtp,
  .page-faq__hot-game-card-desc {
    display: block;
    color: #FFF6D6;
  }
}
/* --- End Homepage Trial Specific CSS --- */

/* --- General & FAQ Specific Styles --- */
.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background: #0A0A0A; /* Background */
  padding-top: 10px; /* Small top padding, relying on body for header offset */
}

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

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 15px 60px;
  background: linear-gradient(180deg, rgba(242, 193, 78, 0.1) 0%, rgba(10, 10, 10, 0) 100%);
  border-bottom: 1px solid #3A2A12;
}

.page-faq__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-faq__hero-description {
  font-size: 18px;
  max-width: 800px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #FFE080 0%, #E6B02B 100%);
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E;
  margin-left: 15px;
}

.page-faq__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  border-color: #FFD36B;
  transform: translateY(-2px);
}

.page-faq__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin: 60px 0 40px;
}

.page-faq__faq-list-section {
  padding: 30px 0 60px;
}

details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 10px 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;
}

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(242, 193, 78, 0.05);
}

.page-faq__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  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: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
  color: #FFF6D6;
}

.page-faq__faq-answer img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px 0;
  border-radius: 8px;
}

.page-faq__cta-section {
  text-align: center;
  padding: 60px 15px;
  background: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
}

.page-faq__dark-section {
  background: #0A0A0A; /* Background */
  color: #FFF6D6;
}

.page-faq__cta-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #F2C14E; /* Main Color */
  margin-bottom: 20px;
}

.page-faq__cta-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

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

/* --- Mobile Responsive (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 30px 15px 40px;
  }
  .page-faq__main-title {
    font-size: 28px;
  }
  .page-faq__hero-description {
    font-size: 16px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 10px;
    padding: 10px 15px;
    font-size: 15px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-faq__section-title {
    font-size: 24px;
    margin: 40px 0 30px;
  }
  details.page-faq__faq-item summary.page-faq__faq-question {
    padding: 15px;
  }
  .page-faq__faq-qtext {
    font-size: 16px;
  }
  .page-faq__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 15px 15px;
  }
  .page-faq__faq-answer p {
    font-size: 15px;
  }
  .page-faq__cta-section {
    padding: 40px 15px;
  }
  .page-faq__cta-title {
    font-size: 28px;
  }
  .page-faq__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  /* Universal image and container responsive styles for mobile */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-faq__container,
  .page-faq__section,
  .page-faq__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure images within FAQ answers also adapt */
  .page-faq__faq-answer img {
    margin-left: 0;
    margin-right: 0;
  }
  /* Homepage specific media query for 768px - included for strict compliance */
  .page-faq__promo-strip-track {
    grid-template-columns: repeat(1, 1fr) !important; /* Single column for promos */
    overflow-x: hidden !important;
    gap: 10px !important;
  }
  .page-faq__promo-card {
    flex-direction: column !important;
    text-align: center;
    padding: 10px !important;
  }
  .page-faq__promo-card-img {
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }
  .page-faq__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .page-faq__hot-game-card-name,
  .page-faq__hot-game-card-rtp,
  .page-faq__hot-game-card-desc {
    display: none !important; /* Hide for mobile */
  }
  .page-faq__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: #111111 !important;
    border-top: 1px solid #3A2A12 !important;
    padding: 10px 0 !important;
  }
  body {
    padding-bottom: 50px; /* Adjust if winner ticker is fixed */
  }
}