/* ==========================================================================
   PengAPI Landing v1 — styles
   米白 + 墨黑 + 金色三色配方 / 双主题 / 移动端响应式
   ========================================================================== */

:root {
  --bg: #f5efe3;
  --bg-elev: #fbf6ea;
  --ink: #1b1b1a;
  --ink-soft: #3b3a36;
  --muted: #7a7466;
  --gold: #c8a24a;
  --gold-soft: #e8c26a;
  --gold-deep: #9b6f1e;
  --line: rgba(27, 27, 26, 0.1);
  --line-strong: rgba(27, 27, 26, 0.18);
  --shadow: 0 20px 60px -28px rgba(60, 40, 8, 0.28);
  --shadow-card: 0 1px 0 rgba(27, 27, 26, 0.04), 0 14px 28px -22px rgba(60, 40, 8, 0.32);
  --grid-line: rgba(200, 162, 74, 0.3);
  --grid-dot: rgba(200, 162, 74, 0.7);

  --serif-cn: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', serif;
  --serif-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui,
    sans-serif;
  --mono: 'Space Grotesk', ui-monospace, SFMono-Regular, Menlo, monospace;
}

[data-theme='dark'] {
  --bg: #0e0d0b;
  --bg-elev: #16140f;
  --ink: #f1ead9;
  --ink-soft: #d6cfbe;
  --muted: #8a8270;
  --gold: #e0be63;
  --gold-soft: #f3d685;
  --gold-deep: #b8902f;
  --line: rgba(241, 234, 217, 0.08);
  --line-strong: rgba(241, 234, 217, 0.16);
  --shadow: 0 20px 60px -28px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 1px 0 rgba(241, 234, 217, 0.04), 0 14px 28px -22px rgba(0, 0, 0, 0.6);
  --grid-line: rgba(224, 190, 99, 0.22);
  --grid-dot: rgba(224, 190, 99, 0.65);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(200, 162, 74, 0.12), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(200, 162, 74, 0.08), transparent 60%),
    var(--bg);
  transition: background-color 0.4s ease, color 0.4s ease;
}

[data-theme='dark'] body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(224, 190, 99, 0.08), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(224, 190, 99, 0.06), transparent 60%),
    var(--bg);
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

#grid-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

main,
.topnav,
.footer {
  position: relative;
  z-index: 1;
}

/* =========================================================================
   TOPNAV
   ========================================================================= */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif-en);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.foot-brand .brand-mark {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle,
.theme-toggle {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lang-toggle .sep {
  opacity: 0.4;
}

.lang-toggle:hover,
.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  padding: 0;
  justify-content: center;
}

.theme-toggle .ico-sun,
.theme-toggle .ico-moon {
  display: none;
}

[data-theme='light'] .theme-toggle .ico-moon {
  display: block;
}

[data-theme='dark'] .theme-toggle .ico-sun {
  display: block;
}

[data-lang='en'] [data-show-lang='zh'] {
  display: none;
}

[data-lang='zh'] [data-show-lang='en'] {
  display: none;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta-pill:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-1px);
}

[data-theme='dark'] .cta-pill {
  background: var(--gold);
  border-color: var(--gold);
  color: #1b1b1a;
}

[data-theme='dark'] .cta-pill:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) clamp(20px, 5vw, 56px) clamp(60px, 10vw, 120px);
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 18px;
}

[data-theme='dark'] .kicker {
  color: var(--gold-soft);
}

.display {
  font-family: var(--serif-cn);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--ink);
}

.display > span {
  display: block;
}

.display-accent em {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-deep);
  position: relative;
  display: inline-block;
}

.display-accent em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.08em;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

[data-theme='dark'] .display-accent em {
  color: var(--gold-soft);
}

.lede {
  font-family: var(--serif-cn);
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 8px;
  max-width: 36ch;
}

.lede-en {
  font-family: var(--serif-en);
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 40px;
}

.cta-row-center {
  justify-content: center;
}

/* 模型矩阵下方的「看完整价目表」出口 */
.marquee-cta {
  margin: 28px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1b1b1a;
  border-color: var(--gold-deep);
  box-shadow: 0 8px 22px -10px rgba(155, 111, 30, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(155, 111, 30, 0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

[data-theme='dark'] .btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.btn-large {
  padding: 16px 28px;
  font-size: 15px;
}

.kpis {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 28px clamp(20px, 4vw, 56px);
}

.kpis li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpis b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--gold-deep);
  letter-spacing: -0.01em;
}

[data-theme='dark'] .kpis b {
  color: var(--gold-soft);
}

.kpis span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =========================================================================
   HERO VISUAL — coin
   ========================================================================= */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 32px);
  position: relative;
  min-height: 420px;
  /* PC 端拉伸右栏到与 hero-copy（左栏）同高，让 scroll-hint 能贴右栏底
     和左栏 KPI 行处于同一水平线 */
  align-self: stretch;
}

