/* 云华官网 · 首页 v0.7.0（2026-10）
   顺序：Hero → 作品 → 近况 → 反馈
   近况视觉对齐骨纸青雾；perf：字体精简、音频懒载、reel 近视口再建
*/
:root {
  --bg: #f6f3ec;
  --bg-elev: #ffffff;
  --paper: #f2ede2;
  --paper-2: #e9e2d3;
  --ink: #141c1a;
  --text: #1c2422;
  --muted: #6a726e;
  --faint: #9aa09b;
  --teal: #1a4743;
  --teal-deep: #0c2624;
  --accent: #1f4f4a;
  --accent-ink: #f6f3ec;
  --gold: #a88655;
  --line: rgba(28, 36, 34, 0.10);
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 18px;
  --max: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow: radial-gradient(900px 500px at 0% 0%, rgba(31, 79, 74, 0.07), transparent 60%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: var(--glow);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; margin: 0; letter-spacing: 0.04em; }

.paper-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 35;
  opacity: 0.18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

/* —— 进站门 + 浮动氛围音（现网） —— */
.enter-gate[hidden] { display: none !important; }
.enter-gate {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background: rgba(246, 243, 236, 0.88);
  backdrop-filter: blur(12px);
}
.enter-card {
  width: min(22rem, calc(100% - 2rem));
  text-align: center;
  padding: 2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-elev);
  box-shadow: 0 24px 60px rgba(28, 36, 34, 0.08);
}
.enter-logo {
  width: 96px; height: 96px; object-fit: contain;
  margin: 0 auto 0.75rem; display: block;
  border-radius: 0; background: transparent;
}
.enter-kicker {
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-size: 0.75rem; margin: 0;
}
.enter-card h2 {
  font-family: var(--serif); margin: 0.4rem 0 0.5rem;
  font-size: 1.7rem; font-weight: 600;
}
.enter-card p { color: var(--muted); margin: 0 0 1.2rem; }
.enter-card button {
  border: 0; border-radius: 999px;
  padding: 0.85rem 1.4rem;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; cursor: pointer; font: inherit;
}
.enter-card button:hover { filter: brightness(1.05); }

.audio-dock {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 45;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.45rem;
}
@media (max-width: 600px) {
  .audio-dock { bottom: calc(1rem + env(safe-area-inset-bottom)); }
}
.audio-dock-bar {
  display: flex; align-items: center; gap: 0.35rem;
}
.audio-toggle {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  font: inherit; font-size: 0.9rem;
}
.audio-toggle[aria-pressed="true"] {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.audio-panel-btn {
  width: 2.2rem; height: 2.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  color: var(--muted);
  cursor: pointer;
  backdrop-filter: blur(8px);
  font: inherit; font-size: 0.85rem; line-height: 1;
}
.audio-panel-btn[aria-expanded="true"] {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.audio-panel {
  width: min(16.5rem, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-elev) 94%, transparent);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(28, 36, 34, 0.12);
  padding: 0.85rem 0.95rem;
}
.audio-panel[hidden] { display: none !important; }
.audio-panel-label {
  display: grid; gap: 0.35rem;
  color: var(--muted); font-size: 0.85rem;
}
.audio-panel select {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  font: inherit; font-size: 0.88rem;
}

/* —— 现网顶栏 —— */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 5vw;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}
.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.brand-text small {
  color: var(--muted);
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  text-transform: uppercase;
}
.top-nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}
.top-nav a:hover { color: var(--text); }
.top-link {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text) !important;
}
.top-link:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  color: var(--accent) !important;
}

