/* ═══════════════════════════════════════════════════════════════════════
   蝴蝶借呗 · Butterfly Jiebei — Landing Site
   Palette: Deep Crimson + Chrome Silver + Imperial Gold + Holographic
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Core reds */
  --red-deepest: #0D0203;
  --red-abyss:   #1A0406;
  --red-bg:      #2A0609;
  --red-mid:     #5A0D12;
  --red-brand:   #B3151C;
  --red-glow:    #FF2A35;

  /* Chrome / silver */
  --chrome-1: #F4F1EC;
  --chrome-2: #C9BFB3;
  --chrome-3: #6B5F54;

  /* Gold */
  --gold-1:  #FFE08A;
  --gold-2:  #E5B83A;
  --gold-3:  #9E7514;

  /* Holographic hues (used sparingly as gradients) */
  --holo-a:  #FF6BCB;
  --holo-b:  #7A6BFF;
  --holo-c:  #4EE3FF;
  --holo-d:  #B6FF5F;

  /* Text */
  --text:     #F7EDE3;
  --text-dim: rgba(247,237,227,0.66);
  --text-fade:rgba(247,237,227,0.38);

  /* Utility */
  --danger:  #FF3D57;
  --emerald: #2EE6A0;
  --amber:   var(--gold-2);

  /* Layout */
  --nav-h: 64px;
  --radius: 6px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--red-deepest);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

/* ─────────────── Global background: deep crimson + circuit + vignette ─────────────── */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,42,53,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(179,21,28,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at center, var(--red-bg) 0%, var(--red-abyss) 50%, var(--red-deepest) 100%);
  animation: bgPulse 14s ease-in-out infinite;
}

@keyframes bgPulse {
  0%,100% { filter: brightness(1); }
  50%     { filter: brightness(1.12); }
}

/* Circuit grid */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,200,160,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,200,160,0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255,180,100,0.06) 1px, transparent 1.5px);
  background-size: 56px 56px, 56px 56px, 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to   { background-position: 56px 56px, -56px 56px, 28px 28px; }
}

/* CRT scanlines (very subtle) */
.bg-scanline {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.05) 2px,
    rgba(0,0,0,0.05) 3px
  );
  opacity: 0.4;
  mix-blend-mode: multiply;
  animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
  from { background-position-y: 0; }
  to   { background-position-y: 100px; }
}

/* Floating holographic particles */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,107,203,0.08) 0%, transparent 5%),
    radial-gradient(circle at 85% 45%, rgba(78,227,255,0.07) 0%, transparent 4%),
    radial-gradient(circle at 40% 80%, rgba(182,255,95,0.06) 0%, transparent 5%),
    radial-gradient(circle at 75% 90%, rgba(122,107,255,0.08) 0%, transparent 4%);
  animation: floatOrbs 22s ease-in-out infinite alternate;
}

@keyframes floatOrbs {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-20px,15px) scale(1.1); }
  100% { transform: translate(30px,-25px) scale(0.95); }
}

/* ─────────────── Typography ─────────────── */

h1,h2,h3,h4 { font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif; letter-spacing: -0.01em; }

