/* ══════════════════════════════════════════════════════════════════
   幼儿早教英语 - 细腻轻雅现代风格设计系统
   Modern, Refined & Gentle Early Years Design System
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* ── 核心调色板 ── */
  --brand-primary: #10B981;         /* 清新薄荷草绿 */
  --brand-primary-light: #ECFDF5;
  --brand-primary-dark: #047857;
  --brand-primary-shadow: #059669;

  --brand-accent: #F97316;          /* 温暖蜜桃橙 */
  --brand-accent-light: #FFF7ED;
  --brand-accent-shadow: #C2410C;

  --brand-sky: #0EA5E9;             /* 晴空湖水蓝 */
  --brand-sky-light: #F0F9FF;

  --brand-lavender: #8B5CF6;        /* 柔和薰衣草紫 */
  --brand-lavender-light: #F5F3FF;

  --brand-yellow: #FBBF24;          /* 暖阳奶黄 */
  --brand-yellow-light: #FEF3C7;

  --bg-page: #FBFBFA;               /* 温润极简燕麦奶油白，护眼不刺眼 */
  --bg-card: #FFFFFF;
  --bg-subtle: #F6F8FA;

  --text-title: #1E293B;            /* 墨黛青黑，柔和自然 */
  --text-body: #475569;             /* 舒适深灰 */
  --text-muted: #64748B;            /* 辅助说明灰 */
  --text-light: #94A3B8;

  --border-soft: #E2E8F0;
  --border-subtle: #F1F5F9;

  --shadow-sm: 0 1px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px -8px rgba(15, 23, 42, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* ── 细腻高质感现代字体组合 ── */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-fun: 'Fredoka', 'Noto Sans SC', -apple-system, sans-serif;   /* 圆润童趣感：英文小标/数字 */
}

/* ── 全局重置 ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(16, 185, 129, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 88% 20%, rgba(249, 115, 22, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
  line-height: 1.75;
  overflow-x: hidden;
  overflow-x: clip;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── 导航栏 ── */
.kids-navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251, 251, 250, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: all 0.25s ease;
}

.kids-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.brand-title-box {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.2;
}

.brand-title span {
  color: var(--brand-primary);
}

.brand-slogan {
  font-family: var(--font-fun);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--brand-accent);
  letter-spacing: 0.04em;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links-list a {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.nav-links-list a:hover {
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}

.nav-links-list a.active {
  color: var(--brand-primary);
  background: var(--brand-primary-light);
  font-weight: 500;
}

.mobile-toggle-btn {
  display: none;
  background: var(--brand-primary-light);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--brand-primary);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ── 细腻按钮 ── */
.solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.solid-btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}
.btn-primary:hover {
  background: var(--brand-primary-dark);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-title);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}

/* ── 1. Hero 首屏：左文右图，垂直居中 ── */
.kids-hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 40px 24px 48px;
  background: linear-gradient(180deg, var(--brand-primary-light) 0%, var(--bg-page) 65%);
}

.hero-split-box {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.hero-centered-box {
  max-width: none;
  text-align: left;
}

/* ── Hero 进入编排动画 ── */
.hero-reveal {
  opacity: 0;
  animation: hero-rise 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero-main-title.hero-reveal { animation-delay: 0.05s; }
.hero-sub-text.hero-reveal { animation-delay: 0.16s; }
.hero-btns-wrap.hero-reveal { animation-delay: 0.28s; }
.hero-features-chips.hero-reveal { animation-delay: 0.4s; }
.hero-visual.hero-reveal { animation-delay: 0.5s; }

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-title);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-main-title .color-primary {
  color: var(--brand-primary);
  font-weight: 600;
}

.hero-main-title .color-accent {
  color: var(--brand-accent);
  font-weight: 600;
}

.hero-sub-text {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0 0 36px;
  max-width: 560px;
}

.hero-btns-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-features-chips {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.feature-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.feature-chip .chip-num {
  font-family: var(--font-fun);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-primary);
}

/* ── Hero 立体截图舞台：漂浮主图 + 评分小卡 + 童趣装饰 ── */
.hero-visual {
  display: flex;
  align-items: center;
}

.hero-visual-stage {
  position: relative;
  width: 100%;
  padding: 26px 14px 30px;
}

.hero-shot-wrap {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 10px;
  border: 1px solid var(--border-soft);
  box-shadow:
    0 24px 48px -12px rgba(15, 23, 42, 0.18),
    0 6px 16px -6px rgba(15, 23, 42, 0.10);
  animation: hero-shot-float 6s ease-in-out infinite;
}

.hero-shot-wrap img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.hero-score-card {
  position: absolute;
  z-index: 2;
  left: -6px;
  bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.16);
  animation: hero-card-float 5.2s ease-in-out 0.8s infinite;
}

