.page-faq__hero-section {
  padding-top: 10px; /* 约 10px 级顶距 */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFF3E6;
  background-color: #0D0E12;
  padding-bottom: 40px;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 400px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: -80px; /* Pull content up slightly over image for visual flow */
  background: rgba(13, 14, 18, 0.7); /* Semi-transparent dark background for text readability */
  border-radius: 10px;
}

.page-faq__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: #FFB04D; /* Glow color for title */
  margin-bottom: 15px;
}

.page-faq__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF3E6;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  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%);
  color: #ffffff;
  border: none;
}

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

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

.page-faq__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  transform: translateY(-2px);
}

.page-faq__faq-list-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #FFB04D;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.15em;
  color: #FFF3E6;
  position: relative;
}

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

.page-faq__faq-item summary::after {
  content: '+';
  font-size: 1.5em;
  color: #FFA53A;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] summary::after {
  content: '-';
  transform: rotate(0deg);
}

.page-faq__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #FFF3E6;
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
}

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

.page-faq__faq-answer .page-faq__btn-primary {
  margin-top: 20px;
}

.page-faq__contact-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #17191F;
  color: #FFF3E6;
}

.page-faq__contact-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Placeholder CSS for homepage modules as required by "必写清单" */
.page-faq__home-content {
  border: 1px solid #A84F0C;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
  padding: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.page-faq__row-games,
.page-faq__row-sport,
.page-faq__row-coop {
  background-color: #0D0E12;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
  color: #FFF3E6;
}

.page-faq__games-title,
.page-faq__sport-title,
.page-faq__coop-title {
  color: #FFB04D;
  text-align: center;
  margin-bottom: 30px;
}

.page-faq__slider-wrapper {
  overflow: hidden;
  margin-bottom: 30px;
}

.page-faq__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease;
}

.page-faq__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #17191F;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__game-slide img {
  width: 100%;
  
  object-fit: cover;
}

.page-faq__game-slide-content {
  padding: 15px;
  text-align: center;
}

.page-faq__game-slide-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #FFF3E6;
  margin-bottom: 10px;
}

.page-faq__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-faq__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-faq__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-bottom: 40px;
}

.page-faq__blog-card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-faq__blog-card-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-faq__blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-faq__blog-card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-faq__blog-card-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #FFF3E6;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-faq__blog-card-link {
  text-decoration: none;
  color: #FFF3E6;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-faq__blog-card-link:hover .page-faq__blog-card-title {
  color: #FFA53A;
}

.page-faq__blog-card-excerpt {
  font-size: 0.95em;
  color: #FFF3E6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-faq__blog-card-meta {
  font-size: 0.85em;
  color: #A84F0C;
  margin-top: auto;
}

.page-faq__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #FFA53A;
  color: #FFA53A;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
}

.page-faq__btn-outline:hover {
  background-color: #FFA53A;
  color: #17191F;
}

.page-faq__blog-slider {
  overflow: hidden;
  margin-bottom: 40px;
}

.page-faq__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease;
}

.page-faq__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-faq__section,
.page-faq__card,
.page-faq__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page-faq__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }

  .page-faq__description {
    font-size: 1em;
  }

  .page-faq__faq-list-section,
  .page-faq__contact-section {
    padding: 40px 15px;
  }

  .page-faq__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.2em);
    margin-bottom: 30px;
  }

  .page-faq__faq-item summary {
    padding: 18px 20px;
    font-size: 1.1em;
  }

  .page-faq__faq-answer {
    padding: 0 20px 18px;
  }

  .page-faq__banners-top-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-faq__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-faq__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__hero-section {
    padding-top: 10px; /* Still 10px for mobile */
    padding-bottom: 30px;
  }

  .page-faq__hero-image-wrapper {
    max-height: 250px;
  }

  .page-faq__hero-content {
    margin-top: -50px;
    padding: 10px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-faq__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

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

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

  .page-faq__faq-list-section,
  .page-faq__contact-section {
    padding: 30px 15px;
  }

  .page-faq__section-title {
    font-size: clamp(1.5em, 4.5vw, 2em);
    margin-bottom: 25px;
  }

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

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

  /* Placeholder CSS for homepage modules - Mobile */
  .page-faq__home-content {
    height: auto;
    margin: 20px auto;
    padding: 15px;
  }

  .page-faq__row-games,
  .page-faq__row-sport,
  .page-faq__row-coop {
    padding: 20px 15px;
  }

  .page-faq__games-title,
  .page-faq__sport-title,
  .page-faq__coop-title {
    margin-bottom: 20px;
  }

  .page-faq__slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px; /* To prevent scrollbar from overlapping content */
  }

  .page-faq__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
    scroll-snap-align: start;
  }

  .page-faq__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
  }

  .page-faq__banner-item img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-faq__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-faq__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .page-faq__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
  }

  /* General image and container responsive styles - Mobile */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}