/* EzTarkov – strona główna. Kolorystyka 1:1 z aplikacją (ciemny motyw + #befc03). */
:root {
  --bg: #060807;
  --bg-2: #0a0d0a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef2ec;
  --muted: #8b958c;
  --accent: #befc03;
  --accent-ink: #0b1000;
  --accent-soft: rgba(190, 252, 3, 0.1);
  --accent-line: rgba(190, 252, 3, 0.38);
  --danger: #ff6b6b;
  --amber: #ffb547;
  --radius: 18px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --display: "Oxanium", "Inter", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
body::before {   /* ziarno + winieta */
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(190, 252, 3, 0.09), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(120, 160, 60, 0.06), transparent 60%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- efekty tła ---------- */
.fx-tracers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.fx-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(190, 252, 3, 0.07), transparent 65%);
  transform: translate3d(var(--mx, 50vw), var(--my, 30vh), 0); transition: transform .25s ease-out;
}

/* ---------- przyciski ---------- */
.btn {
  --h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 20px;
  border-radius: 12px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  font: 700 14.5px var(--font); letter-spacing: .01em; cursor: pointer; position: relative; overflow: hidden; white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(190, 252, 3, 0), 0 8px 30px -10px rgba(190, 252, 3, .55);
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn::after {   /* odblask przesuwany po najechaniu */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(190, 252, 3, .14), 0 14px 40px -12px rgba(190, 252, 3, .7); }
.btn:hover::after { transition: transform .7s ease; transform: translateX(120%) skewX(-20deg); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border-strong); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.btn.ghost::after { display: none; }
.btn.sm { --h: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn.lg { --h: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 14px; }
.btn.block { width: 100%; }

/* ---------- nagłówek ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 8, 7, .72); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px var(--display); letter-spacing: .01em; }
.brand b { color: var(--accent); }
.brand-mark { width: 28px; height: 28px; color: var(--accent); filter: drop-shadow(0 0 10px rgba(190, 252, 3, .55)); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang {
  display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer;
  font: 700 11.5px var(--mono); color: var(--muted);
}
.lang span { padding: 4px 7px; border-radius: 7px; transition: background .2s, color .2s; }
html[lang="en"] .lang [data-l="en"], html[lang="pl"] .lang [data-l="pl"] { background: var(--accent); color: var(--accent-ink); }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, top .25s ease; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: min(880px, calc(100vh - 70px)); padding: 72px 0 104px; overflow: hidden; }
.topo {   /* poziomice w tle */
  position: absolute; inset: -10% -5% auto; height: 120%; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("../img/topo.svg"); background-size: 900px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  animation: topo-drift 60s linear infinite;
}
@keyframes topo-drift { to { background-position: calc(50% + 900px) center; } }
.hero-in { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 10px; border-radius: 999px;
  border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); font: 600 12.5px var(--mono); letter-spacing: .02em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dot.live { box-shadow: 0 0 0 0 rgba(190, 252, 3, .7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(190, 252, 3, 0); } 100% { box-shadow: 0 0 0 0 rgba(190, 252, 3, 0); } }
.hero h1 { margin: 22px 0 20px; font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -0.02em; }
.hero h1 > span { display: block; white-space: nowrap; }
.lead { max-width: 540px; color: #b9c2b8; font-size: 17.5px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13.5px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--accent); }

/* napis z „usterką” (glitch) */
.glitch { position: relative; display: inline-block; text-shadow: 0 0 28px rgba(190, 252, 3, .35); }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0;
}
.glitch::before { color: #7af0ff; animation: glitch-a 6s infinite steps(1); }
.glitch::after { color: #ff5b7a; animation: glitch-b 6s infinite steps(1); }
@keyframes glitch-a { 0%, 91%, 100% { opacity: 0; transform: none; clip-path: none; }
  92% { opacity: .8; transform: translate(-3px, 1px); clip-path: inset(10% 0 55% 0); }
  94% { opacity: .8; transform: translate(3px, -1px); clip-path: inset(60% 0 8% 0); }
  96% { opacity: 0; } }
@keyframes glitch-b { 0%, 92%, 100% { opacity: 0; transform: none; clip-path: none; }
  93% { opacity: .7; transform: translate(3px, 0); clip-path: inset(40% 0 30% 0); }
  95% { opacity: .7; transform: translate(-2px, 1px); clip-path: inset(5% 0 70% 0); }
  97% { opacity: 0; } }

/* ---------- hero: prawdziwe okno aplikacji ---------- */
.shot-hero { position: relative; margin: 0; perspective: 1600px; }
.radar {
  position: absolute; width: 130%; aspect-ratio: 1; left: -15%; top: 50%; translate: 0 -50%; z-index: -1; border-radius: 50%; pointer-events: none;
  /* wiązka radaru: jasna krawędź prowadząca, za nią zanikający ślad (obrót zgodnie z ruchem wskazówek zegara) */
  background:
    repeating-radial-gradient(circle, transparent 0 58px, rgba(190, 252, 3, .07) 58px 59px),
    conic-gradient(from 0deg, transparent 0 80%, rgba(190, 252, 3, .2) 100%);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%); mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  animation: sweep 7s linear infinite;
}
@keyframes sweep { to { rotate: 360deg; } }
.frame {
  display: block; width: 100%; padding: 0; border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; background: #060807; cursor: zoom-in;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(190, 252, 3, .04);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .4s ease;
}
.frame img { display: block; width: 100%; height: auto; }
.frame:hover { border-color: var(--accent-line); box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .95), 0 0 60px -24px rgba(190, 252, 3, .45); }
.shot-hero .frame { border-radius: 0; transform: rotateY(-7deg) rotateX(3deg); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(190, 252, 3, .06), 0 0 80px -30px rgba(190, 252, 3, .35); }
.shot-hero:hover .frame { transform: rotateY(-2deg) rotateX(1deg); }
.float-pop {
  position: absolute; left: -7%; bottom: 8%; width: 58%; height: auto; border-radius: 0; pointer-events: none;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .95), 0 0 40px -14px rgba(190, 252, 3, .5);
  animation: float-pop 9s ease-in-out infinite;
}
@keyframes float-pop { 0%, 6% { opacity: 0; transform: translateY(18px) scale(.96); } 12%, 72% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- pasek przewijany ---------- */
.ticker { border-block: 1px solid var(--border); background: rgba(190, 252, 3, .025); overflow: hidden; padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-in { display: flex; width: max-content; animation: ticker 45s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 600 13px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.ticker span::after { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 8px var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- statystyki ---------- */

/* ---------- sekcje ---------- */
.sec { padding: 96px 0 0; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; }
.sec-head p { margin-top: 16px; color: #aab3a9; font-size: 17px; }

/* separator sekcji: linia zanikająca na końcach, znak EzTarkov pośrodku i „impulsy” biegnące od środka */
.divider { position: relative; display: grid; place-items: center; height: 40px; margin: 0 0 72px; }
.divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 252, 3, .08) 12%, rgba(190, 252, 3, .45) 50%, rgba(190, 252, 3, .08) 88%, transparent); }
.divider::after { content: ""; position: absolute; top: calc(50% - 1px); left: 50%; width: 46%; height: 3px; translate: -50% 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(190, 252, 3, .9) 8%, transparent 22%, transparent 78%, rgba(190, 252, 3, .9) 92%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  filter: blur(.4px); opacity: 0; }
.divider.in::after { animation: dv-pulse 4.5s ease-out infinite; }
@keyframes dv-pulse { 0% { width: 4%; opacity: 0; } 15% { opacity: 1; } 100% { width: 92%; opacity: 0; } }
.dv-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--accent);
  background: var(--bg); border: 1px solid var(--accent-line); box-shadow: 0 0 0 6px var(--bg), 0 0 26px -4px rgba(190, 252, 3, .55); }