/* —— 按钮（现网胶囊） —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  transition: 0.18s ease;
  letter-spacing: 0.04em;
}
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.btn.primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--text); }
.btn.is-disabled { cursor: default; opacity: 0.65; pointer-events: none; }
.link {
  font-size: 0.92rem; letter-spacing: 0.06em; color: var(--accent);
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  opacity: 0.9; transition: opacity 0.2s;
}
.link:hover { opacity: 1; }

/* —— Hero（v2 沉浸，顶栏之下） —— */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92svh, 820px);
  display: grid; align-items: end;
  overflow: hidden;
  background: var(--teal-deep);
  color: #efe8d9;
  width: 100%;
}
.hero-art { position: absolute; inset: 0; margin: 0; z-index: -2; }
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%;
  filter: saturate(0.82) contrast(1.02);
  transform: scale(1.04);
  animation: drift 28s var(--ease) infinite alternate;
}
@keyframes drift { to { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); } }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 38, 36, 0.35) 0%, rgba(12, 38, 36, 0) 26%),
    linear-gradient(0deg, rgba(12, 38, 36, 0.92) 0%, rgba(12, 38, 36, 0.35) 42%, rgba(12, 38, 36, 0) 70%),
    linear-gradient(90deg, rgba(26, 71, 67, 0.25), rgba(26, 71, 67, 0.05));
}
.hero-vertical {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem); letter-spacing: 0.6em;
  color: rgba(239, 232, 217, 0.72);
  border-right: 1px solid rgba(168, 134, 85, 0.6); padding-right: 0.7rem;
}
.hero-body {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(2.5rem, 8vh, 5rem);
}
.hero-logo { display: block; width: clamp(220px, 34vw, 420px); height: auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,0.35)); }
.hero-logo img { width: 100%; height: auto; display: block; }
.hero-genre {
  margin: 0.85rem 0 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(0.8rem, 1.05vw, 0.92rem);
  letter-spacing: 0.2em;
  color: rgba(168, 134, 85, 0.82);
}

.hero-line { margin: 1.1rem 0 1.6rem; font-size: clamp(0.98rem, 1.4vw, 1.08rem); letter-spacing: 0.06em; color: rgba(239, 232, 217, 0.86); }
.hero-act { display: flex; align-items: center; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.25rem; }
.hero .btn.primary { background: var(--paper); color: var(--teal-deep); }
.hero .btn.primary:hover { background: #fffaf0; filter: none; }
.hero .btn.ghost { color: #efe8d9; border-color: rgba(239, 232, 217, 0.45); }
.hero .btn.ghost:hover { background: rgba(239, 232, 217, 0.1); }

/* —— 通用版心 —— */
.games, .news, .footage {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3.2rem, 9vh, 5.5rem) var(--gutter) 0;
}
.sec-h, .section-h {
  display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap;
  margin-bottom: clamp(1.4rem, 3.5vh, 2.2rem);
  border-bottom: 1px solid var(--line); padding-bottom: 0.9rem;
  max-width: none;
}
.sec-h h2, .section-h h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 600;
}
.sec-h p, .section-h p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* —— 作品墙 —— */
.game { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: end; }
.game-art { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--teal-deep); border-radius: 2px; cursor: default; }
.game-art img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); filter: saturate(0.88); }
.game-art:hover img:first-child { transform: scale(1.03); }
.game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,38,36,0.7), rgba(12,38,36,0) 55%); }
.game-logo { position: absolute; left: 6%; bottom: 7%; width: 38%; z-index: 1; height: auto; display: block; margin: 0; }
.game-logo img { width: 100%; height: auto; display: block; }

.game-info h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: 0.2em; font-weight: 700; }
.game-genre { margin: 0.4rem 0 1.1rem; color: var(--gold); font-size: 0.88rem; letter-spacing: 0.14em; }
.game-pitch { margin: 0 0 0.9rem; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); line-height: 1.9; }
.game-platform { margin: 0 0 1.5rem; color: var(--muted); font-size: 0.85rem; }
.game-act { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.frames { list-style: none; padding: 0; margin: clamp(1.2rem, 3vw, 1.8rem) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.5rem, 1.4vw, 0.9rem); }
.frames li { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); border-radius: 2px; }
.frames img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); transition: filter 0.4s; }
.frames li:hover img { filter: none; }
.frames li::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(12,38,36,0.75), rgba(12,38,36,0)); pointer-events: none; }
.frames span { position: absolute; z-index: 1; left: 0.7rem; bottom: 0.5rem; font-size: 0.75rem; letter-spacing: 0.12em; color: #efe8d9; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.frames li:nth-child(2) img { object-position: 30% 28%; }

.game-pillars { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.55rem; font-size: 0.92rem; line-height: 1.75; color: var(--text); }
.game-pillars strong { font-family: var(--serif); font-weight: 600; color: var(--ink); margin-right: 0.6em; }
.game-pillars em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 0.5em; margin-left: 0.5em; white-space: nowrap; }