.brand-cn,
.title-cn {
  font-family: 'Ma Shan Zheng', 'ZCOOL KuaiLe', 'Noto Sans SC', cursive;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.mono, .step-code, pre, code, .tile-label, .sec-tag, .num, .brand-en, .road-tag, .tok-bd-v, .tok-v, .ex-label, .wheel-n {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Gold calligraphy gradient (for 蝴蝶借呗 text) */
.title-cn {
  background: linear-gradient(180deg, #FFF0C4 0%, var(--gold-1) 25%, var(--gold-2) 55%, var(--gold-3) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,0.4)) drop-shadow(0 0 28px rgba(255,180,40,0.5));
  text-shadow: 0 0 1px rgba(255,200,80,0.2);
}

/* ─────────────── Layout ─────────────── */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section {
  padding: 96px 0;
  position: relative;
}

.sec-head {
  text-align: center;
  margin-bottom: 56px;
}
.sec-tag {
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.28em;
  margin-bottom: 14px;
  opacity: 0.85;
}
.sec-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  background: linear-gradient(180deg, var(--chrome-1) 0%, var(--chrome-2) 70%, var(--chrome-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}
.sec-sub {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
  font-size: 15px;
}

/* ─────────────── NAV ─────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: linear-gradient(180deg, rgba(26,4,6,0.85) 0%, rgba(26,4,6,0.55) 100%);
  border-bottom: 1px solid rgba(229,184,58,0.15);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(229,184,58,0.3), 0 0 18px rgba(255,100,100,0.25);
  animation: brandPulse 3s ease-in-out infinite;
}
@keyframes brandPulse {
  0%,100% { filter: drop-shadow(0 0 6px rgba(255,160,50,0.35)); }
  50%     { filter: drop-shadow(0 0 14px rgba(255,180,80,0.7)); }
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-cn {
  font-size: 18px;
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-en {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--text-fade);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 16px;
  flex: 1;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .25s, text-shadow .25s;
  position: relative;
}
.nav-links a:hover {
  color: var(--gold-1);
  text-shadow: 0 0 12px rgba(255,200,80,0.45);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-2), transparent);
  transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.lang-switch {
  background: transparent;
  border: 1px solid rgba(229,184,58,0.3);
  color: var(--gold-1);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  cursor: pointer;
  transition: all .25s;
}
.lang-switch:hover {
  border-color: var(--gold-2);
  background: rgba(229,184,58,0.12);
  box-shadow: 0 0 14px rgba(229,184,58,0.25);
}

/* Connect Wallet button */
.btn-wallet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(10,2,3,0.7), rgba(26,4,6,0.5));
  border: 1px solid rgba(229,184,58,0.35);
  color: var(--gold-1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s;
  position: relative;
}
.btn-wallet:hover:not(:disabled) {
  border-color: var(--gold-1);
  background: rgba(229,184,58,0.12);
  box-shadow: 0 0 18px rgba(229,184,58,0.35);
  transform: translateY(-1px);
}
.btn-wallet:disabled { opacity: 0.6; cursor: wait; }
.btn-wallet .wallet-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--chrome-2);
  box-shadow: 0 0 6px rgba(201,191,179,0.5);
  transition: background .3s, box-shadow .3s;
}
.btn-wallet.connected {
  border-color: rgba(46,230,160,0.6);
  color: var(--chrome-1);
  background: linear-gradient(180deg, rgba(8,32,22,0.75), rgba(5,22,14,0.6));
}
.btn-wallet.connected:hover {
  border-color: var(--emerald);
  box-shadow: 0 0 18px rgba(46,230,160,0.35);
}
.btn-wallet.connected .wallet-dot {
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: blinkDot 1.6s ease-in-out infinite;
}
.btn-wallet.loading .wallet-dot {
  background: var(--gold-2);
  animation: spin 0.9s linear infinite;
  border-radius: 2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Disconnect menu */
.wallet-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(26,4,6,0.98), rgba(10,2,3,0.98));
  border: 1px solid rgba(229,184,58,0.35);
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  z-index: 100;
  display: none;
  backdrop-filter: blur(8px);
}
.wallet-menu.open { display: block; animation: fadeUp .2s ease; }
.wallet-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.wallet-menu-item:hover { background: rgba(229,184,58,0.1); color: var(--gold-1); }
.wallet-menu-item.danger:hover { background: rgba(255,61,87,0.12); color: var(--danger); }
.wallet-menu-full {
  padding: 10px 12px;
  font-size: 11px;
  color: var(--text-fade);
  word-break: break-all;
  line-height: 1.6;
  border-bottom: 1px dashed rgba(229,184,58,0.2);
  margin-bottom: 6px;
}
.wallet-menu-full b { color: var(--gold-1); font-weight: 600; }

