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

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

.page-faq__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Minimal top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: #17191F; /* Card BG */
  border-bottom: 1px solid #A84F0C;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  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(28px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FF8C1A;
  line-height: 1.2;
  max-width: 800px;
}

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

/* Buttons */
.page-faq__cta-button,
.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px #FFB04D;
}

.page-faq__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A;
  border: 1px solid #A84F0C;
  margin-left: 15px;
}

.page-faq__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  border-color: #FF8C1A;
}

/* FAQ List Section */
.page-faq__faq-list-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-faq__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
}

.page-faq__faq-group {
  margin-bottom: 30px;
}

/* FAQ Item Styles (details/summary based) */
details.page-faq__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

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; /* Hide default marker */
  transition: background-color 0.3s ease;
}

details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Webkit browsers */
}

details.page-faq__faq-item summary.page-faq__faq-question:hover {
  background: rgba(255, 140, 26, 0.1); /* Slightly lighter hover for dark background */
}

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

.page-faq__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary 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(23, 25, 31, 0.8); /* Slightly transparent Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-faq__faq-answer a {
  color: #FFA53A;
  text-decoration: underline;
}

.page-faq__payment-methods-image,
.page-faq__security-image,
.page-faq__support-image {
  margin-top: 20px;
  text-align: center;
}

.page-faq__payment-methods-image img,
.page-faq__security-image img,
.page-faq__support-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block; /* Ensure block display for max-width/height auto to work */
  margin: 0 auto;
}

/* CTA Section */
.page-faq__cta-section {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 60px;
  background-color: #17191F; /* Card BG */
  border-top: 1px solid #A84F0C;
}

.page-faq__cta-title {
  font-size: 30px;
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 15px;
}

.page-faq__cta-description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Copyright */
.page-faq__copyright {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #A84F0C; /* Border color for subtle text */
  background-color: #0D0E12; /* Background */
  border-top: 1px solid #A84F0C;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-faq__content-wrapper {
    padding: 15px;
  }

  .page-faq__hero-section {
    padding-bottom: 30px;
  }

  .page-faq__main-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .page-faq__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-faq__cta-button,
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-bottom: 10px; /* Stack buttons vertically */
  }
  
  .page-faq__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-faq__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

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

  details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 15px 15px;
  }

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

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

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-faq__hero-image-wrapper,
  .page-faq__payment-methods-image,
  .page-faq__security-image,
  .page-faq__support-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Ensure no horizontal scroll for content areas */
  .page-faq__faq-list-section,
  .page-faq__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}

/* Placeholder for homepage promo strip (as per instructions) - Not directly used on FAQ page */
@media (max-width: 768px) {
  .page-faq__promo-strip-track {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: hidden;
  }
}

/* Placeholder for homepage hot games (as per instructions) - Not directly used on FAQ page */
@media (max-width: 768px) {
  .page-faq__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Placeholder for homepage winner ticker (as per instructions) - Not directly used on FAQ page */
@media (max-width: 768px) {
  .page-faq__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }
  body {
    padding-bottom: 50px; /* Adjust if ticker height is different */
  }
}

/* General image and container responsiveness for FAQ page */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

.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;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-faq__reward-modal.is-hidden {
  display: none;
}
.page-faq__reward-modal-content {
  background: #17191F;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  color: #FFF3E6;
  position: relative;
}
.page-faq__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #FFF3E6;
  font-size: 24px;
  cursor: pointer;
}
.page-faq__reward-modal h3 {
  color: #FF8C1A;
  margin-bottom: 15px;
}
.page-faq__reward-modal p {
  margin-bottom: 20px;
}
.page-faq__reward-modal .page-faq__btn-primary {
  margin-top: 10px;
}