.score-card-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.score-card-value {
  font-family: var(--font-fun);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-accent);
}

.score-card-note {
  font-size: 0.76rem;
  color: var(--brand-primary-dark);
  background: var(--brand-primary-light);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}

/* ── 漂浮童趣装饰（图片上方与左侧，保留） ── */
.float-deco {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
  user-select: none;
}

.deco-cloud {
  top: 0;
  left: 4%;
  width: 64px;
  height: 30px;
  background: #FFFFFF;
  border-radius: 9999px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  animation: float-drift 7s ease-in-out infinite;
}
.deco-cloud::before,
.deco-cloud::after {
  content: "";
  position: absolute;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.deco-cloud::before {
  width: 34px;
  height: 34px;
  top: -18px;
  left: 10px;
}
.deco-cloud::after {
  width: 22px;
  height: 22px;
  top: -10px;
  right: 8px;
}

.deco-cube {
  top: 6%;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-accent);
  color: #FFFFFF;
  font-family: var(--font-fun);
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: 0 10px 22px -6px rgba(249, 115, 22, 0.5);
  animation: float-spin 5.4s ease-in-out infinite;
}

/* ── 通用 Section 容器与头部 ── */
.kids-section {
  padding: 84px 24px;
  position: relative;
}

.section-container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-header-box {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-fun);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
}

.section-main-heading {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 12px;
}

.section-sub-desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── 2. 四大成长阶段 / 分级体系 ── */
.worlds-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.world-interactive-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 30px 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* 顶部渐变色带：四张卡形成「绿→蓝→紫→橙」的进阶色阶 */
.world-interactive-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--brand-primary);
  transition: height 0.25s ease;
}
.world-interactive-card:nth-child(2)::before { background: var(--brand-sky); }
.world-interactive-card:nth-child(3)::before { background: var(--brand-lavender); }
.world-interactive-card:nth-child(4)::before { background: var(--brand-accent); }

.world-interactive-card:hover::before {
  height: 9px;
}

.world-interactive-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}

.world-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.level-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
}

.world-number-label {
  font-family: var(--font-fun);
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

.world-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 4px;
}

.world-subtitle-en {
  font-family: var(--font-fun);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.world-description {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

.world-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sub-tag-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ── 3. 四大核心能力 ── */
.abilities-section {
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-subtle) 50%, var(--bg-page) 100%);
}

.abilities-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.ability-feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 32px 22px;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.ability-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}

.ability-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: var(--brand-accent-light);
  border: 1px solid rgba(249, 115, 22, 0.12);
}

.ability-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 6px;
}

.ability-desc {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 4. 产品核心场景预览 ── */
.screens-flow-container {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1020px;
  margin: 0 auto;
}

.screen-demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 44px;
}

.screen-demo-row.reverse-layout .screen-image-frame {
  order: 2;
}

.screen-demo-row.reverse-layout .screen-info-side {
  order: 1;
}

.screen-image-frame {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.screen-image-frame:hover {
  transform: scale(1.015);
}

.screen-image-frame img {
  border-radius: 8px;
  width: 100%;
}

.scenario-badge {
  display: inline-block;
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
  font-weight: 500;
  font-size: 0.78rem;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.screen-headline {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-title);
  line-height: 1.4;
  margin-bottom: 12px;
}

.screen-paragraph {
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── 5. 五步闯关路径 ── */
.quest-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: 1060px;
  margin: 0 auto;
  list-style: none;
}

.quest-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 30px;
  position: relative;
  flex-shrink: 0;
}