/* Mobile nav: only brand + lang + wallet; drop the long "进入 App · 毕业后开放" */
@media (max-width: 900px) {
  .nav-launch { display: none !important; }
  .nav-inner { gap: 12px; padding: 0 14px; }
  .nav-right { gap: 8px; }
  .btn-wallet {
    padding: 7px 12px;
    font-size: 11px;
    gap: 6px;
    letter-spacing: 0.02em;
  }
  .btn-wallet .wallet-label {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lang-switch { padding: 6px 10px; font-size: 11px; }
  /* Viewport-safe dropdown (doesn't get clipped when button is near edge) */
  .wallet-menu {
    position: fixed;
    top: calc(var(--nav-h) + 8px) !important;
    right: 12px;
    left: auto;
    min-width: 240px;
    max-width: calc(100vw - 24px);
  }
}
@media (max-width: 380px) {
  .brand-en { display: none; }
  .btn-wallet .wallet-label { max-width: 92px; }
}

/* ─────────────── Buttons ─────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .3s, background .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-primary {
  color: #1a0406;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 50%, #C79315 100%);
  box-shadow:
    0 0 0 1px rgba(255,224,138,0.6) inset,
    0 6px 20px rgba(229,184,58,0.35),
    0 0 30px rgba(255,100,40,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,224,138,0.8) inset,
    0 10px 28px rgba(229,184,58,0.55),
    0 0 40px rgba(255,100,40,0.4);
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.5s ease-in-out infinite;
}
@keyframes btnShine {
  0%, 60% { left: -60%; }
  100%    { left: 130%; }
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(244,241,236,0.25);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--gold-2);
  color: var(--gold-1);
  background: rgba(229,184,58,0.08);
  box-shadow: 0 0 22px rgba(229,184,58,0.3);
}

/* Disabled "Coming Soon" state (nav / CTA buttons before DApp ships) */
.btn-soon {
  position: relative;
  cursor: not-allowed;
  filter: saturate(0.55);
  opacity: 0.82;
}
.btn-soon::after {
  content: "SOON";
  position: absolute;
  top: -8px; right: -10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--red-brand);
  color: var(--gold-1);
  box-shadow: 0 0 10px rgba(179,21,28,0.6);
  pointer-events: none;
  animation: soonPulse 2s ease-in-out infinite;
}
@keyframes soonPulse {
  0%,100% { transform: scale(1);   box-shadow: 0 0 10px rgba(179,21,28,0.6); }
  50%     { transform: scale(1.08); box-shadow: 0 0 18px rgba(255,42,53,0.9); }
}
.btn-soon:hover {
  transform: none !important;
  box-shadow: 0 0 0 1px rgba(255,224,138,0.4) inset !important;
}

/* ─────────────── HERO ─────────────── */

.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 100px;
  position: relative;
}

.ascii-banner {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-fade);
  text-align: left;
  display: inline-block;
  margin: 0 auto 28px;
  padding: 10px 16px;
  background: rgba(10,2,3,0.5);
  border: 1px solid rgba(229,184,58,0.15);
  border-radius: var(--radius);
  white-space: pre;
  opacity: 0;
  animation: fadeUp .8s ease forwards .2s;
}
.ascii-banner .ok { color: var(--emerald); font-weight: 700; }

.hero-logo-wrap {
  position: relative;
  width: min(340px, 70vw);
  height: min(340px, 70vw);
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(229,184,58,0.25),
    0 30px 80px rgba(0,0,0,0.6),
    0 0 80px rgba(255,80,40,0.35);
  animation: logoFloat 5s ease-in-out infinite, logoEnter 1.2s cubic-bezier(.2,.9,.3,1.2);
  will-change: transform;
}
@keyframes logoEnter {
  from { opacity: 0; transform: scale(0.7) rotate(-6deg); filter: blur(14px); }
  to   { opacity: 1; transform: scale(1)   rotate(0);    filter: blur(0); }
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-12px) rotate(0.8deg); }
}
.hero-logo-halo {
  position: absolute;
  inset: -20%;
  z-index: -1;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      rgba(255,107,203,0.35),
      rgba(122,107,255,0.35),
      rgba(78,227,255,0.35),
      rgba(182,255,95,0.25),
      rgba(255,224,138,0.35),
      rgba(255,107,203,0.35));
  filter: blur(50px);
  opacity: 0.55;
  animation: haloSpin 18s linear infinite;
}
@keyframes haloSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