.coin-stage {
  position: relative;
  width: clamp(260px, 36vw, 440px);
  aspect-ratio: 1 / 1;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.coin {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 30px 40px rgba(155, 111, 30, 0.25));
  animation: coinFloat 6s ease-in-out infinite;
}

@keyframes coinFloat {
  0%,
  100% {
    transform: translateY(0) rotateZ(-1deg);
  }
  50% {
    transform: translateY(-12px) rotateZ(1deg);
  }
}

.coin-orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.32;
  pointer-events: none;
}

.orbit-1 {
  width: 100%;
  height: 100%;
  animation: spin 24s linear infinite;
  border-style: dashed;
}

.orbit-2 {
  width: 78%;
  height: 78%;
  top: 11%;
  left: 11%;
  animation: spin 16s linear reverse infinite;
  border-style: dotted;
  opacity: 0.5;
}

.orbit-3 {
  width: 56%;
  height: 56%;
  top: 22%;
  left: 22%;
  animation: spin 9s linear infinite;
  border-color: var(--gold-soft);
  opacity: 0.6;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.float-token {
  position: absolute;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-deep);
  background: var(--bg-elev);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  z-index: 3;
}

[data-theme='dark'] .float-token {
  color: var(--gold-soft);
}

.tok-1 {
  top: 6%;
  right: 4%;
  animation: floatA 7s ease-in-out infinite;
}
.tok-2 {
  bottom: 12%;
  left: -4%;
  animation: floatB 9s ease-in-out infinite;
}
.tok-3 {
  bottom: 0%;
  right: 14%;
  animation: floatC 8s ease-in-out infinite;
  font-family: var(--mono);
  font-style: normal;
}

@keyframes floatA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, 14px);
  }
}
@keyframes floatB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -12px);
  }
}
@keyframes floatC {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8px, -10px);
  }
}

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 56px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-head {
  max-width: 760px;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}

[data-theme='dark'] .eyebrow {
  color: var(--gold-soft);
}

.serif {
  font-family: var(--serif-cn);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}

.serif em {
  font-family: var(--serif-en);
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 600;
}

[data-theme='dark'] .serif em {
  color: var(--gold-soft);
}

.muted {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.muted.small {
  font-size: 13px;
}

/* ----- Section A: burn ----- */
.burn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.burn-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.burn-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.6s ease;
}

.burn-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 24px 40px -28px rgba(155, 111, 30, 0.45);
}

.burn-card:hover::before {
  width: 100%;
}

.burn-card h3 {
  font-family: var(--serif-cn);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--ink);
}

.burn-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.meter {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin: 0 0 10px;
}

.meter > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  border-radius: inherit;
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.meter-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.meter-label b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--gold-deep);
}

[data-theme='dark'] .meter-label b {
  color: var(--gold-soft);
}

/* ----- Section A2: support matrix ----- */
.shelf-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.shelf {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: start;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 40px) clamp(8px, 2vw, 20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.shelf:hover {
  background: var(--bg-elev);
}

.shelf-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shelf-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
}

[data-theme='dark'] .shelf-num {
  color: var(--gold-soft);
}

.shelf-label h3 {
  font-family: var(--serif-cn);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 24px);
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--ink-soft);
  font-family: var(--serif-en);
  font-size: 14px;
  letter-spacing: 0.02em;
  position: relative;
  transition:
    transform 0.2s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  cursor: default;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 18px -12px rgba(155, 111, 30, 0.45);
}

.chip-hot {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: linear-gradient(180deg, rgba(232, 194, 106, 0.12), rgba(232, 194, 106, 0.04));
}

.chip-hot::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--bg);
}

[data-theme='dark'] .chip-hot {
  color: var(--gold-soft);
  background: linear-gradient(180deg, rgba(224, 190, 99, 0.12), rgba(224, 190, 99, 0.02));
}

.matrix-foot {
  margin: 32px 0 0;
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.08), transparent);
  font-style: italic;
  font-family: var(--serif-en);
  font-size: 14px;
}

/* ----- Section B: sell ----- */
.sell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sell-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 30px 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sell-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 24px 40px -28px rgba(155, 111, 30, 0.45);
}

.sell-card-feature {
  background: linear-gradient(180deg, rgba(200, 162, 74, 0.1), rgba(200, 162, 74, 0.02));
  border-color: var(--gold);
}

[data-theme='dark'] .sell-card-feature {
  background: linear-gradient(180deg, rgba(224, 190, 99, 0.08), rgba(224, 190, 99, 0));
  border-color: var(--gold-soft);
}

.sell-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 20px;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
}

[data-theme='dark'] .sell-num {
  color: var(--gold-soft);
}

.sell-card h3 {
  font-family: var(--serif-cn);
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  color: var(--ink);
}

