/* ═══════════════ CAT RACE — Genesis 100 ═══════════════
   dark, warm, cat energy. warm-black + amber + cat orange.
   pixel display font + clean sans body. */


:root {
  --bg-0: #060410;
  --bg-1: #0c0a16;
  --bg-2: #15101f;
  --panel: #0e0b16;
  --panel-2: #14111f;
  --border: #241a33;
  --border-hi: #332945;

  --fg: #f0f4f8;
  --fg-dim: #a2acbb;
  --fg-mute: #5e6a7d;

  --lime: #b07cff;
  --lime-hi: #d4a6ff;
  --lime-lo: #6b3fa8;
  --orange: #5ce0ff;
  --orange-hi: #8fe9ff;
  --pink: #ff3d97;
  --cyan: #3dfff0;
  --gold: #ffbb33;
  --purple: #9d5cff;

  --danger: #ff4d5f;
  --success: #3dffb3;

  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pixel: 'VT323', 'Silkscreen', monospace;
  --body: 'Inter', system-ui, sans-serif;

  --shadow-glow-lime: 0 0 24px rgba(255, 179, 71, 0.45), 0 0 48px rgba(255, 179, 71, 0.2);
  --shadow-glow-orange: 0 0 24px rgba(255, 122, 61, 0.45), 0 0 48px rgba(255, 122, 61, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(176,124,255,0.06), transparent 50%),
    radial-gradient(ellipse 800px 500px at 80% 40%, rgba(92,224,255,0.05), transparent 50%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(157,92,255,0.04), transparent 50%);
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.lbl { text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; color: var(--fg-mute); font-weight: 600; }
.hl { color: var(--lime); text-shadow: 0 0 20px rgba(176,124,255,0.5); }

/* grain overlay */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  width: 100vw; height: 100vh; opacity: 0.05; mix-blend-mode: overlay;
}

/* ═══════════════ TICKER STRIP ═══════════════ */
#ticker-strip {
  position: relative; z-index: 90;
  display: flex; align-items: center; gap: 14px;
  padding: 8px 20px;
  background: linear-gradient(90deg, #000 0%, #0c0a16 100%);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  overflow-x: auto;
  white-space: nowrap;
}
#ticker-strip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 1.4s ease-in-out infinite;
}
#ticker-strip .ticker { color: var(--lime); font-weight: 700; letter-spacing: 0.14em; }
#ticker-strip .ca { color: var(--fg-mute); font-size: 11px; overflow: hidden; text-overflow: ellipsis; max-width: 380px; }
#ticker-strip button, #ticker-strip a {
  padding: 4px 10px; font-family: var(--mono); font-size: 11px;
  background: transparent; color: var(--fg); border: 1px solid var(--border-hi);
  cursor: pointer; text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase;
  transition: all 0.15s ease;
}
#ticker-strip button:hover, #ticker-strip a:hover {
  color: var(--lime); border-color: var(--lime); background: rgba(176,124,255,0.06);
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(1.3); }
}

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(8, 6, 4, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand .logo { width: 32px; height: 32px; color: var(--lime); flex-shrink: 0; }
.brandname { font-family: var(--pixel); font-size: 22px; letter-spacing: 0.03em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--fg-dim); text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.15s; }
.nav-links a:hover { color: var(--lime); }

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 10px 18px; border-radius: 4px; cursor: pointer;
  font-family: var(--pixel); font-size: 18px; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; border: none;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--lime); color: var(--bg-0);
  box-shadow: var(--shadow-glow-lime);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--lime-hi);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(176,124,255,0.7), 0 0 64px rgba(176,124,255,0.3);
}
.btn-primary:disabled { background: var(--panel-2); color: var(--fg-mute); box-shadow: none; cursor: not-allowed; }
.btn-ghost {
  background: transparent; color: var(--fg);
  border: 1px solid var(--border-hi);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-lg { padding: 14px 24px; font-size: 20px; }
.btn-xl { padding: 18px 28px; font-size: 22px; width: 100%; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  min-height: 90vh;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg canvas { width: 100%; height: 100%; display: block; }
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1240px; width: 100%;
  margin: 0 auto; padding: 0 24px;
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at center, rgba(8,6,4,0.92) 30%, rgba(8,6,4,0.55) 60%, transparent 90%);
  border-radius: 50%;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  border-radius: 999px;
  background: rgba(176,124,255,0.06);
  margin-bottom: 28px;
  animation: kicker-glow 2s ease-in-out infinite;
}
@keyframes kicker-glow {
  0%,100% { box-shadow: 0 0 20px rgba(176,124,255,0.15); }
  50%     { box-shadow: 0 0 32px rgba(176,124,255,0.4); }
}
.dot-pulse {
  width: 8px; height: 8px; background: var(--lime); border-radius: 50%;
  animation: pulse 1.2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--lime);
}