.tag-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 22px;
  background: rgba(10,2,3,0.6);
  border: 1px solid rgba(229,184,58,0.3);
  border-radius: 999px;
  font-size: 12px;
  color: var(--gold-1);
  letter-spacing: 0.1em;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0;
  animation: fadeUp .8s ease forwards .5s;
}
.tag-line .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-glow);
  box-shadow: 0 0 10px var(--red-glow);
  animation: blinkDot 1.3s ease-in-out infinite;
}
@keyframes blinkDot {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.3; }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 1s ease forwards .7s;
}
.hero-title .title-cn {
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.95;
}
.hero-title .title-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(12px, 1.6vw, 18px);
  letter-spacing: 0.4em;
  color: var(--chrome-2);
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--text);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 1s ease forwards .9s;
}
.hero-sub .sep {
  color: var(--gold-2);
  margin: 0 10px;
  text-shadow: 0 0 10px rgba(229,184,58,0.6);
}

.hero-desc {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.1s;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  width: 100%;
  max-width: 440px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.3s;
}
.hero-cta .btn { white-space: nowrap; }

/* Mobile: stack the two CTAs full-width + give the primary a gold breathing glow */
@media (max-width: 560px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    gap: 10px;
    margin-bottom: 40px;
  }
  .hero-cta .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    box-sizing: border-box;
  }
  .hero-cta .btn-primary {
    animation: heroCtaPulse 2.2s ease-in-out infinite;
  }
}
@keyframes heroCtaPulse {
  0%,100% { box-shadow:
              0 0 0 1px rgba(255,224,138,0.6) inset,
              0 4px 14px rgba(229,184,58,0.35),
              0 0 0 rgba(255,100,40,0); }
  50%     { box-shadow:
              0 0 0 1px rgba(255,224,138,0.9) inset,
              0 6px 22px rgba(229,184,58,0.55),
              0 0 18px rgba(255,100,40,0.45); }
}

.hero-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.5s;
}
.tile {
  background: linear-gradient(180deg, rgba(45,6,9,0.75), rgba(26,4,6,0.55));
  border: 1px solid rgba(229,184,58,0.18);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(229,184,58,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(229,184,58,0.5);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5), 0 0 22px rgba(229,184,58,0.2);
}
.tile:hover::before { transform: translateX(100%); }
.tile-label {
  color: var(--text-fade);
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.tile-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 24px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tile-val .num { font-size: 30px; }

/* Contract address pill */
.contract-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 44px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(10,2,3,0.75), rgba(26,4,6,0.55));
  border: 1px solid rgba(229,184,58,0.3);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .2s;
  position: relative;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1.4s;
}
.contract-pill:hover {
  border-color: var(--gold-2);
  box-shadow: 0 0 24px rgba(229,184,58,0.25);
  transform: translateY(-1px);
}
.contract-pill .cp-label {
  color: var(--gold-2);
  letter-spacing: 0.24em;
  font-weight: 700;
  font-size: 10px;
}
.contract-pill .cp-addr {
  color: var(--chrome-1);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.contract-pill .cp-sep { color: var(--gold-3); opacity: 0.6; }
.contract-pill .cp-link {
  color: var(--gold-1);
  text-decoration: none;
  transition: color .2s;
}
.contract-pill .cp-link:hover { color: #FFF0C4; text-shadow: 0 0 12px rgba(255,200,80,0.5); }
.contract-pill .cp-badge {
  color: var(--emerald);
  font-weight: 700;
  font-size: 11px;
  text-shadow: 0 0 8px rgba(46,230,160,0.4);
}
.contract-pill.copied { border-color: var(--emerald); box-shadow: 0 0 24px rgba(46,230,160,0.35); }
.contract-pill.copied::after {
  content: "COPIED ✓";
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: #0D0203;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 4px;
}

@media (max-width: 540px) {
  .contract-pill { flex-wrap: wrap; justify-content: center; padding: 10px 14px; font-size: 11px; }
  .contract-pill .cp-sep { display: none; }
}

/* ─────────────── Reveal on scroll ─────────────── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────── MECHANISM ─────────────── */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.flow-step {
  background: linear-gradient(165deg, rgba(60,10,14,0.85), rgba(26,4,6,0.85));
  border: 1px solid rgba(229,184,58,0.2);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.flow-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  transform: translateX(-100%);
  transition: transform .6s;
}
.flow-step:hover {
  transform: translateY(-6px);
  border-color: rgba(229,184,58,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255,100,40,0.25);
}
.flow-step:hover::before { transform: translateX(100%); }

.step-no {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  color: var(--gold-2);
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  opacity: 0.8;
}
.step-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: inline-block;
  animation: iconFloat 4s ease-in-out infinite;
}
.flow-step:nth-child(2) .step-icon { animation-delay: .5s; }
.flow-step:nth-child(3) .step-icon { animation-delay: 1s; }
.flow-step:nth-child(4) .step-icon { animation-delay: 1.5s; }
@keyframes iconFloat {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-6px) rotate(3deg); }
}
.flow-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--chrome-1);
}
.flow-step p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.step-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold-1);
  background: rgba(10,2,3,0.7);
  padding: 6px 10px;
  border-radius: 4px;
  border-left: 2px solid var(--gold-2);
  display: inline-block;
  opacity: 0.9;
}