.dv-mark svg { width: 20px; height: 20px; filter: drop-shadow(0 0 6px rgba(190, 252, 3, .6)); }
.sec.safe { padding-top: 88px; }

/* tytuł sekcji „Funkcje” – w stylu wyróżnionego słowa z hero */
.sec-title { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.02em; }
.sec-head.center .sec-title + p { margin-inline: auto; }

/* aplikacja na komputer / na telefon */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 104px; }
.app-card { position: relative; display: flex; gap: 18px; padding: 26px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--accent-line); background: radial-gradient(420px 200px at 0% 0%, rgba(190, 252, 3, .1), transparent 70%), var(--surface); }
/* akcenty kart: komputer - niebieski, telefon - czerwony */
.app-card.pc { --tint: 77, 163, 255; }
.app-card.ph { --tint: 255, 92, 108; }
.app-card.pc, .app-card.ph { border-color: rgba(var(--tint), .38);
  background: radial-gradient(420px 220px at 0% 0%, rgba(var(--tint), .14), transparent 70%), var(--surface); }
.app-card.pc .app-ico, .app-card.ph .app-ico { color: rgb(var(--tint)); background: rgba(var(--tint), .1); border-color: rgba(var(--tint), .38);
  box-shadow: 0 0 24px -6px rgba(var(--tint), .55); }