.footage[hidden] { display: none; }
.footage-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(0.6rem, 1.6vw, 1rem); }
.footage-list video { width: 100%; aspect-ratio: 16 / 9; background: var(--teal-deep); display: block; border-radius: 2px; }
.footage-list span { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; }

.next-mountain {
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.1rem 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
  color: var(--faint); font-family: var(--serif); letter-spacing: 0.1em;
}
.next-mountain em { font-style: normal; font-size: 0.9rem; }

/* —— 近况：竖屏 reel —— */
.news-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.reel { width: clamp(220px, 24vw, 280px); }
.reel-phone {
  position: relative; aspect-ratio: 9 / 16;
  border-radius: 2px; padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -28px rgba(12, 38, 36, 0.35);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}
.reel-phone.is-dragging { cursor: grabbing; }
.reel-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 0; overflow: hidden; background: var(--teal-deep);
  outline-offset: 3px;
  touch-action: pan-y;
}
.reel-screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease);
  pointer-events: none; -webkit-user-drag: none;
  filter: saturate(0.9);
}
.reel-screen img.is-on { opacity: 1; }
.reel-bars {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; gap: 4px; z-index: 2;
  pointer-events: auto;
}
.reel-bars i {
  flex: 1; height: 2px; border-radius: 1px;
  background: rgba(246, 243, 236, 0.28); overflow: hidden; cursor: pointer;
}
.reel-bars i b { display: block; height: 100%; width: 0; background: rgba(246, 243, 236, 0.92); }
.reel-bars i.done b { width: 100%; }
.reel-bars i.is-on { box-shadow: 0 0 0 1px rgba(168, 134, 85, 0.45); }
.reel-tools {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 0.9rem; flex-wrap: wrap;
}
.reel-dots {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem;
}
.reel-dots button {
  min-width: 1.85rem; height: 1.85rem; padding: 0 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit; font-size: 0.72rem; letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.reel-dots button:hover { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.reel-dots button.is-on {
  color: var(--teal-deep);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}
.reel-pause {
  font-size: 0.78rem; letter-spacing: 0.14em;
  border-bottom: 1px solid var(--line);
  color: var(--muted); background: transparent; cursor: pointer;
  padding: 0.15rem 0; font: inherit;
}
.reel-pause:hover { color: var(--ink); }

.news-side { padding-top: 0.15rem; }
.news-now {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--ink);
  min-height: 2.2em;
  letter-spacing: 0.04em;
}
.news-now [data-week] {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78em;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.news-list { list-style: none; margin: 0 0 1.6rem; padding: 0; border-top: 1px solid var(--line); }
.news-item {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 4rem 1fr auto; gap: 1rem; align-items: baseline;
  padding: 1rem 0.35rem 1rem 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: color 0.2s, background 0.25s var(--ease), padding 0.3s var(--ease);
}
.news-item time { color: var(--faint); font-size: 0.82rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.ni-title { color: var(--text); font-size: 0.95rem; }
.ni-tag {
  font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--faint);
  font-weight: 500;
}
.news-item:hover {
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
}
.news-item:hover .ni-title, .news-item.is-on .ni-title { color: var(--accent); }
.news-item.is-on {
  padding-left: 0.55rem;
  box-shadow: inset 2px 0 0 var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}

/* —— 现网反馈表 —— */
.feedback {
  margin: 0 auto;
  max-width: 720px;
  padding: clamp(2.5rem, 7vh, 4rem) var(--gutter) clamp(3rem, 8vh, 5rem);
}
.feedback .section-h {
  display: block;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1rem;
}
.feedback .section-h h2 { font-size: 1.7rem; margin: 0.2rem 0 0.8rem; }
.feedback-form { display: grid; gap: 0.75rem; }
.feedback-form textarea,
.feedback-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: inherit;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
}
.feedback-form textarea { resize: vertical; min-height: 6rem; }
.device-line { font-size: 0.85rem; color: var(--muted); }
.device-line code { font-size: 0.8rem; word-break: break-all; color: var(--text); }
.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.feedback-status { font-size: 0.9rem; color: var(--muted); }

/* —— 页脚 —— */
.foot, .site-foot {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; align-items: center;
  padding: 1.4rem var(--gutter) calc(1.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
.foot .tiny, .site-foot .tiny { font-size: 0.78rem; color: var(--faint); }
.foot-draft { margin-left: auto; font-size: 0.8rem; color: var(--faint); }
.foot-draft a { border-bottom: 1px solid currentColor; }

.fade { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.fade.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .top-nav a:not(.top-link) { display: none; }
  .game { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { min-height: min(78svh, 700px); }
  .hero-art img { object-position: 62% 50%; }
  .hero-vertical { top: 18%; transform: none; font-size: 0.9rem; }
  .news-grid { grid-template-columns: 1fr; justify-items: center; }
  .reel { width: min(72vw, 300px); }
  .news-side { width: 100%; }
  .news-now { text-align: center; }
  .news-item { grid-template-columns: 3.2rem 1fr; }
  .ni-tag { display: none; }
  .frames { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .frames li { scroll-snap-align: start; }
  .foot-draft { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img { animation: none; transform: none; }
  .fade { opacity: 1; transform: none; transition: none; }
  .reel-screen img, .game-art img:first-child { transition: none; }
}

/* —— 试玩按钮：呼吸外发光 + 定时扫光 —— */
.cta-glow {
  --cta-glow: 168, 134, 85;   /* --gold */
  --cta-ember: 181, 69, 47;   /* 朱 */
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(var(--cta-glow), 0.55), 0 0 14px 1px rgba(var(--cta-glow), 0.35);
  animation: cta-breathe 3.6s ease-in-out infinite;
}
.cta-glow::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 244, 214, 0) 20%, rgba(255, 244, 214, 0.55) 50%, rgba(255, 244, 214, 0) 80%, transparent 100%);
  transform: skewX(-18deg);
  animation: cta-sheen 5.5s ease-in-out infinite;
}
.cta-glow:hover, .cta-glow:focus-visible {
  animation-duration: 1.8s;
  box-shadow: 0 0 0 1px rgba(var(--cta-glow), 0.9), 0 0 22px 4px rgba(var(--cta-ember), 0.45);
}
.cta-glow:hover::after, .cta-glow:focus-visible::after { animation-duration: 2.2s; }
@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(var(--cta-glow), 0.45), 0 0 10px 0 rgba(var(--cta-glow), 0.25); }
  50% { box-shadow: 0 0 0 1px rgba(var(--cta-glow), 0.85), 0 0 22px 4px rgba(var(--cta-ember), 0.38); }
}
@keyframes cta-sheen {
  0%, 62% { left: -60%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-glow, .cta-glow:hover { animation: none; }
  .cta-glow::after { animation: none; display: none; }
}

/* 主区大按钮：浅纸色底上金色扫光看不出，改用朱金描边光与深金扫光 */
.hero .btn.primary.cta-glow {
  border: 1px solid rgba(var(--cta-glow), 0.9);
  animation: cta-breathe-hero 3.2s ease-in-out infinite;
}
.hero .btn.primary.cta-glow::after {
  width: 38%;
  background: linear-gradient(100deg, transparent 0%, rgba(168, 134, 85, 0) 15%, rgba(201, 150, 70, 0.55) 45%, rgba(255, 236, 190, 0.9) 50%, rgba(201, 150, 70, 0.55) 55%, rgba(168, 134, 85, 0) 85%, transparent 100%);
  animation-duration: 4.2s;
}
.hero .btn.primary.cta-glow:hover, .hero .btn.primary.cta-glow:focus-visible {
  animation-duration: 1.6s;
}
@keyframes cta-breathe-hero {
  0%, 100% { box-shadow: 0 0 0 2px rgba(var(--cta-glow), 0.55), 0 0 16px 2px rgba(var(--cta-glow), 0.45); }
  50% { box-shadow: 0 0 0 3px rgba(var(--cta-glow), 0.95), 0 0 34px 10px rgba(var(--cta-ember), 0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .btn.primary.cta-glow, .hero .btn.primary.cta-glow:hover {
    animation: none;
    box-shadow: 0 0 0 2px rgba(var(--cta-glow), 0.8), 0 0 18px 4px rgba(var(--cta-glow), 0.45);
  }
}