/* Example flow */
.example-box {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(60,10,14,0.7), rgba(26,4,6,0.7));
  border: 1px solid rgba(229,184,58,0.22);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.example-box::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-2) 50%, transparent);
  animation: scanX 4s ease-in-out infinite;
}
@keyframes scanX {
  0%,100% { opacity: 0.2; transform: translateX(-30%); }
  50%     { opacity: 1; transform: translateX(30%); }
}
.ex-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold-2);
}
.ex-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  animation: blinkDot 1.3s ease-in-out infinite;
}
.ex-flow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.ex-flow + .ex-flow { margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(229,184,58,0.2); }
.ex-alt .ex-k { color: var(--danger); }

.ex-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px;
  background: rgba(10,2,3,0.5);
  border: 1px solid rgba(244,241,236,0.12);
  border-radius: var(--radius);
  min-width: 130px;
}
.ex-k { font-size: 11px; color: var(--text-fade); letter-spacing: 0.05em; }
.ex-v { font-size: 14px; color: var(--text); font-weight: 600; }
.ex-v b { color: var(--gold-1); }
.ex-arr {
  color: var(--gold-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  animation: arrShift 1.6s ease-in-out infinite;
}
@keyframes arrShift {
  0%,100% { transform: translateX(0); opacity: 0.6; }
  50%     { transform: translateX(4px); opacity: 1; }
}
.ex-win { border-color: rgba(46,230,160,0.5); background: rgba(46,230,160,0.08); }
.ex-burn { border-color: rgba(255,61,87,0.5); background: rgba(255,61,87,0.08); animation: burnPulse 1.6s ease-in-out infinite; }
@keyframes burnPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,61,87,0.4); }
  50%     { box-shadow: 0 0 0 10px rgba(255,61,87,0); }
}

/* ─────────────── TOKENOMICS ─────────────── */

.tok-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.tok-card {
  background: linear-gradient(165deg, rgba(60,10,14,0.85), rgba(26,4,6,0.85));
  border: 1px solid rgba(229,184,58,0.22);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.tok-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.5); }

.tok-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(229,184,58,0.15);
}
.tok-row:last-child { border-bottom: none; }
.tok-k { color: var(--text-dim); font-size: 14px; }
.tok-v { font-weight: 700; font-size: 24px; }
.tok-v-accent {
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tok-v-danger {
  color: var(--danger);
  text-shadow: 0 0 12px rgba(255,61,87,0.4);
}

.tok-divider {
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, rgba(229,184,58,0.35), transparent);
}

