/* ─────────────────────────────────────────────────────────────
   STONKDROP OS — Windows 93 edition
   Teal desktop. Gray bevels. Navy title bars. Phosphor DOS panels.
   ───────────────────────────────────────────────────────────── */

@import url("https://fonts.googleapis.com/css2?family=VT323&family=Silkscreen:wght@400;700&display=swap");

:root {
  --desk: #008080;
  --gray: #c0c0c0;
  --gray-2: #d4d0c8;
  --dark: #808080;
  --darker: #404040;
  --light: #ffffff;
  --navy: #000080;
  --navy-2: #1084d0;
  --paper: #ffffff;
  --ink: #000000;
  --muted: #444444;
  --link: #0000ee;
  --green: #008000;
  --phosphor: #33ff33;
  --phosphor-dim: #1faa1f;
  --red: #cc0000;
  --up: #008000;
  --down: #cc0000;
  --ui: "Tahoma", "MS Sans Serif", "Segoe UI", sans-serif;
  --dos: "VT323", monospace;
  --pixel: "Silkscreen", "VT323", monospace;
  --bevel-out: inset -1px -1px 0 var(--darker), inset 1px 1px 0 var(--light), inset -2px -2px 0 var(--dark), inset 2px 2px 0 var(--gray-2);
  --bevel-in: inset 1px 1px 0 var(--darker), inset -1px -1px 0 var(--light), inset 2px 2px 0 var(--dark), inset -2px -2px 0 var(--gray-2);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--desk);
  font-family: var(--ui);
  font-size: 12px;
  line-height: 1.5;
  image-rendering: pixelated;
}
a { color: var(--link); }
button, input { font: inherit; }
::selection { color: #fff; background: var(--navy); }

/* CRT overlay */
.crt { position: fixed; inset: 0; z-index: 999; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.09) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; opacity: 0.5; }

