/* EXNPC — Escape the Script
   Farby sa menia na jednom mieste: --accent (a --on-accent pre text na akcente). */

@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-700-900.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-400-700.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #FF5A00;
  --on-accent: #050506;

  --bg: #050506;
  --bg-2: #08080A;
  --surface: #0A0A0C;
  --surface-2: #0D0D10;
  --surface-3: #111114;
  --line: #141417;
  --line-2: #1C1C20;
  --line-3: #222226;
  --line-4: #2A2A2F;
  --line-5: #3A3A40;
  --line-6: #4A4A52;

  --text: #F4F4F6;
  --text-2: #D2D2D8;
  --text-3: #B9B9C1;
  --text-4: #A9A9B1;
  --muted: #8E8E96;
  --dim: #7E7E87;

  --font-display: "Unbounded", "Arial Black", Impact, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: 24px;
  --section-y: clamp(64px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 4px);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; background: var(--accent); color: var(--on-accent);
  font-weight: 700; transition: top .15s ease;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }
.nowrap { white-space: nowrap; }
.strong { color: var(--text); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 58px; padding: 0 30px;
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .15s ease, background-color .15s ease;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--text); }
.btn--primary:active { transform: translate(0, 0); box-shadow: none; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-5); font-weight: 700; font-size: 13px; }
.btn--ghost:hover { border-color: var(--text); background: var(--surface-3); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12px; }
.btn--block { display: flex; width: 100%; }
.btn--lg { min-height: 62px; padding: 0 34px; }