.tok-breakdown { display: flex; flex-direction: column; gap: 12px; }
.tok-bd-row {
  display: grid;
  grid-template-columns: 24px 1fr auto 120px;
  gap: 10px;
  align-items: center;
}
.tok-bd-ic { font-size: 18px; }
.tok-bd-k { color: var(--text); font-size: 13px; }
.tok-bd-v {
  font-weight: 700;
  font-size: 15px;
  color: var(--gold-1);
  min-width: 34px;
  text-align: right;
}
.tok-bar {
  height: 8px;
  background: rgba(0,0,0,0.4);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.tok-bar-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  box-shadow: 0 0 14px currentColor;
  position: relative;
  animation: barShimmer 2.4s linear infinite;
  background-size: 200% 100%;
}
@keyframes barShimmer {
  from { background-position: 0 0; }
  to   { background-position: 200% 0; }
}

/* Wheel */
.tok-wheel { text-align: center; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.wheel-title {
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}
.wheel-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10,2,3,0.5);
  border: 1px solid rgba(244,241,236,0.1);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  margin: 0 auto;
  width: fit-content;
  transition: transform .25s, border-color .25s;
}
.wheel-step:hover { border-color: var(--gold-2); transform: scale(1.04); }
.wheel-n {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 11px;
}
.wheel-arr {
  color: var(--gold-2);
  font-size: 20px;
  animation: wheelArr 1.5s ease-in-out infinite;
}
@keyframes wheelArr {
  0%,100% { transform: translateY(0); opacity: 0.5; }
  50%     { transform: translateY(4px); opacity: 1; }
}
.wheel-final {
  background: linear-gradient(135deg, rgba(229,184,58,0.2), rgba(179,21,28,0.2));
  border-color: rgba(229,184,58,0.5);
  font-weight: 700;
  box-shadow: 0 0 24px rgba(229,184,58,0.25);
}

/* ─────────────── UPGRADE (comparison table) ─────────────── */

.cmp-table {
  background: rgba(10,2,3,0.5);
  border: 1px solid rgba(229,184,58,0.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cmp-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.8fr;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(244,241,236,0.06);
  align-items: center;
  gap: 16px;
  transition: background .25s;
}
.cmp-row:last-child { border-bottom: none; }
.cmp-row:not(.cmp-head):hover { background: rgba(229,184,58,0.04); }
.cmp-head {
  background: linear-gradient(90deg, rgba(60,10,14,0.85), rgba(26,4,6,0.85));
  padding-top: 22px;
  padding-bottom: 22px;
}
.cmp-head > div:first-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-2);
  text-transform: uppercase;
}
/* 旧: 蝴蝶白条 — 朴素、灰调 */
.cmp-head-old {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--chrome-3);
  letter-spacing: 0.05em;
  opacity: 0.75;
}
/* 新: 蝴蝶借呗 — 大号 + 金色毛笔 + 脉冲光 + CURRENT 徽章 */
.cmp-head-new {
  font-family: 'Ma Shan Zheng', 'Noto Sans SC', cursive;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #FFF0C4 0%, var(--gold-1) 35%, var(--gold-2) 70%, var(--gold-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255,180,40,0.45));
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cmp-head-new::after {
  content: "CURRENT";
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 3px 8px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #1a0406;
  -webkit-text-fill-color: #1a0406;
  box-shadow: 0 0 14px rgba(229,184,58,0.6);
  animation: currentPulse 2s ease-in-out infinite;
  vertical-align: middle;
  transform: translateY(-6px);
}
@keyframes currentPulse {
  0%,100% { box-shadow: 0 0 10px rgba(229,184,58,0.5); }
  50%     { box-shadow: 0 0 22px rgba(255,42,53,0.8); }
}

@media (max-width: 540px) {
  .cmp-head-new { font-size: 22px; }
  .cmp-head-new::after { font-size: 8px; padding: 2px 6px; }
}
.cmp-row .old { color: var(--text-fade); font-size: 13.5px; text-decoration: line-through; text-decoration-color: rgba(255,61,87,0.5); }
.cmp-row .new { color: var(--gold-1); font-size: 14px; font-weight: 600; }

/* ─────────────── SECURITY ─────────────── */

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.sec-card {
  background: linear-gradient(165deg, rgba(60,10,14,0.8), rgba(26,4,6,0.8));
  border: 1px solid rgba(229,184,58,0.2);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.sec-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(229,184,58,0.5), transparent 50%, rgba(255,100,40,0.35));
  -webkit-mask: linear-gradient(black, black) content-box, linear-gradient(black, black);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.sec-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 24px rgba(229,184,58,0.2);
}
.sec-card:hover::before { opacity: 1; }
.sec-ic { font-size: 30px; margin-bottom: 12px; display: inline-block; transition: transform .3s; }
.sec-card:hover .sec-ic { transform: scale(1.15) rotate(5deg); }
.sec-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--chrome-1); }
.sec-card p { color: var(--text-dim); font-size: 13.5px; line-height: 1.7; }