.sell-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* ----- Section C: marquee ----- */
.section-marquee {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.section-marquee .section-head {
  padding: 0 clamp(20px, 5vw, 56px);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 14px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 14px;
  white-space: nowrap;
  animation: marqueeMove 60s linear infinite;
  will-change: transform;
}

.marquee-reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 75s;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  font-family: var(--serif-en);
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.marquee-reverse .marquee-track span {
  color: var(--gold-deep);
  border-color: var(--gold);
}

[data-theme='dark'] .marquee-reverse .marquee-track span {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

@keyframes marqueeMove {
  to {
    transform: translateX(-50%);
  }
}

/* ----- Section D: why ----- */
.why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.why-item {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr;
  align-items: baseline;
  gap: clamp(16px, 3vw, 36px);
  padding: clamp(28px, 4vw, 44px) clamp(8px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.why-item:hover {
  background: var(--bg-elev);
}

.why-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 28px;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
}

[data-theme='dark'] .why-num {
  color: var(--gold-soft);
}

.why-item h3 {
  font-family: var(--serif-cn);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 0;
  color: var(--ink);
}

.why-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ----- Section: final ----- */
.section-final {
  text-align: center;
}

.final-title {
  margin: 0 auto 36px;
  max-width: 820px;
}

/* =========================================================================
   SCROLL HINT (anchored under coin, intermittent gentle blink)
   ========================================================================= */
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--serif-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: rgba(245, 239, 227, 0.6);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 24px -16px rgba(60, 40, 8, 0.4);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  backdrop-filter: blur(8px) saturate(130%);
  animation: scrollHintBlink 5s ease-in-out infinite;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  z-index: 4;
}

[data-theme='dark'] .scroll-hint {
  color: var(--ink-soft);
  background: rgba(22, 20, 15, 0.55);
  border-color: rgba(200, 162, 74, 0.3);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.6);
}

[data-theme='dark'] .scroll-hint .scroll-hint-text {
  color: var(--ink);
}

.scroll-hint:hover {
  color: #1b1b1a;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-color: var(--gold-deep);
  transform: translateY(-2px);
  animation-play-state: paused;
}

[data-theme='dark'] .scroll-hint:hover,
[data-theme='dark'] .scroll-hint:hover .scroll-hint-text {
  color: #1b1b1a;
}

.scroll-hint-text {
  font-style: italic;
}

.scroll-hint-arrow {
  display: inline-block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-deep);
  animation: scrollHintBob 1.8s ease-in-out infinite;
}

[data-theme='dark'] .scroll-hint-arrow {
  color: var(--gold-soft);
}

.scroll-hint:hover .scroll-hint-arrow {
  color: #1b1b1a;
}

/* 间歇式柔和闪烁：5s 周期里 70% 时间静态，仅在 70%~95% 区间做一次缓慢淡入淡出 */
@keyframes scrollHintBlink {
  0%, 70%, 100% { opacity: 1; }
  82%           { opacity: 0.42; }
  95%           { opacity: 1; }
}

@keyframes scrollHintBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint,
  .scroll-hint-arrow {
    animation: none !important;
  }
  .scroll-hint { opacity: 1; }
}

/* PC 端：贴右栏底居中，与左栏 KPI 行水平对齐 */
@media (min-width: 961px) {
  .scroll-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .scroll-hint {
    padding: 7px 15px;
    font-size: 12px;
  }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 56px clamp(20px, 5vw, 56px) 32px;
  background: var(--bg-elev);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}

.foot-col h4 {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}

.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-col a {
  color: var(--ink-soft);
  font-size: 14px;
  transition: color 0.2s ease;
}

.foot-col a:hover {
  color: var(--gold-deep);
}

[data-theme='dark'] .foot-col a:hover {
  color: var(--gold-soft);
}

.foot-brand .brand {
  margin-bottom: 12px;
}

.footer-meta {
  max-width: 1280px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }
  .hero-visual {
    order: -1;
    min-height: 320px;
  }
  .coin-stage {
    width: clamp(220px, 60vw, 320px);
  }
  .burn-grid,
  .sell-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-item {
    grid-template-columns: 56px 1fr;
  }
  .why-item p {
    grid-column: 2;
  }
  .shelf {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .topnav {
    padding: 14px 18px;
  }
  .nav-actions {
    gap: 6px;
  }
  .lang-toggle,
  .theme-toggle {
    padding: 6px 10px;
    font-size: 12px;
  }
  .theme-toggle {
    width: 32px;
    height: 32px;
  }
  .cta-pill {
    padding: 7px 14px;
    font-size: 12px;
  }
  .cta-pill > span:first-child {
    display: none;
  }
  .cta-pill::before {
    content: '→';
    font-size: 14px;
  }
  .display {
    font-size: clamp(34px, 10vw, 56px);
  }
  .lede {
    font-size: 16px;
  }
  .kpis {
    gap: 18px 24px;
  }
  .burn-grid,
  .sell-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 260px;
  }
  .coin-stage {
    width: clamp(200px, 55vw, 260px);
  }
  .float-token {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .chip {
    font-size: 13px;
    padding: 7px 13px;
  }
  .chip-row {
    gap: 8px;
  }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .section {
    opacity: 1;
    transform: none;
  }
}