.wordmark {
  font-family: var(--pixel);
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 40px rgba(176,124,255,0.3));
}
.wordmark .w1 { color: var(--fg); }
.wordmark .w2 { color: var(--lime); text-shadow: 0 0 32px rgba(176,124,255,0.6); }

.tagline {
  font-family: var(--body);
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--fg);
  font-weight: 500;
  margin-bottom: 16px;
}
.sub {
  color: var(--fg-dim);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 640px; margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px; margin: 0 auto;
  padding: 24px;
  background: rgba(13,18,24, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.stat { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.stat-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--fg-mute); text-transform: uppercase; }
.stat-val { font-family: var(--pixel); font-size: 26px; color: var(--fg); line-height: 1; }
.stat-val.mono { font-family: var(--mono); font-size: 22px; }

/* ═══════════════ SECTIONS ═══════════════ */
.sec { padding: 80px 0; border-bottom: 1px solid var(--border); position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--pixel); font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: 0.02em; color: var(--fg); margin-top: 8px; }
.sec-sub { color: var(--fg-dim); font-size: 15px; margin-top: 8px; }

/* ═══════════════ BRACKET SECTION ═══════════════ */
.bracket-status .pot-big {
  background: linear-gradient(135deg, rgba(176,124,255,0.1), rgba(92,224,255,0.05));
  border: 1px solid var(--lime);
  border-radius: 8px;
  padding: 20px 28px;
  text-align: right;
  box-shadow: var(--shadow-glow-lime);
}
.pot-lbl { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--lime); text-transform: uppercase; margin-bottom: 4px; }
.pot-val { display: block; font-family: var(--pixel); font-size: 40px; color: var(--fg); line-height: 1; }

