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

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

.page-faq__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #0A0A0A;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
}

.page-faq__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-faq__hero-description {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-faq__hero-buttons,
.page-faq__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

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

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-faq__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

.page-faq__intro-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-faq__intro-text {
  font-size: 1.05em;
  color: #FFF6D6;
  text-align: justify;
  margin-bottom: 30px;
}

.page-faq__intro-image,
.page-faq__promo-image,
.page-faq__security-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 30px;
  display: block;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.2);
}

.page-faq__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-faq__faq-category {
  margin-bottom: 40px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__category-title {
  font-size: clamp(1.5em, 2.5vw, 2.2em);
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 25px;
  border-bottom: 2px solid #3A2A12;
  padding-bottom: 15px;
  text-align: center;
}

.page-faq__faq-item {
  background-color: #1A1A1A; /* Slightly darker than Card BG */
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #FFF6D6;
  cursor: pointer;
  background-color: #222222; /* Even darker */
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: #2A2A2A;
}

.page-faq__faq-item[open] > .page-faq__faq-question {
  background-color: #2A2A2A;
  color: #F2C14E;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #E0E0E0;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
  max-height: 500px; /* Sufficiently large to show content */
  transition: max-height 0.5s ease-in;
}

.page-faq__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(90deg, #111111 0%, #222222 50%, #111111 100%); /* Custom gradient for CTA */
  border-top: 1px solid #3A2A12;
}

.page-faq__cta-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__home-content { /* Placeholder for homepage long text section */
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
}

.page-faq__row-games,
.page-faq__row-sport,
.page-faq__row-coop { /* Placeholder for homepage rows */
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-faq__games-title,
.page-faq__sport-title,
.page-faq__coop-title { /* Placeholder for homepage titles */
  color: #fff;
  text-align: center;
}

.page-faq__slider-wrapper { /* Placeholder for homepage slider */
  overflow: hidden;
}

.page-faq__slider-track { /* Placeholder for homepage slider track */
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.page-faq__game-slide { /* Placeholder for homepage game slide */
  flex: 0 0 200px;
  max-width: 200px;
}

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

.page-faq__banner-item img { /* Placeholder for homepage banner item image */
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-faq__blog-masonry { /* Placeholder for homepage blog masonry */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.page-faq__blog-card-link { /* Placeholder for homepage blog card link */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-faq__btn-outline { /* Placeholder for homepage blog button */
  margin-top: auto;
}

.page-faq__blog-slider-track { /* Placeholder for homepage blog slider track */
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.page-faq__blog-slide { /* Placeholder for homepage blog slide */
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-faq__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-faq__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

  .page-faq__faq-category {
    padding: 20px;
  }

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

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

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

  .page-faq__hero-buttons,
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100%;
    max-width: 300px; /* Limit max width for stacked buttons */
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-faq__container {
    padding: 15px;
  }

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

  .page-faq__main-title {
    font-size: 2em !important;
    margin-bottom: 10px;
  }

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

  .page-faq__intro-section,
  .page-faq__faq-section,
  .page-faq__cta-section {
    padding: 40px 0;
  }

  .page-faq__section-title {
    font-size: 1.8em !important;
    margin-bottom: 25px;
  }

  .page-faq__intro-text,
  .page-faq__cta-text {
    font-size: 1em;
  }

  .page-faq__faq-category {
    padding: 15px;
  }

  .page-faq__category-title {
    font-size: 1.4em !important;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  .page-faq__faq-question {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

  /* HERO 主图区域 */
  .page-faq__hero-image {
    max-height: 300px;
    margin-bottom: 20px;
  }

  /* 长文金框区 (Placeholder, not present on this page but required in CSS) */
  .page-faq__home-content {
    height: auto !important;
    overflow-y: visible !important;
  }

  /* 游戏轮播 (Placeholder, not present on this page but required in CSS) */
  .page-faq__slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .page-faq__game-slide {
    flex: 0 0 160px !important;
    max-width: 160px !important;
  }

  /* 合作品牌六宫格 (Placeholder, not present on this page but required in CSS) */
  .page-faq__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .page-faq__banner-item img {
    
    
  }

  /* 博客卡片区 (Placeholder, not present on this page but required in CSS) */
  .page-faq__blog-masonry {
    grid-template-columns: 1fr !important;
  }
  .page-faq__blog-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .page-faq__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* 通用图片与容器 */
  .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;
  }

  /* 按钮与按钮容器 */
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    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__hero-buttons,
  .page-faq__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-buttons,
  .page-faq__cta-buttons {
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-faq__faq-question {
    font-size: 0.9em;
  }

  .page-faq__faq-answer {
    font-size: 0.9em;
  }
}

/* Placeholder for homepage specific module CSS, ensuring they are present as required */
.page-faq__home-content { /* Existing placeholder */ }
.page-faq__row-games { /* Existing placeholder */ }
.page-faq__slider-wrapper { /* Existing placeholder */ }
.page-faq__slider-track { /* Existing placeholder */ }
.page-faq__game-slide { /* Existing placeholder */ }
.page-faq__banners-top-wrapper { /* Existing placeholder */ }
.page-faq__banner-item img { /* Existing placeholder */ }
.page-faq__blog-masonry { /* Existing placeholder */ }
.page-faq__blog-card-link { /* Existing placeholder */ }
.page-faq__btn-outline { /* Existing placeholder */ }
.page-faq__blog-slider-track { /* Existing placeholder */ }
.page-faq__blog-slide { /* Existing placeholder */ }