/* =========================================================
   TEAM DOGS — Design System
   Base / Layout / Header / Footer / Components
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --bg:        #08090b;
  --bg-2:      #0c0e12;
  --surface:   #12151a;
  --surface-2: #191d24;
  --surface-3: #222831;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);

  --text:      #f4f6f9;
  --text-2:    #b6bdc9;
  --muted:     #7b8494;

  --amber:     #ffb020;
  --amber-2:   #ff7a00;
  --amber-soft:rgba(255,176,32,.14);
  --cyan:      #2de2e6;
  --violet:    #7c5cff;
  --live:      #ff3b30;
  --win:       #35d07f;
  --lose:      #ff5a52;

  --grad-brand: linear-gradient(115deg, #ffd24a 0%, #ffb020 45%, #ff6a00 100%);
  --grad-cool:  linear-gradient(120deg, #2de2e6 0%, #7c5cff 100%);

  --font-display: 'Anton', 'Archivo Black', 'Barlow Condensed', Impact, 'Arial Narrow', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1320px;
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --shadow: 0 24px 60px -24px rgba(0,0,0,.8);
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--amber); color: #08090b; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050607; }
::-webkit-scrollbar-thumb { background: #2a3038; border-radius: 20px; border: 2px solid #050607; }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  font-weight: 400;
}
.h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.05; }
.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--amber); }
.lead { font-size: clamp(1rem, 1.35vw, 1.15rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }
.accent { color: var(--amber); }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { position: relative; padding: clamp(64px, 8vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__text { max-width: 760px; }
.section-head .h2 { margin-top: 14px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack { display: flex; flex-direction: column; }
.gap-s { gap: 12px; } .gap-m { gap: 20px; } .gap-l { gap: 32px; }
.row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.spacer { flex: 1; }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.glow {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; opacity: .5;
}
.glow--amber { background: radial-gradient(circle, rgba(255,176,32,.5), transparent 70%); }
.glow--cool  { background: radial-gradient(circle, rgba(45,226,230,.35), transparent 70%); }
.above { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  --btn-fg: #0a0b0d;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 13px 26px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600;
  background: var(--btn-bg); color: var(--btn-fg);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
  position: relative;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(255,176,32,.7); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border: 1px solid var(--line-2);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); box-shadow: none; }
.btn--sm { padding: 9px 18px; font-size: .68rem; }
.btn--block { width: 100%; }
.btn--cool { --btn-bg: var(--grad-cool); --btn-fg: #06121a; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber);
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- Chips / Tabs ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 100px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); transition: all .2s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--amber); color: var(--text); }
.chip.is-active { background: var(--amber); border-color: var(--amber); color: #0a0b0d; font-weight: 600; }

/* ---------- Card ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.07) 47%, transparent 62%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out); pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,176,32,.45); box-shadow: var(--shadow); }
.card:hover::after { transform: translateX(120%); }

.tag {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 4px 10px; border-radius: 3px;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.07); color: var(--text-2);
}
.tag--amber { background: var(--amber-soft); color: var(--amber); }
.tag--cyan  { background: rgba(45,226,230,.14); color: var(--cyan); }
.tag--violet{ background: rgba(124,92,255,.16); color: #a58cff; }
.tag--live  { background: rgba(255,59,48,.16); color: #ff6b62; }
.tag--win   { background: rgba(53,208,127,.14); color: var(--win); }
.tag--lose  { background: rgba(255,90,82,.12); color: var(--lose); }

/* ---------- Pulse dot ---------- */
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); display: inline-block; position: relative; }
.dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--live); animation: pulse 1.8s infinite var(--ease-out);
}
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(8,9,11,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(8,9,11,.94); }
.header-inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-size: 1.32rem; letter-spacing: .04em; text-transform: uppercase;
}
.brand__sub { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .34em; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative; padding: 8px 13px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--amber); }
.nav__link.is-active::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 12px; margin-left: 6px; }
.lang-switch {
  display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 100px; padding: 3px;
  gap: 2px; background: rgba(255,255,255,.03);
}
.lang-switch__btn {
  padding: 4px 11px; border-radius: 100px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em;
  color: var(--muted); transition: all .25s var(--ease);
}
.lang-switch__btn.is-active { background: var(--amber); color: #0a0b0d; font-weight: 700; }

.live-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border: 1px solid rgba(255,59,48,.4); border-radius: 100px;
  background: rgba(255,59,48,.1);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: #ff8880; white-space: nowrap;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.live-pill:hover { transform: translateY(-1px); border-color: var(--live); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute; left: 9px; width: 22px; height: 2px; background: var(--text);
  transition: all .3s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.scroll-progress {
  position: fixed; top: var(--header-h); left: 0; height: 2px; width: 0%;
  background: var(--grad-brand); z-index: 1001; pointer-events: none;
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
  background: rgba(8,9,11,.98); backdrop-filter: blur(20px);
  padding: 28px 24px 60px; overflow-y: auto;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .03em;
  color: var(--text);
}
.drawer__link span { font-family: var(--font-mono); font-size: .62rem; color: var(--muted); letter-spacing: .18em; }
.drawer__foot { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Ticker ---------- */
.ticker {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 998;
  height: 40px; display: flex; align-items: center;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker__label {
  flex-shrink: 0; height: 100%; display: flex; align-items: center; gap: 8px;
  padding: 0 16px; background: var(--live); color: #fff;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
}
.ticker__label .dot { background: #fff; }
.ticker__label .dot::after { border-color: #fff; }
.ticker__track { display: flex; align-items: center; gap: 44px; white-space: nowrap; padding-left: 44px; animation: ticker 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--text-2); }
.ticker__item b { color: var(--text); font-weight: 600; }
.ticker__item .vs { color: var(--amber); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 64px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, #0d1016 0%, var(--bg) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 20%, transparent 75%);
}
.page-hero .container { position: relative; z-index: 2; }
.crumbs { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--amber); }
.crumbs__sep { opacity: .5; }

/* ---------- Stats ---------- */
.stat { padding: 22px 0; }
.stat__val {
  font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1;
  letter-spacing: .01em;
}
.stat__key { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.stats-row { display: grid; gap: 0 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-row--4 { grid-template-columns: repeat(4, 1fr); }
.stats-row--3 { grid-template-columns: repeat(3, 1fr); }
.stats-row .stat + .stat { border-left: 1px solid var(--line); padding-left: 32px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
table.tbl th {
  text-align: left; padding: 14px 18px;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; background: rgba(255,255,255,.02);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tbl td { padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .92rem; }
table.tbl tbody tr { transition: background .2s var(--ease); }
table.tbl tbody tr:hover { background: rgba(255,176,32,.05); }
table.tbl tbody tr:last-child td { border-bottom: 0; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 13px 15px; color: var(--text); font-size: .95rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: var(--surface-2); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #59616e; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--lose); }

/* ---------- Toast ---------- */
.toast-host { position: fixed; bottom: 26px; right: 26px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; background: var(--surface-2); border: 1px solid var(--line-2);
  border-left: 3px solid var(--amber); border-radius: var(--radius);
  box-shadow: var(--shadow); font-size: .9rem; min-width: 240px;
  animation: toastIn .35s var(--ease-out);
}
.toast.is-out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- Drawer (cart) ---------- */
.cart-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px);
  z-index: 9990; opacity: 0; visibility: hidden; transition: .3s var(--ease);
}
.cart-scrim.is-open { opacity: 1; visibility: visible; }
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); z-index: 9991;
  background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .38s var(--ease-out);
}
.cart-panel.is-open { transform: none; }
.cart-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-panel__body { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-panel__foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 100px; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--text-2); }
.qty button:hover { color: var(--amber); }
.qty span { min-width: 26px; text-align: center; font-family: var(--font-mono); font-size: .82rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 90px) 0 32px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-col h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--text-2); font-size: .92rem; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer-col a:hover { color: var(--amber); padding-left: 5px; }
.footer-brand__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%; color: var(--text-2);
  transition: all .25s var(--ease);
}
.socials a:hover { background: var(--amber); border-color: var(--amber); color: #0a0b0d; transform: translateY(-3px); }
.newsletter { display: flex; gap: 8px; margin-top: 18px; }
.newsletter input { flex: 1; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 14px; font-size: .9rem; }
.newsletter input:focus { outline: none; border-color: var(--amber); }
.footer-bottom {
  margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: .8rem; color: var(--muted);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--amber); }
.footer-wordmark {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(3rem, 13vw, 11rem); line-height: .8; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09);
  margin-top: 40px; user-select: none; text-align: center;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .burger { display: block; }
  .header-tools { margin-left: auto; }
  .live-pill { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .container { padding-inline: 20px; }
  .stats-row--4, .stats-row--3 { grid-template-columns: repeat(2, 1fr); }
  .stats-row .stat + .stat { border-left: 0; padding-left: 0; }
  .stats-row .stat { border-top: 1px solid var(--line); }
  .stats-row .stat:nth-child(-n+2) { border-top: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .stats-row--4, .stats-row--3 { grid-template-columns: 1fr; }
  .stats-row .stat:nth-child(2) { border-top: 1px solid var(--line); }
  .ticker { height: 36px; }
  .brand__sub { display: none; }
  .toast-host { left: 16px; right: 16px; bottom: 16px; }
  .toast { min-width: 0; }
}