/* ── Boot screen ─────────────────────────────────────────── */
.boot-screen { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 8vh 10vw; background: #000; color: var(--phosphor); font-family: var(--dos); transition: opacity 0.35s ease; cursor: pointer; }
.boot-screen.boot-out { opacity: 0; }
.boot-screen pre { min-height: 176px; margin: 0; font-family: var(--dos); font-size: 20px; line-height: 1.25; white-space: pre-wrap; text-shadow: 0 0 8px rgba(51, 255, 51, 0.5); }
.boot-title { font-family: var(--dos); font-size: 30px; letter-spacing: 0.14em; animation: boot-blink 1s steps(1) infinite; }
.boot-bar { width: min(520px, 80vw); height: 26px; padding: 3px; border: 2px solid var(--phosphor-dim); }
.boot-bar i { display: block; width: 0; height: 100%; background: repeating-linear-gradient(90deg, var(--phosphor) 0 12px, transparent 12px 16px); transition: width 0.1s linear; }
.boot-screen small { color: var(--phosphor-dim); font-family: var(--dos); font-size: 15px; letter-spacing: 0.1em; }
@keyframes boot-blink { 50% { opacity: 0.25; } }

/* ── Desktop ─────────────────────────────────────────────── */
.desktop { position: fixed; inset: 0; opacity: 0; transition: opacity 0.4s ease; background: var(--desk); }
.desktop.on { opacity: 1; }
.desktop-icons { position: absolute; top: 14px; left: 12px; display: flex; flex-direction: column; gap: 20px; }
.desk-icon { width: 84px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 2px; color: #fff; background: transparent; border: 1px dotted transparent; cursor: pointer; }
.desk-icon:hover, .desk-icon:focus-visible { border-color: rgba(255, 255, 255, 0.7); background: rgba(0, 0, 128, 0.35); outline: none; }
.desk-icon .di-art { font-size: 30px; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.45)); }
.desk-icon span:last-child { font-family: var(--ui); font-size: 11px; line-height: 1.25; text-align: center; text-shadow: 1px 1px 0 #000; }

/* ── Taskbar ─────────────────────────────────────────────── */
.taskbar { position: absolute; z-index: 60; right: 0; bottom: 0; left: 0; height: 40px; display: flex; align-items: center; gap: 6px; padding: 4px 6px; background: var(--gray); box-shadow: inset 0 1px 0 var(--light); border-top: 1px solid var(--gray-2); }
.start-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; background: var(--gray); box-shadow: var(--bevel-out); border: 0; font-weight: 700; font-size: 13px; cursor: pointer; }
.start-btn i { width: 16px; height: 16px; background: conic-gradient(#f00 0 25%, #0a0 0 50%, #00f 0 75%, #ff0 0); box-shadow: 1px 1px 0 #000; }
.start-btn.pressed, .start-btn:active { box-shadow: var(--bevel-in); }
.task-item { min-height: 30px; max-width: 280px; overflow: hidden; padding: 0 14px; background: var(--gray); box-shadow: var(--bevel-out); border: 0; font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.task-item.active { background: repeating-conic-gradient(var(--gray-2) 0% 25%, var(--gray) 0% 50%) 0 0/4px 4px; box-shadow: var(--bevel-in); font-weight: 700; }
.task-clock { margin-left: auto; min-height: 30px; display: inline-flex; align-items: center; padding: 0 14px; box-shadow: var(--bevel-in); font-size: 12px; font-variant-numeric: tabular-nums; }
.start-menu { position: absolute; z-index: 70; bottom: 42px; left: 6px; display: grid; grid-template-columns: 34px 1fr; width: 250px; background: var(--gray); box-shadow: var(--bevel-out), 4px 4px 0 rgba(0, 0, 0, 0.35); }
.sm-rail { display: flex; align-items: flex-end; justify-content: center; padding: 10px 0; color: var(--gray); background: linear-gradient(0deg, var(--navy), var(--navy-2)); font-family: var(--pixel); font-size: 11px; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.1em; }
.sm-rail b { color: #fff; }
.sm-items { display: flex; flex-direction: column; padding: 4px; }
.sm-items a, .sm-items span { padding: 8px 10px; color: var(--ink); font-size: 12px; text-decoration: none; cursor: pointer; }
.sm-items a:hover { color: #fff; background: var(--navy); }
.sm-items hr { width: 100%; margin: 3px 0; border: 0; border-top: 1px solid var(--dark); border-bottom: 1px solid var(--light); }

/* ── Browser window ──────────────────────────────────────── */
.win-window { position: absolute; z-index: 50; top: 12px; right: 12px; bottom: 52px; left: 110px; display: flex; flex-direction: column; background: var(--gray); box-shadow: var(--bevel-out), 6px 6px 0 rgba(0, 0, 0, 0.3); padding: 3px; }
.win-window.maximized { top: 0; right: 0; bottom: 40px; left: 0; box-shadow: var(--bevel-out); }
.win-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; padding: 2px 4px 2px 8px; color: #fff; background: linear-gradient(90deg, var(--navy), var(--navy-2)); cursor: default; user-select: none; touch-action: none; }
.win-title { overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.win-controls { display: flex; gap: 3px; }
.win-controls button { width: 22px; height: 20px; display: grid; place-items: center; padding: 0; background: var(--gray); box-shadow: var(--bevel-out); border: 0; font-family: var(--ui); font-size: 11px; font-weight: 700; cursor: pointer; }
.win-controls button:active { box-shadow: var(--bevel-in); }
.win-menubar { display: flex; gap: 2px; padding: 3px 4px; font-size: 12px; }
.win-menubar span { padding: 2px 8px; cursor: default; }
.win-menubar span:hover { color: #fff; background: var(--navy); }
.win-addressbar { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-top: 1px solid var(--light); box-shadow: 0 -1px 0 var(--dark); }
.win-addressbar label { font-size: 12px; }
.address-field { flex: 1; min-height: 24px; display: flex; align-items: center; padding: 0 8px; background: #fff; box-shadow: var(--bevel-in); font-family: var(--ui); font-size: 12px; }
.win-viewport { flex: 1; overflow-y: scroll; overflow-x: hidden; margin: 4px 2px 2px; background: var(--paper); box-shadow: var(--bevel-in); scroll-behavior: smooth; scroll-padding-top: 14px; }
.win-statusbar { display: flex; justify-content: space-between; gap: 10px; margin-top: 3px; padding: 0 2px; }
.win-statusbar span { flex: 1; min-height: 22px; display: inline-flex; align-items: center; padding: 0 8px; box-shadow: var(--bevel-in); font-size: 11px; }
.win-statusbar span:last-child { flex: 0 0 auto; }

/* ── Win95 primitives ────────────────────────────────────── */
.w95-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 30px; padding: 0 16px; color: var(--ink); background: var(--gray); box-shadow: var(--bevel-out); border: 0; font-family: var(--ui); font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.w95-btn:active { box-shadow: var(--bevel-in); transform: translate(1px, 1px); }
.w95-btn-primary { color: var(--green); }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ── Hero banner ─────────────────────────────────────────── */
.hero { padding: 22px 0 8px; }
.hero-banner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr 0.7fr; gap: clamp(20px, 3vw, 44px); align-items: center; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: clamp(22px, 3vw, 40px); background:
  linear-gradient(105deg, rgba(247, 224, 75, 0.95) 0 54%, rgba(32, 56, 200, 0.95) 54.2%),
  repeating-conic-gradient(rgba(0, 0, 0, 0.08) 0% 25%, transparent 0% 50%) 0 0/6px 6px;
  border: 2px solid var(--ink); box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.6); }
.glitch-logo { display: inline-block; margin-bottom: 12px; color: #fff; font-family: var(--pixel); font-weight: 700; font-size: clamp(17px, 1.8vw, 24px); letter-spacing: 0.04em; text-shadow: 2px 0 0 #ff2d55, -2px 0 0 #00e5ff, 3px 3px 0 rgba(0, 0, 0, 0.55); }
.glitch-logo b { color: #ffe600; }
.hero h1 { margin: 0; font-family: var(--pixel); font-weight: 700; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.18; color: #101010; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: #fff; text-shadow: 2px 0 0 #ff2d55, -2px 0 0 #00e5ff, 3px 3px 0 rgba(0, 0, 0, 0.6); }
.hero-lede { max-width: 420px; margin: 12px 0 0; color: #14202c; font-size: 12.5px; font-weight: 600; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-kicker { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, 0.85); font-family: var(--pixel); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6); }
.hero-claim { padding: 14px; background: rgba(0, 0, 0, 0.55); border: 2px solid #fff; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5); }
.hero-claim p { margin: 0; color: #fff; font-family: var(--pixel); font-size: clamp(11px, 1vw, 14px); line-height: 1.55; text-transform: uppercase; }
.hero-claim p em { font-style: normal; color: #ffe600; }
.hero-claim strong { color: #7dff9f; }
.hero-pool { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px; background: var(--gray); box-shadow: var(--bevel-out); text-align: center; }
.hero-pool .hero-kicker { color: var(--navy); text-shadow: none; }
.hero-pool > b { font-family: var(--dos); font-size: clamp(38px, 3.6vw, 58px); line-height: 0.9; color: var(--green); font-variant-numeric: tabular-nums; }
.hero-timer { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.timer-ring { --p: 0%; position: relative; width: 64px; height: 64px; display: grid; place-items: center; background: conic-gradient(var(--navy) var(--p), var(--gray-2) 0); box-shadow: var(--bevel-in); }
.timer-ring::before { content: ""; position: absolute; inset: 6px; background: var(--gray); }
.timer-ring b { position: relative; font-family: var(--dos); font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-timer small { font-size: 10px; color: var(--muted); text-align: left; text-transform: uppercase; }
.hero-timer small b { color: var(--ink); }

/* ── Page nav / trust ────────────────────────────────────── */
.page-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; width: min(1180px, calc(100% - 48px)); margin: 14px auto 0; padding: 8px 10px; background: var(--gray); box-shadow: var(--bevel-out); font-size: 12.5px; font-weight: 700; }
.page-nav a { color: var(--link); text-decoration: underline; }
.page-nav a:hover { color: var(--red); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; width: min(1180px, calc(100% - 48px)); margin: 10px auto 0; color: var(--muted); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── Drop machine (DOS system monitor) ───────────────────── */
.drop-machine { width: min(1180px, calc(100% - 48px)); margin: 16px auto 0; padding: 14px; color: var(--phosphor); background: #000; border: 2px solid var(--dark); box-shadow: var(--bevel-out), inset 0 0 40px rgba(51, 255, 51, 0.07); font-family: var(--dos); }
.machine-topline, .countdown-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.machine-topline { padding-bottom: 10px; border-bottom: 1px dashed var(--phosphor-dim); }
.machine-topline > div { display: flex; gap: 14px; align-items: center; }
.machine-kicker, .mock-label { font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--phosphor-dim); }
.machine-kicker b { color: var(--phosphor); }
.live-label { display: inline-flex; align-items: center; gap: 7px; color: var(--phosphor); font-size: 15px; text-transform: uppercase; }
.live-label i { width: 8px; height: 8px; display: inline-block; background: var(--phosphor); animation: pulse 1.6s steps(2) infinite; }
.countdown-row { padding: 14px 2px 8px; }
.countdown-row span, .route-node small, .machine-status small { display: block; margin-bottom: 2px; color: var(--phosphor-dim); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.countdown { display: block; color: var(--phosphor); font-family: var(--dos); font-size: clamp(34px, 3.4vw, 54px); line-height: 0.9; text-shadow: 0 0 12px rgba(51, 255, 51, 0.6); font-variant-numeric: tabular-nums; }
.vault-total { text-align: right; }
.vault-total strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.timer-progress { height: 16px; overflow: hidden; margin: 6px 2px 6px; padding: 2px; border: 1px solid var(--phosphor-dim); }
.timer-progress i { width: 0; height: 100%; display: block; background: repeating-linear-gradient(90deg, var(--phosphor) 0 8px, transparent 8px 11px); transition: width 1s linear; }
.timer-explainer { display: flex; justify-content: space-between; gap: 14px; margin: 0 2px 12px; color: var(--phosphor-dim); font-size: 13px; text-transform: uppercase; }
.timer-explainer b { color: var(--phosphor); text-align: right; font-weight: 400; }
.route-console { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 10px; border: 1px dashed var(--phosphor-dim); }
.route-node { min-width: 0; display: flex; align-items: center; gap: 10px; }
.route-node b { display: block; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.route-destination { justify-content: flex-end; text-align: right; }
.source-icon, .stock-token { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; color: #000; background: var(--phosphor); font-family: var(--dos); font-size: 22px; }
.stock-token { color: var(--phosphor); background: transparent; border: 1px solid var(--phosphor); }
.route-bridge { display: grid; grid-template-columns: auto 16px auto 16px auto; align-items: center; gap: 5px; color: var(--phosphor-dim); font-size: 13px; }
.route-bridge b { color: var(--phosphor); }
.route-bridge i { border-top: 1px dashed var(--phosphor-dim); }
.selector-wrap { margin-top: 10px; padding: 10px; border: 1px dashed var(--phosphor-dim); }
.selector-head { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 8px; color: var(--phosphor-dim); font-size: 14px; text-transform: uppercase; }
.selector-head b { color: var(--phosphor); }
.stock-selector { position: relative; height: 150px; overflow: hidden; }
.selector-track { width: max-content; height: 100%; display: flex; align-items: center; }
.selector-group { display: flex; gap: 8px; padding-right: 8px; }
.selector-card { width: 128px; height: 124px; flex: 0 0 auto; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; color: var(--phosphor); background: rgba(51, 255, 51, 0.06); border: 1px solid var(--phosphor-dim); }
.selector-card b { font-family: var(--dos); font-size: 24px; }
.selector-card small { overflow: hidden; color: var(--phosphor-dim); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.selector-window { position: absolute; inset: 0 auto 0 50%; width: 136px; transform: translateX(-50%); border: 2px solid var(--phosphor); box-shadow: 0 0 18px rgba(51, 255, 51, 0.4); }
.commit-line { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 8px; color: var(--phosphor-dim); font-size: 13px; text-transform: uppercase; }
.commit-line code { min-width: 0; overflow: hidden; color: var(--phosphor); font-family: var(--dos); text-overflow: ellipsis; white-space: nowrap; }
.machine-status { display: grid; grid-template-columns: 0.4fr 1fr; gap: 8px; margin-top: 10px; }
.machine-status > div { min-width: 0; padding: 8px 10px; border: 1px solid var(--phosphor-dim); }
.machine-status b { display: block; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.machine-note { margin: 10px 0 0; color: var(--phosphor-dim); font-size: 13px; text-align: center; text-transform: uppercase; }

/* ── Ticker tape ─────────────────────────────────────────── */
.market-tape { position: relative; overflow: hidden; margin-top: 18px; background: #000; border-block: 2px solid var(--dark); }
.tape-label { position: absolute; inset: 0 auto 0 0; z-index: 2; display: flex; align-items: center; padding: 0 16px; color: #000; background: var(--phosphor); font-family: var(--dos); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; }
.tape-track { width: max-content; display: flex; animation: tape-scroll 46s linear infinite; will-change: transform; }
.tape-group { display: flex; }
.tape-item { min-width: 210px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 8px 18px; border-right: 1px solid #1c3a1c; font-family: var(--dos); font-size: 15px; text-transform: uppercase; }
.tape-item b { color: var(--phosphor); }
.tape-item span { overflow: hidden; color: var(--phosphor-dim); text-overflow: ellipsis; white-space: nowrap; }
.tape-item i { font-style: normal; }
.tape-item i.up { color: var(--phosphor); }
.tape-item i.down { color: #ff5555; }
.tape-item i.unavailable { color: var(--phosphor-dim); }

/* ── Metric strip ────────────────────────────────────────── */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.metric-strip article { min-height: 100px; display: flex; flex-direction: column; justify-content: center; padding: 14px 18px; background: var(--gray); box-shadow: var(--bevel-out); }
.metric-strip span, .metric-strip small { color: var(--muted); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.metric-strip b { margin: 6px 0 2px; color: var(--navy); font-family: var(--dos); font-size: clamp(26px, 2.4vw, 38px); line-height: 0.9; font-variant-numeric: tabular-nums; }

/* ── Sections ────────────────────────────────────────────── */
.how, .holders, .winner-history, .market { padding-top: 60px; padding-bottom: 60px; }
.section-heading { margin-bottom: 26px; }
.section-heading.horizontal { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-index { display: inline-block; margin-bottom: 12px; padding: 4px 10px; color: #fff; background: var(--navy); font-family: var(--pixel); font-size: 9px; letter-spacing: 0.08em; }
.section-heading h2, .fairness h2 { margin: 0; color: var(--navy); font-family: var(--pixel); font-weight: 700; font-size: clamp(16px, 1.9vw, 26px); line-height: 1.3; }
.section-heading > p, .section-heading.horizontal > p { max-width: 420px; margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }

/* ── Loop cards ──────────────────────────────────────────── */
.loop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.loop-card { min-height: 300px; display: flex; flex-direction: column; padding: 16px; background: var(--gray); box-shadow: var(--bevel-out); }
.loop-card-acid { background: #ffefb0; }
.loop-number { color: var(--navy); font-family: var(--pixel); font-size: 10px; }
.loop-visual { position: relative; height: 104px; display: flex; justify-content: center; align-items: center; margin: 14px 0; background: #fff; box-shadow: var(--bevel-in); }
.fee-visual b { z-index: 2; color: var(--green); font-family: var(--dos); font-size: 52px; }
.fee-visual i { position: absolute; width: 44px; height: 44px; border: 1px dashed var(--dark); }
.fee-visual i:nth-of-type(1) { transform: translate(-34px, 22px) rotate(8deg); }
.fee-visual i:nth-of-type(2) { transform: translate(36px, 16px) rotate(-6deg); }
.fee-visual i:nth-of-type(3) { transform: translate(6px, -26px) rotate(3deg); }
.route-visual { gap: 12px; }
.route-visual b { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--navy); font-family: var(--dos); font-size: 22px; }
.route-visual span { color: var(--ink); font-size: 20px; }
.stack-visual i { width: 46px; height: 62px; display: grid; place-items: center; color: var(--ink); background: var(--gray); box-shadow: var(--bevel-out); font-family: var(--ui); font-weight: 700; font-size: 13px; font-style: normal; }
.stack-visual i:nth-child(1) { transform: rotate(-8deg) translateX(9px); }
.stack-visual i:nth-child(2) { z-index: 1; }
.stack-visual i:nth-child(3) { transform: rotate(8deg) translateX(-9px); }
.win-visual { gap: 8px; }
.win-visual b { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--green); box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4); font-family: var(--dos); font-size: 30px; }
.win-visual i { width: 30px; border-top: 1px dashed var(--dark); }
.loop-card h3 { margin: auto 0 6px; color: var(--navy); font-family: var(--pixel); font-size: 11px; }
.loop-card p { min-height: 56px; margin: 0; color: var(--muted); font-size: 11.5px; }
.loop-card small { margin-top: 12px; color: var(--dark); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.loop-card-acid small, .loop-card-acid .loop-number { color: #7a5b00; }

/* ── Holders / odds ──────────────────────────────────────── */
.odds-card { min-width: 300px; padding: 12px 16px; background: var(--gray); box-shadow: var(--bevel-out); }
.odds-card span, .odds-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.odds-card b { display: block; margin: 4px 0; color: var(--green); font-family: var(--dos); font-size: 26px; }
.holders-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; }
.leaderboard-table { background: #fff; box-shadow: var(--bevel-in); }
.table-row { display: grid; grid-template-columns: 1fr 0.45fr 0.45fr; gap: 14px; align-items: center; min-height: 44px; padding: 6px 12px; border-bottom: 1px solid #e2e2e2; font-size: 12px; }
.table-row:last-child { border-bottom: 0; }
.table-row:not(.table-head):hover { background: #eaf2ff; }
.table-row.table-head { min-height: 26px; color: var(--ink); background: var(--gray); box-shadow: var(--bevel-out); font-size: 11px; font-weight: 700; }
.holder-wallet { display: flex; align-items: center; gap: 10px; }
.holder-wallet > b { width: 22px; color: var(--dark); font-size: 10px; }
.wallet-avatar { width: 22px; height: 22px; display: grid; place-items: center; color: #fff; background: var(--avatar-color); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.holder-wallet code, .table-number { font-family: var(--dos); font-size: 15px; }
.weight-cell { display: grid; grid-template-columns: 1fr 56px; align-items: center; gap: 8px; }
.weight-bar { height: 12px; padding: 2px; background: #fff; box-shadow: var(--bevel-in); }
.weight-bar i { height: 100%; display: block; background: repeating-linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 8px); }

/* ── Recent winner ───────────────────────────────────────── */
.recent-winner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 18px 16px; background: var(--gray); box-shadow: var(--bevel-out); text-align: center; }
.winner-kicker { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.winner-kicker b { color: var(--ink); }
.winner-burst { width: 58px; height: 58px; display: grid; place-items: center; margin: 12px 0; color: #fff; background: var(--red); box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4); transform: rotate(-4deg); }
.winner-burst span { font-family: var(--pixel); font-size: 8px; }
.winner-asset-lockup { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px; background: #fff; box-shadow: var(--bevel-in); text-align: left; }
.winner-logo-shell, .showcase-logo, .ledger-logo { position: relative; display: grid; place-items: center; }
.winner-logo-shell { width: 56px; height: 56px; }
.winner-logo-shell img, .showcase-logo img, .ledger-logo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #fff; border: 1px solid var(--dark); }
.winner-logo-shell > b, .stock-logo-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--logo-color, var(--navy)); background: #fff; border: 1px solid var(--dark); font-family: var(--pixel); font-size: 14px; }
.winner-asset-lockup small, .winner-asset-lockup span { display: block; color: var(--muted); font-size: 9.5px; text-transform: uppercase; }
.winner-asset-lockup b { display: block; color: var(--green); font-family: var(--dos); font-size: 24px; line-height: 1; }
.recent-winner > strong { max-width: 280px; margin: 12px 0 6px; color: var(--navy); font-family: var(--pixel); font-size: 12px; line-height: 1.5; }
.recent-winner > code { color: var(--muted); font-family: var(--dos); font-size: 15px; }
.recent-winner > p { margin: 8px 0 2px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.winner-units { margin-bottom: 10px; color: var(--dark); font-size: 9.5px; }
.winner-status { padding: 4px 10px; color: var(--green); background: #fff; box-shadow: var(--bevel-in); font-size: 9.5px; font-weight: 700; text-transform: uppercase; }

/* ── Winner history ──────────────────────────────────────── */
.winner-history { padding-top: 10px; }
.winner-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.winner-showcase-card { position: relative; min-height: 320px; display: flex; flex-direction: column; padding: 16px; background: var(--gray); box-shadow: var(--bevel-out); animation: card-in 0.4s calc(var(--winner-index) * 80ms) ease both; }
.winner-showcase-card:nth-child(2) { background: #ffefb0; }
.winner-showcase-card header { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.winner-showcase-card header b { color: var(--green); }
.showcase-asset { display: flex; align-items: center; gap: 12px; margin: 26px 0 16px; }
.showcase-logo { width: 64px; height: 64px; flex: 0 0 auto; }
.showcase-logo .stock-logo-fallback { color: var(--winner-color); font-size: 16px; }
.showcase-asset small { display: block; max-width: 170px; overflow: hidden; color: var(--muted); font-size: 9.5px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.showcase-asset > div > b { display: block; margin-top: 3px; font-family: var(--dos); font-size: 30px; line-height: 0.9; color: var(--ink); }
.winner-showcase-card > strong { display: flex; flex-direction: column; gap: 2px; margin-top: auto; color: var(--navy); font-family: var(--dos); font-size: clamp(26px, 2.2vw, 34px); line-height: 1; font-variant-numeric: tabular-nums; }
.winner-showcase-card > strong span, .winner-showcase-card > strong small { color: var(--muted); font-family: var(--ui); font-size: 9px; font-weight: 400; letter-spacing: 0.1em; }
.winner-showcase-card > strong small { margin-top: 5px; color: var(--green); font-size: 10px; font-weight: 700; }
.winner-showcase-card > code { margin-top: 12px; color: var(--muted); font-family: var(--dos); font-size: 14px; }
.winner-showcase-card > footer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--dark); box-shadow: 0 1px 0 var(--light) inset; }
.winner-showcase-card > footer small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.winner-showcase-card > footer b { display: block; margin-top: 2px; font-family: var(--dos); font-size: 15px; }

.winner-ledger { margin-top: 12px; overflow-x: auto; background: #fff; box-shadow: var(--bevel-in); }
.winner-ledger-title { min-width: 900px; display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px; color: #fff; background: linear-gradient(90deg, var(--navy), var(--navy-2)); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.winner-ledger-row { min-width: 900px; display: grid; grid-template-columns: 1.1fr 1.5fr 0.7fr 0.55fr 0.75fr 88px; gap: 14px; align-items: center; min-height: 54px; padding: 8px 12px; border-bottom: 1px solid #e2e2e2; font-size: 12px; }
.winner-ledger-row:not(.winner-ledger-head):hover { background: #eaf2ff; }
.winner-ledger-row:last-child { border-bottom: 0; }
.winner-ledger-head { min-height: 26px; color: var(--ink); background: var(--gray); box-shadow: var(--bevel-out); font-size: 10.5px; font-weight: 700; text-transform: uppercase; }
.ledger-wallet { display: flex; align-items: center; gap: 8px; }
.ledger-wallet > b { color: var(--navy); font-size: 11px; }
.ledger-wallet code, .ledger-number, .winner-ledger-row time { font-family: var(--dos); font-size: 14px; }
.ledger-prize { min-width: 0; display: flex; align-items: center; gap: 8px; }
.ledger-logo { width: 30px; height: 30px; flex: 0 0 auto; }
.ledger-logo .stock-logo-fallback { font-size: 9px; }
.ledger-prize b, .ledger-prize small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger-prize b { color: var(--ink); font-size: 12px; font-weight: 700; }
.ledger-prize small, .winner-ledger-row time { color: var(--muted); font-size: 10px; }
.proof-link { min-height: 26px; padding: 0 10px; color: var(--ink); background: var(--gray); box-shadow: var(--bevel-out); border: 0; font-size: 10px; font-weight: 700; cursor: pointer; }
.proof-link:active:not(:disabled) { box-shadow: var(--bevel-in); }
.proof-link:disabled { color: var(--dark); text-shadow: 1px 1px 0 var(--light); cursor: not-allowed; }

/* ── Live mechanics ──────────────────────────────────────── */
.mechanics { padding-top: 16px; }
.mechanic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; }
.mechanic-card { display: flex; flex-direction: column; align-content: start; gap: 10px; padding: 12px; background: var(--gray); box-shadow: var(--bevel-out); }
.mechanic-card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--dark); }
.mechanic-kicker { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.mechanic-kicker b { color: var(--green); }
.mechanic-card header > b { color: var(--navy); font-family: var(--dos); font-size: 22px; line-height: 0.9; }
.mechanic-lede { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.mechanic-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mechanic-stat-row > div { padding: 8px; background: #fff; box-shadow: var(--bevel-in); }
.mechanic-stat-row small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.mechanic-stat-row b { display: block; margin-top: 2px; color: var(--ink); font-family: var(--dos); font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.mechanic-progress { height: 12px; background: #fff; box-shadow: var(--bevel-in); }
.mechanic-progress i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--navy) 0 8px, transparent 8px 10px); transition: width 0.4s ease; }
.mechanic-commit { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 8px; background: #000; }
.mechanic-commit span { color: var(--phosphor-dim); font-size: 9px; text-transform: uppercase; }
.mechanic-commit code { color: var(--phosphor); font-family: var(--dos); font-size: 14px; word-break: break-all; }
.mechanic-subhead { color: var(--muted); font-size: 9.5px; font-weight: 700; text-transform: uppercase; }
.mechanic-list { flex: none; min-height: 76px; max-height: 210px; overflow-y: auto; background: #fff; box-shadow: var(--bevel-in); }
.mechanic-row { display: grid; grid-template-columns: auto auto 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border-bottom: 1px solid #e2e2e2; font-size: 11px; }
.mechanic-row:last-child { border-bottom: 0; }
.mechanic-row.award { background: #f7f7ef; }
.mechanic-row.award .mechanic-tx { grid-column: 1 / -1; text-align: right; }
.mechanic-row code { color: var(--navy); font-family: var(--dos); font-size: 14px; }
.mechanic-row > b { color: var(--green); font-weight: 700; white-space: nowrap; }
.mechanic-row small { overflow: hidden; color: var(--muted); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.mechanic-symbol { display: inline-grid; place-items: center; min-width: 44px; padding: 2px 6px; color: #fff; background: var(--logo-color, var(--navy)); font-family: var(--pixel); font-size: 9px; }
.mechanic-tx { color: var(--link); font-family: var(--dos); font-size: 13px; white-space: nowrap; }
.mechanic-tx.pending { color: var(--dark); text-decoration: none; }
.mechanic-list .empty-state { padding: 12px; font-size: 10.5px; }

/* ── Market universe ─────────────────────────────────────── */
.market { padding-top: 16px; }
.market-source { min-width: 250px; padding: 12px 16px; background: var(--gray); box-shadow: var(--bevel-out); }
.market-source b { display: block; color: var(--green); font-family: var(--dos); font-size: 40px; line-height: 0.9; }
.market-source span, .market-source small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.asset-search { display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 16px; margin-bottom: 10px; padding: 10px 12px; background: var(--gray); box-shadow: var(--bevel-out); }
.asset-search span { font-size: 11px; font-weight: 700; }
.asset-search input { width: 100%; min-height: 28px; padding: 0 10px; color: var(--ink); background: #fff; box-shadow: var(--bevel-in); border: 0; font-size: 12px; }
.asset-search input:focus { outline: 1px dotted var(--ink); outline-offset: -4px; }
.asset-grid { max-height: 560px; overflow: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 8px; background: #fff; box-shadow: var(--bevel-in); }
.asset-card { min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; background: var(--gray); box-shadow: var(--bevel-out); }
.asset-card header { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.asset-card h3 { margin: 0; color: var(--navy); font-family: var(--dos); font-size: 21px; line-height: 0.9; }
.asset-card header span { padding: 2px 6px; color: var(--muted); background: #fff; box-shadow: var(--bevel-in); font-size: 8.5px; text-transform: uppercase; white-space: nowrap; }
.asset-card p { margin: 0; overflow: hidden; color: var(--muted); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.asset-card footer { display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.asset-card footer b { font-family: var(--dos); font-size: 15px; color: var(--green); }
.asset-card footer small { color: var(--dark); font-size: 8.5px; text-transform: uppercase; }
.empty-state { grid-column: 1/-1; min-height: 180px; display: grid; place-items: center; padding: 20px; color: var(--muted); font-size: 12px; text-align: center; }

/* ── Fairness / proof ────────────────────────────────────── */
.fairness { padding: 40px 0 60px; background: var(--gray-2); border-block: 2px solid var(--dark); box-shadow: inset 0 1px 0 var(--light); }
.fairness-grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.section-index.light { background: var(--green); }
.fairness-copy > p { max-width: 480px; margin: 14px 0; color: var(--muted); font-size: 12.5px; }
.fairness-copy ol { margin: 18px 0 0; padding: 0; list-style: none; background: #fff; box-shadow: var(--bevel-in); }
.fairness-copy li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 9px 12px; border-bottom: 1px solid #e2e2e2; font-size: 11.5px; }
.fairness-copy li:last-child { border-bottom: 0; }
.fairness-copy li b { color: var(--navy); text-transform: uppercase; }
.fairness-copy li span { color: var(--muted); }
.proof-terminal { background: var(--gray); box-shadow: var(--bevel-out); padding: 3px; }
.terminal-head { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 3px 6px; color: #fff; background: linear-gradient(90deg, var(--navy), var(--navy-2)); font-size: 11px; font-weight: 700; }
.terminal-head > span { display: flex; gap: 3px; }
.terminal-head i { width: 14px; height: 12px; display: block; background: var(--gray); box-shadow: var(--bevel-out); }
.terminal-head small { justify-self: end; font-weight: 400; text-transform: uppercase; }
.proof-terminal pre { min-height: 340px; max-height: 420px; margin: 3px 0; overflow: auto; padding: 14px; color: var(--phosphor); background: #000; font-family: var(--dos); font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.formula { display: flex; justify-content: space-between; gap: 14px; padding: 8px 10px; font-size: 11px; }
.formula code { color: var(--navy); font-family: var(--dos); font-size: 14px; }

/* ── Closing CTA / footer ────────────────────────────────── */
.closing-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 50px 0; }
.closing-cta > span { color: var(--muted); font-size: 10px; letter-spacing: 0.14em; writing-mode: vertical-rl; transform: rotate(180deg); }
.closing-cta h2 { margin: 0; color: var(--navy); font-family: var(--pixel); font-size: clamp(20px, 2.6vw, 34px); line-height: 1.25; }
.closing-cta h2 em { font-style: normal; color: var(--green); }
.closing-cta > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.closing-cta small { color: var(--muted); font-size: 10px; }
.win-viewport footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 18px 24px; background: var(--gray); border-top: 2px solid var(--dark); box-shadow: inset 0 1px 0 var(--light); }
.brand-word { font-family: var(--pixel); font-size: 13px; color: var(--ink); }
.brand-word em { font-style: normal; color: var(--green); }
.win-viewport footer p { margin: 0; max-width: 400px; color: var(--muted); font-size: 11px; }
.win-viewport footer > div { display: flex; justify-content: flex-end; gap: 16px; font-size: 11px; }
.win-viewport footer > small { grid-column: 1/-1; color: var(--muted); font-size: 10px; }
.footer-joke { text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Toast (Win95 dialog) ────────────────────────────────── */
.toast { position: fixed; z-index: 80; right: 18px; bottom: 54px; max-width: min(380px, calc(100% - 36px)); padding: 12px 16px 12px 40px; color: var(--ink); background: var(--gray); box-shadow: var(--bevel-out), 4px 4px 0 rgba(0, 0, 0, 0.35); font-size: 12px; transform: translateY(200%); transition: transform 0.25s ease; }
.toast::before { content: "⚠️"; position: absolute; top: 10px; left: 12px; }
.toast.show { transform: translateY(0); }

/* ── Motion ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 0.08s; }
@keyframes pulse { 50% { opacity: 0.3; } }
@keyframes tape-scroll { to { transform: translateX(-50%); } }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .win-viewport { scroll-behavior: auto; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1160px) {
  .hero-banner { grid-template-columns: 1fr 1fr; }
  .hero-pool { grid-column: 1/-1; }
  .loop-grid { grid-template-columns: repeat(2, 1fr); }
  .asset-grid { grid-template-columns: repeat(3, 1fr); }
  .fairness-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .win-window { left: 8px; top: 8px; right: 8px; bottom: 48px; }
  .desktop-icons { display: none; }
}
@media (max-width: 760px) {
  .section-shell { width: calc(100% - 24px); }
  .hero-banner, .page-nav, .trust-row, .drop-machine { width: calc(100% - 24px); }
  .hero-banner { grid-template-columns: 1fr; gap: 18px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .section-heading.horizontal { display: block; }
  .loop-grid { grid-template-columns: 1fr; }
  .holders-layout { grid-template-columns: 1fr; }
  .winner-gallery { grid-template-columns: 1fr; }
  .odds-card { min-width: 0; margin-top: 16px; }
  .market-source { min-width: 0; margin-top: 16px; }
  .asset-search { grid-template-columns: 1fr; }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .route-console { grid-template-columns: 1fr; }
  .route-destination { justify-content: flex-start; text-align: left; }
  .machine-status { grid-template-columns: 1fr; }
  .closing-cta { grid-template-columns: 1fr; gap: 18px; }
  .closing-cta > span { writing-mode: horizontal-tb; transform: none; }
  .win-viewport footer { grid-template-columns: 1fr; }
  .win-viewport footer > div { justify-content: flex-start; }
  .address-field { display: none; }
}
@media (max-width: 560px) {
  .metric-strip, .asset-grid { grid-template-columns: 1fr; }
  .table-row { grid-template-columns: 1fr 0.55fr; }
  .table-row > :nth-child(3) { grid-column: 1/-1; }
  .table-row.table-head > :nth-child(3) { display: none; }
  .wallet-avatar { display: none; }
}