/* ---------- Glitch logo (header / footer) ---------- */
.logo {
  position: relative; display: inline-block;
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
  letter-spacing: -0.01em; line-height: 1; color: var(--text);
}
.logo__slice {
  position: absolute; left: 0; top: 0; color: var(--accent); background: var(--bg);
  clip-path: inset(46% 0 36% 0); transform: translateX(4px);
}
.logo--lg { font-size: 30px; }
.logo--lg .logo__slice { transform: translateX(5px); background: var(--bg-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(5,5,6,0.92); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.nav-links a { color: var(--text-4); transition: color .15s ease; }
.nav-links a:hover { color: #fff; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: #09090B; }
.ticker__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.ticker__group { display: flex; align-items: center; gap: 28px; padding: 13px 14px; font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--text-3); white-space: nowrap; }
.ticker__dot { width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.section__inner { display: flex; flex-direction: column; gap: 44px; }
.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 920px; }
.section-head--center { align-items: center; text-align: center; margin: 0 auto; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow__num { color: var(--accent); }
.eyebrow__line { width: 44px; height: 1px; background: var(--line-5); }
.eyebrow__label { color: var(--muted); }
.h2 {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.04; letter-spacing: -0.015em; text-transform: uppercase; color: var(--text);
  text-wrap: balance;
}
.lead { max-width: 760px; color: var(--text-3); text-wrap: pretty; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 7vw, 84px) 0 clamp(64px, 7vw, 88px); overflow: hidden; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.deco { position: absolute; display: block; pointer-events: none; }
@media (max-width: 860px) { .deco { display: none; } }

.term { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.term__prompt { color: var(--accent); }
.cursor { display: inline-block; width: 9px; height: 16px; background: var(--accent); animation: blink 1.05s steps(1, end) infinite; }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.glitch {
  position: relative; width: 100%;
  font-family: var(--font-display); font-weight: 900; line-height: 1.06;
  letter-spacing: -0.02em; text-transform: uppercase; color: var(--text);
}
.glitch--hero { font-size: clamp(40px, 8.4vw, 116px); }
.glitch--final { font-size: clamp(36px, 7vw, 96px); }
.glitch__layer { display: flex; flex-direction: column; }
.glitch__base { position: relative; }
.glitch__ghost, .glitch__s1, .glitch__s2 { position: absolute; inset: 0; }
.glitch__ghost { color: var(--accent); opacity: .55; transform: translateX(-6px); animation: g-ghost 4.2s steps(1, end) infinite; }
.glitch__s1 { color: var(--accent); background: var(--bg); clip-path: inset(42% 0 46% 0); transform: translateX(16px); animation: g-s1 4.2s steps(1, end) infinite; }
.glitch__s2 { color: var(--text); background: var(--bg); clip-path: inset(70% 0 21% 0); transform: translateX(-12px); animation: g-s2 4.2s steps(1, end) infinite; }
@keyframes g-ghost { 0%, 78% { transform: translateX(-6px); } 80% { transform: translateX(9px); } 83% { transform: translateX(-14px); } 86% { transform: translateX(4px); } 89%, 100% { transform: translateX(-6px); } }
@keyframes g-s1 { 0%, 78% { transform: translateX(16px); clip-path: inset(42% 0 46% 0); } 80% { transform: translateX(-18px); clip-path: inset(8% 0 80% 0); } 83% { transform: translateX(28px); clip-path: inset(62% 0 26% 0); } 86% { transform: translateX(-8px); clip-path: inset(24% 0 66% 0); } 89% { transform: translateX(12px); clip-path: inset(84% 0 4% 0); } 92%, 100% { transform: translateX(16px); clip-path: inset(42% 0 46% 0); } }
@keyframes g-s2 { 0%, 79% { transform: translateX(-12px); clip-path: inset(70% 0 21% 0); } 81% { transform: translateX(20px); clip-path: inset(30% 0 60% 0); } 84% { transform: translateX(-24px); clip-path: inset(52% 0 40% 0); } 87% { transform: translateX(6px); clip-path: inset(14% 0 78% 0); } 90%, 100% { transform: translateX(-12px); clip-path: inset(70% 0 21% 0); } }
@media (max-width: 600px) {
  .glitch__s1 { transform: translateX(8px); }
  .glitch__s2 { transform: translateX(-6px); }
}

.hero__sub { max-width: 780px; font-size: 15.5px; color: var(--text-3); text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.chip { padding: 8px 12px; border: 1px solid var(--line-3); }

/* Video frame */
.signal {
  position: relative; width: 100%; max-width: 880px; aspect-ratio: 16 / 9; margin-top: 22px;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 4px);
  border: 1px solid var(--line-3); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px;
}
.corner { position: absolute; width: 24px; height: 24px; border-color: var(--accent); border-style: solid; border-width: 0; }
.corner--tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; }
.signal__rec { position: absolute; top: 22px; left: 52px; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--text); }
.signal__rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(1, end) infinite; }
.signal__file { position: absolute; top: 22px; right: 52px; font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--muted); }
.signal__scan { position: absolute; left: 0; right: 0; top: 30%; height: 2px; background: var(--accent); opacity: .22; animation: scan 6s linear infinite; }
@keyframes scan { 0% { top: -4%; } 100% { top: 104%; } }
.signal__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(20px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; color: var(--text); }
.signal__meta { font-size: 12.5px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.signal__bars { display: flex; gap: 6px; align-items: flex-end; height: 22px; }
.signal__bars span { width: 6px; background: var(--accent); animation: eq 1.2s ease-in-out infinite; }
.signal__bars span:nth-child(1) { height: 30%; animation-delay: -0.2s; }
.signal__bars span:nth-child(2) { height: 80%; animation-delay: -0.5s; }
.signal__bars span:nth-child(3) { height: 50%; animation-delay: -0.9s; }
.signal__bars span:nth-child(4) { height: 100%; animation-delay: -0.3s; }
.signal__bars span:nth-child(5) { height: 40%; animation-delay: -0.7s; }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.signal__bars span { transform-origin: bottom; }
@media (max-width: 600px) { .signal__rec { left: 40px; } .signal__file { display: none; } }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 40px; }
.grid-2--center { align-items: center; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.p-lg { font-size: 17px; line-height: 1.7; color: var(--text); text-wrap: pretty; }
.p { font-size: 15px; line-height: 1.75; color: var(--text-3); text-wrap: pretty; }

/* Code window */
.code { background: var(--surface); border: 1px solid var(--line-3); min-width: 0; }
.code__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line-2); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.code__body { margin: 0; padding: 20px 18px 22px; overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.85; color: var(--text-4); counter-reset: ln; }
.code__line { display: flex; gap: 18px; white-space: pre; align-items: center; }
.code__line::before { counter-increment: ln; content: counter(ln); min-width: 20px; text-align: right; color: #5A5A62; }
.code__kw { color: var(--accent); }
.code__val { color: var(--text); }
.code__com { color: var(--dim); }
.code__end { color: var(--accent); font-weight: 700; }
.code .cursor { width: 8px; }
@media (max-width: 520px) { .code__body { font-size: 12.5px; } }

.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line-4); background: var(--surface); }
.note__icon { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 14px; line-height: 1; }
.note p { font-size: 13.5px; line-height: 1.65; color: var(--text-2); }

