/* ==========================================================================
   Friendziaki.pl – style
   ========================================================================== */

:root {
  --bg: #07080c;
  --bg-2: #0b0d13;
  --surface: #11141c;
  --surface-2: #161a24;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #eef1f7;
  --muted: #8d95a8;
  --muted-2: #626a7d;

  --blue: #2aa8ff;
  --blue-2: #0b74e5;
  --gold: #ffcf3a;
  --red: #ff4d5e;
  --green: #3ddc84;
  --discord: #5865f2;

  --grad: linear-gradient(90deg, #7cc4f2 0%, #ef3b33 22%, #ffd83a 42%, #ff7fbf 62%, #a25ad8 80%, #ff8c22 100%);
  --grad-blue: linear-gradient(135deg, #3db8ff, #1166d6);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Outfit", "Inter", system-ui, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code { font: 600 .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(255,255,255,.07); padding: .1em .4em; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: rgba(42, 168, 255, .35); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.i { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(640px, 100% - 32px); }
.muted { color: var(--muted); }
.txt-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- przyciski ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 1.4em;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 15px/1 var(--display); letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sm { --h: 40px; padding: 0 1.1em; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 1.8em; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(42,168,255,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { box-shadow: 0 14px 40px -8px rgba(42,168,255,.95), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.btn--discord { background: var(--discord); color: #fff; box-shadow: 0 10px 30px -10px rgba(88,101,242,.9); }
.btn--discord:hover { transform: translateY(-1px); box-shadow: 0 14px 40px -8px rgba(88,101,242,1); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.ipchip {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .55em 1em; border-radius: 999px;
  background: rgba(42,168,255,.08); border: 1px dashed rgba(42,168,255,.45);
  color: #bfe6ff; font: 600 14px/1 var(--display); letter-spacing: .02em; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.ipchip:hover { background: rgba(42,168,255,.16); border-color: var(--blue); }
.ipchip--lg { font-size: 16px; padding: .75em 1.2em; margin-top: 14px; }

.kicker { display: inline-block; font: 700 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* ---------- nawigacja ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.is-scrolled, .nav.is-open { background: rgba(7,8,12,.78); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 10px; }
.brand__name { font: 800 20px/1 var(--display); letter-spacing: .02em; }
.brand__name span { color: var(--blue); }
.online {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2);
  font-size: 13px; color: var(--muted);
}
.online b { color: var(--text); font-weight: 700; }
.online[hidden] { display: none; }
.online__dot, .pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2s infinite; }
.online.is-off .online__dot { background: var(--red); animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; color: var(--muted); font: 600 15px/1 var(--display); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__links a[aria-current] { color: var(--text); background: rgba(255,255,255,.07); }
.nav__cta { display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; place-items: center; }
.burger .i { width: 22px; height: 22px; }

.drawer {
  position: fixed; inset: var(--nav-h) 0 auto; z-index: 49;
  background: rgba(7,8,12,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  padding: 12px 16px 24px; display: grid; gap: 16px;
  animation: drop .25s var(--ease);
}
.drawer[hidden] { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.drawer__links { display: grid; }
.drawer__links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font: 600 18px/1 var(--display); }
.drawer__links a[aria-current] { color: var(--blue); }
.drawer .ipchip { justify-self: start; }

/* ---------- hero (strona główna) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 40px) 0 110px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.glow--a { width: 620px; height: 620px; left: 50%; top: 42%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(42,168,255,.55), transparent 65%); }
.glow--b { width: 420px; height: 420px; left: 12%; top: 18%; background: radial-gradient(circle, rgba(162,90,216,.45), transparent 65%); animation: float 14s ease-in-out infinite; }
.glow--c { width: 380px; height: 380px; right: 8%; bottom: 8%; background: radial-gradient(circle, rgba(255,140,34,.32), transparent 65%); animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(30px, -26px); } }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
.hero__in { text-align: center; display: grid; justify-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); font: 600 13px/1 var(--display); color: #cfd6e4; letter-spacing: .02em; }
.hero__logo { width: min(680px, 100%); height: auto; margin: 28px auto 8px; filter: drop-shadow(0 24px 60px rgba(42,168,255,.3)); animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.hero__lead { font-size: clamp(18px, 2.2vw, 22px); color: #c2c9d8; max-width: 34ch; line-height: 1.5; }
.hero__lead b { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.hero__meta { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--muted); font-size: 14px; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .i { color: var(--blue); }
.scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.25); border-radius: 14px; }
.scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- hero podstron ---------- */
.phero { position: relative; padding: calc(var(--nav-h) + 72px) 0 56px; text-align: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.phero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(42,168,255,.22), transparent 70%), radial-gradient(ellipse 40% 60% at 85% 10%, rgba(162,90,216,.18), transparent 70%); }
.phero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; }
.phero .lead { margin: 16px auto 0; }

/* ---------- sekcje ---------- */
.sec { padding: 110px 0; }
.sec.sec--tight { padding: 56px 0 110px; }
.sec--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018) 20%, rgba(255,255,255,.018) 80%, transparent); }
.sec__head { text-align: center; display: grid; justify-items: center; margin-bottom: 56px; }
.sec__head h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; max-width: 20ch; }
.sec__head .lead { margin-top: 16px; }
.sec__head--row { text-align: left; justify-items: stretch; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.sec__head--row h2 { max-width: none; }
.sec__head--sm { margin: 90px 0 32px; }
.sec__head--sm h2 { font-size: 34px; }

/* ---------- funkcje ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  position: relative; padding: 30px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.feat::before { content: ""; position: absolute; inset: -1px -1px auto; height: 120px; background: radial-gradient(ellipse 60% 100% at 20% 0%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%); pointer-events: none; }
.feat:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 40%, transparent); }
.feat__ic { position: relative; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 26px -8px var(--c1); color: #fff; margin-bottom: 22px; }
.feat__ic .i { width: 26px; height: 26px; }
.feat h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; position: relative; }
.feat p { color: var(--muted); position: relative; }

/* ---------- kroki ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(42,168,255,.12); border: 1px solid rgba(42,168,255,.4); color: var(--blue); font: 800 18px/1 var(--display); margin-bottom: 20px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- produkty ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 45%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c1) 60%, transparent); }
.pcard--featured { border-color: color-mix(in srgb, var(--c1) 45%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c1) 25%, transparent), 0 30px 60px -30px var(--c1); }
.pcard__badge { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font: 700 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 18px -6px var(--c1); }
.pcard__art {
  position: relative; height: 150px; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c1) 35%, transparent), transparent 62%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 22px 22px;
  border-bottom: 1px solid var(--line);
}
.pcard__icon { width: 74px; height: 74px; color: var(--c1); filter: drop-shadow(0 10px 22px color-mix(in srgb, var(--c1) 70%, transparent)); transition: transform .4s var(--ease); }
.pcard:hover .pcard__icon { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.pcard__body { padding: 22px 22px 8px; flex: 1; }
.pcard__body h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pcard__body > p { color: var(--muted); font-size: 14.5px; }
.pcard__items { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; font-size: 14px; color: #c7cede; }
.pcard__items li { display: flex; gap: 8px; align-items: flex-start; }
.pcard__items .i { color: var(--green); margin-top: 3px; width: 15px; height: 15px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 22px; }
.pcard__price { display: grid; line-height: 1.1; }
.pcard__price s { color: var(--muted-2); font-size: 13px; }
.pcard__price strong { font: 800 22px/1.1 var(--display); }

.note { display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; margin-top: 28px; }
.note .i { color: var(--blue); }

/* ---------- sklep ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.trust > div { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.trust .i { width: 26px; height: 26px; color: var(--blue); }
.trust span { display: grid; color: var(--muted); font-size: 14px; line-height: 1.35; }
.trust b { color: var(--text); font: 700 15px/1.3 var(--display); }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); font: 600 14px/1 var(--display); cursor: pointer; transition: all .2s; }
.tab:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.cat + .cat { margin-top: 56px; }
.cat[hidden] { display: none; }
.cat__title { font-size: 26px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.cat__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: rgba(255,207,58,.08); border: 1px solid rgba(255,207,58,.3); color: #ffe7a6; margin-bottom: 28px; }
.alert .i { margin-top: 3px; color: var(--gold); }
.alert--ok { background: rgba(61,220,132,.08); border-color: rgba(61,220,132,.3); color: #b9f5d2; }
.alert--ok .i { color: var(--green); }
.alert--err { background: rgba(255,77,94,.08); border-color: rgba(255,77,94,.35); color: #ffc2c8; }
.alert--err .i { color: var(--red); }

/* ---------- modal zakupu ---------- */
.modal { padding: 0; border: 0; background: transparent; color: var(--text); width: min(520px, 100% - 24px); max-height: calc(100dvh - 24px); }
.modal::backdrop { background: rgba(3,4,8,.72); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__box { position: relative; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 18px; }
.modal__x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; display: grid; place-items: center; }
.modal__head { display: flex; gap: 18px; align-items: center; padding-right: 40px; }
.modal__head .kicker { margin-bottom: 6px; }
.modal__head h2 { font-size: 24px; }
.modal__art { flex: none; width: 84px; height: 84px; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c1, #2aa8ff) 40%, transparent), transparent 70%), rgba(255,255,255,.03); border: 1px solid var(--line-2); }
.modal__art .pcard__icon { width: 50px; height: 50px; }
.modal__price { margin-top: 6px; display: flex; gap: 10px; align-items: baseline; }
.modal__price strong { font: 800 24px/1 var(--display); }
.modal__price s { color: var(--muted-2); font-size: 14px; }
.modal__price s:empty { display: none; }
.modal__items { margin: 0; padding: 16px; border-radius: var(--r); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.modal__pay { text-align: center; color: var(--muted-2); font-size: 13px; letter-spacing: .04em; margin-top: -6px; }

.field { display: grid; gap: 7px; }
.field > span { font: 600 14px/1 var(--display); }
.field em { color: var(--muted); font-style: normal; font-weight: 500; }
.field input { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); color: var(--text); font: 500 16px var(--font); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42,168,255,.18); }
.field input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,77,94,.15); }
.field small { color: var(--muted-2); font-size: 12.5px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #c2c9d8; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.check a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-err { padding: 12px 14px; border-radius: 12px; background: rgba(255,77,94,.1); border: 1px solid rgba(255,77,94,.35); color: #ffc2c8; font-size: 14px; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }

/* ---------- status zamówienia ---------- */
.sec.sec--order { padding: calc(var(--nav-h) + 80px) 0 110px; min-height: 80svh; }
.ostat { text-align: center; padding: 44px 32px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); display: grid; justify-items: center; gap: 14px; }
.ostat h1 { font-size: 32px; }
.ostat > p, .ostat__d { color: var(--muted); max-width: 46ch; }
.ostat__ic { width: 76px; height: 76px; border-radius: 50%; display: none; place-items: center; margin-bottom: 6px; }
.ostat__ic .i { width: 36px; height: 36px; }
.ostat--failed > .ostat__ic, .ostat[data-status="failed"] .ostat__ic--failed { display: grid; background: rgba(255,77,94,.12); color: var(--red); }
.ostat[data-status="pending"] .ostat__ic--pending, .ostat[data-status="paid"] .ostat__ic--pending { display: grid; background: rgba(42,168,255,.1); }
.ostat[data-status="delivered"] .ostat__ic--ok { display: grid; background: rgba(61,220,132,.14); color: var(--green); box-shadow: 0 0 0 10px rgba(61,220,132,.06); }
.ostat [data-when] { display: none; }
.ostat[data-status="pending"] [data-when="pending"], .ostat[data-status="paid"] [data-when="paid"], .ostat[data-status="delivered"] [data-when="delivered"], .ostat[data-status="failed"] [data-when="failed"] { display: block; }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(42,168,255,.25); border-top-color: var(--blue); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.osum { width: 100%; margin: 14px 0 6px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.osum div { background: var(--bg-2); padding: 14px 16px; text-align: left; }
.osum dt { color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.osum dd { margin: 4px 0 0; font-weight: 600; }
.ostat__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.nf { font: 900 120px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- regulaminy ---------- */
.doc { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.doc__toc { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 2px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.doc__toc > span { font: 700 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); padding: 4px 10px 12px; }
.doc__toc a { display: flex; gap: 10px; padding: 10px; border-radius: 10px; color: var(--muted); font-size: 14.5px; transition: background .2s, color .2s; }
.doc__toc a b { color: var(--blue); font-family: var(--display); min-width: 14px; }
.doc__toc a:hover, .doc__toc a.is-active { background: rgba(255,255,255,.05); color: var(--text); }
.doc__sec { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.doc__sec + .doc__sec { margin-top: 16px; }
.doc__sec h2 { font-size: 24px; display: flex; gap: 12px; align-items: baseline; margin-bottom: 18px; }
.doc__sec h2 span { color: var(--blue); font-size: 18px; }
.doc__sec ol, .doc__sec ul { margin: 0; padding-left: 22px; display: grid; gap: 12px; color: #c7cede; }
.doc__sec li::marker { color: var(--muted-2); font-weight: 700; }
.doc__sec a, .doc__upd a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.doc__sec em { color: var(--gold); }
.doc__upd { color: var(--muted); font-size: 14px; margin-top: 24px; }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.ccard { display: grid; align-content: start; justify-items: start; gap: 12px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.ccard h2 { font-size: 24px; }
.ccard p { color: var(--muted); margin-bottom: 8px; }
.ccard__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(42,168,255,.12); color: var(--blue); }
.ccard__ic .i { width: 26px; height: 26px; }
.ccard--discord { background: linear-gradient(160deg, rgba(88,101,242,.22), var(--surface) 60%); border-color: rgba(88,101,242,.35); }
.ccard--discord .ccard__ic { background: var(--discord); color: #fff; }
.ccard--discord:hover { transform: translateY(-4px); }
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; cursor: pointer; font: 600 17px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .25s; color: var(--muted); }
.faq details[open] summary .i { transform: rotate(90deg); color: var(--blue); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA Discord ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px; border-radius: 28px; border: 1px solid rgba(88,101,242,.4); }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(88,101,242,.45), transparent 60%), radial-gradient(ellipse 50% 100% at 100% 100%, rgba(42,168,255,.25), transparent 60%), var(--surface); }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 10px; }
.cta p { color: #c2c9d8; max-width: 48ch; }
.cta .kicker { color: #9aa3ff; }

/* ---------- stopka ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 0; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot__brand img { width: 190px; height: auto; margin-bottom: 14px; }
.foot__brand p { color: var(--muted); max-width: 34ch; margin-bottom: 18px; font-size: 15px; }
.foot h4 { font: 700 13px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.foot__grid > div:not(.foot__brand) { display: grid; align-content: start; gap: 12px; }
.foot__grid a { color: #c2c9d8; font-size: 15px; transition: color .2s; }
.foot__grid a:hover { color: var(--blue); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 26px 0 32px; margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 13px 20px; border-radius: 999px; background: #fff; color: #07080c; font: 600 14px/1 var(--display); box-shadow: var(--shadow); transition: opacity .25s, transform .25s var(--ease); display: flex; gap: 8px; align-items: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .i { color: #12a150; }

/* ---------- admin ---------- */
.sec.sec--admin { padding: calc(var(--nav-h) + 48px) 0 100px; min-height: 80svh; }
.login { max-width: 400px; margin: 40px auto; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; }
.login h1 { font-size: 28px; }
.adm__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.adm__top h1 { font-size: 32px; }
.adm__btns { display: flex; gap: 8px; }
.adm__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.adm__stats div { padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.adm__stats span { color: var(--muted); font-size: 13px; }
.adm__stats b { font: 800 24px/1 var(--display); }
.adm__stats .warn { border-color: rgba(255,207,58,.45); }
.adm__checks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.adm__checks span { display: inline-flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line-2); }
.adm__checks .ok .i { color: var(--green); }
.adm__checks .no { color: #ffc2c8; border-color: rgba(255,77,94,.35); }
.adm__checks .no .i { color: var(--red); }
.tabs--links { margin-bottom: 18px; }
.tbl { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--muted-2); font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl summary { cursor: pointer; color: var(--blue); }
.tbl__log { margin: 10px 0; padding: 10px; border-radius: 10px; background: rgba(0,0,0,.3); font: 12px/1.6 ui-monospace, monospace; color: var(--muted); max-width: 420px; }
.st { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.st--pending { background: rgba(255,255,255,.07); color: var(--muted); }
.st--paid { background: rgba(255,207,58,.14); color: var(--gold); }
.st--delivered { background: rgba(61,220,132,.14); color: var(--green); }
.st--failed { background: rgba(255,77,94,.12); color: var(--red); }

/* ---------- animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsywność ---------- */
@media (max-width: 1080px) {
  .feats, .pgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr 1fr; }
  .ccard--discord { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links, .hide-sm { display: none; }
  .burger { display: grid; }
  .nav__cta { margin-left: auto; }
  .steps, .trust { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; gap: 20px; }
  .doc__toc { position: static; }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .adm__stats { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 80px 0; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .brand__name { font-size: 17px; }
  .online { display: none !important; }
  .feats, .pgrid--3, .contact { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .sec__head--row { grid-template-columns: 1fr; }
  .hero__cta { width: 100%; flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .doc__sec { padding: 24px 20px; }
  .modal__box { padding: 22px 18px; }
  .modal__art { width: 64px; height: 64px; }
  .osum { grid-template-columns: 1fr; }
  .ostat { padding: 36px 20px; }
  .cta { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