.race-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.race-head { display: flex; justify-content: space-between; margin-bottom: 16px; }
.race-track {
  position: relative;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  min-height: 200px;
  background-image:
    linear-gradient(rgba(176,124,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176,124,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}
.finish-line {
  position: absolute; right: 40px; top: 0; bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(0deg, #fff 0 8px, #000 8px 16px);
  z-index: 2;
  box-shadow: 0 0 12px rgba(255,255,255,0.5);
}
.race-lane {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 40px 4px 8px;
  border-bottom: 1px dashed rgba(176,124,255,0.06);
  position: relative;
  height: 36px;
}
.race-lane:last-child { border-bottom: none; }
.race-lane .lane-num {
  font-family: var(--mono); font-size: 10px; color: var(--fg-mute);
  width: 24px; flex-shrink: 0;
}
.race-lane .lane-name {
  font-family: var(--pixel); font-size: 14px; color: var(--fg-dim);
  width: 80px; flex-shrink: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.race-lane .lane-track {
  flex: 1; position: relative; height: 24px;
}
.race-lane .cat-runner {
  position: absolute; top: 0; left: 0;
  height: 24px; width: 24px;
  image-rendering: pixelated;
  transition: left 0.3s ease-out;
  filter: drop-shadow(0 0 4px rgba(176,124,255,0.4));
}
.race-lane.winner { background: rgba(176,124,255,0.06); }
.race-lane.winner .lane-name { color: var(--lime); text-shadow: 0 0 8px rgba(176,124,255,0.5); }
.race-lane.eliminated { opacity: 0.35; }

/* Ladder */
.ladder {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
}
.round-col {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.round-col-head {
  font-family: var(--pixel); font-size: 16px; color: var(--lime);
  text-align: center; padding: 8px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.round-slot {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--mono); font-size: 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0;
}
.round-slot.winner { border-color: var(--lime); background: rgba(176,124,255,0.1); color: var(--lime); box-shadow: 0 0 8px rgba(176,124,255,0.2); }
.round-slot.champion { border-color: var(--gold); background: rgba(255,187,51,0.15); color: var(--gold); box-shadow: 0 0 16px rgba(255,187,51,0.4); }
.round-slot.more { justify-content: center; color: var(--dim); font-size: 9px; opacity: 0.7; background: transparent; }
.round-slot img { width: 20px; height: 20px; image-rendering: pixelated; flex-shrink: 0; }
.round-slot .rs-name { overflow: hidden; text-overflow: ellipsis; }

.bracket-champion {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(255,187,51,0.15), rgba(176,124,255,0.05));
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 0 48px rgba(255,187,51,0.3);
}
.champion-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.champion-portrait { display: flex; gap: 20px; align-items: center; }
.champion-portrait img { width: 120px; height: 120px; image-rendering: pixelated; border: 2px solid var(--gold); border-radius: 8px; }
.champion-name { font-family: var(--pixel); font-size: 36px; color: var(--gold); }
.champion-rarity { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 4px; }
.champion-owner { font-size: 11px; color: var(--fg-mute); margin-top: 8px; }
.champion-pot { text-align: right; }
.champion-pot .pot-val { color: var(--gold); }
.champion-pot .btn { margin-top: 12px; }

/* ═══════════════ HOW SECTION ═══════════════ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.how-step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.2s;
}
.how-step:hover {
  border-color: var(--lime);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(176,124,255,0.1);
}
.step-num {
  position: absolute; top: -14px; left: 24px;
  width: 32px; height: 32px;
  background: var(--lime); color: var(--bg-0);
  font-family: var(--pixel); font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  box-shadow: var(--shadow-glow-lime);
}
.how-step h3 { font-family: var(--pixel); font-size: 24px; color: var(--fg); margin-bottom: 12px; margin-top: 8px; }
.how-step p { color: var(--fg-dim); font-size: 14px; }

/* ═══════════════ MINT SECTION ═══════════════ */
.mint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.mint-preview {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.mint-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1a2438, #0c0a16);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 0 48px rgba(176,124,255,0.15);
}
.mint-img-wrap img {
  width: 100%; height: 100%;
  image-rendering: pixelated;
  object-fit: contain;
}
.mint-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px;
  background: var(--bg-0); color: var(--lime);
  border: 1px solid var(--lime);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; font-weight: 700;
  border-radius: 999px;
}
.mint-name { font-family: var(--pixel); font-size: 32px; color: var(--fg); }
.mint-rarity { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 4px; }

.mint-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.mint-row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
  color: var(--fg-dim);
}
.mint-row:last-of-type { border-bottom: none; margin-bottom: 20px; }
.mint-row span:last-child { color: var(--fg); font-weight: 600; }
.mint-note {
  text-align: center;
  color: var(--fg-mute);
  font-family: var(--mono); font-size: 11px;
  margin-top: 16px;
}

/* ═══════════════ GALLERY ═══════════════ */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--fg-dim);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  cursor: pointer; text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--lime); color: var(--lime); background: rgba(176,124,255,0.06);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.cat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.cat-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--lime);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 24px rgba(176,124,255,0.2);
  z-index: 2;
}
.cat-card img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  image-rendering: pixelated;
  background: linear-gradient(135deg, #1a2438, #0c0a16);
  border-radius: 4px;
  margin-bottom: 8px;
}
.cat-card .wc-id { font-family: var(--mono); font-size: 9px; color: var(--fg-mute); letter-spacing: 0.14em; }
.cat-card .wc-name { font-family: var(--pixel); font-size: 18px; color: var(--fg); }
.cat-card .wc-rarity {
  display: inline-block; font-family: var(--mono); font-size: 9px;
  padding: 2px 6px; border-radius: 3px; margin-top: 4px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.wc-rarity.common { background: rgba(160,160,160,0.15); color: #b0b8c4; }
.wc-rarity.uncommon { background: rgba(61,255,240,0.12); color: var(--cyan); }
.wc-rarity.rare { background: rgba(157,92,255,0.15); color: var(--purple); }
.wc-rarity.legendary { background: rgba(255,187,51,0.18); color: var(--gold); box-shadow: 0 0 12px rgba(255,187,51,0.3); }
.cat-card .wc-owner { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 8px var(--lime); display: none; }
.cat-card.owned .wc-owner { display: block; }

/* ═══════════════ MODAL ═══════════════ */
[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: modal-in 0.2s ease-out;
}
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
.modal-inner {
  background: var(--panel);
  border: 1px solid var(--border-hi);
  border-radius: 12px;
  max-width: 600px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 32px;
  position: relative;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: transparent; border: none; color: var(--fg-dim);
  font-size: 28px; cursor: pointer; padding: 4px 12px;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--lime); }
.modal-body img { width: 200px; aspect-ratio: 1; image-rendering: pixelated; background: linear-gradient(135deg, #1a2438, #0c0a16); border-radius: 8px; margin-bottom: 20px; display: block; }
.modal-body .m-name { font-family: var(--pixel); font-size: 40px; color: var(--fg); }
.modal-body .m-id { font-family: var(--mono); font-size: 12px; color: var(--fg-mute); letter-spacing: 0.14em; }
.modal-body .m-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.modal-body .m-stat { background: var(--bg-1); border: 1px solid var(--border); padding: 12px; border-radius: 6px; text-align: center; }
.modal-body .m-stat .lbl { display: block; margin-bottom: 4px; }
.modal-body .m-stat .val { font-family: var(--pixel); font-size: 28px; color: var(--lime); }
.modal-body .m-traits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.modal-body .m-trait { padding: 6px 12px; background: var(--bg-1); border: 1px solid var(--border); border-radius: 4px; font-family: var(--mono); font-size: 11px; }
.modal-body .m-trait b { color: var(--lime); }

/* ═══════════════ CHAMPS LIST ═══════════════ */
.champs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.champ-row {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  display: flex; align-items: center; gap: 12px;
}
.champ-row img { width: 48px; height: 48px; image-rendering: pixelated; background: var(--bg-1); border-radius: 4px; }
.champ-row .cr-date { font-family: var(--mono); font-size: 10px; color: var(--fg-mute); }
.champ-row .cr-name { font-family: var(--pixel); font-size: 18px; color: var(--fg); }
.champ-row .cr-pot { font-family: var(--mono); font-size: 12px; color: var(--gold); margin-left: auto; }

/* ═══════════════ FOOTER ═══════════════ */
.foot { padding: 40px 0; background: var(--bg-1); border-top: 1px solid var(--border); }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand .logo { width: 28px; height: 28px; color: var(--lime); }
.foot-brand span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--fg-dim); text-transform: uppercase; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--fg-dim); text-decoration: none; font-size: 13px; }
.foot-links a:hover { color: var(--lime); }
.foot-note { font-size: 10px; letter-spacing: 0.16em; color: var(--fg-mute); }

