/* Core styles — shared by every page (kept light for the homepage) */

:root {
  --bg: #060a12;
  --panel: #0c1322;
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #e9eef7;
  --muted: #93a1b8;
  --muted-2: #6f7d94;
  --gold: #d9a94a;
  --gold-lt: #f6d68a;
  --gold-dk: #9c6f1e;
  --up: #3ddc97;
  --down: #ff6b6b;
  --radius: 18px;
  --wrap: 1200px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Hiragino Sans", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}

/* ---------- ticker ---------- */
.ticker {
  display: flex; align-items: stretch; height: 38px;
  background: #04070d; border-bottom: 1px solid var(--line);
  overflow: hidden; font-size: 12px;
}
.ticker-label {
  flex: 0 0 auto; display: flex; align-items: center; gap: 6px;
  padding: 0 16px;
  background: linear-gradient(90deg, rgba(217, 169, 74, .16), rgba(217, 169, 74, .03));
  border-right: 1px solid var(--line);
  color: var(--gold-lt); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; white-space: nowrap;
}
.ticker-viewport { flex: 1 1 auto; overflow: hidden; position: relative; padding-left: 20px; }
.ticker-track {
  display: flex; align-items: center; gap: 42px; height: 100%;
  width: max-content; animation: marquee 46s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.tick { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); white-space: nowrap; }
.tick b { color: #cfd8e6; font-weight: 600; font-size: 11px; letter-spacing: .04em; }
.tick i { font-style: normal; font-size: 11px; font-weight: 600; }
.up { color: var(--up); }
.down { color: var(--down); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 10, 18, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 34px; height: 34px; }
.brand-text {
  font-size: 15px; font-weight: 800; letter-spacing: .08em; color: #fff;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.brand-sub {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--gold);
  border: 1px solid rgba(217, 169, 74, .45); border-radius: 4px; padding: 1px 5px;
  transform: translateY(-1px);
}
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px; color: var(--muted); position: relative;
  padding: 6px 0; transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.lang-pick {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, .03); color: var(--muted); cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.lang-pick:hover { border-color: rgba(217, 169, 74, .5); color: var(--gold-lt); }
.lang-pick svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .9; }
.lang-pick select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0;
  color: inherit; font-size: 12.5px; padding-right: 4px; cursor: pointer; outline: none;
}
.lang-pick select option { background: #0b1220; color: #e9eef7; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 650;
  letter-spacing: .01em; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, #f6d68a, #d9a94a 55%, #b8862e);
  color: #1a1206; box-shadow: 0 10px 30px -12px rgba(217, 169, 74, .75);
}
.btn-gold:hover { box-shadow: 0 14px 38px -10px rgba(217, 169, 74, .85); transform: translateY(-1px); }
.btn-line { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-line:hover { border-color: rgba(217, 169, 74, .55); color: var(--gold-lt); }
.btn-ghost {
  border-color: rgba(217, 169, 74, .35); color: var(--gold-lt);
  background: rgba(217, 169, 74, .07); padding: 9px 16px; font-size: 12.5px;
}
.btn-ghost:hover { background: rgba(217, 169, 74, .14); border-color: rgba(217, 169, 74, .6); }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 36px; padding: 0 8px; background: transparent;
  border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
}
.burger span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-panel {
  display: none; flex-direction: column; gap: 2px; padding: 10px 28px 22px;
  border-top: 1px solid var(--line); background: rgba(6, 10, 18, .98);
}
.mobile-panel.is-open { display: flex; }
.mobile-panel a { padding: 13px 2px; font-size: 15px; color: var(--muted); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.mobile-panel a:last-child { border-bottom: 0; }
.mobile-panel .m-cta { color: var(--gold-lt); font-weight: 650; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 64px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -320px; right: -180px; width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(217, 169, 74, .16), rgba(217, 169, 74, 0) 62%);
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; left: -280px; top: 120px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(62, 123, 250, .12), rgba(62, 123, 250, 0) 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(38px, 4.5vw, 62px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #f6d68a 10%, #d9a94a 55%, #9c6f1e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 22px; max-width: 560px; font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 46px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hstat { display: flex; flex-direction: column; gap: 2px; }
.hstat strong {
  font-size: 24px; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff, #b9c4d6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hstat span { font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em; }

/* hero data panel — pure SVG/CSS, no image request */
.hero-visual { position: relative; }
.hv-panel {
  position: relative; border-radius: 22px; overflow: hidden;
  padding: 22px 22px 18px;
  background:
    radial-gradient(120% 110% at 85% 0%, rgba(217, 169, 74, .16), transparent 58%),
    linear-gradient(180deg, #0d1526, #070c15);
  border: 1px solid rgba(217, 169, 74, .22);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95);
}
.hv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hv-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .16em; color: #cbd6e8;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--down);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, .55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}
.hv-price { text-align: right; }
.hv-price b { display: block; font-size: 25px; letter-spacing: -.03em; line-height: 1.1; }
.hv-price span { font-size: 11px; color: var(--up); font-weight: 650; }
.hv-svg { width: 100%; height: auto; margin: 6px 0 10px; }
.hv-foot { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted-2); letter-spacing: .03em; }

/* ---------- section shell ---------- */
.section { padding: 74px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .017), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.sec-link { font-size: 13px; color: var(--gold-lt); opacity: .85; transition: opacity .2s ease; }
.sec-link:hover { opacity: 1; }

/* ---------- wire ---------- */
.wire-list { border-top: 1px solid var(--line); }
.wire-row {
  display: grid; grid-template-columns: 136px 1fr auto; align-items: center; gap: 20px;
  padding: 19px 14px 19px 12px; border-bottom: 1px solid var(--line);
  transition: background .22s ease, padding-left .22s ease;
}
.wire-row:hover { background: rgba(255, 255, 255, .028); padding-left: 18px; }
.wire-row h3 { font-size: 15.5px; font-weight: 600; line-height: 1.42; letter-spacing: -.005em; color: #dde5f2; transition: color .2s ease; }
.wire-row:hover h3 { color: #fff; }
.wire-row .time { font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }

.chip {
  display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .12em;
  color: var(--gold); background: rgba(217, 169, 74, .1);
  border: 1px solid rgba(217, 169, 74, .25); border-radius: 4px;
  padding: 3px 7px; white-space: nowrap; width: fit-content;
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #04070d; padding: 60px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 16px; max-width: 300px; font-size: 13px; color: var(--muted-2); line-height: 1.7; }
.foot-col h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #b9c4d6; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 12.5px; color: var(--muted-2); padding: 5px 0; transition: color .2s ease; }
.foot-col a:hover { color: var(--gold-lt); }
.foot-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); }
.disclaimer { font-size: 11px; line-height: 1.7; color: #5d6b82; max-width: 900px; }
.foot-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 14px; margin-top: 18px; font-size: 11.5px; color: var(--muted-2);
}
.foot-langs { display: flex; gap: 16px; }
.foot-langs button { background: none; border: 0; padding: 0; font-size: 11.5px; color: var(--muted-2); cursor: pointer; transition: color .2s ease; }
.foot-langs button:hover { color: var(--gold-lt); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 620px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .ticker-label { display: none; }
  .hide-sm { display: none; }
  .hero { padding: 48px 0 44px; }
  .hero-stats { gap: 24px; }
  .hstat strong { font-size: 20px; }
  .section { padding: 54px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .wire-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 8px; }
  .wire-row .time { font-size: 11px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chart .line { stroke-dashoffset: 0; }
  .chart.in .line { animation: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