.quest-node-badge {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-fun);
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(145deg, var(--brand-primary) 0%, var(--brand-primary-shadow) 100%);
  box-shadow:
    0 0 0 6px var(--brand-primary-light),
    0 10px 20px -6px rgba(16, 185, 129, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quest-step-node:hover .quest-node-badge {
  transform: translateY(-4px) scale(1.06);
}

.quest-node-final .quest-node-badge {
  background: linear-gradient(145deg, var(--brand-accent) 0%, var(--brand-accent-shadow) 100%);
  box-shadow:
    0 0 0 6px var(--brand-accent-light),
    0 10px 20px -6px rgba(249, 115, 22, 0.35);
}

.quest-node-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-title);
  white-space: nowrap;
}

/* 节点之间的虚线连接轨道 */
.quest-node-link {
  flex: 1 1 auto;
  min-width: 34px;
  max-width: 96px;
  margin-top: 55px;
  border-top: 2px dashed var(--border-soft);
  position: relative;
}

.quest-node-link::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  opacity: 0.35;
}

.quest-track-hint {
  margin-top: 26px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── 6. 页脚 ── */
.kids-site-footer {
  background: linear-gradient(180deg, #065F46 0%, #053B2C 100%);
  color: #F8FAFC;
  padding: 56px 24px 28px;
  position: relative;
}

/* 顶部品牌渐变装饰线：绿 → 橙 */
.kids-site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-sky) 45%, var(--brand-accent) 100%);
}

.footer-inner-grid {
  max-width: 1140px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col .brand-title {
  color: #FFFFFF;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.footer-brand-col p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 460px;
}

.footer-contact-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-contact-col a {
  color: #FBBF24;
  font-size: 1.02rem;
  font-weight: 500;
}

.footer-contact-col p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  font-weight: 300;
  margin-top: 6px;
}

.footer-legal-bar {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 300;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-bar a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-legal-bar a:hover {
  color: #FFFFFF;
}

/* ── 响应式适配 ── */
@media (max-width: 900px) {
  .hero-split-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-centered-box {
    text-align: center;
  }
  .hero-sub-text {
    margin-inline: auto;
  }
  .hero-btns-wrap,
  .hero-features-chips {
    justify-content: center;
  }
  .screen-demo-row, .screen-demo-row.reverse-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .screen-demo-row.reverse-layout .screen-image-frame {
    order: 0;
  }
  .screen-demo-row.reverse-layout .screen-info-side {
    order: 0;
  }
  .footer-inner-grid {
    grid-template-columns: 1fr;
  }
  .quest-node-link {
    min-width: 20px;
    max-width: 56px;
  }
  .float-deco {
    display: none;
  }
  .hero-score-card {
    left: 4px;
  }
}

@media (max-width: 768px) {
  .nav-links-list {
    display: none;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .nav-links-list.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-soft);
    gap: 8px;
  }
  .nav-links-list.show a {
    width: 100%;
    text-align: center;
  }
  .kids-section {
    padding: 56px 20px;
  }
  .quest-track {
    flex-wrap: wrap;
    gap: 14px 6px;
    max-width: 420px;
  }
  .quest-node-link {
    display: none;
  }
  .quest-node-badge {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

/* ══════════════════════════════════════════════════════════════════
   动画编排 · 无障碍 · 动效降级
   ══════════════════════════════════════════════════════════════════ */

@keyframes hero-shot-float {
  0%, 100% { transform: rotate(1.2deg) translateY(0); }
  50% { transform: rotate(1.2deg) translateY(-12px); }
}

@keyframes hero-card-float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-9px); }
}

@keyframes float-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

@keyframes float-spin {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-10px); }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── 键盘焦点可见性 ── */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.45);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ── 滚动渐显 ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 动效降级：尊重系统减少动态偏好 ── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .hero-reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