/* ═══════════════ MOBILE ═══════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 60px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .mint-grid { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: repeat(3, 1fr); }
  .champion-inner { grid-template-columns: 1fr; text-align: center; }
  .champion-portrait { justify-content: center; flex-direction: column; text-align: center; }
  .champion-pot { text-align: center; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .cat-card .wc-name { font-size: 14px; }
  .wordmark { font-size: clamp(56px, 20vw, 100px); }
  .sec-head h2 { font-size: clamp(28px, 8vw, 40px); }
}
@media (max-width: 600px) {
  .how-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .brandname { font-size: 18px; }
  #ticker-strip { font-size: 10px; }
  #ticker-strip .ca { max-width: 140px; font-size: 10px; }
}


/* ═══════════════ HERO PACK (floating cats) ═══════════════ */
.hero-pack{
  display:flex; justify-content:center; align-items:center; gap:14px;
  flex-wrap:nowrap; margin: 0 auto 40px; max-width:980px; width:100%;
}
.hero-cat{
  flex:0 0 auto; width:108px; height:108px; margin:0;
  border-radius:14px; overflow:hidden; background:rgba(176,124,255,.06);
  border:1px solid rgba(176,124,255,.28);
  box-shadow:0 12px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(92,224,255,.12) inset;
  transform:translateY(var(--y,0)) rotate(var(--r,0deg));
  animation:heroBob 5s ease-in-out infinite; animation-delay:var(--d,0s);
  transition:transform .3s ease;
}
.hero-cat:hover{ transform:translateY(-18px) rotate(0) scale(1.06); }
.hero-cat img{ width:100%; height:100%; object-fit:cover; display:block; }
@keyframes heroBob{
  0%,100%{ transform:translateY(var(--y,0)) rotate(var(--r,0deg)); }
  50%{ transform:translateY(calc(var(--y,0px) - 14px)) rotate(calc(var(--r,0deg) * -1)); }
}
@media (max-width:760px){
  .hero-pack{ gap:8px; }
  .hero-cat{ width:64px; height:64px; border-radius:10px; }
  .hero-cat:nth-child(n+5){ display:none; }
}