/* Persona */
.persona { background: var(--surface); border: 1px solid var(--line-3); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.persona svg { width: 100%; max-width: 440px; margin: 0 auto; }
.hud-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--muted); }
.bullets { display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.bullets li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; margin-top: 7px; background: var(--accent); }
.proof { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.proof__label { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--accent); }
.proof__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.proof__item { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--line-3); background: var(--surface); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.proof__head { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.proof__redact { display: flex; flex-direction: column; gap: 8px; }
.proof__redact span { height: 10px; background: #1A1A1E; }
.proof__redact span:nth-child(1) { width: 70%; height: 22px; background: #222227; }
.proof__redact span:nth-child(2) { width: 90%; }
.proof__redact span:nth-child(3) { width: 55%; }
.proof__stamp { position: absolute; right: 14px; bottom: 14px; padding: 4px 8px; border: 1px solid var(--accent); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .2em; transform: rotate(-4deg); }

/* Quests */
.quests { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 16px; }
.quest { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid #1E1E22; transition: border-color .15s ease, transform .15s ease; }
.quest:hover { border-color: var(--line-6); transform: translateY(-3px); }
.quest__num { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px #5A5A62; }
.quest__body { display: flex; flex-direction: column; gap: 8px; }
.quest__lvl { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.quest__title { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .01em; text-transform: uppercase; color: var(--text); line-height: 1.25; }
.quest__desc { font-size: 13.5px; line-height: 1.65; color: var(--text-4); }
.quest--bonus { background: var(--surface-2); border-color: var(--accent); }
.quest--bonus:hover { border-color: var(--accent); }
.quest--bonus .quest__num { -webkit-text-stroke-color: var(--accent); }

/* Community */
.community { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.discord { flex: 999 1 620px; min-width: 0; display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid #1E1E22; }
.discord__side { flex: 1 1 210px; display: flex; flex-direction: column; gap: 18px; padding: 18px 12px; background: var(--bg-2); border-right: 1px solid var(--line-2); }
.discord__server { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 14px; border-bottom: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--text); }
.discord__server::after { content: ""; width: 8px; height: 8px; background: var(--accent); }
.discord__group { display: flex; flex-direction: column; gap: 2px; }
.discord__group-label { padding: 0 10px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
.discord__ch { padding: 7px 10px; font-size: 13.5px; color: var(--text-4); }
.discord__ch--active { color: var(--text); background: #17171B; }
.discord__ch--active .hash { color: var(--accent); }
.discord__main { flex: 999 1 340px; min-width: 0; display: flex; flex-direction: column; }
.discord__top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.discord__top strong { font-size: 14px; color: var(--text); }
.discord__top span { font-size: 12.5px; color: var(--muted); }
.discord__feed { flex-grow: 1; display: flex; flex-direction: column; gap: 18px; padding: 20px; }
.discord__system { display: flex; gap: 12px; align-items: flex-start; }
.discord__avatar { width: 36px; height: 36px; flex-shrink: 0; background: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 13px; color: var(--on-accent); }
.discord__msg { display: flex; flex-direction: column; gap: 4px; }
.discord__name { font-size: 13px; font-weight: 700; color: var(--text); }
.discord__name small { margin-left: 8px; padding: 1px 6px; background: var(--accent); color: var(--on-accent); font-size: 10px; letter-spacing: .1em; }
.discord__text { font-size: 13.5px; line-height: 1.6; color: var(--text-3); }
.skel { display: flex; gap: 12px; align-items: flex-start; }
.skel__av { width: 36px; height: 36px; flex-shrink: 0; background: #1A1A1E; }
.skel__lines { flex-grow: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.skel__lines span { height: 9px; background: #18181C; }
.skel__lines span:first-child { width: 120px; background: #222227; }
.discord__input { padding: 14px 20px 18px; border-top: 1px solid var(--line-2); }
.discord__input div { min-height: 44px; display: flex; align-items: center; padding: 0 14px; background: var(--surface-3); border: 1px solid var(--line-3); color: var(--dim); font-size: 13.5px; }
@media (max-width: 600px) {
  .discord__side { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .discord__group { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .discord__group-label { width: 100%; padding-bottom: 2px; }
  .discord__ch { padding: 5px 9px; border: 1px solid var(--line-3); font-size: 12.5px; }
  .quest { flex-direction: row; gap: 18px; padding: 20px; }
  .quest__num { font-size: 32px; min-width: 52px; }
}
.rules { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.rule { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid #1E1E22; }
.rule__num { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.rule__title { font-family: var(--font-display); font-weight: 800; font-size: 16px; text-transform: uppercase; color: var(--text); line-height: 1.3; }
.rule p { font-size: 13.5px; line-height: 1.65; color: var(--text-4); }
.platforms { display: flex; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; }
.platforms span { flex: 1 1 0; padding: 12px; text-align: center; border: 1px solid var(--line-4); color: var(--text); }

/* Fit */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 20px; }
.fit__col { display: flex; flex-direction: column; gap: 20px; padding: 30px; background: var(--surface); border: 1px solid var(--line-4); }
.fit__col--no { background: var(--bg-2); border-color: var(--line-2); }
.fit__title { font-family: var(--font-display); font-weight: 800; font-size: 17px; text-transform: uppercase; }
.fit__col--yes .fit__title { color: var(--accent); }
.fit__col--no .fit__title { color: var(--muted); }
.fit__list { display: flex; flex-direction: column; gap: 14px; }
.fit__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.fit__col--no .fit__list li { color: var(--text-4); }
.mark { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; line-height: 1; }
.mark--yes { background: var(--accent); color: var(--on-accent); }
.mark--no { border: 1px solid var(--line-6); color: var(--muted); font-size: 14px; }

/* Pricing */
.pricing { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 20px; align-items: stretch; }
.pricing--single { max-width: 560px; margin: 0 auto; grid-template-columns: 1fr; }
.pricing--duo { max-width: 1040px; margin: 0 auto; }
[data-pricing="prelaunch"] .pricing--duo { display: none; }
[data-pricing="live"] .pricing--single { display: none; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-4); }
.card--featured { background: var(--surface-2); border-color: var(--accent); }
.card__band { display: flex; justify-content: space-between; gap: 12px; padding: 12px 30px; border-bottom: 1px solid var(--line-2); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.card--featured .card__band { background: var(--accent); color: var(--on-accent); border-bottom-color: var(--accent); }
.card__body { flex-grow: 1; display: flex; flex-direction: column; gap: 22px; padding: 30px; }
.card__head { display: flex; flex-direction: column; gap: 10px; }
.card__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; text-transform: uppercase; color: var(--text); }
.card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.card__amount { font-family: var(--font-display); font-weight: 900; font-size: 46px; line-height: 1; color: var(--text); }
.card__per { font-size: 14px; color: var(--text-4); }
.card__desc { font-size: 13.5px; line-height: 1.6; color: var(--text-4); }
.card__list { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.card__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.card__list svg { flex-shrink: 0; margin-top: 3px; }
.card__list path { stroke: var(--accent); }
.card__cta { margin-top: auto; }
.card__hint { font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }
.pricing-foot { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.6; color: var(--muted); }
.pricing-foot a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
.faq-layout { display: flex; flex-wrap: wrap; gap: 44px 64px; }
.faq-aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 18px; }
.faq-aside p { font-size: 14px; color: var(--text-4); }
.text-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--accent); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq { flex: 999 1 560px; min-width: 0; border-top: 1px solid #1E1E22; }
.faq details { border-bottom: 1px solid #1E1E22; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .01em; color: var(--text); line-height: 1.4;
  transition: background-color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: #0C0C0F; }
.faq__sign { flex-shrink: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-5); color: var(--accent); font-family: var(--font-mono); font-size: 16px; }
.faq__sign::before { content: "+"; }
.faq details[open] .faq__sign::before { content: "−"; }
.faq__answer { padding: 0 8px 22px; max-width: 660px; font-size: 14px; line-height: 1.75; color: var(--text-4); }
.faq__answer a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }

/* Final CTA */
.final { position: relative; padding: clamp(80px, 9vw, 104px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.final p { max-width: 560px; font-size: 15.5px; color: var(--text-3); text-wrap: pretty; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-2); padding: 52px 0 36px; background: var(--bg-2); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand > span { font-size: 13px; color: var(--muted); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-col__title { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.footer-col a { color: var(--text-2); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 36px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 12px; line-height: 1.6; color: var(--muted); }
.footer-bottom span:last-child { max-width: 640px; }

/* ---------- Simple pages (legal, welcome, 404) ---------- */
.page { padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 96px); }
.page__inner { max-width: 820px; display: flex; flex-direction: column; gap: 28px; }
.page h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.015em; text-transform: uppercase; text-wrap: balance; }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 14.5px; line-height: 1.8; color: var(--text-3); }
.prose h2 { margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .01em; text-transform: uppercase; color: var(--text); line-height: 1.3; }
.prose ol, .prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.meta-line { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.todo { color: var(--accent); }

.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line-3); }
.step__num { flex-shrink: 0; font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); min-width: 44px; }
.step__body { display: flex; flex-direction: column; gap: 8px; }
.step__title { font-family: var(--font-display); font-weight: 800; font-size: 16px; text-transform: uppercase; color: var(--text); }
.step__body p { font-size: 14px; color: var(--text-4); }
.step__body .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   FX — animácie, prechody, interakcie (všetko sa vypína pri reduced motion)
   ===================================================================== */

/* Prechody medzi stránkami (Chrome/Edge) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s steps(3, end) both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { 0% { clip-path: inset(0); transform: none; } 50% { clip-path: inset(18% 0 46% 0); transform: translateX(-14px); } 100% { clip-path: inset(50% 0 50% 0); opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Zrnitosť ako na starom monitore */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; will-change: transform;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .055; animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- Boot intro ---------- */
.boot {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px;
  background-color: var(--bg);
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 4px);
  animation: boot-failsafe .01s linear 3.4s forwards;
}
.boot.is-out { animation: boot-out .6s steps(1, end) forwards; }
.boot.is-gone { display: none; }
.boot__inner { width: min(560px, 100%); display: flex; flex-direction: column; gap: 20px; }
.boot__logo { position: relative; align-self: flex-start; font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 1; color: var(--text); }
.boot__logo .logo__slice { transform: translateX(5px); }
.boot__lines { min-height: 168px; display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; line-height: 1.7; color: var(--text-4); }
.boot__row { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; overflow: hidden; }
.boot__row .t { overflow: hidden; text-overflow: ellipsis; }
.boot__row .dots { flex: 1 1 auto; min-width: 12px; border-bottom: 1px dotted var(--line-5); transform: translateY(-4px); }
.boot__row .s { flex-shrink: 0; font-weight: 700; color: var(--text); }
.boot__row .s--err, .boot__row--err .t { color: var(--accent); }
.boot__row--err .t { font-weight: 700; }
.boot__bar { height: 2px; background: var(--line-3); overflow: hidden; }
.boot__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .18s linear; }
.boot__meta { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .2em; color: var(--muted); }
@keyframes boot-out {
  0% { clip-path: inset(0); transform: none; }
  15% { transform: translateX(-10px); }
  30% { clip-path: inset(22% 0 38% 0); transform: translateX(16px); }
  45% { clip-path: inset(8% 0 72% 0); transform: translateX(-22px); }
  60% { clip-path: inset(46% 0 30% 0); transform: translateX(8px); }
  75% { clip-path: inset(49% 0 49% 0); transform: none; }
  100% { clip-path: inset(50% 0 50% 0); visibility: hidden; }
}
@keyframes boot-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- Hero intro ---------- */
.js [data-intro] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); animation: intro-failsafe .01s linear 3.8s forwards; }
.js.intro-done [data-intro] { opacity: 1; transform: none; }
@keyframes intro-failsafe { to { opacity: 1; transform: none; } }

/* ---------- Scroll progress ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* ---------- HUD ---------- */
.hud { position: fixed; bottom: 22px; z-index: 30; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; font-weight: 700; letter-spacing: .22em; color: var(--muted); pointer-events: none; text-transform: uppercase; }
.hud--l { left: 16px; }
.hud--r { right: 16px; }
.hud__sec { color: var(--accent); }
.hud__line { width: 1px; height: 28px; background: var(--line-5); }
.hud__sig { display: flex; gap: 3px; }
.hud__sig i { width: 4px; height: 4px; background: var(--line-5); animation: led 1.6s steps(1, end) infinite; }
.hud__sig i:nth-child(2) { animation-delay: .2s; }
.hud__sig i:nth-child(3) { animation-delay: .4s; }
.hud__sig i:nth-child(4) { animation-delay: .6s; }
@keyframes led { 0%, 40% { background: var(--accent); } 41%, 100% { background: var(--line-5); } }
@media (max-width: 1360px) { .hud { display: none; } }

/* ---------- Kurzor (zameriavač) ---------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; will-change: transform; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cur-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; color: var(--text); transition: width .22s cubic-bezier(.2,.7,.2,1), height .22s cubic-bezier(.2,.7,.2,1), margin .22s cubic-bezier(.2,.7,.2,1), color .15s ease, opacity .2s ease; }
.cur-ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cur-ring path { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.cur-ring.is-hover { width: 62px; height: 62px; margin: -31px 0 0 -31px; color: var(--accent); }
.cur-ring.is-down { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.cur-label { position: absolute; left: 100%; top: 100%; margin: 6px 0 0 6px; padding: 2px 6px; background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 700; letter-spacing: .16em; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
.cur-ring.is-hover .cur-label { opacity: 1; transform: none; }
.cur-off { opacity: 0 !important; }

/* ---------- Glitch burst (hover) ---------- */
.glitch.is-burst .glitch__s1 { animation: g-burst1 .5s steps(1, end) infinite; }
.glitch.is-burst .glitch__s2 { animation: g-burst2 .5s steps(1, end) infinite; }
.glitch.is-burst .glitch__ghost { animation: g-burst-ghost .5s steps(1, end) infinite; }
@keyframes g-burst1 { 0% { transform: translateX(-20px); clip-path: inset(12% 0 74% 0); } 25% { transform: translateX(26px); clip-path: inset(58% 0 28% 0); } 50% { transform: translateX(-8px); clip-path: inset(30% 0 58% 0); } 75% { transform: translateX(14px); clip-path: inset(80% 0 6% 0); } 100% { transform: translateX(-20px); clip-path: inset(12% 0 74% 0); } }
@keyframes g-burst2 { 0% { transform: translateX(18px); clip-path: inset(40% 0 50% 0); } 33% { transform: translateX(-26px); clip-path: inset(6% 0 86% 0); } 66% { transform: translateX(10px); clip-path: inset(68% 0 20% 0); } 100% { transform: translateX(18px); clip-path: inset(40% 0 50% 0); } }
@keyframes g-burst-ghost { 0% { transform: translateX(-10px); } 50% { transform: translateX(12px); } 100% { transform: translateX(-10px); } }

/* ---------- Tlačidlá ---------- */
.btn span[aria-hidden="true"] { display: inline-block; transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.btn:hover span[aria-hidden="true"] { transform: translateX(5px); }
.btn--primary { position: relative; }
.btn--primary:hover { animation: btn-glitch .32s steps(1, end) 1; }
@keyframes btn-glitch { 0% { clip-path: inset(0 0 0 0); } 25% { clip-path: inset(18% 0 52% 0); transform: translate(-7px, -3px); } 50% { clip-path: inset(56% 0 12% 0); transform: translate(1px, -3px); } 75% { clip-path: inset(0 0 0 0); transform: translate(-5px, -3px); } 100% { clip-path: none; transform: translate(-3px, -3px); } }
.btn--ghost { position: relative; }
.btn--ghost::before, .btn--ghost::after { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid var(--accent); opacity: 0; transition: opacity .2s ease, transform .2s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.btn--ghost::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; transform: translate(-6px, -6px); }
.btn--ghost::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; transform: translate(6px, 6px); }
.btn--ghost:hover::before, .btn--ghost:hover::after { opacity: 1; transform: none; }

.nav-links a { position: relative; }
.nav-links a::before, .nav-links a::after { position: absolute; top: 0; color: var(--accent); opacity: 0; transition: opacity .15s ease, transform .2s ease; }
.nav-links a::before { content: "["; left: -12px; transform: translateX(-4px); }
.nav-links a::after { content: "]"; right: -12px; transform: translateX(4px); }
.nav-links a:hover::before, .nav-links a:hover::after { opacity: 1; transform: none; }

/* ---------- Odhaľovanie pri scrollovaní ---------- */
.js [data-reveal][data-stagger] { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal] .eyebrow__line { width: 0; transition: width .9s cubic-bezier(.77,0,.18,1) .15s; }
.js [data-reveal].is-in .eyebrow__line { width: 44px; }

/* ---------- Mega marquee ---------- */
.mega { overflow: hidden; padding: clamp(26px, 4vw, 46px) 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; user-select: none; -webkit-user-select: none; }
.mega__row { display: flex; width: max-content; white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 9vw, 140px); line-height: 1.02; letter-spacing: -0.02em; text-transform: uppercase; color: var(--text); will-change: transform; }
.mega__row span { padding-right: .32em; }
.mega__row .x { color: var(--accent); }
.mega__row--outline { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.mega__row--outline .x { color: var(--text); -webkit-text-stroke: 0; }
.mega__row--dim { color: transparent; -webkit-text-stroke: 1px var(--line-6); }

/* ---------- Kód: písanie riadkov ---------- */
.code__line { transition: opacity .25s ease, transform .25s ease; }
.js .code.is-armed .code__line { opacity: 0; transform: translateX(-10px); }
.js .code.is-armed .code__line.is-on { opacity: 1; transform: none; }
.code.is-crash { animation: crash .5s steps(1, end) 1; }
.code.is-crash .code__bar span:last-child { color: var(--accent); }
@keyframes crash { 0% { transform: none; } 20% { transform: translate(-7px, 2px); border-color: var(--accent); } 40% { transform: translate(6px, -2px); } 60% { transform: translate(-3px, 1px); border-color: var(--accent); } 80% { transform: translate(2px, 0); } 100% { transform: none; } }

/* ---------- Persona ---------- */
.persona { position: relative; overflow: hidden; }
.persona__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); opacity: .35; pointer-events: none; animation: scan 4.6s linear infinite; }
.persona .eye-a { transform: translate(-7px, -3px); animation: eye-a 3.4s steps(1, end) infinite; }
.persona .eye-b { transform: translate(7px, 3px); animation: eye-b 3.4s steps(1, end) infinite; }
@keyframes eye-a { 0%, 82% { transform: translate(-7px, -3px); } 84% { transform: translate(-16px, -1px); } 87% { transform: translate(4px, -6px); } 90%, 100% { transform: translate(-7px, -3px); } }
@keyframes eye-b { 0%, 82% { transform: translate(7px, 3px); } 84% { transform: translate(15px, 1px); } 87% { transform: translate(-3px, 6px); } 90%, 100% { transform: translate(7px, 3px); } }
.persona .px rect { animation: flick 2.6s steps(1, end) infinite; }
.persona .px rect:nth-child(3n) { animation-delay: -.9s; }
.persona .px rect:nth-child(3n+1) { animation-delay: -1.7s; }
@keyframes flick { 0%, 68% { opacity: 1; } 70% { opacity: 0; } 74% { opacity: 1; } 88% { opacity: .15; } 91%, 100% { opacity: 1; } }
.hud-row .accent { animation: blink 1.8s steps(1, end) infinite; }

/* ---------- Karty: náklon + svetlo za myšou ---------- */
.quest, .rule { position: relative; transition: border-color .15s ease, transform .18s ease-out; }
.quest::after, .rule::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 90, 0, .13), transparent 45%);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 45%);
}
.quest:hover::after, .rule:hover::after { opacity: 1; }
.quest__num { transition: color .3s ease, -webkit-text-stroke-color .3s ease; }
.quest:hover .quest__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.quest::before { content: ""; position: absolute; top: -1px; left: -1px; width: 14px; height: 14px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.quest:hover::before { opacity: 1; }

/* ---------- Discord: píše... + shimmer ---------- */
.skel__av, .skel__lines span { background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.06) 50%, rgba(255,255,255,0) 100%); background-size: 220% 100%; background-repeat: no-repeat; animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { from { background-position: 160% 0; } to { background-position: -60% 0; } }
.discord__typing { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.discord__typing .dots { display: inline-flex; gap: 3px; }
.discord__typing .dots i { width: 5px; height: 5px; background: var(--accent); animation: bob 1.1s ease-in-out infinite; }
.discord__typing .dots i:nth-child(2) { animation-delay: .15s; }
.discord__typing .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- Cena: obiehajúci záblesk po okraji ---------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.card { position: relative; transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease; }
.card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--line-5); }
.card--featured:hover { box-shadow: 8px 8px 0 var(--text); }
.card--featured::before {
  content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none; padding: 1px;
  background: conic-gradient(from var(--ang), transparent 0deg, #fff 30deg, transparent 70deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: spin 3.6s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }

/* ---------- Záverečná výzva: dátový dážď ---------- */
.rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
.final .wrap { position: relative; z-index: 1; }
.final .deco { z-index: 1; }

/* ---------- Easter egg ---------- */
.takeover { position: fixed; inset: 0; z-index: 180; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--accent); color: var(--on-accent); text-align: center; animation: takeover 1.9s steps(1, end) forwards; pointer-events: none; }
.takeover__inner { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 8vw, 110px); line-height: .98; text-transform: uppercase; letter-spacing: -0.02em; }
.takeover__inner small { display: block; margin-top: 18px; font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .2em; }
@keyframes takeover {
  0% { clip-path: inset(50% 0 50% 0); } 6% { clip-path: inset(30% 0 40% 0); transform: translateX(-12px); } 12% { clip-path: inset(0); transform: none; }
  80% { clip-path: inset(0); transform: none; } 86% { clip-path: inset(20% 0 52% 0); transform: translateX(16px); } 92% { clip-path: inset(48% 0 46% 0); transform: translateX(-10px); } 100% { clip-path: inset(50% 0 50% 0); visibility: hidden; }
}

/* ---------- Bez animácií ---------- */
@media (prefers-reduced-motion: reduce) {
  .boot, .hud, .cur-dot, .cur-ring, .rain, .takeover { display: none !important; }
  body::after { animation: none; }
  .js [data-intro], .js [data-stagger] > *, .js .code.is-armed .code__line { opacity: 1 !important; transform: none !important; }
}

/* =====================================================================
   PLAY — minihry a interaktívne featurky
   ===================================================================== */
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.field-label { display: block; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.field {
  width: 100%; min-height: 52px; padding: 0 16px; background: var(--surface-3); border: 1px solid var(--line-4); color: var(--text);
  font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; border-radius: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field::placeholder { color: var(--dim); text-transform: none; font-family: var(--font-mono); font-weight: 400; font-size: 14px; letter-spacing: 0; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); }

/* Range slider */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; --fill: 40%; }
.range:focus { outline: none; }
.range:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.range::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(to right, var(--accent) var(--fill), var(--line-3) var(--fill)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; background: var(--text); border: 4px solid var(--accent); border-radius: 0; transition: transform .12s ease; }
.range:active::-webkit-slider-thumb { transform: scale(1.2) rotate(45deg); }
.range::-moz-range-track { height: 6px; background: var(--line-3); }
.range::-moz-range-progress { height: 6px; background: var(--accent); }
.range::-moz-range-thumb { width: 18px; height: 18px; background: var(--text); border: 4px solid var(--accent); border-radius: 0; }

/* ---------- Kalkulačka ---------- */
.cost { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line-3); }
.cost__head { display: flex; flex-direction: column; gap: 8px; }
.cost__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; line-height: 1.1; }
.cost__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 28px 48px; align-items: center; }
.cost__input { display: flex; flex-direction: column; gap: 14px; }
.cost__range { display: flex; align-items: center; gap: 18px; }
.cost__range output { flex-shrink: 0; min-width: 64px; padding: 8px 10px; text-align: center; border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.cost__note { font-size: 12px; color: var(--muted); }
.cost__out { display: flex; flex-direction: column; gap: 16px; padding-left: 28px; border-left: 1px solid var(--line-3); }
@media (max-width: 860px) { .cost__out { padding-left: 0; border-left: 0; padding-top: 22px; border-top: 1px solid var(--line-3); } }
.cost__big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.cost__big span { font-family: var(--font-display); font-weight: 900; font-size: clamp(64px, 9vw, 104px); line-height: .9; color: var(--accent); font-variant-numeric: tabular-nums; }
.cost__big small { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.cost__list { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-4); }
.cost__list b { color: var(--text); font-variant-numeric: tabular-nums; }
.cost__punch { font-size: 14px; font-weight: 700; color: var(--text); }
.cost__big.is-bump span { animation: bump .3s ease; }
@keyframes bump { 0% { transform: none; } 40% { transform: translateY(-4px) skewX(-6deg); } 100% { transform: none; } }

/* ---------- Hra: Escape the Loop ---------- */
.game { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-3); }
.game__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.game__stats { display: flex; gap: 22px; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.game__stats b { color: var(--text); font-variant-numeric: tabular-nums; }
.game__sound { min-height: 34px; padding: 0 12px; background: transparent; border: 1px solid var(--line-4); color: var(--text-4); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.game__sound[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.game__stage { padding: clamp(22px, 4vw, 40px) clamp(16px, 3vw, 32px); }
.game__track {
  position: relative; display: block; width: 100%; height: 96px; padding: 0; overflow: hidden; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--line-4); color: inherit; font: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.game__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.game__segs { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); pointer-events: none; }
.game__seg { display: flex; align-items: flex-end; padding: 0 10px 10px; border-right: 1px dashed var(--line-3); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.game__seg:last-child { border-right: 0; }
@media (max-width: 640px) {
  .game__track { height: 84px; }
  .game__seg { padding: 0 4px 8px; font-size: 8.5px; letter-spacing: .04em; overflow: hidden; }
  .game__stats { gap: 14px; }
}
.game__exit { position: absolute; top: 0; bottom: 0; left: 40%; width: 18%; display: flex; align-items: flex-start; justify-content: center; padding-top: 10px; background: color-mix(in srgb, var(--accent) 22%, transparent); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); transition: left .35s cubic-bezier(.2,.7,.2,1), width .35s cubic-bezier(.2,.7,.2,1); }
.game__exit span { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--accent); }
.game__runner { position: absolute; top: -10%; bottom: -10%; left: 0; width: 4px; margin-left: -2px; background: var(--text); box-shadow: 0 0 18px rgba(244,244,246,.55); will-change: transform; }
.game__runner::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--text); transform: rotate(45deg); }
.game.is-hit .game__track { animation: hit .35s ease; }
.game.is-hit .game__exit { background: var(--accent); }
.game.is-hit .game__exit span { color: var(--on-accent); }
.game.is-miss .game__track { animation: miss .4s steps(1, end); border-color: var(--accent); }
@keyframes hit { 0% { box-shadow: 0 0 0 0 var(--accent); } 40% { box-shadow: 0 0 0 6px var(--accent); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes miss { 0% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } 100% { transform: none; } }
.game__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 20px 18px; border-top: 1px solid var(--line-2); }
.game__msg { font-size: 14px; color: var(--text-2); }
.game__msg b { color: var(--accent); }
.game__msg a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.game__hint { font-size: 12px; color: var(--muted); }