/* ─────────────── ROADMAP ─────────────── */

.road-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.road-list::before {
  content: "";
  position: absolute;
  left: 14px; top: 10px; bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-2), transparent);
  opacity: 0.3;
}
.road-item {
  position: relative;
  padding: 22px 26px 22px 48px;
  background: linear-gradient(165deg, rgba(60,10,14,0.8), rgba(26,4,6,0.8));
  border: 1px solid rgba(229,184,58,0.18);
  border-radius: var(--radius-lg);
  transition: border-color .3s, transform .3s;
}
.road-item:hover { transform: translateX(4px); border-color: rgba(229,184,58,0.45); }
.road-item::before {
  content: "";
  position: absolute;
  left: 8px; top: 28px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--red-abyss);
  border: 2px solid var(--gold-2);
}
.road-done::before { background: var(--emerald); border-color: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.road-active::before {
  background: var(--gold-2);
  border-color: var(--gold-1);
  box-shadow: 0 0 10px var(--gold-1);
  animation: activePulse 1.5s ease-in-out infinite;
}
@keyframes activePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(229,184,58,0.6); }
  50%     { box-shadow: 0 0 0 8px rgba(229,184,58,0); }
}
.road-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-2);
  margin-bottom: 6px;
}
.road-item h4 { font-size: 17px; margin-bottom: 6px; color: var(--chrome-1); }
.road-item p { color: var(--text-dim); font-size: 13.5px; line-height: 1.7; }

/* ─────────────── CTA ─────────────── */

.cta { padding: 80px 0 120px; }
.cta-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(229,184,58,0.12), transparent 60%),
    linear-gradient(165deg, rgba(60,10,14,0.95), rgba(26,4,6,0.95));
  border: 1px solid rgba(229,184,58,0.3);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-box::before, .cta-box::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.cta-box::before { top: -120px; left: -80px; background: rgba(255,100,40,0.22); animation: ctaOrb 8s ease-in-out infinite; }
.cta-box::after  { bottom: -120px; right: -80px; background: rgba(229,184,58,0.18); animation: ctaOrb 8s ease-in-out infinite reverse; }
@keyframes ctaOrb {
  0%,100% { transform: scale(1) translate(0,0); }
  50%     { transform: scale(1.2) translate(30px,-20px); }
}
.cta-emoji {
  font-size: 56px;
  margin-bottom: 14px;
  animation: iconFloat 4s ease-in-out infinite;
}
.cta-title {
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 12px;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(229,184,58,0.4));
}
.cta-desc { color: var(--text-dim); margin-bottom: 32px; font-size: 15px; }
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-meta {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-fade);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.cta-meta .sep { margin: 0 10px; color: var(--gold-3); }

/* ─────────────── FOOTER ─────────────── */

