/* RedSMP - sklep, styl Apple + liquid glass (2026-11-08). Stara strona: backups/strona-2026-11-08 */
:root {
  --bg: #050406;
  --ease: cubic-bezier(.25, .9, .3, 1);
  --spring: cubic-bezier(.34, 1.36, .5, 1);
  --text: #f6f2f8;
  --muted: rgba(240, 232, 245, .62);
  --faint: rgba(240, 232, 245, .42);
  --red: #ff3b30;
  --red2: #ff6259;
  --ok: #34d17b;
  --glass: linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
  --glass-strong: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  --edge: rgba(255, 255, 255, .13);
  --edge-hi: rgba(255, 255, 255, .28);
  --blur: blur(26px) saturate(170%);
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(255, 255, 255, .03);
  --radius: 22px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.01em;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }
main { flex: 1; position: relative; z-index: 1; }

/* ---- tło: miękkie, wolno pływające poświaty (szkło ma co rozmywać) ---- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, .7), transparent 60%); }
.bg i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .38; animation: drift 26s ease-in-out infinite alternate; }
.bg i:nth-child(1) { width: 560px; height: 560px; left: -140px; top: -180px; background: #c4161c; }
.bg i:nth-child(2) { width: 520px; height: 520px; right: -160px; top: 80px; background: #5b1fb8; animation-duration: 32s; animation-delay: -8s; }
.bg i:nth-child(3) { width: 420px; height: 420px; left: 30%; top: 55%; background: #ff5a1f; opacity: .16; animation-duration: 38s; }
.bg i:nth-child(4) { width: 360px; height: 360px; right: 10%; bottom: -160px; background: #b0135f; opacity: .22; animation-duration: 30s; animation-delay: -14s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 70px) scale(.95); }
}

/* wspólne szkło */
.top-row, .card, .tabs, .notice, .box, .drawer, .line, .perks-row span, .ip, .btn-ghost, .toast {
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

/* ---- pływający pasek u góry ---- */
.top { position: sticky; top: 0; z-index: 20; padding: 14px 0 0; }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; padding: 0 10px 0 18px; background: var(--glass); border: 1px solid var(--edge); border-radius: 20px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 32px; height: 32px; image-rendering: pixelated; }
.brand b span { color: var(--red); }
.brand em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, .06); border: 1px solid var(--edge); border-radius: 99px; padding: 4px 10px; letter-spacing: .04em; text-transform: uppercase; }
.top-tools { display: flex; align-items: center; gap: 8px; }
.ip { display: flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, .06); border: 1px solid var(--edge); border-radius: 99px; padding: 9px 15px; font-weight: 600; font-size: 13px; transition: background .2s, border-color .2s; }
.ip:hover { background: rgba(255, 255, 255, .11); border-color: var(--edge-hi); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #777; display: inline-block; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(52, 209, 123, .18), 0 0 10px var(--ok); }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--edge); border-radius: 12px; padding: 9px 12px; font-weight: 700; font-size: 12px; letter-spacing: .04em; transition: background .2s; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .25); background: linear-gradient(160deg, #ff574d, #d91f17); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(255, 59, 48, .7), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .15s, filter .15s; }
.cart-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cart-btn svg { width: 21px; height: 21px; }
#cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #fff; color: #111; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
#cart-count[hidden] { display: none; }

/* ---- nagłówek sklepu ---- */
.hero { text-align: center; padding: 84px 0 34px; animation: rise .9s var(--ease) both; }
.eyebrow { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--red2); }
.hero h1 { font-size: clamp(38px, 7vw, 76px); margin: 0 0 18px; font-weight: 700; letter-spacing: -.045em; line-height: 1.04; background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .7)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 span { background: linear-gradient(135deg, #ff7a6e, #ff2d20 60%, #c4161c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--muted); margin: 0 auto; max-width: 560px; line-height: 1.5; font-size: clamp(17px, 2vw, 20px); letter-spacing: -.012em; }
.perks-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.perks-row span { font-size: 13px; font-weight: 500; color: var(--text); background: var(--glass); border: 1px solid var(--edge); border-radius: 99px; padding: 8px 15px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.perks-row span::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 7px; }
.notice { margin: 0 auto 26px; max-width: 620px; text-align: center; background: linear-gradient(145deg, rgba(255, 176, 64, .16), rgba(255, 176, 64, .05)); border: 1px solid rgba(255, 190, 90, .3); color: #ffd79a; border-radius: 16px; padding: 13px 18px; font-size: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }

/* ---- kategorie: przełącznik jak w iOS ---- */
.tabs { position: relative; display: flex; gap: 2px; width: fit-content; max-width: 100%; margin: 6px auto 40px; padding: 5px; background: var(--glass); border: 1px solid var(--edge); border-radius: 99px; box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; border: 0; background: transparent; border-radius: 99px; padding: 10px 20px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .35s var(--ease), transform .2s; -webkit-tap-highlight-color: transparent; }
.tab:hover { color: var(--text); }
.tab.on { color: #111; }
.tab:active { transform: scale(.97); }
.tab-pill { position: absolute; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 99px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .55), inset 0 1px 0 #fff; transition: transform .5s var(--spring), width .5s var(--spring); will-change: transform, width; }
.tab-pill.still { transition: none; }

.cats { transition: opacity .2s var(--ease), transform .2s var(--ease), filter .2s var(--ease); }
.cats.out { opacity: 0; transform: translateY(10px) scale(.99); filter: blur(4px); }
.cat { margin-bottom: 64px; }
.cat h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; max-width: 900px; opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cat h2 span { color: rgba(240, 232, 245, .5); font-weight: 600; }
.cat.seen h2 { opacity: 1; transform: none; }
.cat .card { opacity: 0; }
.cat.seen .card { animation: rise .75s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }

/* ---- karta produktu ---- */
.card { position: relative; background: var(--glass); border: 1px solid var(--edge); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; box-shadow: var(--shadow); transition: translate .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--c) 24%, transparent), transparent 62%); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .07) 48%, transparent 60%); transform: translateX(-100%); transition: transform .9s ease; }
.cat.seen .card:hover { translate: 0 -5px; border-color: var(--edge-hi); box-shadow: 0 30px 70px -20px color-mix(in srgb, var(--c) 45%, rgba(0, 0, 0, .6)), inset 0 1px 0 rgba(255, 255, 255, .22); }
.card:hover::after { transform: translateX(100%); }
.card.pop { border-color: color-mix(in srgb, var(--c) 55%, var(--edge)); }
.badge { position: absolute; top: 18px; right: 18px; background: color-mix(in srgb, var(--c) 30%, rgba(255, 255, 255, .08)); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 5px 10px; border-radius: 99px; backdrop-filter: blur(10px); }
.ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 45%, rgba(255, 255, 255, .12)), color-mix(in srgb, var(--c) 18%, transparent)); border: 1px solid rgba(255, 255, 255, .18); color: #fff; box-shadow: 0 10px 24px -10px var(--c), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ico svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }
.card h3 { margin: 4px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: rgba(246, 242, 248, .82); flex: 1; align-content: start; }
.card li { display: flex; gap: 9px; line-height: 1.4; }
.card li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, var(--c) 30%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.price { display: flex; flex-direction: column; }
.price b { font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.price s { color: var(--faint); font-size: 13px; }
.buy { border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px; padding: 10px 18px; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 85%, #fff 15%), color-mix(in srgb, var(--c) 80%, #000 20%)); box-shadow: 0 10px 22px -10px var(--c), inset 0 1px 0 rgba(255, 255, 255, .3); white-space: nowrap; transition: transform .25s var(--spring), filter .2s, background .3s; }
.buy:hover { filter: brightness(1.1); }
.buy:active { transform: scale(.95); }
.buy.tap { animation: tap .45s var(--spring); }
@keyframes tap { 0% { transform: scale(.92); } 100% { transform: scale(1); } }
.buy.in { background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }

/* ---- koszyk ---- */
.shade { position: fixed; inset: 0; background: rgba(4, 2, 6, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 30; }
.shade.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(430px, calc(100% - 24px)); background: linear-gradient(160deg, rgba(40, 26, 44, .78), rgba(18, 12, 22, .82)); border: 1px solid var(--edge); border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .15); z-index: 31; transform: translateX(calc(100% + 24px)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; overflow: hidden; }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.drawer-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.x { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
.drawer-body { padding: 18px 22px 22px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.line { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px; padding: 10px 12px; }
.line .ico { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.line .ico svg { width: 20px; height: 20px; }
.line-info { flex: 1; min-width: 0; }
.line-info b { display: block; font-size: 15px; }
.line-info small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 4px; background: rgba(0, 0, 0, .2); border-radius: 99px; padding: 3px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); font-weight: 700; }
.qty button:hover { background: rgba(255, 255, 255, .16); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 16px; }
.total b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.field input { width: 100%; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 13px 14px; color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: rgba(255, 98, 89, .7); box-shadow: 0 0 0 4px rgba(255, 59, 48, .15); }
.check { display: flex; gap: 10px; font-size: 13px; color: rgba(246, 242, 248, .78); line-height: 1.5; cursor: pointer; }
.check input { margin-top: 2px; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.pay { border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: 15px; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(160deg, #ff5b51, #d91f17); box-shadow: 0 14px 30px -12px rgba(255, 59, 48, .8), inset 0 1px 0 rgba(255, 255, 255, .35); transition: filter .15s, transform .15s; }
.pay:hover { filter: brightness(1.08); }
.pay:disabled { opacity: .5; cursor: default; filter: grayscale(.4); }
.err { color: #ff9a90; font-size: 14px; margin: 0; }
.err:empty { display: none; }

/* ---- strony: zamówienie, regulamin ---- */
.page { max-width: 780px; margin: 56px auto; }
.box { background: var(--glass); border: 1px solid var(--edge); border-radius: 26px; padding: 34px; box-shadow: var(--shadow); }
.box h1 { margin: 0 0 6px; font-weight: 800; letter-spacing: -.03em; }
.box.center { text-align: center; }
.big-ico { font-size: 48px; margin-bottom: 10px; }
.btn { display: inline-block; margin-top: 22px; text-decoration: none; color: #fff; font-weight: 700; padding: 12px 24px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25); background: linear-gradient(160deg, #ff5b51, #d91f17); box-shadow: 0 12px 26px -12px rgba(255, 59, 48, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.terms section { margin-top: 24px; }
.terms h2 { font-size: 16px; margin: 0 0 8px; font-weight: 700; }
.terms ol { margin: 0; padding-left: 20px; color: rgba(246, 242, 248, .78); line-height: 1.65; font-size: 14px; display: grid; gap: 6px; }

/* ---- stopka, toast ---- */
.foot { position: relative; z-index: 1; margin-top: 40px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: center; padding: 26px 0 30px; font-size: 13px; color: var(--faint); border-top: 1px solid rgba(255, 255, 255, .07); }
.foot-row a { color: var(--muted); text-decoration: none; }
.foot-row a:hover { color: var(--text); }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: rgba(255, 255, 255, .88); color: #120c14; padding: 12px 20px; border-radius: 99px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 40; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.skel { height: 320px; border-radius: var(--radius); border: 1px solid var(--edge); background: linear-gradient(90deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, .04) 100%); background-size: 200% 100%; animation: sk 1.3s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }

@media (max-width: 560px) {
  .top { padding-top: 10px; }
  .top-row { padding: 0 8px 0 12px; height: 58px; }
  .brand em, #ip-text { display: none; }
  .ip { padding: 10px; }
  .hero { padding-top: 44px; }
  .tabs { margin-bottom: 30px; }
  .drawer { top: 0; right: 0; bottom: 0; width: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bg i, .card::after, .hero { animation: none; transition: none; }
  .cat .card, .cat h2 { opacity: 1; transform: none; animation: none !important; transition: none; }
  .tab-pill, .cats { transition: none; }
}

/* ================= nawigacja ================= */
.top-row { gap: 18px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 99px; transition: color .25s, background .25s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav a.on { color: var(--text); background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }

/* ================= strona główna ================= */
.home-hero { text-align: center; padding: 70px 0 40px; animation: rise .9s var(--ease) both; }
.home-logo { width: 84px; height: 84px; image-rendering: pixelated; filter: drop-shadow(0 12px 30px rgba(255, 59, 48, .45)); margin-bottom: 10px; }
.home-hero h1 { font-size: clamp(52px, 10vw, 104px); margin: 0 0 12px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.home-hero h1 span { color: var(--red); }
.home-hero .lead { color: var(--muted); font-size: clamp(17px, 2vw, 21px); margin: 0 auto; max-width: 560px; line-height: 1.45; }
.home-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.ip-big { display: inline-flex; align-items: center; gap: 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: 14px 16px 14px 24px; font-size: 18px; font-weight: 700; color: #fff; background: linear-gradient(160deg, #ff5b51, #d91f17); box-shadow: 0 16px 36px -14px rgba(255, 59, 48, .85), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .25s var(--spring), filter .2s; }
.ip-big:hover { filter: brightness(1.08); }
.ip-big:active { transform: scale(.96); }
.ip-big em { font-style: normal; font-size: 13px; font-weight: 700; background: rgba(0, 0, 0, .22); border-radius: 99px; padding: 6px 12px; }
.online-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); background: var(--glass); border: 1px solid var(--edge); border-radius: 99px; padding: 12px 18px; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.online-pill b { color: var(--text); }

.big-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.big-card { position: relative; display: flex; align-items: flex-end; min-height: 460px; border-radius: 28px; overflow: hidden; text-decoration: none; isolation: isolate; border: 1px solid var(--edge); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .15); animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 150ms); transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.big-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; image-rendering: pixelated; transition: transform 1.2s var(--ease); }
.big-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(5, 3, 8, .55) 60%, rgba(5, 3, 8, .9)); }
.big-card:hover { translate: 0 -6px; box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.big-card:hover::before { transform: scale(1.06); }
.big-card-text { width: 100%; margin: 12px; padding: 20px 22px; border-radius: 20px; background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.big-card h2 { margin: 0 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.035em; }
.big-card p { margin: 0 0 14px; color: rgba(246, 242, 248, .78); font-size: 15px; line-height: 1.45; }
.big-card-go { display: inline-block; font-size: 14px; font-weight: 700; color: #111; background: rgba(255, 255, 255, .92); border-radius: 99px; padding: 8px 16px; transition: transform .25s var(--spring); }
.big-card:hover .big-card-go { transform: translateX(4px); }
.next-event { display: flex; justify-content: center; margin: 34px 0 10px; min-height: 60px; }
.next-pill { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; background: var(--glass); border: 1px solid var(--edge); border-radius: 99px; padding: 10px 20px 10px 10px; box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise .8s var(--ease) both; }
.next-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: color-mix(in srgb, var(--c) 30%, transparent); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.next-pill small { display: block; font-size: 12px; color: var(--muted); }
.next-pill b { font-size: 15px; }
.next-pill em { font-style: normal; font-weight: 700; color: var(--c); margin-left: 8px; }

/* ================= nagłówki podstron ================= */
.hero.small { padding: 64px 0 30px; }
.hero.small h1 { font-size: clamp(34px, 6vw, 60px); }
.center { text-align: center; }

/* ================= wydarzenia ================= */
.edition { max-width: 820px; margin: 0 auto 22px; }
.edition-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-radius: 22px; background: linear-gradient(145deg, rgba(255, 59, 48, .2), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 110, 100, .3); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise .7s var(--ease) both; }
.edition-card small { display: block; color: var(--muted); font-size: 13px; }
.edition-card b { font-size: 22px; letter-spacing: -.02em; }
.edition-side { text-align: right; }
.edition-side span { display: block; font-weight: 700; }
.ev-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.ev { display: flex; align-items: center; gap: 16px; padding: 16px 20px 16px 16px; border-radius: 20px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise .7s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.ev-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 40%, rgba(255, 255, 255, .1)), color-mix(in srgb, var(--c) 12%, transparent)); border: 1px solid rgba(255, 255, 255, .16); }
.ev-text { flex: 1; min-width: 0; }
.ev h3 { margin: 0 0 3px; font-size: 18px; letter-spacing: -.02em; }
.ev p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.ev-when { flex: none; text-align: right; font-size: 14px; color: var(--muted); }
.ev-when b { display: block; color: var(--text); font-size: 16px; }
.ev-when small { color: var(--faint); }
.ev-when.live { color: #7dffb0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.ev.always { background: linear-gradient(145deg, rgba(138, 77, 255, .14), rgba(255, 255, 255, .03)); }
.notice.blood { background: linear-gradient(145deg, rgba(200, 0, 0, .25), rgba(120, 0, 0, .1)); border-color: rgba(255, 60, 60, .35); color: #ffb3b3; max-width: none; }

/* ================= statystyki ================= */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 54px; }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { padding: 22px; border-radius: 22px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise .7s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.tile b { display: block; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.04em; }
.tile span { color: var(--muted); font-size: 14px; }
.skel.tile { height: 104px; padding: 0; }
.skel.short { height: 84px; }
.cat.seen .tabs { margin: 0 0 18px; }
.board { transition: opacity .18s var(--ease), transform .18s var(--ease), filter .18s var(--ease); }
.board.out { opacity: 0; transform: translateY(8px); filter: blur(3px); }
.top-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.top-list li { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); animation: rise .5s var(--ease) both; animation-delay: calc(var(--i) * 35ms); }
.top-list .place { width: 30px; text-align: center; font-weight: 800; color: var(--faint); }
.top-list .p1 { background: linear-gradient(90deg, rgba(255, 200, 60, .2), rgba(255, 255, 255, .04)); border-color: rgba(255, 210, 90, .35); }
.top-list .p2 { background: linear-gradient(90deg, rgba(210, 215, 230, .16), rgba(255, 255, 255, .04)); }
.top-list .p3 { background: linear-gradient(90deg, rgba(210, 130, 70, .18), rgba(255, 255, 255, .04)); }
.top-list .p1 .place { color: #ffd257; }
.top-list .p2 .place { color: #dfe3ee; }
.top-list .p3 .place { color: #e0995e; }
.top-list b { flex: 1; font-size: 15px; }
.top-list .val { font-weight: 700; }
.head { width: 32px; height: 32px; border-radius: 8px; image-rendering: pixelated; background: rgba(255, 255, 255, .08); }
.top-list .head { width: 36px; height: 36px; }
.head.big { width: 64px; height: 64px; border-radius: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.panel { padding: 22px; border-radius: 22px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.panel h3 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }
.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: r; }
.rank-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rank-list li::before { counter-increment: r; content: counter(r); width: 18px; color: var(--faint); font-weight: 700; }
.rank-list b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rank-list small { color: var(--muted); }
.tag { font-weight: 800; }
.gold { color: #ffd257 !important; font-weight: 700; }
.find-row { display: flex; gap: 10px; }
.find-row input { flex: 1; min-width: 0; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12); border-radius: 99px; padding: 12px 18px; color: var(--text); font: inherit; font-size: 16px; }
.find-row input:focus { outline: none; border-color: rgba(255, 98, 89, .7); box-shadow: 0 0 0 4px rgba(255, 59, 48, .15); }
.find-out { margin-top: 16px; }
.find-out:empty { display: none; }
.player { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; animation: rise .5s var(--ease) both; }
.player b { font-size: 22px; }
.player small { display: block; color: var(--muted); }
.player small.on { color: #7dffb0; }
.player-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.player-stats div { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); animation: rise .5s var(--ease) both; }
.player-stats b { display: block; font-size: 18px; }
.player-stats span { color: var(--muted); font-size: 13px; }
.player-stats small { float: right; color: var(--faint); font-weight: 700; }

@media (max-width: 900px) {
  .big-cards { grid-template-columns: 1fr; }
  .big-card { min-height: 300px; }
  .two { grid-template-columns: 1fr; }
}
.nav.tabbar { display: none; }
@media (max-width: 720px) {
  .top .nav { display: none; }
  .nav.tabbar { display: flex; position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 25; margin: 0; padding: 5px; background: var(--glass-strong); border: 1px solid var(--edge); border-radius: 99px; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
  .nav a { padding: 10px 16px; }
  .top-row { justify-content: space-between; }
  .foot { padding-bottom: 70px; }
  .ev { flex-wrap: wrap; }
  .ev-when { width: 100%; text-align: left; padding-left: 68px; }
  .edition-side { text-align: left; }
}

/* ================= miks ze starą stroną: śnieg, pasek, piksele, banner ================= */
:root { --pixel: "Silkscreen", "Inter", monospace; }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
.eyebrow, .chip, .pod-place, .poster-top, .hero-live, .ticker b, .rl-badge, .tower-steps b { font-family: var(--pixel); letter-spacing: .02em; }
.eyebrow { font-size: 13px; text-transform: uppercase; }
.pix { width: 30px; height: auto; image-rendering: pixelated; display: block; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .35)); }
.big-pix { width: 64px; margin: 0 auto 10px; }

/* pasek z informacjami */
.ticker { margin-top: 8px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 18px; width: max-content; padding: 7px 0; font-size: 12px; color: var(--muted); white-space: nowrap; animation: tick 50s linear infinite; }
.ticker-track b { color: var(--text); font-weight: 400; font-size: 11px; }
.ticker-track .sep { color: var(--red); opacity: .6; font-size: 8px; align-self: center; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* banner ze starej strony w szklanej ramce */
.home-hero { padding: 40px 0 34px; }
.banner-frame { position: relative; max-width: 860px; margin: 0 auto 22px; border-radius: 28px; overflow: hidden; border: 1px solid var(--edge); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .03), inset 0 1px 0 rgba(255, 255, 255, .2); }
.banner-frame img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.banner-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 30%, transparent 70%, rgba(0, 0, 0, .35)); pointer-events: none; }
.hero-live { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; padding: 8px 14px; border-radius: 99px; background: rgba(10, 6, 14, .55); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-glass { display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 99px; background: var(--glass); border: 1px solid var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transition: background .2s, transform .25s var(--spring); }
.btn-glass:hover { background: var(--glass-strong); }
.btn-glass:active { transform: scale(.96); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 860px; margin: 26px auto 0; }
.hero-stat { padding: 16px; border-radius: 20px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.hero-stat b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.hero-stat span { color: var(--muted); font-size: 13px; }
.hero-stat.hot b { color: var(--red2); }
.ip-big.small { font-size: 15px; padding: 13px 22px; }

/* sekcje strony głównej */
.block { margin-top: 90px; }
.sec-head { text-align: center; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(30px, 5vw, 48px); margin: 0 0 10px; font-weight: 700; letter-spacing: -.04em; }
.sec-head h2 span, .hero h1 span { color: var(--red); }
.sec-head .lead { color: var(--muted); margin: 0 auto; max-width: 560px; font-size: 17px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.feature { position: relative; padding: 20px; border-radius: 22px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); overflow: hidden; animation: rise .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms); transition: translate .4s var(--ease), border-color .3s; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 60% at 0% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 65%); pointer-events: none; }
.feature:hover { translate: 0 -3px; border-color: var(--edge-hi); }
.feature-top { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.feature .pix { width: 34px; }
.feature h3 { position: relative; margin: 0 0 6px; font-size: 18px; letter-spacing: -.02em; }
.feature p { position: relative; margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.chip { font-size: 11px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: var(--text); white-space: nowrap; }
.chip.now { background: rgba(61, 220, 132, .18); border-color: rgba(61, 220, 132, .45); color: #7dffb0; }
.online-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.online-list a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 14px; padding: 7px 14px 7px 7px; border-radius: 99px; background: var(--glass); border: 1px solid var(--edge); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transition: border-color .2s; }
.online-list a:hover { border-color: var(--edge-hi); }
.online-list img { width: 28px; height: 28px; border-radius: 50%; image-rendering: pixelated; }
.rl-badge { font-size: 9px; padding: 3px 6px; border-radius: 6px; background: var(--red); color: #fff; }
.cta { margin-top: 90px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px 34px; border-radius: 28px; background: linear-gradient(135deg, rgba(255, 59, 48, .28), rgba(91, 31, 184, .22)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.cta h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.03em; }
.cta p { margin: 0; color: rgba(246, 242, 248, .8); }

/* przełącznik w ramce (lochy, zasady) */
.seg { display: inline-flex; gap: 3px; padding: 4px; border-radius: 99px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 16px; flex-wrap: wrap; }
.seg button, .seg a { border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 99px; text-decoration: none; transition: background .25s, color .25s; }
.seg .on { background: rgba(255, 255, 255, .92); color: #111; }
.center-seg { display: flex; width: fit-content; margin: 0 auto 22px; }

/* lochy i wieża */
.dungeon-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; }
.tower-card { position: relative; padding: 28px; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, rgba(255, 176, 32, .18), rgba(138, 77, 255, .14) 60%, rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 210, 120, .25); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise .7s var(--ease) both; }
.tower-pix { position: absolute; right: 22px; top: 22px; width: 56px; opacity: .9; }
.tower-card h3 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.03em; }
.tower-steps { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.tower-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.tower-steps b { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); }
.realms { display: flex; flex-wrap: wrap; gap: 6px; }
.realm { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.tower-cmd { margin: 18px 0 0; color: var(--muted); }
code { font-family: var(--pixel); font-size: 13px; color: var(--text); background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; padding: 3px 8px; }
.weekly-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.weekly-head h3 { margin: 0; }
.realm-dot { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.top-list li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rewards-line { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.rewards-line b { color: #ffd257; }
.records { margin-top: 40px; }
.sub-title { font-size: 24px; letter-spacing: -.03em; margin: 0 0 16px; }
.records-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.record { padding: 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--edge); border-top: 3px solid var(--c); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise .7s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.record h4 { margin: 0 0 10px; color: var(--c); font-size: 15px; filter: brightness(1.2); }
.record .r { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 3px 0; }
.record .r b { color: var(--text); font-family: var(--pixel); font-weight: 400; }
.record .who { font-size: 12px; color: var(--faint); margin: -2px 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* podium w topce */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; margin-bottom: 14px; }
.pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; padding: 18px 14px 16px; border-radius: 24px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); transition: translate .35s var(--ease); }
.pod:hover { translate: 0 -4px; }
.pod img { height: 150px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); }
.pod.p1 { background: linear-gradient(180deg, rgba(255, 200, 60, .22), rgba(255, 255, 255, .04)); border-color: rgba(255, 210, 90, .4); padding-top: 26px; }
.pod.p1 img { height: 190px; }
.pod.p2 { background: linear-gradient(180deg, rgba(210, 215, 230, .16), rgba(255, 255, 255, .04)); }
.pod.p3 { background: linear-gradient(180deg, rgba(210, 130, 70, .18), rgba(255, 255, 255, .04)); }
.pod-place { position: absolute; top: 12px; left: 14px; font-size: 14px; color: var(--muted); }
.p1 .pod-place { color: #ffd257; }
.pod b { font-size: 16px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pod .val { font-weight: 700; color: var(--muted); font-size: 14px; }
.empty-pod { min-height: 120px; justify-content: center; opacity: .5; }
.top-list .who { flex: 1; font-weight: 700; text-decoration: none; }
.top-list .who:hover { text-decoration: underline; }

/* plakaty poszukiwanych */
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.poster { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; padding: 12px 10px; border-radius: 16px; background: linear-gradient(180deg, #e9d3a6, #c9a66b); color: #3b2410; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); transition: transform .3s var(--spring); }
.poster:hover { transform: rotate(-2deg) scale(1.03); }
.poster-top { font-size: 12px; color: #7a2410; }
.poster img { height: 90px; image-rendering: pixelated; }
.poster b { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.poster-cash { font-weight: 800; font-size: 15px; color: #1f6b2a; }

/* profil gracza */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 20px; margin: 56px 0; align-items: start; }
.profile-card { text-align: center; padding: 26px; border-radius: 28px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise .7s var(--ease) both; }
.profile-card img { height: 240px; image-rendering: pixelated; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .55)); }
.profile-card h1 { margin: 10px 0 4px; font-size: 28px; letter-spacing: -.03em; }
.state { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin: 10px 0 0; }
.state.on { color: #7dffb0; }
.profile .player-stats div { animation-delay: calc(var(--i) * 50ms); }
.profile .player-stats b { font-size: 22px; margin-top: 2px; }

@media (max-width: 900px) {
  .dungeon-grid, .profile { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav.tabbar a { padding: 9px 10px; font-size: 12px; }
  .ticker { display: none; }
  .podium { gap: 8px; }
  .pod img { height: 100px; }
  .pod.p1 img { height: 130px; }
  .posters { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* vouchery */
.v-row { display: flex; gap: 8px; }
.v-row input { flex: 1; min-width: 0; }
.v-btn { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: var(--text); font: inherit; font-weight: 700; font-size: 14px; border-radius: 14px; padding: 0 16px; cursor: pointer; white-space: nowrap; transition: background .2s, transform .15s; }
.v-btn:hover { background: rgba(255, 255, 255, .14); }
.v-btn:active { transform: scale(.97); }
.v-btn:disabled { opacity: .5; cursor: default; }
.v-btn.primary { background: linear-gradient(160deg, #ff5b51, #d91f17); border-color: rgba(255, 255, 255, .25); color: #fff; box-shadow: 0 12px 26px -12px rgba(255, 59, 48, .8), inset 0 1px 0 rgba(255, 255, 255, .3); padding: 13px 22px; }
.v-msg { font-size: 14px; margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.v-msg:empty { display: none; }
.v-msg.ok { color: #7dffb0; }
.v-msg.bad { color: #ff9a90; }
.v-msg.info { color: var(--text); }
.v-msg.info .v-btn { padding: 9px 14px; }
.v-disc { display: flex; justify-content: space-between; align-items: baseline; color: #7dffb0; font-size: 15px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.v-disc b { font-size: 18px; }
.v-disc[hidden], .v-msg[hidden] { display: none; }
.v-disc:not([hidden]) + .total { border-top: 0; padding-top: 8px; }
.voucher-card { margin: 56px auto 0; max-width: 860px; background: var(--glass); border: 1px solid var(--edge); border-radius: 26px; padding: 26px 28px; box-shadow: var(--shadow); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); display: grid; gap: 16px; }
.voucher-text { display: flex; gap: 16px; align-items: center; }
.voucher-ico { font-size: 34px; width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 59, 48, .14); border: 1px solid rgba(255, 98, 89, .3); }
.voucher-card h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.02em; }
.voucher-card p { margin: 0; font-size: 14.5px; }
.voucher-form { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 10px; }
.voucher-form input { width: 100%; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 13px 14px; color: var(--text); font: inherit; font-size: 16px; }
.voucher-form input:focus { outline: none; border-color: rgba(255, 98, 89, .7); box-shadow: 0 0 0 4px rgba(255, 59, 48, .15); }
@media (max-width: 640px) { .voucher-form { grid-template-columns: 1fr; } .voucher-card { padding: 22px 18px; } }

/* ---- koszyk v2 ---- */
.drawer { width: min(460px, calc(100% - 24px)); background: linear-gradient(165deg, rgba(46, 26, 40, .86), rgba(16, 10, 20, .9)); backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%); }
.drawer::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255, 59, 48, .28), transparent 65%); pointer-events: none; }
.drawer-head { position: relative; padding: 20px 22px 16px; }
.drawer-head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.cart-count-pill { font-size: 12px; font-weight: 800; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 99px; display: inline-grid; place-items: center; background: linear-gradient(160deg, #ff5b51, #d91f17); color: #fff; box-shadow: 0 6px 16px -6px rgba(255, 59, 48, .9); }
.cart-count-pill[hidden] { display: none; }
.drawer-body { padding: 0; gap: 0; overflow: hidden; position: relative; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 18px 18px; display: grid; gap: 10px; align-content: start; scrollbar-width: thin; }
.cart-items .line { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px; border-radius: 20px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--c) 16%, rgba(255, 255, 255, .03)), rgba(255, 255, 255, .03) 70%);
  border: 1px solid color-mix(in srgb, var(--c) 28%, rgba(255, 255, 255, .08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: lineIn .45s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes lineIn { from { opacity: 0; transform: translateX(18px); } }
.cart-items .line .ico { width: 52px; height: 52px; border-radius: 16px; }
.cart-items .line .ico svg { width: 26px; height: 26px; }
.cart-items .line-info { display: grid; gap: 3px; align-content: center; }
.cart-items .line-info b { font-size: 15.5px; letter-spacing: -.01em; }
.cart-items .line-info small { font-size: 12.5px; color: var(--faint); }
.cart-items .qty { width: fit-content; margin-top: 6px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .08); }
.cart-items .qty button { width: 26px; height: 26px; font-size: 15px; color: var(--text); cursor: pointer; }
.line-side { display: grid; justify-items: end; align-content: space-between; align-self: stretch; gap: 10px; }
.line-price { font-size: 16px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.line-x { width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); color: var(--faint); font-size: 11px; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.line-x:hover { background: rgba(255, 59, 48, .22); color: #fff; }
.cart-foot { position: relative; padding: 16px 18px 18px; display: grid; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .09); background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .28)); }
.cart-sum { display: grid; gap: 6px; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--muted); }
.sum-row[hidden] { display: none; }
.sum-row.disc { color: #7dffb0; }
.sum-row.disc b { font-size: 15px; }
.sum-row.total { color: var(--text); font-size: 15px; font-weight: 700; padding-top: 6px; }
.sum-row.total b { font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
.cart-link { justify-self: start; background: none; border: 0; padding: 0; color: var(--red2); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.cart-link:hover { text-decoration: underline; }
.cart-link[hidden], .cart-code[hidden] { display: none; }
.cart-code input, .cart-nick input { width: 100%; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 14px; color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.cart-code input:focus, .cart-nick input:focus { outline: none; border-color: rgba(255, 98, 89, .7); box-shadow: 0 0 0 4px rgba(255, 59, 48, .15); }
.cart-code .v-msg { margin-top: 6px; font-size: 13px; }
.cart-nick { display: flex; gap: 12px; align-items: flex-end; }
.cart-avatar { width: 46px; height: 46px; border-radius: 12px; flex: none; image-rendering: pixelated; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .8); }
.cart-nick-field { flex: 1; min-width: 0; }
.cart-nick-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.cart-hint { margin: -4px 0 0; font-size: 12px; color: var(--faint); }
.cart-terms { font-size: 12.5px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.cart-terms.shake { animation: shake .4s; border-color: rgba(255, 90, 80, .5); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.cart-pay { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; font-size: 16.5px; }
.cart-pay i { display: grid; width: 18px; height: 18px; }
.cart-pay i svg { width: 18px; height: 18px; }
.pay-methods { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--faint); }
.pay-methods .pm-lock { display: grid; width: 13px; height: 13px; }
.pay-methods .pm-lock svg { width: 13px; height: 13px; }
.pay-methods em { font-style: normal; font-weight: 700; font-size: 11px; color: var(--muted); padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 30px 28px; }
.cart-empty-ico { width: 96px; height: 96px; border-radius: 30px; display: grid; place-items: center; color: var(--red2); background: radial-gradient(circle at 30% 25%, rgba(255, 98, 89, .3), rgba(255, 59, 48, .08)); border: 1px solid rgba(255, 98, 89, .3); box-shadow: 0 20px 40px -18px rgba(255, 59, 48, .7); margin-bottom: 8px; animation: float 4s ease-in-out infinite; }
.cart-empty-ico svg { width: 46px; height: 46px; }
@keyframes float { 50% { transform: translateY(-6px); } }
.cart-empty h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.cart-empty p { margin: 0 0 10px; max-width: 280px; font-size: 14px; line-height: 1.5; }
.cart-empty .pay { padding: 13px 28px; }
@media (max-height: 760px), (max-width: 560px) {
  .drawer-body { overflow-y: auto; }
  .cart-items { flex: none; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) { .cart-items .line, .cart-empty-ico { animation: none; } }

/* ---------- odliczanie do otwarcia ---------- */
body.locked { overflow: hidden; }
body.locked > header, body.locked > main, body.locked > footer, body.locked > .tabbar { filter: blur(14px) brightness(.45); pointer-events: none; user-select: none; }
.launch { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; overflow: auto;
  background: radial-gradient(1200px 700px at 50% 35%, rgba(255, 59, 48, .20), transparent 60%), rgba(5, 4, 6, .72);
  animation: launch-in .7s var(--ease) both; }
.launch-glow { position: absolute; inset: auto; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px);
  background: conic-gradient(from 0deg, #ff3b30, #ff8a3d, #ff2d55, #ff3b30); opacity: .22; animation: launch-spin 14s linear infinite; pointer-events: none; }
.launch-in { position: relative; text-align: center; max-width: 920px; width: 100%; }
.launch-logo { width: 84px; height: 84px; image-rendering: pixelated; filter: drop-shadow(0 10px 30px rgba(255, 59, 48, .55)); animation: launch-bob 3.2s ease-in-out infinite; }
.launch-brand { font-family: var(--pixel); font-size: clamp(34px, 6vw, 58px); font-weight: 700; letter-spacing: .04em; margin-top: 6px; }
.launch-brand span { color: var(--red); }
.launch-kicker { margin: 18px 0 22px; font-family: var(--pixel); letter-spacing: .32em; font-size: clamp(13px, 1.8vw, 17px); color: var(--red2); }
.launch-clock { display: flex; justify-content: center; gap: clamp(8px, 2vw, 22px); }
.launch-cell { background: var(--glass-strong); border: 1px solid var(--edge); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); padding: clamp(14px, 2.4vw, 26px) clamp(10px, 2.2vw, 28px) clamp(10px, 1.6vw, 16px); min-width: clamp(70px, 17vw, 170px); }
.launch-cell b { display: block; font-family: var(--pixel); font-weight: 700; font-size: clamp(42px, 10vw, 112px); line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #ffb3ad); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 40px rgba(255, 59, 48, .35); }
.launch-cell b.flip { animation: launch-flip .45s var(--spring); }
.launch-cell small { display: block; margin-top: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: clamp(10px, 1.3vw, 13px); }
.launch-when { margin-top: 26px; font-weight: 700; font-size: clamp(16px, 2.2vw, 22px); }
.launch-sub { color: var(--muted); margin: 8px 0 26px; }
.launch-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.launch-ip { display: grid; gap: 2px; padding: 12px 22px; border-radius: 16px; border: 1px solid var(--edge-hi); background: var(--glass); color: var(--text); cursor: pointer; font: inherit; transition: transform .2s var(--spring); }
.launch-ip:hover { transform: translateY(-2px) scale(1.02); }
.launch-ip small { color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.launch-ip b { font-family: var(--pixel); font-size: 20px; color: var(--red2); }
.launch-ip i { font-style: normal; font-size: 12px; color: var(--muted); }
.launch-dc { display: grid; place-items: center; padding: 12px 24px; border-radius: 16px; background: #5865f2; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 34px -12px rgba(88, 101, 242, .7); transition: transform .2s var(--spring); }
.launch-dc:hover { transform: translateY(-2px) scale(1.02); }
.launch.opening { animation: launch-out 1.4s var(--ease) both; }
.launch.opening .launch-kicker { font-size: clamp(20px, 3vw, 30px); color: #fff; }
.launch-prev { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 210; padding: 9px 16px; border-radius: 999px;
  background: rgba(20, 14, 22, .92); border: 1px solid var(--edge-hi); font-size: 13px; color: var(--muted); box-shadow: var(--shadow); }
.launch-prev button { background: none; border: 0; color: var(--red2); font: inherit; font-weight: 700; cursor: pointer; }
@keyframes launch-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes launch-out { 0% { opacity: 1; transform: scale(1); } 40% { opacity: 1; transform: scale(1.04); } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes launch-flip { 0% { transform: translateY(-14px) scale(.9); opacity: .2; } 100% { transform: none; opacity: 1; } }
@keyframes launch-spin { to { transform: rotate(360deg); } }
@keyframes launch-bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .launch, .launch-glow, .launch-logo, .launch-cell b.flip { animation: none; } }
@media (max-width: 520px) { .launch { padding: 16px 12px; } .launch-clock { gap: 6px; } .launch-cell { min-width: 0; flex: 1 1 0; padding: 12px 2px 8px; border-radius: 14px; } .launch-cell b { font-size: 34px; } .launch-cell small { letter-spacing: .08em; } }