/* ---------- Escape Pass ---------- */
.pass { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px 48px; align-items: center; padding: clamp(22px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line-3); }
.pass__form { display: flex; flex-direction: column; gap: 14px; }
.pass__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; line-height: 1.1; }
.pass__text { font-size: 14px; color: var(--text-4); }
.pass__text b { color: var(--text); }
.pass__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pass__fine { font-size: 12px; color: var(--muted); }
.pass__preview { display: flex; justify-content: center; perspective: 1000px; }
.pass__preview canvas { width: 100%; max-width: 300px; height: auto; aspect-ratio: 9 / 16; border: 1px solid var(--line-4); box-shadow: 14px 14px 0 var(--accent); transform: rotate(2deg); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.pass__preview:hover canvas { transform: rotate(0deg) translateY(-4px); }
.pass.is-printing .pass__preview canvas { animation: print .5s steps(1, end); }
@media (max-width: 640px) { .pass__preview canvas { max-width: 240px; box-shadow: 8px 8px 0 var(--accent); } }
@keyframes print { 0% { clip-path: inset(0 0 100% 0); } 20% { clip-path: inset(0 0 70% 0); } 40% { clip-path: inset(0 0 45% 0); } 60% { clip-path: inset(0 0 25% 0); } 80% { clip-path: inset(0 0 8% 0); } 100% { clip-path: inset(0); } }

/* ---------- Podrž pre escape ---------- */
.hold {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-width: min(360px, 100%); min-height: 66px; padding: 0 30px; overflow: hidden;
  background: transparent; border: 2px solid var(--accent); color: var(--text); cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; -webkit-tap-highlight-color: transparent;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; --p: 0;
}
.hold__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p)); }
.hold__label, .hold__pct { position: relative; z-index: 1; mix-blend-mode: difference; color: #fff; }
.hold__pct { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; min-width: 40px; text-align: right; }
.hold.is-holding { animation: tremble .12s steps(2, end) infinite; }
.hold.is-done { background: var(--accent); }
.hold.is-nudge { animation: miss .4s steps(1, end); }
@keyframes tremble { 0% { transform: translate(0, 0); } 50% { transform: translate(calc(var(--p) * 2px), calc(var(--p) * -2px)); } 100% { transform: translate(calc(var(--p) * -2px), 0); } }
.hold-alt { font-size: 13px; color: var(--text-4); text-decoration: underline; text-underline-offset: 4px; }
.hold-alt:hover { color: var(--text); }

/* ---------- Pixel výbuchy ---------- */
.bits { position: fixed; inset: 0; z-index: 160; pointer-events: none; overflow: hidden; }
.bit { position: absolute; left: 0; top: 0; width: 6px; height: 6px; will-change: transform, opacity; }

/* ---------- Zmazateľný script ---------- */
.code.is-writable .code__line.is-del { cursor: pointer; border-radius: 0; transition: background-color .12s ease, opacity .25s ease, transform .25s ease; }
.code.is-writable .code__line.is-del:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.code.is-writable .code__line.is-del:hover::after { content: "DEL"; margin-left: auto; padding: 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.code__line.is-gone { overflow: hidden; transition: max-height .3s ease, opacity .2s ease; }
.code__reload { margin-left: 14px; padding: 2px 10px; background: transparent; border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; cursor: pointer; }
.code__reload:hover { background: var(--accent); color: var(--on-accent); }

/* ---------- Kukla sleduje kurzor ---------- */
.persona.is-track .eye-a, .persona.is-track .eye-b { animation: none; transition: transform .12s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .bits { display: none; }
  .hold.is-holding { animation: none; }
}