.footer {
  border-top: 1px solid rgba(229,184,58,0.15);
  background: linear-gradient(180deg, transparent, rgba(10,2,3,0.7));
  margin-top: 40px;
  padding-top: 48px;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.foot-brand .brand-mark { width: 44px; height: 44px; }
.foot-brand .brand-cn { font-size: 22px; }
.foot-tag {
  margin-top: 14px;
  color: var(--text-fade);
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
}
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.foot-cols a {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
  padding: 4px 0;
  transition: color .2s;
}
.foot-cols a:hover { color: var(--gold-1); }

.foot-bar {
  border-top: 1px solid rgba(229,184,58,0.1);
  padding: 20px 24px;
  text-align: center;
  color: var(--text-fade);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}
.foot-bar .sep { margin: 0 10px; color: var(--gold-3); }

/* ─────────────── Responsive ─────────────── */

@media (max-width: 900px) {
  .flow-grid, .sec-grid, .hero-tiles { grid-template-columns: repeat(2, 1fr); }
  .tok-grid { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr; gap: 6px; }
  .cmp-head { display: none; }
  .cmp-row { padding: 18px 20px; }
  .nav-links { display: none; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 64px 0; }
  .hero { min-height: auto; padding-top: 40px; }
  .ex-flow { flex-direction: column; }
  .ex-arr { transform: rotate(90deg); }
}

@media (max-width: 540px) {
  .hero-tiles { grid-template-columns: repeat(2, 1fr); }
  .flow-grid, .sec-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 20px; }
  .ascii-banner { font-size: 9px; }
  .tok-bd-row { grid-template-columns: 20px 1fr auto; }
  .tok-bd-row .tok-bar { grid-column: 1/-1; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ─────────────── Mobile / touch performance overrides ───────────────
   Kill the heavy full-screen composites that tank fps on mid-range phones:
   - fullscreen animated gradients / grid drift / scanlines with mix-blend-mode
   - backdrop-filter blurs (recomputed every scroll frame)
   - 50px logo halo blur + conic gradient spin
   - spawned butterfly particles with drop-shadow filters
   Keeps the aesthetic (static gradient + halo glow) but drops the cost. */

@media (hover: none) and (pointer: coarse), (max-width: 760px) {
  /* Background layers: static */
  body::before { animation: none !important; }
  body::after { animation: none !important; opacity: 0.35; }
  .bg-grid { animation: none !important; background-size: 72px 72px; }
  .bg-scanline { display: none !important; }

  /* Nav: solid semi-opaque instead of blur */
  .nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(20,3,5,0.94) !important;
  }

  /* Hero logo halo: static smaller glow */
  .hero-logo-halo {
    animation: none !important;
    inset: -8% !important;
    filter: blur(22px) !important;
    opacity: 0.32 !important;
  }
  .hero-logo { animation: logoEnter 0.8s cubic-bezier(.2,.9,.3,1.2) !important; }
  .hero-logo-wrap { will-change: auto; }

  /* Button shine animation: static (removes the moving highlight pass) */
  .btn-primary::before { animation: none !important; display: none; }

  /* Progress-bar shimmer: keep fill, drop infinite background-position tween */
  .tok-bar-fill { animation: none !important; }

  /* Ambient floating butterflies: hide (JS also skips creating them) */
  .bf-particles { display: none !important; }

  /* Kill the two 360×360 blur(90px) orbs behind the CTA — the single worst
     repaint offender on mid-range phones */
  .cta-box::before, .cta-box::after { animation: none !important; }

  /* Main logo still bobs but halo is already static, keep a slower cycle */
  .hero-logo { animation: logoEnter 0.8s cubic-bezier(.2,.9,.3,1.2), logoFloat 8s ease-in-out infinite !important; }

  /* Lighten step-icon float - a single bob cycle is fine but avoid layering many */
  .flow-step .step-icon,
  .cta-emoji { animation-duration: 6s !important; }

  /* Drop box-shadow-heavy hovers on touch (no hover anyway but keeps repaints minimal on tap) */
  .flow-step:hover, .sec-card:hover, .tok-card:hover, .tile:hover { transform: none !important; }
}
