.page-faq__hero-section { display: flex; flex-direction: column; align-items: center; position: relative; padding-top: 10px; margin-bottom: 40px; }
.page-faq__hero-image { width: 100%; height: auto; max-height: 500px; object-fit: cover; display: block; }
.page-faq__hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #ffffff; z-index: 2; max-width: 900px; width: 90%; background: rgba(0, 0, 0, 0.6); padding: 30px; border-radius: 10px; box-sizing: border-box; }
.page-faq__main-title { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 15px; color: #ffffff; }
.page-faq__description { font-size: 18px; line-height: 1.6; margin-bottom: 30px; color: #f0f0f0; }

.page-faq__section-spacing { padding: 40px 0; }
.page-faq__container { max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.page-faq__section-title { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 20px; color: #1F2D3D; }
.page-faq__section-description { font-size: 18px; text-align: center; max-width: 800px; margin: 0 auto 40px; line-height: 1.6; color: #333333; }

details.page-faq__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid #D6E2FF; overflow: hidden; background: #FFFFFF; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
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: #f5f5f5; }
.page-faq__faq-qtext { flex: 1; font-size: 18px; font-weight: 600; line-height: 1.5; text-align: left; color: #1F2D3D; }
.page-faq__faq-toggle { font-size: 28px; font-weight: bold; color: #2F6BFF; flex-shrink: 0; margin-left: 15px; width: 30px; text-align: center; transition: transform 0.3s ease; }
details.page-faq__faq-item[open] .page-faq__faq-toggle { transform: rotate(45deg); }
details.page-faq__faq-item .page-faq__faq-answer { padding: 0 20px 20px; background: #F4F7FB; border-radius: 0 0 5px 5px; color: #333333; line-height: 1.7; }
.page-faq__faq-answer p { margin-bottom: 15px; }
.page-faq__faq-answer p:last-child { margin-bottom: 0; }
.page-faq__faq-image { max-width: 100%; height: auto; display: block; margin-top: 15px; border-radius: 5px; }

.page-faq__cta-section { background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); padding: 60px 0; text-align: center; color: #ffffff; }
.page-faq__cta-content { max-width: 800px; margin: 0 auto; }
.page-faq__cta-title { font-size: 38px; font-weight: 700; margin-bottom: 15px; color: #ffffff; }
.page-faq__cta-description { font-size: 18px; line-height: 1.6; margin-bottom: 30px; color: #f0f0f0; }

.page-faq__btn-primary, .page-faq__btn-secondary { display: inline-block; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 18px; transition: all 0.3s ease; border: none; 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, #4A8BFF 0%, #2F6BFF 100%); color: #ffffff; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
.page-faq__btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.page-faq__btn-secondary { background: #ffffff; color: #2F6BFF; border: 2px solid #2F6BFF; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.page-faq__btn-secondary:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
.page-faq__download-btn { margin-top: 20px; }

/* Body background color from shared.css is #F4F7FB (light), so text should be dark */
.page-faq { color: #333333; }
.page-faq__card { background: #ffffff; color: #333333; border: 1px solid #e0e0e0; }
.page-faq__dark-section { background: #2F6BFF; color: #ffffff; }

/* Responsive Styles */
@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; }
  .page-faq__hero-content { padding: 20px; width: 95%; max-width: none; }
  .page-faq__main-title { font-size: 38px; }
  .page-faq__description { font-size: 16px; }
  .page-faq__section-title { font-size: 30px; }
  .page-faq__section-description { font-size: 16px; }
  .page-faq__faq-qtext { font-size: 16px; }
  .page-faq__cta-title { font-size: 32px; }
  .page-faq__cta-description { font-size: 16px; }
}

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

@media (max-width: 768px) {
  .page-faq__hero-section { padding-top: 0; margin-bottom: 30px; }
  .page-faq__hero-image { max-height: 300px; }
  .page-faq__hero-content { padding: 15px; width: 95%; max-width: none; }
  .page-faq__main-title { font-size: 28px; margin-bottom: 10px; }
  .page-faq__description { font-size: 14px; margin-bottom: 20px; }

  .page-faq__section-spacing { padding: 30px 0; }
  .page-faq__section-title { font-size: 24px; margin-bottom: 15px; }
  .page-faq__section-description { font-size: 14px; margin-bottom: 30px; }

  details.page-faq__faq-item summary.page-faq__faq-question { padding: 15px; }
  .page-faq__faq-qtext { font-size: 15px; }
  .page-faq__faq-toggle { font-size: 24px; width: 24px; margin-left: 10px; }
  details.page-faq__faq-item .page-faq__faq-answer { padding: 0 15px 15px; font-size: 14px; }

  .page-faq__cta-section { padding: 40px 0; }
  .page-faq__cta-title { font-size: 26px; margin-bottom: 10px; }
  .page-faq__cta-description { font-size: 14px; margin-bottom: 25px; }
  .page-faq__btn-primary, .page-faq__btn-secondary { padding: 12px 25px; font-size: 16px; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; white-space: normal !important; word-wrap: break-word !important; }
  .page-faq__btn-secondary { margin-top: 15px; }
  .page-faq__download-btn { margin-top: 15px; }

  .page-faq img { max-width: 100% !important; width: 100% !important; height: auto !important; }
  .page-faq__container, .page-faq__hero-section, .page-faq__faq-list-section, .page-faq__cta-section, .page-faq__faq-items-wrapper, .page-faq__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-faq__cta-buttons {
    display: flex;
    flex-direction: column; /* 移动端垂直排列 */
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}
.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;}