.app-card.pc .app-badge:not(.soon), .app-card.ph .app-badge:not(.soon) { background: rgba(var(--tint), .16); color: rgb(var(--tint)); border: 1px solid rgba(var(--tint), .45); }
.app-card.pc .ticks li::before, .app-card.ph .ticks li::before { border-color: rgba(var(--tint), .4); background-color: rgba(var(--tint), .1); }
.app-card.pc .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%234da3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.app-card.ph .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23ff5c6c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.app-ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line); box-shadow: 0 0 24px -6px rgba(190, 252, 3, .5); }
.app-ico svg { width: 26px; height: 26px; }
.app-body { min-width: 0; }
.app-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.app-top h3 { font-size: 22px; font-weight: 700; }
.app-badge { padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 11px var(--mono); letter-spacing: .04em; }
.app-badge.soon { background: transparent; color: var(--amber); border: 1px solid rgba(255, 181, 71, .45); text-transform: uppercase; }
.app-body p { color: #aab3a9; font-size: 15px; }
.app-body .ticks { margin-top: 14px; }

/* puste miejsce na zrzut (plik do wgrania do assets/img/features/) */
.slot-box { display: grid; place-content: center; gap: 6px; width: 100%; padding: 16px; text-align: center; border-radius: 14px;
  border: 1.5px dashed rgba(190, 252, 3, .35); color: var(--muted);
  background: repeating-linear-gradient(135deg, rgba(190, 252, 3, .035) 0 12px, transparent 12px 24px), #080a08; }
.slot-box b { font: 700 15px var(--display); color: var(--text); }
.slot-box small { font: 600 12px var(--mono); color: var(--accent); word-break: break-all; }
.frame.is-slot { cursor: default; border: 0; box-shadow: none; background: transparent; }
.frame.is-slot:hover { transform: none; }
.feat:hover .frame.is-slot, .gcard:hover .frame.is-slot { transform: none; }
.stream-slot { width: 300px; border-radius: 22px; }

/* funkcje: prawdziwe zrzuty z opisem */
.feats { display: flex; flex-direction: column; gap: 104px; }
.feat { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 52px; align-items: center; }
.feat.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.feat.flip > .frame, .feat.flip > .shot-tabs { order: 2; }
.feat:hover .frame { transform: translateY(-4px); }
.feat .inset { position: absolute; left: -3%; bottom: -34px; width: 40%; height: auto; border-radius: 14px; pointer-events: none;
  box-shadow: 0 22px 50px -16px rgba(0, 0, 0, .95), 0 0 34px -12px rgba(190, 252, 3, .5); }
.feat-tag { display: inline-block; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-soft);
  color: var(--accent); font: 700 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.feat-copy h3, .stream-copy h3 { margin: 14px 0 12px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.feat-copy p, .stream-copy p { color: #aab3a9; font-size: 16px; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: #c9d1c8; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; border: 1px solid var(--accent-line);
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23befc03' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.sec-head.sub { margin-top: 120px; }
.gallery .reveal:nth-child(2), .gallery .reveal:nth-child(4) { transition-delay: .1s; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.gcard { margin: 0; }
.gcard:hover .frame { transform: translateY(-4px); }
.gcard figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.gcard figcaption b { font: 700 18px var(--display); }
.gcard figcaption span { color: #a3ada2; font-size: 14.5px; }
.stream {
  margin-top: 120px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding: 40px 44px; border-radius: 24px;
  border: 1px solid var(--accent-line); background: radial-gradient(500px 260px at 85% 50%, rgba(190, 252, 3, .12), transparent 70%), url("../img/topo.svg") center / 640px, #080a08;
}
.stream-shot { width: 300px; height: auto; border-radius: 22px; box-shadow: 0 0 60px -18px rgba(190, 252, 3, .45); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* przełącznik zrzutów (np. Questy: poboczne / fabuła) */
.shot-tabs { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st-tabs { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); }
.st-tabs button { padding: 7px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer; transition: background .2s, color .2s; }
.st-tabs button:hover { color: var(--text); }
.st-tabs button.on { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 16px rgba(190, 252, 3, .35); }
.shot-tabs .frame[hidden] { display: none; }
.shot-tabs .frame { animation: shot-in .45s ease; }
@keyframes shot-in { from { opacity: 0; transform: translateY(6px); } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(3, 4, 3, .9); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s ease; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
/* zawsze cały obraz na ekranie: ograniczenie do szerokości i wysokości okna (z marginesem na przycisk zamknięcia) */
.lightbox img { display: block; width: auto; height: auto; max-width: min(1600px, calc(100vw - 48px)); max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px);
  object-fit: contain; border-radius: 12px; border: 1px solid var(--border-strong); box-shadow: 0 30px 90px rgba(0, 0, 0, .8); }
.lb-x { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(10, 13, 10, .9);
  color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }

/* jak to działa */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; }
.step { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(8, 10, 8, .9); }
.step-n { display: inline-block; margin-bottom: 18px; font: 800 15px var(--mono); color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 8px; box-shadow: 0 0 20px rgba(190, 252, 3, .4); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: #a3ada2; font-size: 14.5px; }
.how .wrap { position: relative; }

/* zasady fair play */
.safe-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.safe-copy h2 { font-size: clamp(30px, 3.6vw, 44px); }
.safe-copy p { margin-top: 16px; color: #aab3a9; font-size: 17px; }
.safe-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.safe-col { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.safe-col h3 { font-size: 15px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.safe-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: #c4ccc3; }
.safe-col li { display: flex; gap: 10px; align-items: flex-start; }
.safe-col li::before { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; display: grid; place-items: center; font: 800 12px var(--mono); }
.safe-col.no h3 { color: var(--danger); }
.safe-col.no li::before { content: "×"; color: var(--danger); background: rgba(255, 107, 107, .12); }
.safe-col.yes { border-color: var(--accent-line); background: var(--accent-soft); }
.safe-col.yes h3 { color: var(--accent); }
.safe-col.yes li::before { content: "✓"; color: var(--accent-ink); background: var(--accent); }
.shield { position: absolute; right: -26px; top: -46px; width: 92px; filter: drop-shadow(0 0 22px rgba(190, 252, 3, .45)); }
.shield path:first-child { fill: #0b0e0a; stroke: var(--accent); stroke-width: 4; }
.shield .chk { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.reveal.in .shield .chk, .safe-grid.in .shield .chk { animation: draw 1s .4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* cennik */
.price { display: grid; place-items: center; }
.price-card {
  position: relative; width: min(440px, 100%); padding: 34px; border-radius: 24px; text-align: center; isolation: isolate;
  background: linear-gradient(180deg, rgba(14, 18, 12, .96), rgba(8, 10, 8, .98));
}
.price-card::before {   /* obracająca się obwódka */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--accent) 75%, transparent 90%), var(--border-strong);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 5s linear infinite;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --ang: 360deg; } }
.price-card::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; box-shadow: 0 0 90px -20px rgba(190, 252, 3, .35); }
.price-badge { position: absolute; top: -14px; left: 50%; translate: -50% 0; padding: 5px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 800 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 0 24px rgba(190, 252, 3, .5); white-space: nowrap; }
.price-old { margin-top: 18px; line-height: 1; }
.price-num { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin: 8px 0 6px; }
.price-old .old { display: inline-block; position: relative; font: 700 26px var(--display); color: var(--muted); text-decoration: none; }
.price-old .old::after { content: ""; position: absolute; left: -6%; right: -6%; top: 50%; height: 2px; border-radius: 2px; background: var(--danger); transform: rotate(-16deg); }
.price-old .old .cur { font-size: 16px; margin-right: 2px; }
.price-num .cur { font: 700 26px var(--display); color: var(--muted); }
.price-num b { font: 800 72px/1 var(--display); color: var(--text); letter-spacing: -0.03em; }
.price-num .per { color: var(--muted); font-size: 15px; }
.price-num b:has(.price-star) { position: relative; padding-right: 17px; }
.price-star { position: absolute; right: 0; top: 5px; font: 700 26px/1 var(--display); color: var(--accent); }   /* góra gwiazdki = góra cyfr */
.price-foot { margin-top: 23px; color: var(--muted); font-size: 12px; text-align: center; }
.price-note { color: var(--muted); font-size: 14px; }
.price-list { list-style: none; margin: 26px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 11px; text-align: left; font-size: 14.5px; }
.price-list li { display: flex; gap: 10px; }
.price-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23befc03' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; border: 1px solid var(--accent-line); }

/* FAQ */
.faq { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color .25s, background .25s; }
.faq details[open] { border-color: var(--accent-line); background: var(--accent-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .25s, margin .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 20px 18px; color: #b3bcb2; font-size: 15px; }

/* końcowe wezwanie */
.final { padding: 120px 0 100px; }
.final-in {
  position: relative; text-align: center; padding: 64px 24px; border-radius: 28px; overflow: hidden; border: 1px solid var(--accent-line);
  background: radial-gradient(600px 300px at 50% 0%, rgba(190, 252, 3, .16), transparent 70%), url("../img/topo.svg") center / 700px, #080a08;
}
.final-in h2 { margin-bottom: 30px; font-size: clamp(32px, 4.4vw, 54px); }
.final-in p { margin: 14px 0 30px; color: #b9c2b8; font-size: 17px; }

/* stopka */
.foot { border-top: 1px solid var(--border); padding: 40px 0 46px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: start; }
.disc { margin-top: 14px; max-width: 620px; color: var(--muted); font-size: 12.5px; }
.foot-links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--accent); }
.foot-links { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.copy { grid-column: 1; color: #5d665e; font-size: 12.5px; font-family: var(--mono); }

/* ---------- podstrony (np. /changelog) ---------- */
.wrap.narrow { width: min(820px, 100% - 32px); }
.sec.page { padding: 72px 0 110px; }
.nav-links a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.cl-list { display: flex; flex-direction: column; gap: 22px; }
.cl-entry { padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.cl-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.cl-ver { font: 800 26px/1 var(--display); color: var(--accent); text-shadow: 0 0 22px rgba(190, 252, 3, .35); }
.cl-tag { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
  font: 700 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.cl-date { margin-left: auto; color: var(--muted); font: 500 13px var(--mono); }
.cl-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 15px; color: #c9d1c7; }
.cl-items li { position: relative; padding-left: 20px; }
.cl-items li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; rotate: 45deg; border-radius: 1px;
  background: var(--accent); box-shadow: 0 0 8px rgba(190, 252, 3, .6); }
@media (max-width: 620px) { .sec.page { padding-top: 48px; } .cl-entry { padding: 20px 18px; } .cl-date { margin-left: 0; width: 100%; } }

/* ---------- konto: formularze (rejestracja, logowanie, reset) i panel ---------- */
.auth { display: grid; place-items: start center; }
.auth-card { width: min(440px, 100%); margin-inline: auto; padding: 32px 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 30px 80px -40px rgba(190, 252, 3, .25); }
.auth-card h1 { font-size: 30px; font-weight: 800; }
.auth-card .lead-s { margin: 8px 0 24px; color: #aab3a9; font-size: 15px; }
.auth-card .lead-s.tight { margin-bottom: 0; }
.btn.mt { margin-top: 16px; }
.auth-card .sent-to { display: block; margin: 10px 0 14px; color: var(--accent); font: 600 15px var(--mono); word-break: break-all; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .field > label { color: var(--muted); font: 600 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.field small { color: #6f786f; font-size: 12.5px; }
.input, .select { height: 46px; width: 100%; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(0, 0, 0, .35);
  color: var(--text); font: 400 15px var(--font); transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%238b958c' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.select option { background: #0d110d; }
.pw { position: relative; }
.pw .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px;
  background: transparent; color: var(--muted); cursor: pointer; }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--accent); background: var(--accent-soft); }
.pw-toggle svg { width: 18px; height: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: #b9c2b8; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.check a { color: var(--accent); }
.check a:hover { text-decoration: underline; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* pole-pułapka na boty */
.form-msg { padding: 10px 13px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.form-msg.err { color: #ffd0d0; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .35); }
.form-msg.ok { color: #e9ffb0; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.form.busy { opacity: .7; pointer-events: none; }
.auth-alt { margin-top: 20px; color: var(--muted); font-size: 14px; text-align: center; }
.auth-alt a, .link { color: var(--accent); }
.auth-alt a:hover, .link:hover { text-decoration: underline; }
.form-row { display: flex; justify-content: flex-end; margin-top: -6px; font-size: 13.5px; }
.btn.ghost.block { margin-top: 4px; }
.btn.danger { background: transparent; color: var(--danger); border-color: rgba(255, 107, 107, .45); }
.btn.danger:hover { background: rgba(255, 107, 107, .1); }
.btn.danger::after { display: none; }
.btn:disabled { opacity: .6; cursor: default; }
.spin { width: 28px; height: 28px; margin: 18px auto 4px; border-radius: 50%; border: 2px solid var(--accent-soft); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.code-input { font: 700 22px var(--mono); letter-spacing: .14em; text-transform: uppercase; text-align: center; height: 56px; }
.link-kv { margin: 18px 0 16px; }
.link-note { margin-bottom: 14px; color: var(--accent); font-size: 14px; }
.link-note.warn { color: var(--amber); }
.link-warn { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .35); }
.link-warn p { color: #ffd9a0; font-size: 14px; }
.link-warn b { display: block; margin-top: 6px; color: var(--amber); }
.done-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 16px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line); box-shadow: 0 0 30px -6px rgba(190, 252, 3, .6); }
.done-mark svg { width: 28px; height: 28px; }
.dev-list { display: flex; flex-direction: column; gap: 12px; }
.dev-list:empty { display: none; }
.dev { padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--border); }
.dev-name { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.dev-name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(190, 252, 3, .7); }
.dev-meta { margin: 6px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.dev .btn { --h: 34px; font-size: 13px; }
.dev-hint { margin-top: 12px; color: #6f786f; font-size: 12.5px; }
.acc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.acc-card { padding: 24px 24px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.acc-card.wide { grid-column: 1 / -1; }
.acc-card h2 { margin-bottom: 16px; font: 700 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.acc-card.danger-zone { border-color: rgba(255, 107, 107, .25); }
.acc-card.danger-zone h2 { color: var(--danger); }
.acc-card p { color: #b9c2b8; font-size: 14.5px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--text); word-break: break-word; }
.kv .hl { color: var(--accent); }
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.acc-head h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.acc-email { margin-top: 6px; color: var(--muted); font: 500 14px var(--mono); }
@media (max-width: 760px) { .acc-grid { grid-template-columns: 1fr; } .auth-card { padding: 26px 20px 22px; } }

/* ---------- regulamin, prywatność, kontakt ---------- */
.legal h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; }
.legal .upd { margin: 10px 0 30px; color: var(--muted); font: 500 13px var(--mono); }
.legal .lead-legal { padding: 14px 18px; margin-bottom: 8px; border-radius: 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: #e9ffb0; }
.legal h2 { margin: 34px 0 12px; font-size: 20px; font-weight: 700; }
.legal p, .legal li { color: #c3cbc1; font-size: 15.5px; line-height: 1.7; }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal li::marker { color: var(--accent); }
.legal b { color: var(--text); }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal code { padding: 1px 6px; border-radius: 6px; background: var(--surface-2); font: 500 13.5px var(--mono); color: var(--text); }
.todo { padding: 0 4px; border-radius: 4px; background: rgba(255, 181, 71, .18); color: var(--amber); font-weight: 700; }   /* dane do uzupełnienia */
.contact .ct-mail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px; margin-bottom: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--accent-line); box-shadow: 0 0 60px -30px rgba(190, 252, 3, .6); text-align: center; transition: background .2s; }
.contact .ct-mail:hover { background: var(--accent-soft); }
.contact .ct-label { color: var(--muted); font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.contact .ct-mail b { color: var(--accent); font: 700 clamp(20px, 4vw, 28px) var(--display); word-break: break-all; }
.ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-item { padding: 22px 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.ct-item h2 { margin-bottom: 8px; font-size: 17px; font-weight: 700; }
.ct-item p { color: #b9c2b8; font-size: 14.5px; }
.ct-item a { color: var(--accent); }
.ct-item a:hover { text-decoration: underline; }
@media (max-width: 620px) { .ct-grid { grid-template-columns: 1fr; } }

/* ---------- pojawianie się przy przewijaniu ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2) { transition-delay: .08s; }
.steps .reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- responsywność ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .shot-hero { max-width: 760px; }
  .feat, .feat.flip { grid-template-columns: 1fr; gap: 28px; }
  .feat.flip > .frame, .feat.flip > .shot-tabs { order: 0; }
  .safe-in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 70px 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 10px 16px 18px; background: rgba(6, 8, 7, .97); border-bottom: 1px solid var(--border);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .burger { display: block; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hide-sm { display: none; }
  .hero { padding-top: 32px; }
  .shot-hero .frame { transform: none; }
  .float-pop { position: relative; left: auto; bottom: auto; display: block; width: 90%; margin: -22px auto 0; animation: none; }
  .gallery { grid-template-columns: 1fr; }
  .feat .inset { width: 62%; bottom: auto; top: 46%; }
  .stream { grid-template-columns: 1fr; padding: 28px 22px; justify-items: center; }
  .stream-shot, .stream-slot { width: 240px; }
  .apps { grid-template-columns: 1fr; margin-bottom: 80px; }
  .feats { gap: 80px; }
  .safe-grid { grid-template-columns: 1fr; }
  .shield { width: 64px; right: -6px; top: -36px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { grid-column: 1; grid-row: auto; }
  .copy { grid-column: 1; }
  .sec { padding-top: 80px; }
}
@media (max-width: 420px) { .hide-xs { display: none; } .nav-in { gap: 10px; } .lang span { padding: 4px 5px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