/* ═══════════════ LORE / ORIGIN ═══════════════ */
.lore-sec{
  background:
    radial-gradient(ellipse at 85% 15%, rgba(92,224,255,.07), transparent 55%),
    radial-gradient(ellipse at 8% 90%, rgba(176,124,255,.05), transparent 50%);
}
.lore-head{ display:flex; align-items:center; gap:18px; margin-bottom:36px; }
.lore-crest{
  width:58px; height:58px; border-radius:12px; flex:0 0 auto;
  box-shadow:0 0 26px rgba(176,124,255,.25);
}
.lore-head h2{ margin-top:6px; }

.lore-card{
  display:grid; grid-template-columns:140px 1fr 96px; gap:28px; align-items:center;
  max-width:880px; margin:0 auto;
  background:linear-gradient(180deg, rgba(176,124,255,.05), rgba(92,224,255,.02));
  border:1px solid rgba(176,124,255,.22); border-radius:14px;
  padding:26px 28px;
}
.lore-trudy{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.lore-trudy img{
  width:120px; height:120px; border-radius:999px; object-fit:cover;
  border:2px solid var(--amber); box-shadow:0 0 26px rgba(176,124,255,.3);
}
.lore-trudy-tag{ font-size:9px; letter-spacing:.12em; color:var(--amber); text-align:center; }
.lore-story p{ font-size:16px; line-height:1.65; color:var(--fg-dim); margin-bottom:14px; }
.lore-lead{ font-size:21px !important; color:var(--fg) !important; font-weight:500; margin-bottom:16px !important; }
.lore-lead b{ color:var(--amber); }
.lore-cmd{
  display:inline-block; padding:1px 8px; font-size:12px;
  background:rgba(176,124,255,.12); border:1px solid rgba(176,124,255,.4);
  border-radius:4px; color:var(--amber);
}
.lore-pull{ color:var(--fg) !important; font-style:italic; border-left:2px solid var(--amber); padding-left:14px; margin-bottom:0 !important; }
.lore-coin{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.lore-coin img{
  width:84px; height:84px; border-radius:999px; object-fit:cover;
  border:2px solid var(--amber); box-shadow:0 0 22px rgba(92,224,255,.3);
}
.lore-coin span{ font-size:11px; letter-spacing:.14em; color:var(--amber); }

.lore-proof{
  max-width:420px; margin:26px auto 0;
}
.lore-proof img{
  width:100%; border-radius:12px; border:1px solid var(--border-hi);
  box-shadow:0 14px 34px rgba(0,0,0,.5);
}
.lore-proof figcaption{ margin-top:8px; font-size:10px; letter-spacing:.1em; color:var(--fg-mute); text-align:center; }

.lore-footer{ margin-top:34px; text-align:center; font-size:11px; letter-spacing:.16em; color:var(--fg-mute); }

@media (max-width:760px){
  .lore-head{ flex-direction:column; align-items:flex-start; gap:10px; }
  .lore-card{ grid-template-columns:1fr; gap:18px; padding:20px; }
  .lore-trudy, .lore-coin{ flex-direction:row; justify-content:center; gap:14px; }
  .lore-trudy img{ width:92px; height:92px; }
  .lore-coin img{ width:68px; height:68px; }
  .lore-proof{ max-width:340px; }
}
