:root {
  --bg: #060b16;
  --panel: rgba(9, 14, 28, .92);
  --panel-soft: rgba(12, 18, 34, .88);
  --white: #fff;
  --text: #f7f7f4;
  --muted: #b8b8b2;
  --muted-2: #74746f;
  --green: #4d7cff;
  --line: rgba(115, 145, 255, .22);
  --line-strong: rgba(186, 205, 255, .72);
  --danger: #ff7a95;
  --shadow: 0 32px 90px rgba(0,0,0,.75);
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { background: #050914; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, rgba(77,124,255,.16), transparent 28%), radial-gradient(circle at 100% 25%, rgba(48,152,255,.12), transparent 24%), linear-gradient(180deg, #060b16 0%, #04070f 100%);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img, svg { display: block; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.mono, code, pre, .binary-mini, .poster-code, .poster-copy, .poster-stack { font-family: Consolas, "Courier New", monospace; }

#matrix-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -4; opacity: .19; pointer-events: none; }
.scanlines { position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: .07; background: repeating-linear-gradient(to bottom, #fff 0, #fff 1px, transparent 1px, transparent 4px); }
.noise { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .08; background-image: radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1px), radial-gradient(circle at 80% 70%, #fff 0 1px, transparent 1px); background-size: 17px 17px, 23px 23px; }

.poster-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9,14,28,.86), rgba(5,8,18,.72));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(170,190,255,.05);
}
.poster-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(130deg, rgba(255,255,255,.025), transparent 32%, transparent 70%, rgba(255,255,255,.02)); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.ylop-mark {
  display: inline-block;
  color: #000;
  background: #fff;
  padding: .02em .14em .06em;
  margin-inline: .03em;
  font-weight: 1000;
  letter-spacing: -.055em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(77,124,255,.82);
  transform: skewX(-4deg);
}
.brand .ylop-mark { font-size: 17px; padding: 3px 7px 4px; box-shadow: 3px 3px 0 var(--green); }

.site-shell.lockable { filter: blur(18px); pointer-events: none; user-select: none; transition: filter .45s ease; }
body.unlocked .site-shell.lockable { filter: none; pointer-events: auto; user-select: auto; }
body.unlocked .gate-overlay { opacity: 0; visibility: hidden; }
.gate-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; transition: opacity .45s ease, visibility .45s ease; }
.gate-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 14, .62); backdrop-filter: blur(18px) saturate(90%); }
.gate-card { z-index: 2; width: min(92vw, 650px); padding: 34px; border-radius: 0; }
.poster-line { height: 3px; width: 100%; background: #fff; margin-bottom: 18px; }
.gate-topline { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.gate-title { margin: 20px 0 12px; max-width: 560px; font-size: clamp(42px, 8vw, 78px); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.gate-copy { margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.gate-form label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.gate-input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.gate-input-row input { min-height: 54px; padding: 0 16px; color: #fff; background: #060606; border: 1px solid var(--line-strong); border-radius: 0; outline: none; }
.gate-input-row input:focus { box-shadow: 0 0 0 3px rgba(77,124,255,.24); border-color: var(--green); }
.gate-error { min-height: 20px; margin-top: 8px; color: var(--danger); font-size: 12px; }
.gate-sticker { position: absolute; right: 26px; bottom: -12px; transform: rotate(-7deg); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(5, 9, 20, .84); backdrop-filter: blur(12px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 1000; letter-spacing: -.04em; }
.brand img { width: 30px; height: 30px; filter: grayscale(1) brightness(2); }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.nav-links a:hover { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 0; border: 1px solid transparent; cursor: pointer; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translate(-2px,-2px); }
.button.white { color: #000; background: #fff; box-shadow: 5px 5px 0 var(--green); }
.button.white:hover { box-shadow: 8px 8px 0 var(--green); }
.button.outline { color: #fff; background: rgba(9,13,28,.68); border-color: rgba(185, 205, 255, .8); }
.button.outline:hover { color: #000; background: #fff; box-shadow: 5px 5px 0 var(--green); }

.hero { min-height: calc(100vh - 74px); padding: 74px 0 62px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 42px; align-items: center; }
.eyebrow, .section-kicker, .feature-meta, .pill { color: var(--muted); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 800; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pulse { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 20px var(--green); animation: pulse 1.6s infinite; }
.hero h1 { margin: 0; font-size: clamp(56px, 8vw, 100px); line-height: .86; letter-spacing: -.073em; text-transform: uppercase; }
.hero h1 span { display: block; color: #92a3da; }
.hero-lead { max-width: 650px; margin: 26px 0 28px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.metric { padding: 18px; }
.metric strong { display: block; margin-bottom: 7px; color: #fff; font-size: 22px; letter-spacing: -.04em; }
.metric span { color: var(--muted); font-size: 12px; line-height: 1.4; text-transform: uppercase; }

.hero-poster { min-height: 620px; padding: 28px; }
.poster-topline { height: 3px; background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(120,160,255,.95)); margin-bottom: 42px; }
.poster-heading-row { display: flex; justify-content: space-between; gap: 20px; }
.poster-heading-row h2 { margin: 6px 0 0; font-size: clamp(64px, 7vw, 100px); line-height: .72; letter-spacing: -.08em; }
.poster-code { font-size: 40px; font-weight: 900; }
.poster-stack { text-align: right; font-size: 12px; line-height: 1.1; }
.poster-copy { margin-top: 30px; font-size: 13px; line-height: 1.35; font-weight: 700; }
.perspective-grid { position: relative; height: 220px; margin: 46px 0 30px; overflow: hidden; border-top: 3px solid rgba(255,255,255,.95); border-bottom: 3px solid rgba(255,255,255,.95); background: radial-gradient(ellipse at 50% 0, rgba(120,160,255,.95) 0 9%, transparent 10%); }
.perspective-grid::before, .perspective-grid::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: #fff; transform-origin: top; }
.perspective-grid::before { transform: rotate(24deg); }
.perspective-grid::after { transform: rotate(-24deg); }
.perspective-grid span { position: absolute; left: 50%; top: 0; width: 2px; height: 150%; background: #fff; transform-origin: top; }
.perspective-grid span:nth-child(1){transform:rotate(-65deg)}.perspective-grid span:nth-child(2){transform:rotate(-52deg)}.perspective-grid span:nth-child(3){transform:rotate(-39deg)}.perspective-grid span:nth-child(4){transform:rotate(-13deg)}.perspective-grid span:nth-child(5){transform:rotate(0)}.perspective-grid span:nth-child(6){transform:rotate(13deg)}.perspective-grid span:nth-child(7){transform:rotate(39deg)}.perspective-grid span:nth-child(8){transform:rotate(52deg)}.perspective-grid span:nth-child(9){transform:rotate(65deg)}
.poster-bottom { display: grid; gap: 18px; font-size: 13px; font-weight: 900; }
.barcode { height: 34px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 8px, transparent 8px 11px, #fff 11px 12px, transparent 12px 15px); }
.barcode.large { height: 58px; }
.sticker { color: #000; background: #fff; border: 2px solid #fff; box-shadow: 5px 5px 0 var(--green); font-weight: 1000; text-transform: uppercase; }
.star-sticker { position: absolute; right: 28px; top: 210px; width: 66px; height: 66px; display: grid; place-items: center; font-size: 37px; transform: rotate(7deg); }
.corner-sticker { position: absolute; right: 30px; bottom: 35px; padding: 10px 12px; font-size: 24px; transform: rotate(-4deg); }
.corner-sticker small { display: block; font-size: 8px; letter-spacing: .12em; }

.marquee { overflow: hidden; padding: 14px 0 26px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 22s linear infinite; }
.marquee-track span { padding: 10px 13px; border: 1px solid #fff; color: #fff; background: #000; white-space: nowrap; text-transform: uppercase; font-size: 11px; letter-spacing: .16em; }
.section { padding: 94px 0 22px; }
.section-heading { max-width: 790px; margin-bottom: 36px; }
.section-heading h2, .cta-panel h2 { margin: 12px 0 16px; font-size: clamp(42px, 6vw, 75px); line-height: .9; letter-spacing: -.065em; text-transform: uppercase; }
.section-heading p, .feature-body p, .mini-poster p, .cta-panel p, .setup-card p { color: var(--muted); line-height: 1.72; }
.feature-stack { display: grid; gap: 18px; }
.feature-panel { padding: 26px 28px; min-height: 300px; }
.feature-index { position: absolute; right: 24px; top: 4px; font-size: 112px; line-height: 1; color: rgba(255,255,255,.055); font-weight: 1000; letter-spacing: -.08em; }
.feature-meta { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 2px solid #fff; }
.feature-body { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; padding-top: 24px; }
.feature-body h3 { margin: 0 0 14px; max-width: 700px; font-size: clamp(34px, 5vw, 64px); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.feature-body p { margin: 0; }
.feature-body ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.feature-body li { position: relative; padding: 13px 0 13px 23px; border-bottom: 1px solid var(--line); line-height: 1.55; }
.feature-body li::before { content: "↗"; position: absolute; left: 0; color: #fff; font-weight: 900; }
.feature-sticker { position: absolute; right: 26px; bottom: 22px; padding: 10px; font-size: 12px; transform: rotate(-3deg); }
.sticker-bars { display: flex; align-items: end; gap: 4px; padding: 9px; }
.sticker-bars i { display: block; width: 5px; background: #000; }
.sticker-bars i:nth-child(1){height:10px}.sticker-bars i:nth-child(2){height:22px}.sticker-bars i:nth-child(3){height:15px}.sticker-bars i:nth-child(4){height:29px}.sticker-bars i:nth-child(5){height:19px}
.signal-sticker { display: flex; gap: 4px; align-items: end; }
.signal-sticker span { width: 5px; background: #000; }
.signal-sticker span:nth-child(1){height:12px}.signal-sticker span:nth-child(2){height:28px}.signal-sticker span:nth-child(3){height:18px}
.risk-sticker { text-align: center; line-height: .9; }

.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-poster { min-height: 420px; padding: 24px; }
.mini-poster h3 { margin: 24px 0; font-size: 35px; line-height: .86; letter-spacing: -.055em; }
.mini-wireframe { height: 120px; border: 2px solid #fff; background: repeating-linear-gradient(90deg, transparent 0 24px, #fff 24px 26px), repeating-linear-gradient(0deg, transparent 0 22px, #fff 22px 24px); transform: perspective(300px) rotateX(45deg); transform-origin: center bottom; }
.crosshair { height: 150px; display: grid; place-items: center; font-size: 80px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.cta { padding: 90px 0 112px; }
.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 30px; }
.footer { border-top: 1px solid var(--line); padding: 26px 0 46px; }
.footer-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.footer-row p { margin: 10px 0 0; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: flex; gap: 20px; color: var(--muted); font-size: 13px; text-transform: uppercase; }

.setup-modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.setup-modal.open { opacity: 1; visibility: visible; }
.setup-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(12px); cursor: default; }
.setup-dialog { position: relative; z-index: 2; width: min(1180px, 96vw); max-height: 92vh; overflow: auto; padding: 28px; }
.setup-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.setup-head h2 { margin: 8px 0 0; font-size: clamp(54px, 8vw, 92px); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
.setup-exit { border: 0; background: transparent; color: #fff; cursor: pointer; font-weight: 800; }
.setup-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 26px 0; padding-top: 16px; border-top: 3px solid #fff; }
.step { color: var(--muted-2); font-size: 13px; line-height: 1.4; }
.step span { color: #fff; }
.step.active { color: #fff; }
.setup-card { padding: 28px; }
.pill { display: inline-flex; padding: 7px 10px; border: 1px solid #fff; color: #fff; }
.setup-card h3 { margin: 18px 0 10px; font-size: clamp(32px, 5vw, 56px); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.drag-zone { position: relative; min-height: 270px; margin-top: 26px; border: 2px solid #fff; overflow: hidden; }
.drag-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 24px 24px; }
.drag-inner { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.drag-bookmark { min-width: 150px; }
.drag-caption { margin-top: 18px; color: var(--muted); font-size: 17px; }
.modal-sticker { position: absolute; right: 28px; bottom: 22px; padding: 10px; transform: rotate(5deg); }
.setup-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; }
.setup-note { max-width: 650px; color: var(--muted); }
body.modal-open { overflow: hidden; }

.legal-body { min-height: 100vh; padding: 60px 0; }
.legal-wrap { width: min(calc(100% - 40px), 850px); margin-inline: auto; padding: 30px; }
.legal-wrap h1 { margin: 16px 0; font-size: clamp(56px, 9vw, 100px); line-height: .85; letter-spacing: -.075em; text-transform: uppercase; }
.legal-wrap p { color: var(--muted); line-height: 1.75; }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.75)} }
@keyframes marquee { from{transform:translateX(0)}to{transform:translateX(-50%)} }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .feature-body { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
  .setup-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .nav { flex-wrap: wrap; padding: 12px 0; }
  .nav-links { width: 100%; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .hero-metrics { grid-template-columns: 1fr; }
  .gate-input-row { grid-template-columns: 1fr; }
  .setup-dialog, .gate-card, .feature-panel, .cta-panel { padding: 20px; }
  .setup-head, .setup-actions, .footer-row { flex-direction: column; align-items: flex-start; }
  .setup-steps { grid-template-columns: 1fr; }
  .binary-mini { display: none; }
}
.depth-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
}
.depth-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 52%, rgba(255,255,255,.045), transparent 15%), radial-gradient(circle at 50% 50%, rgba(74,148,255,.07), transparent 42%);
}
.depth-tunnel {
  position: absolute;
  inset: 0;
}
.depth-square {
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(90vw, 1100px);
  height: min(90vw, 1100px);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(77,124,255,.14) inset;
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0;
  animation: squareSink 16s linear infinite;
}
.depth-square::before,
.depth-square::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.14);
}
.depth-square::before { left: 50%; top: 0; width: 1px; height: 100%; }
.depth-square::after { top: 50%; left: 0; height: 1px; width: 100%; }
.depth-square.d1 { animation-delay: 0s; }
.depth-square.d2 { animation-delay: -2s; }
.depth-square.d3 { animation-delay: -4s; }
.depth-square.d4 { animation-delay: -6s; }
.depth-square.d5 { animation-delay: -8s; }
.depth-square.d6 { animation-delay: -10s; }
.depth-square.d7 { animation-delay: -12s; }
.depth-square.d8 { animation-delay: -14s; }

.depth-assets { position: absolute; inset: 0; }
.depth-asset {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 8px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .18em;
  opacity: 0;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
  animation: assetSink 18s linear infinite;
}
.depth-asset small {
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.85);
}
.coin-card,
.figure-card {
  width: 110px;
  height: 110px;
  border: 1.5px solid rgba(255,255,255,.72);
  background: rgba(0,0,0,.16);
}
.coin-card {
  border-radius: 50%;
}
.coin-ring {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255,255,255,.92);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(77,124,255,.68);
}
.figure-card {
  padding: 10px;
  border-radius: 18px;
}
.figure-card svg {
  width: 72px;
  height: 72px;
  stroke: #fff;
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.coin-card.btc .coin-ring,
.coin-card.eth .coin-ring,
.coin-card.doge .coin-ring,
.coin-card.sol .coin-ring,
.figure-card small { color: #fff; }
.coin-card.btc .coin-ring { box-shadow: 4px 4px 0 rgba(255,174,0,.65); }
.coin-card.eth .coin-ring { box-shadow: 4px 4px 0 rgba(125,170,255,.6); }
.coin-card.doge .coin-ring { box-shadow: 4px 4px 0 rgba(255,215,95,.55); }
.coin-card.sol .coin-ring { box-shadow: 4px 4px 0 rgba(77,124,255,.68); }
.depth-asset.a1 { left: 9%; top: 22%; animation-delay: -1s; }
.depth-asset.a2 { left: 78%; top: 18%; animation-delay: -4s; }
.depth-asset.a3 { left: 14%; top: 70%; animation-delay: -7s; }
.depth-asset.a4 { left: 82%; top: 74%; animation-delay: -11s; }
.depth-asset.a5 { left: 23%; top: 40%; animation-delay: -2.5s; }
.depth-asset.a6 { left: 74%; top: 40%; animation-delay: -5.5s; }
.depth-asset.a7 { left: 33%; top: 80%; animation-delay: -8.5s; }
.depth-asset.a8 { left: 63%; top: 83%; animation-delay: -13s; }

@keyframes squareSink {
  0% { transform: translate(-50%, -50%) scale(1.22); opacity: 0; }
  8% { opacity: .4; }
  60% { opacity: .24; }
  100% { transform: translate(-50%, -50%) scale(0.06); opacity: 0; }
}
@keyframes assetSink {
  0% { transform: translate(-50%, -50%) scale(1.22); opacity: 0; }
  8% { opacity: .34; }
  18% { opacity: .52; }
  70% { opacity: .18; }
  100% { transform: translate(-50%, -50%) scale(0.14); opacity: 0; }
}

/* Perspective floor-grid background */
.depth-scene {
  perspective: 900px;
  perspective-origin: 50% 44%;
}
.depth-floor {
  position: absolute;
  left: 50%;
  bottom: -20vh;
  width: min(1500px, 150vw);
  height: 94vh;
  transform: translateX(-50%) rotateX(66deg);
  transform-origin: 50% 100%;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.62) 0 2px, transparent 2px 72px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.62) 0 2px, transparent 2px 54px);
  border: 2px solid rgba(255,255,255,.72);
  box-shadow:
    0 0 42px rgba(255,255,255,.06),
    0 -18px 70px rgba(77,124,255,.12);
  opacity: .42;
  mask-image: linear-gradient(to top, #000 0%, #000 64%, rgba(0,0,0,.7) 82%, transparent 100%);
}
.depth-horizon {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(820px, 72vw);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.86) 12%, rgba(255,255,255,.86) 88%, transparent);
  box-shadow: 0 0 24px rgba(77,124,255,.28);
  opacity: .38;
}
.depth-square { display: none !important; }

.depth-asset {
  left: 50% !important;
  top: 46% !important;
  animation: assetIntoScreen 17s linear infinite;
  will-change: transform, opacity;
}
.depth-asset.a1 { --sx: -42vw; --sy: -24vh; animation-delay: -1s; }
.depth-asset.a2 { --sx: 38vw; --sy: -28vh; animation-delay: -4s; }
.depth-asset.a3 { --sx: -36vw; --sy: 27vh; animation-delay: -7s; }
.depth-asset.a4 { --sx: 40vw; --sy: 30vh; animation-delay: -10s; }
.depth-asset.a5 { --sx: -25vw; --sy: -5vh; animation-delay: -2.5s; }
.depth-asset.a6 { --sx: 27vw; --sy: -7vh; animation-delay: -5.5s; }
.depth-asset.a7 { --sx: -19vw; --sy: 35vh; animation-delay: -8.5s; }
.depth-asset.a8 { --sx: 21vw; --sy: 38vh; animation-delay: -13s; }

@keyframes assetIntoScreen {
  0% {
    transform: translate(calc(-50% + var(--sx)), calc(-50% + var(--sy))) scale(1.18) rotate(-2deg);
    opacity: 0;
  }
  8% { opacity: .48; }
  28% { opacity: .56; }
  76% { opacity: .18; }
  100% {
    transform: translate(-50%, -50%) scale(.08) rotate(2deg);
    opacity: 0;
  }
}

/* Smaller setup window */
.setup-modal { padding: 18px; }
.setup-dialog {
  width: min(900px, 92vw);
  max-height: 88vh;
  padding: 22px;
}
.setup-head h2 { font-size: clamp(44px, 6vw, 70px); }
.setup-steps { margin: 18px 0; }
.setup-card { padding: 22px; }
.setup-card h3 { font-size: clamp(28px, 4vw, 44px); }
.drag-zone { min-height: 205px; margin-top: 18px; }
.drag-caption { font-size: 14px; }
.setup-actions { margin-top: 16px; }

@media (max-width: 760px) {
  .depth-floor {
    width: 170vw;
    height: 82vh;
    bottom: -18vh;
    background-image:
      repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px 44px),
      repeating-linear-gradient(0deg, rgba(255,255,255,.55) 0 1px, transparent 1px 38px);
  }
  .depth-asset { transform-origin: center; }
  .coin-card, .figure-card { width: 82px; height: 82px; }
  .coin-ring { width: 44px; height: 44px; font-size: 23px; }
  .figure-card svg { width: 54px; height: 54px; }
}

/* ===== Final viewport-fit setup + visible animated perspective background ===== */
#matrix-canvas { z-index: 0; opacity: .13; }
.depth-scene {
  z-index: 1;
  perspective: 980px;
  perspective-origin: 50% 42%;
}
.noise { z-index: 2; opacity: .045; }
.scanlines { z-index: 3; opacity: .045; }
.site-shell { position: relative; z-index: 10; }

.depth-scene::before {
  background:
    radial-gradient(circle at 50% 43%, rgba(255,255,255,.12), transparent 2%),
    radial-gradient(ellipse at 50% 48%, rgba(77,124,255,.18), transparent 24%),
    linear-gradient(to bottom, transparent 0 35%, rgba(255,255,255,.018) 62%, transparent 100%);
}
.depth-floor {
  left: 50%;
  bottom: -47vh;
  width: min(1800px, 155vw);
  height: 130vh;
  transform: translateX(-50%) rotateX(67deg);
  transform-origin: 50% 100%;
  background-color: rgba(0,0,0,.08);
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.82) 0 2px, transparent 2px 76px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.82) 0 2px, transparent 2px 58px);
  background-size: 76px 58px;
  border: 2px solid rgba(255,255,255,.78);
  opacity: .62;
  mask-image: linear-gradient(to top, #000 0 72%, rgba(0,0,0,.82) 83%, transparent 100%);
  box-shadow: 0 -14px 70px rgba(77,124,255,.18), 0 0 60px rgba(255,255,255,.05);
  animation: floorApproach 2.6s linear infinite;
}
.depth-floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(77,124,255,.12), transparent);
  mix-blend-mode: screen;
}
.depth-horizon {
  z-index: 2;
  top: 42%;
  opacity: .62;
  box-shadow: 0 0 32px rgba(77,124,255,.42);
}
.depth-assets { z-index: 3; }
.depth-asset { opacity: 0; }

@keyframes floorApproach {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 0 58px; }
}

/* Compact setup window that fits common laptop screens without scrolling. */
.setup-modal {
  padding: 10px;
  align-items: center;
}
.setup-dialog {
  width: min(790px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  overflow: hidden;
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
}
.setup-head { align-items: center; }
.setup-head h2 {
  margin-top: 4px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: .88;
}
.setup-exit { font-size: 12px; }
.setup-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 12px;
  padding-top: 9px;
  border-top-width: 2px;
}
.step {
  min-width: 0;
  font-size: 11px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.setup-card {
  padding: 14px 16px;
  min-height: 0;
}
.pill { padding: 5px 8px; font-size: 9px; }
.setup-card h3 {
  margin: 9px 0 5px;
  font-size: clamp(22px, 3vw, 31px);
  line-height: .94;
}
.setup-card > p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
.drag-zone {
  min-height: 125px;
  margin-top: 10px;
}
.drag-bookmark { min-height: 38px; min-width: 120px; padding: 0 14px; font-size: 12px; }
.drag-caption { margin-top: 8px; font-size: 11px; }
.modal-sticker { right: 12px; bottom: 10px; padding: 6px; font-size: 9px; box-shadow: 3px 3px 0 var(--green); }
.setup-actions {
  margin-top: 10px;
  gap: 12px;
}
.setup-note {
  max-width: 520px;
  font-size: 11px;
  line-height: 1.35;
}
.setup-actions .button { min-height: 38px; padding: 0 14px; font-size: 12px; }

/* Keep ylop highlighted in the setup screen without covering adjacent words. */
.setup-dialog .ylop-mark {
  display: inline;
  color: #fff;
  background: transparent;
  padding: 0;
  margin: 0;
  box-shadow: none;
  transform: none;
  text-transform: inherit;
  letter-spacing: inherit;
  font-weight: 900;
  border-bottom: 1px solid var(--green);
  text-shadow: 0 0 10px rgba(95,140,255,.76);
}

@media (max-height: 680px) and (min-width: 761px) {
  .setup-dialog { padding: 11px 14px; }
  .setup-head h2 { font-size: 38px; }
  .setup-steps { margin: 7px 0 9px; }
  .setup-card { padding: 11px 13px; }
  .setup-card h3 { font-size: 23px; }
  .drag-zone { min-height: 105px; }
  .setup-note { display: none; }
}

@media (max-width: 760px) {
  .depth-floor {
    width: 190vw;
    height: 115vh;
    bottom: -42vh;
    background-size: 48px 42px;
    background-image:
      repeating-linear-gradient(90deg, rgba(255,255,255,.72) 0 1px, transparent 1px 48px),
      repeating-linear-gradient(0deg, rgba(255,255,255,.72) 0 1px, transparent 1px 42px);
    animation-name: floorApproachMobile;
  }
  .setup-dialog { overflow-y: auto; }
  .setup-steps { grid-template-columns: 1fr 1fr; }
}

@keyframes floorApproachMobile {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 0 42px; }
}

/* ===== Refined transparent interface + clean visual decals ===== */
.poster-panel {
  background: linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.14));
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 18px 54px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.025);
  backdrop-filter: blur(2px) saturate(92%);
}
.poster-panel::after { opacity: .35; }
.feature-panel,
.mini-poster,
.cta-panel,
.metric {
  background: linear-gradient(180deg, rgba(12, 18, 34, .18), rgba(6, 9, 20, .08));
}
.hero-poster { background: linear-gradient(180deg, rgba(11, 16, 34, .42), rgba(4, 7, 18, .18)); }
.gate-card,
.setup-dialog,
.setup-card {
  background: linear-gradient(180deg, rgba(9, 14, 28, .88), rgba(5, 8, 18, .76));
  backdrop-filter: blur(12px);
}

/* Smaller typography: approximately 20–30% below the previous scale. */
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); line-height: .9; }
.hero-lead { font-size: 15px; }
.poster-heading-row h2 { font-size: clamp(48px, 5.2vw, 74px); }
.poster-code { font-size: 30px; }
.section-heading h2,
.cta-panel h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: .94; }
.feature-body h3 { font-size: clamp(27px, 3.7vw, 47px); line-height: .94; }
.feature-body p,
.feature-body li,
.section-heading p,
.cta-panel p { font-size: 14px; }
.mini-poster h3 { font-size: 27px; line-height: .92; }

/* Every visible ylop word becomes a compact card, not an oversized block. */
.ylop-mark {
  font-size: .72em;
  line-height: 1;
  padding: .16em .32em .19em;
  margin: 0 .10em;
  vertical-align: .14em;
  box-shadow: .24em .24em 0 rgba(77,124,255,.90);
  transform: skewX(-3deg) rotate(-1deg);
  white-space: nowrap;
}
h1 .ylop-mark,
h2 .ylop-mark,
h3 .ylop-mark {
  font-size: .42em;
  vertical-align: .42em;
  padding: .24em .42em .27em;
  box-shadow: .3em .3em 0 rgba(77,124,255,.90);
}
.brand .ylop-mark {
  font-size: 14px;
  padding: 6px 10px 7px;
  margin: 0;
  vertical-align: 0;
}
.feature-meta .ylop-mark,
.section-kicker .ylop-mark,
.step .ylop-mark,
.pill .ylop-mark {
  font-size: .76em;
  vertical-align: .08em;
  padding: .14em .30em .17em;
  box-shadow: .22em .22em 0 rgba(77,124,255,.86);
}

/* Remove the older text-card stickers. */
.star-sticker,
.corner-sticker,
.feature-sticker,
.gate-sticker,
.modal-sticker { display: none !important; }

.feature-decal {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.44));
}
.sports-decal {
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(0,0,0,.22);
}
.sports-decal svg {
  width: 60px;
  height: 60px;
  fill: none;
  stroke: rgba(255,255,255,.92);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signal-decal {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: rgba(0,0,0,.26);
  align-content: center;
  gap: 0;
}
.signal-decal.up { color: #6bb7ff; box-shadow: 0 0 26px rgba(107,183,255,.15); }
.signal-decal.down { color: #ff596e; box-shadow: 0 0 26px rgba(255,89,110,.15); }
.signal-arrow { font-size: 34px; line-height: .85; font-weight: 900; }
.signal-decal small { font-size: 8px; letter-spacing: .18em; font-weight: 900; }
.split-signal {
  display: flex;
  width: 82px;
  height: 56px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.24);
}
.split-signal span { flex: 1; display: grid; place-items: center; font-size: 29px; font-weight: 900; }
.split-signal .signal-up { color: #6bb7ff; border-right: 1px solid rgba(255,255,255,.2); }
.split-signal .signal-down { color: #ff596e; }

@media (max-width: 760px) {
  .feature-decal { width: 54px; height: 54px; right: 13px; bottom: 13px; opacity: .72; }
  .sports-decal svg { width: 44px; height: 44px; }
  .signal-arrow { font-size: 26px; }
  .feature-body { padding-right: 44px; }
}

/* Final cleanup: no stickerized YLOP words inside content text. */
.ylop-mark {
  display: inline;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
  vertical-align: baseline !important;
}

/* Remove panel decals from feature cards. Decorations now live only in the animated background. */
.feature-decal,
.signal-decal,
.split-signal,
.sports-decal {
  display: none !important;
}

/* Background figures: plain moving stickmen only, no circles or coin badges. */
.depth-asset {
  z-index: 3;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.38));
}
.figure-card {
  width: 118px;
  height: 118px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
}
.figure-card svg {
  width: 90px;
  height: 90px;
  stroke: rgba(255,255,255,.9);
  fill: none;
  stroke-width: 4;
}
.figure-card small {
  margin-top: -4px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  letter-spacing: .22em;
}
.coin-card,
.coin-ring { display: none !important; }

/* Slight motion emphasis for athletic / suited stickmen. */
.figure-card.football svg,
.figure-card.basketball svg,
.figure-card.suit svg {
  filter: drop-shadow(0 0 8px rgba(77,124,255,.14));
}

@media (max-width: 760px) {
  .figure-card { width: 86px; height: 86px; }
  .figure-card svg { width: 62px; height: 62px; }
  .figure-card small { font-size: 7px; }
}

/* ===== Bookmark drag activation effect ===== */
.bookmark-drag-effect {
  position: fixed;
  inset: 0;
  z-index: 245;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transition: opacity .24s ease;
  background:
    radial-gradient(circle at 50% 54%, rgba(94, 139, 255, .34), transparent 10%),
    radial-gradient(circle at 50% 54%, rgba(55, 104, 255, .18), transparent 34%);
}
.bookmark-drag-effect.active,
body.bookmark-drag-success .bookmark-drag-effect {
  opacity: 1;
}
.drag-energy-core {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.3);
  background: #dbe7ff;
  box-shadow:
    0 0 22px #dbe7ff,
    0 0 58px #6994ff,
    0 0 120px rgba(77, 124, 255, .8);
  opacity: 0;
}
.bookmark-drag-effect.active .drag-energy-core {
  animation: dragCorePulse .75s ease-in-out infinite alternate;
}
body.bookmark-drag-success .drag-energy-core {
  animation: dragCoreSuccess 1.1s ease-out both;
}
.drag-orbit {
  position: absolute;
  left: 50%;
  top: 54%;
  border: 1px solid rgba(140, 177, 255, .76);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.2);
  opacity: 0;
}
.orbit-one { width: 280px; height: 280px; }
.orbit-two { width: 520px; height: 520px; border-color: rgba(83, 131, 255, .46); }
.bookmark-drag-effect.active .orbit-one { animation: dragOrbit 1.15s ease-out infinite; }
.bookmark-drag-effect.active .orbit-two { animation: dragOrbit 1.15s .28s ease-out infinite; }
body.bookmark-drag-success .orbit-one { animation: dragSuccessRing 1s ease-out both; }
body.bookmark-drag-success .orbit-two { animation: dragSuccessRing 1s .12s ease-out both; }
.drag-particles { position: absolute; inset: 0; }
.drag-particles i {
  position: absolute;
  left: 50%;
  top: 54%;
  width: var(--size, 4px);
  height: var(--size, 4px);
  margin: calc(var(--size, 4px) / -2);
  border-radius: 50%;
  background: #a9c4ff;
  box-shadow: 0 0 12px #6f9aff;
  opacity: 0;
}
.bookmark-drag-effect.active .drag-particles i {
  animation: dragParticle 1.15s var(--delay, 0s) ease-out infinite;
}
body.bookmark-drag-success .drag-particles i {
  animation: dragParticleSuccess .9s var(--delay, 0s) ease-out both;
}
body.bookmark-dragging #matrix-canvas {
  opacity: .38;
  filter: saturate(1.6) brightness(1.35);
}
body.bookmark-dragging .depth-floor {
  animation-duration: .45s !important;
  filter: drop-shadow(0 0 18px rgba(77,124,255,.74));
}
body.bookmark-dragging .setup-dialog {
  border-color: rgba(124, 161, 255, .85);
  box-shadow: 0 0 0 1px rgba(124,161,255,.4), 0 0 80px rgba(54,98,255,.32);
}
body.bookmark-drag-success .setup-dialog {
  animation: setupSuccessFlash 1.1s ease-out;
}
.drag-bookmark.drag-complete {
  color: #fff;
  background: #315ee8;
  border-color: #98b6ff;
  box-shadow: 5px 5px 0 #79a1ff, 0 0 26px rgba(77,124,255,.42);
}
.step.active {
  color: #fff;
  text-shadow: 0 0 16px rgba(101,145,255,.7);
}
.step.complete {
  color: #83a8ff;
}
.step.complete span::after {
  content: " ✓";
  color: #9fbaff;
}
.setup-actions .button:disabled {
  opacity: .38;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

@keyframes dragCorePulse {
  from { transform: translate(-50%, -50%) scale(.45); opacity: .72; }
  to { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
@keyframes dragCoreSuccess {
  0% { transform: translate(-50%, -50%) scale(.5); opacity: .9; }
  45% { transform: translate(-50%, -50%) scale(2.4); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(7); opacity: 0; }
}
@keyframes dragOrbit {
  0% { transform: translate(-50%, -50%) scale(.18); opacity: 0; }
  20% { opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}
@keyframes dragSuccessRing {
  0% { transform: translate(-50%, -50%) scale(.2); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}
@keyframes dragParticle {
  0% { transform: translate(0,0) scale(.4); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(.05); opacity: 0; }
}
@keyframes dragParticleSuccess {
  0% { transform: translate(0,0) scale(.6); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(.05); opacity: 0; }
}
@keyframes setupSuccessFlash {
  0% { box-shadow: 0 0 0 rgba(77,124,255,0); }
  30% { box-shadow: 0 0 0 2px rgba(145,174,255,.72), 0 0 100px rgba(77,124,255,.52); }
  100% { box-shadow: 0 0 0 rgba(77,124,255,0); }
}


/* Prominent bookmarks-bar shortcut and repeat-drag guidance. */
.bookmark-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(126, 163, 255, .72);
  background: linear-gradient(90deg, rgba(39, 79, 190, .34), rgba(13, 25, 62, .48));
  box-shadow: inset 0 0 22px rgba(77, 124, 255, .12), 0 0 24px rgba(77, 124, 255, .08);
  color: #eef3ff;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bookmark-shortcut strong {
  font-size: 11px;
}
.bookmark-shortcut span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #b9ccff;
  font-size: 11px;
  font-weight: 900;
}
.bookmark-shortcut kbd {
  min-width: 30px;
  padding: 6px 8px;
  border: 1px solid rgba(210, 223, 255, .92);
  border-bottom-width: 3px;
  background: #eef3ff;
  color: #101936;
  font: 900 11px/1 Arial, Helvetica, sans-serif;
  text-align: center;
  box-shadow: 0 0 18px rgba(91, 137, 255, .24);
}
.drag-bookmark.drag-complete {
  cursor: grab;
}
.drag-bookmark.drag-complete:active {
  cursor: grabbing;
}

@media (max-width: 760px) {
  .bookmark-shortcut {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .bookmark-shortcut span {
    flex-wrap: wrap;
  }
}
