/* ==========================================================================
   Impreza Zamknięta – style strony
   Świat z brandbooka: ciemne pole rozmytych kształtów z imprez, neonowa
   ramka, Michroma małymi literami, ostre prostokąty i czteroramienne gwiazdki.
   Kolory: dym #C4CACA · woda #0A5ABC · ogień #A84D36 · laser #FFF948.
   ========================================================================== */

@font-face {
  font-family: "Michroma";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/michroma.3b451fcd539a.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.589f7bc0fac4.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.de2f1fe81758.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* marka */
  --dym: #c4caca;
  --woda: #0a5abc;
  --ogien: #a84d36;
  --laser: #fff948;

  /* pole i powierzchnie */
  --ink: #0a0b0b;
  --ink-2: #0f1111;
  --ink-3: #151818;
  --ink-4: #1c2020;
  --line: rgba(196, 202, 202, 0.12);
  --line-2: rgba(196, 202, 202, 0.24);
  --line-3: rgba(196, 202, 202, 0.42);

  /* tekst */
  --text: var(--dym);
  --text-hi: #eef1f1;
  --muted: #8e9595;
  --dim: #767d7d;

  /* akcent i stany */
  --accent: var(--laser);
  --accent-soft: rgba(255, 249, 72, 0.1);
  --accent-glow: rgba(255, 249, 72, 0.42);
  --fire-hi: #e07a5e;
  --fire-soft: rgba(168, 77, 54, 0.2);
  --ok: var(--laser);
  --ok-soft: rgba(255, 249, 72, 0.1);
  --warn: var(--fire-hi);
  --warn-soft: rgba(168, 77, 54, 0.22);
  --err: #ff7a5c;
  --err-soft: rgba(255, 122, 92, 0.12);

  /* papier (jasny układ z brandbooka) */
  --paper: #ffffff;
  --paper-ink: var(--woda);

  --font-ui: "Michroma", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Archivo Variable", "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 0px;
  --header-h: 76px;
  --demo-h: 0px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: var(--ease-out);

  /* neonowa ramka – siła świecenia */
  --neon: 1;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--demo-h) + 16px);
  scrollbar-color: var(--ink-4) var(--ink);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--laser); color: var(--ink); }
:focus-visible { outline: 1px solid var(--laser); outline-offset: 3px; box-shadow: 0 0 14px -2px var(--accent-glow); }
input, textarea { caret-color: var(--laser); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #2a3030; }

.ic { display: inline-block; vertical-align: -0.14em; width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }
.ic-star { width: 0.8em; height: 0.8em; vertical-align: 0; }
.ic-stars { width: 1.72em; height: 1em; vertical-align: -0.12em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--laser); color: var(--ink); font-family: var(--font-ui); font-size: 12px; transition: top 0.2s var(--ease-out); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 860px; }

/* ---------- typografia ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-ui); font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; color: var(--text-hi); text-wrap: balance; }
.display {
  font-family: var(--font-ui);
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--dym);
}
.h-section {
  font-size: clamp(26px, 3.4vw, 44px);
  text-transform: lowercase;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--dym);
}
.ui { font-family: var(--font-ui); }
.label {
  font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.04em; text-transform: lowercase; color: var(--muted); line-height: 1.4;
}
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.accent { color: var(--laser); }
.upper { font-family: var(--font-ui); font-size: 0.86em; letter-spacing: 0.02em; }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.mono { font-family: var(--font-ui); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; font-size: 0.9em; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.6; }
.prose { color: #b9c0c0; font-size: 16.5px; line-height: 1.75; max-width: 70ch; }
.prose p { margin: 0 0 1.05em; }
.prose h2 { font-size: 20px; text-transform: lowercase; margin: 2.2em 0 0.8em; color: var(--dym); }
.prose h3 { font-size: 15px; margin: 1.8em 0 0.6em; text-transform: lowercase; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--dim); font-family: var(--font-ui); font-size: 0.8em; }
.prose a { color: var(--text-hi); text-decoration: underline; text-decoration-color: var(--laser); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose a:hover { color: var(--laser); }
.pre-line { white-space: pre-line; }
.stars { display: inline-flex; color: var(--laser); }

/* ---------- neonowa ramka (element każdego formatu) ---------- */
.neon-frame {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 249, 72, calc(0.2 * var(--neon))),
    inset 0 0 24px rgba(255, 249, 72, calc(0.14 * var(--neon))),
    inset 0 0 80px rgba(255, 249, 72, calc(0.06 * var(--neon)));
  transition: opacity 0.8s var(--ease-out);
}
html[data-neon="calm"] .neon-frame { opacity: 0.55; }
.neon-frame.is-igniting { animation: ignite 1.1s linear both; }
@keyframes ignite {
  0% { opacity: 0; }
  8% { opacity: 0.8; }
  12% { opacity: 0.1; }
  22% { opacity: 0.9; }
  26% { opacity: 0.25; }
  40% { opacity: 1; }
  46% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* ---------- przyciski ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text-hi);
  --btn-border: var(--line-2);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-border); border-radius: var(--r);
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 400; letter-spacing: 0.02em; text-transform: lowercase; line-height: 1;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.12s var(--ease-out), color 0.2s var(--ease-out);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); transition-duration: 0.1s; }
.btn .ic { font-size: 16px; }
.btn-primary { --btn-bg: var(--laser); --btn-fg: var(--ink); --btn-border: var(--laser); }
.btn-primary:active { box-shadow: 0 0 0 1px var(--laser), 0 0 28px -4px var(--accent-glow); }
.btn-outline { --btn-bg: rgba(10, 11, 11, 0.35); --btn-border: var(--line-2); }
.btn-ghost { --btn-bg: transparent; --btn-border: transparent; --btn-fg: var(--muted); padding: 0 10px; }
.btn-white { --btn-bg: var(--dym); --btn-fg: var(--ink); --btn-border: var(--dym); }
.btn-danger { --btn-fg: var(--err); --btn-border: rgba(255, 122, 92, 0.4); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-border: var(--line-3); }
  .btn-primary:hover { --btn-border: var(--laser); box-shadow: 0 0 0 1px var(--laser), 0 6px 24px -6px rgba(255, 249, 72, 0.55), 0 0 60px -12px var(--accent-glow); }
  .btn-outline:hover { --btn-border: var(--dym); --btn-fg: #fff; }
  .btn-ghost:hover { --btn-fg: var(--text-hi); --btn-border: transparent; }
  .btn-white:hover { --btn-bg: #fff; --btn-border: #fff; }
  .btn-danger:hover { --btn-border: var(--err); }
}
.btn-block { width: 100%; }
.btn-lg { min-height: 58px; font-size: 13.5px; padding: 0 34px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 11.5px; gap: 8px; }
.btn[disabled], .btn.is-disabled { opacity: 0.35; pointer-events: none; }
.btn-primary[disabled], .btn-primary.is-disabled { opacity: 1; --btn-bg: transparent; --btn-border: rgba(255, 249, 72, 0.28); --btn-fg: rgba(255, 249, 72, 0.5); }
.btn-wallet {
  --btn-bg: #000; --btn-fg: #fff; --btn-border: #3a3a3a;
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 600; border-radius: 10px;
}
.btn-wallet:hover { --btn-border: #fff; }
.btn-wallet .ic { font-size: 22px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.02em; text-transform: lowercase; color: var(--text-hi);
  padding: 6px 0; border-bottom: 1px solid var(--line-2);
  transition: gap 0.25s var(--ease-out), color 0.2s, border-color 0.2s;
}
.link-arrow .ic { font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { gap: 14px; color: var(--laser); border-color: var(--laser); } }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 9px 5px; border-radius: 0;
  background: rgba(10, 11, 11, 0.78); color: var(--text-hi); border: 1px solid var(--line-2);
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.03em; text-transform: lowercase; line-height: 1; white-space: nowrap;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pill-dark { background: rgba(10, 11, 11, 0.78); }
.pill-outline { background: transparent; border-color: rgba(255, 249, 72, 0.6); color: var(--laser); }
.pill-ok { background: var(--ok-soft); border-color: rgba(255, 249, 72, 0.35); color: var(--laser); }
.pill-warn { background: var(--warn-soft); border-color: rgba(224, 122, 94, 0.45); color: var(--fire-hi); }
.pill-err { background: var(--err-soft); border-color: rgba(255, 122, 92, 0.4); color: var(--err); }
.pill-mute { background: var(--ink-3); border-color: var(--line); color: var(--muted); }

/* ---------- nagłówek ---------- */
.site-header {
  position: fixed; top: var(--demo-h); left: 0; right: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.35s var(--ease-out), -webkit-backdrop-filter 0.35s, backdrop-filter 0.35s;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 24px; pointer-events: none;
  background: linear-gradient(rgba(10, 11, 11, 0.7), rgba(10, 11, 11, 0));
  opacity: 0; transition: opacity 0.35s var(--ease-out);
}
.site-header.is-solid, body:not(.has-hero) .site-header {
  background: rgba(10, 11, 11, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}
.site-header.is-solid::after, body:not(.has-hero) .site-header::after { opacity: 1; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; flex: none; color: var(--dym); transition: color 0.2s; }
.logo .logo-svg { height: 30px; width: auto; }
@media (hover: hover) and (pointer: fine) { .logo:hover { color: #fff; } }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.main-nav a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 0;
  font-family: var(--font-ui); font-size: 11.5px; letter-spacing: 0.03em; color: var(--muted);
  transition: color 0.2s var(--ease-out);
}
.main-nav a::before {
  content: ""; width: 9px; height: 9px; flex: none; margin-left: -17px;
  background: var(--laser);
  -webkit-mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat;
  opacity: 0; transform: scale(0.4) rotate(-45deg); transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}
.main-nav a.is-active { color: var(--text-hi); }
.main-nav a.is-active::before { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .main-nav a:hover { color: var(--text-hi); } }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-2); border-radius: 0; background: rgba(10, 11, 11, 0.3); color: var(--dym);
  font-size: 18px; transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.12s var(--ease-out);
}
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { border-color: var(--dym); color: #fff; } }
.header-cta { min-height: 42px; }
.menu-toggle { display: none; }
.burger { position: relative; width: 18px; height: 10px; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 8.5px; }
.nav-open .burger i:first-child { top: 4.25px; transform: rotate(45deg); }
.nav-open .burger i:last-child { top: 4.25px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .main-nav a { font-size: 10.5px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .main-nav, .header-actions .desktop-only { display: none; }
  .logo .logo-svg { height: 25px; }
  .menu-toggle { display: inline-grid; }
  .mobile-nav {
    position: fixed; inset: calc(var(--header-h) + var(--demo-h)) 0 0; z-index: 49;
    display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
    padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: rgba(10, 11, 11, 0.9);
    -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease-out), visibility 0.25s;
    overflow-y: auto;
  }
  .nav-open .mobile-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .mobile-nav a.nav-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-ui); font-size: clamp(20px, 6vw, 26px); letter-spacing: -0.03em; color: var(--dym);
    opacity: 0; transform: translateY(10px); filter: blur(6px);
    transition: opacity 0.3s var(--ease-out), transform 0.4s var(--ease-out), filter 0.4s var(--ease-out), color 0.2s;
  }
  .nav-open .mobile-nav a.nav-link { opacity: 1; transform: none; filter: none; }
  .nav-open .mobile-nav a.nav-link:nth-child(2) { transition-delay: 30ms; }
  .nav-open .mobile-nav a.nav-link:nth-child(3) { transition-delay: 60ms; }
  .nav-open .mobile-nav a.nav-link:nth-child(4) { transition-delay: 90ms; }
  .nav-open .mobile-nav a.nav-link:nth-child(5) { transition-delay: 120ms; }
  .nav-open .mobile-nav a.nav-link:nth-child(6) { transition-delay: 150ms; }
  .nav-open .mobile-nav a.nav-link:nth-child(7) { transition-delay: 180ms; }
  .nav-open .mobile-nav a.nav-link:nth-child(8) { transition-delay: 210ms; }
  .nav-open .mobile-nav a.nav-link:nth-child(9) { transition-delay: 240ms; }
  .mobile-nav a.nav-link.is-active { color: var(--laser); }
}
@media (max-width: 420px) {
  .header-cta { display: none; }
}

main { min-height: 60vh; }
body:not(.has-hero) main { padding-top: calc(var(--header-h) + var(--demo-h)); }

/* ---------- komunikaty ---------- */
.messages { position: fixed; top: calc(var(--header-h) + var(--demo-h) + 12px); right: 16px; left: 16px; z-index: 60; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.message {
  pointer-events: auto; max-width: 440px; width: 100%;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 16px; border-radius: 0;
  background: rgba(21, 24, 24, 0.92); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px -14px rgba(0, 0, 0, 0.8);
  font-size: 14.5px; line-height: 1.45; color: var(--text-hi);
  animation: msg-in 0.35s var(--ease-out) both;
}
.message::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 4px; background: var(--dym); -webkit-mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; }
.message.success::before { background: var(--laser); }
.message.error::before { background: var(--err); }
.message.warning::before { background: var(--fire-hi); }
.message button { margin-left: auto; background: none; border: 0; color: var(--muted); padding: 0 0 0 8px; font-size: 20px; line-height: 1; }
.message.is-leaving { animation: msg-out 0.25s var(--ease-out) forwards; }
@keyframes msg-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes msg-out { to { opacity: 0; transform: translateY(-8px); } }

/* ---------- powidok (rozmyte zdjęcie z imprezy jako tło) ---------- */
.afterimage { position: absolute; inset: 0; overflow: hidden; background: var(--ink); z-index: -1; }
.afterimage img, .afterimage picture { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.afterimage .slide { opacity: 0; transform: scale(1.04); transition: opacity 2.4s var(--ease-in-out), transform 9s linear; }
.afterimage .slide.is-on { opacity: 1; transform: scale(1); }

/* ---------- HERO (plakat najbliższej imprezy) ---------- */
.hero {
  position: relative; min-height: 100svh; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + var(--demo-h) + 40px) 0 clamp(28px, 4vw, 44px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 11, 11, 0.55) 0%, rgba(10, 11, 11, 0) 26%, rgba(10, 11, 11, 0) 50%, rgba(10, 11, 11, 0.72) 88%, var(--ink) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 249, 72, 0.35),
    inset 0 0 60px rgba(255, 249, 72, 0.3),
    inset 0 0 180px 20px rgba(255, 249, 72, 0.14);
}
.hero > .container { position: relative; z-index: 1; }
.hero-poster { display: grid; gap: clamp(22px, 3vw, 34px); }
.hero-title {
  font-size: clamp(40px, 6vw, 96px);
  max-width: 15ch;
  color: var(--dym);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}
.hero-title .ln { display: block; }
.hero-when {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px;
  font-family: var(--font-ui); font-size: clamp(16px, 2.1vw, 28px); letter-spacing: -0.02em; color: var(--dym); line-height: 1.2;
}
.hero-when .tagline { font-family: var(--font-text); font-size: clamp(15px, 1.35vw, 18px); letter-spacing: 0; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.hero-actions .btn-primary { min-width: 260px; justify-content: space-between; }
.hero-actions .btn-primary .price { opacity: 0.72; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(28px, 6vh, 64px); padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.03em; color: var(--muted);
}
.hero-foot .stars { font-size: 15px; margin-right: 12px; vertical-align: -2px; }
.hero-count { margin-left: auto; display: flex; align-items: baseline; gap: 14px; font-variant-numeric: tabular-nums; }
.hero-count b { font-weight: 400; font-size: 18px; color: var(--text-hi); letter-spacing: 0; }
.hero-count span { margin-left: 3px; }
.hero-empty .hero-title { max-width: 12ch; }
.hero-date { color: var(--text-hi); font-variant-numeric: tabular-nums; }

/* wejście – ostrość jak w aparacie szukającym ostrości w ciemnym klubie */
.js .focus-in { opacity: 0; filter: blur(14px); transform: translateY(0.18em); }
.js .is-ready .focus-in { opacity: 1; filter: blur(0); transform: none; transition: opacity 0.9s var(--ease-out), filter 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
.js .hero .afterimage { opacity: 0; transform: scale(1.06); }
.js .hero.is-ready .afterimage { opacity: 1; transform: none; transition: opacity 1.6s var(--ease-out), transform 2.6s var(--ease-out); }

/* ---------- sekcje ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head p { margin: 16px 0 0; color: var(--muted); max-width: 52ch; }
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 9vw, 120px) 0 clamp(32px, 4.5vw, 56px);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 11, 11, 0.15), rgba(10, 11, 11, 0.5) 55%, var(--ink)), url("../img/brand/afterimage-4.2c52bf7db2a7.webp") center 40% / cover;
}
.page-head.ai-5::before { background-image: linear-gradient(180deg, rgba(10, 11, 11, 0.15), rgba(10, 11, 11, 0.5) 55%, var(--ink)), url("../img/brand/afterimage-5.762ba86bee80.webp"); }
.page-head.ai-6::before { background-image: linear-gradient(180deg, rgba(10, 11, 11, 0.15), rgba(10, 11, 11, 0.5) 55%, var(--ink)), url("../img/brand/afterimage-6.f9f16588dae7.webp"); }
.page-head.ai-2::before { background-image: linear-gradient(180deg, rgba(10, 11, 11, 0.15), rgba(10, 11, 11, 0.5) 55%, var(--ink)), url("../img/brand/afterimage-2.4a382c5d20ff.webp"); }
.page-head.plain::before { background: radial-gradient(ellipse 70% 120% at 80% -10%, rgba(168, 77, 54, 0.16), transparent 60%); }
/* pole gwiazdek z brandbooka (układ ciemny): sygnet jako cichy znak wodny za tytułem */
.page-head.plain::after { content: ""; position: absolute; z-index: -1; right: max(var(--gutter), calc(50% - 600px)); top: 50%; width: min(46vw, 560px); aspect-ratio: 810 / 598; transform: translateY(-46%); background: url("../img/sygnet.c59f96d0b649.svg") center / contain no-repeat; opacity: 0.045; pointer-events: none; }
.page-head .head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(38px, 6.4vw, 92px); }
.page-head p { margin: 20px 0 0; color: var(--muted); font-size: 17px; max-width: 58ch; }
.page-head.compact { padding-bottom: 24px; }
.page-head.compact h1 { font-size: clamp(30px, 4.4vw, 60px); }
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.03em; text-transform: lowercase; color: var(--dim); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumbs a { transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--text-hi); }
.breadcrumbs .accent { color: var(--dym); }

/* ---------- program (lista dat) ---------- */
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; margin-bottom: 24px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 0; background: transparent;
  font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.02em; text-transform: lowercase; color: var(--muted);
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--dym); color: var(--text-hi); } }
.chip.is-active { background: var(--laser); border-color: var(--laser); color: var(--ink); }
.chip .n { font-size: 10px; color: var(--dim); font-variant-numeric: tabular-nums; }
.chip.is-active .n { color: rgba(10, 11, 11, 0.6); }

.agenda { border-top: 1px solid var(--line); }
.agenda-row {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 132px 150px minmax(0, 1fr) auto 44px; gap: 28px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease-out);
}
.agenda-row.is-hidden { display: none; }
.agenda-date { font-family: var(--font-ui); line-height: 1.1; }
.agenda-date b { display: block; font-weight: 400; font-size: 30px; letter-spacing: -0.04em; color: var(--text-hi); font-variant-numeric: tabular-nums; }
.agenda-date span { display: block; margin-top: 8px; font-size: 10.5px; letter-spacing: 0.03em; color: var(--muted); }
.agenda-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.agenda-thumb img, .agenda-thumb .poster-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.agenda-thumb::after, .event-card-media::after, .photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(196, 202, 202, 0.1);
  transition: box-shadow 0.4s var(--ease-out);
}
.agenda-title { font-family: var(--font-ui); font-size: clamp(16px, 1.55vw, 21px); letter-spacing: -0.025em; line-height: 1.2; text-transform: lowercase; color: var(--dym); transition: color 0.25s var(--ease-out); }
.agenda-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.agenda-meta { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.agenda-meta .sep { color: var(--dim); margin: 0 6px; }
.agenda-price { font-family: var(--font-ui); font-size: 13px; color: var(--text-hi); white-space: nowrap; text-align: right; }
.agenda-price small { display: block; font-size: 10px; color: var(--dim); margin-bottom: 4px; }
.agenda-price.is-off { color: var(--fire-hi); }
.agenda-go { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); color: var(--dym); transition: background-color 0.25s var(--ease-out), border-color 0.25s, color 0.25s; }
.agenda-go .ic { font-size: 16px; }
@media (hover: hover) and (pointer: fine) {
  .agenda-row:hover .agenda-title { color: #fff; }
  .agenda-row:hover .agenda-thumb img { transform: scale(1.04); }
  .agenda-row:hover .agenda-thumb::after { box-shadow: inset 0 0 0 1px rgba(255, 249, 72, 0.75), inset 0 0 28px rgba(255, 249, 72, 0.3); }
  .agenda-row:hover .agenda-go { background: var(--laser); border-color: var(--laser); color: var(--ink); }
  /* wyprzedane: ramka w kolorze „ogień” zamiast lasera */
  .agenda-row.is-soldout:hover .agenda-thumb::after, .event-card.is-soldout:hover .event-card-media::after { box-shadow: inset 0 0 0 1px rgba(224, 122, 94, 0.8), inset 0 0 40px rgba(168, 77, 54, 0.45); }
  .agenda-row.is-soldout:hover .agenda-go { background: var(--ogien); border-color: var(--ogien); color: #fff; }
}
@media (max-width: 900px) {
  .agenda-row { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; }
  .agenda-thumb, .agenda-go { display: none; }
  .agenda-date b { font-size: 24px; }
}
@media (max-width: 520px) {
  .agenda-row { grid-template-columns: 74px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
  .agenda-date { padding-top: 3px; }
  .agenda-date b { font-size: 19px; }
  .agenda-date span { font-size: 9.5px; }
  .agenda-price { grid-column: 2; text-align: left; margin-top: 8px; }
  .agenda-price small { display: inline; margin: 0 4px 0 0; }
}

/* ---------- zdjęcia – ostrość po najechaniu ---------- */
.photos {
  --ph: clamp(340px, 36vw, 520px);
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-right: calc(50% - 50vw); padding-right: var(--gutter);
  scroll-padding-left: 0;
}
.photos::-webkit-scrollbar { display: none; }
.photo { position: relative; flex: none; margin: 0; height: var(--ph); aspect-ratio: 2 / 3; overflow: hidden; scroll-snap-align: start; background: var(--ink-3); }
.photo.wide { aspect-ratio: 3 / 2; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .sharp { opacity: 0; transform: scale(1.035); filter: blur(6px); transition: opacity 0.7s var(--ease-out), transform 1.1s var(--ease-out), filter 0.9s var(--ease-out); }
.photo.is-focused .sharp { opacity: 0.65; transform: none; filter: blur(1.8px); }
@media (hover: hover) and (pointer: fine) {
  .photo:hover .sharp { opacity: 0.65; transform: none; filter: blur(1.8px); }
  .photo:hover::after { box-shadow: inset 0 0 0 1px rgba(255, 249, 72, 0.6), inset 0 0 40px rgba(255, 249, 72, 0.22); }
}
@media (max-width: 700px) { .photos { --ph: min(62svh, 460px); gap: 8px; } }

/* ---------- papier: jasny układ z brandbooka ---------- */
.paper {
  position: relative; isolation: isolate;
  background: var(--paper); color: var(--paper-ink);
  --muted: #3b6fae; --dim: #5a86be; --line: rgba(10, 90, 188, 0.18); --line-2: rgba(10, 90, 188, 0.32);
  color-scheme: light;
}
.paper::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  box-shadow: inset 0 0 70px 6px rgba(255, 249, 72, 0.95), inset 0 0 220px 40px rgba(255, 249, 72, 0.55);
}
.paper h2, .paper h3, .paper .h-section { color: var(--woda); }
.paper ::selection { background: var(--woda); color: #fff; }
.paper .pay-badge { color: var(--woda); border-color: rgba(10, 90, 188, 0.3); }

/* ---------- opinie ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; }
.quote p { margin: 0 0 26px; font-size: 18px; color: var(--dym); line-height: 1.6; }
.quote cite { margin-top: auto; font-style: normal; display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.02em; text-transform: lowercase; color: var(--muted); }
.quote cite .ic { color: var(--laser); }

/* ---------- newsletter ---------- */
.newsletter {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 56px; align-items: end;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255, 249, 72, 0.45);
  box-shadow: inset 0 0 40px rgba(255, 249, 72, 0.1), 0 0 60px -30px var(--accent-glow);
}
.newsletter h2 { font-size: clamp(24px, 3vw, 40px); text-transform: lowercase; letter-spacing: -0.035em; color: var(--dym); }
.newsletter p { margin: 16px 0 0; color: var(--muted); max-width: 46ch; }
.newsletter .perks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.newsletter .perks li { display: flex; gap: 12px; }
.newsletter .perks li::before { content: "→"; color: var(--laser); }
.inline-form { display: flex; gap: 0; }
.inline-form .input { flex: 1; min-width: 0; border-right: 0; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .inline-form { flex-direction: column; gap: 8px; } .inline-form .input { border-right: 1px solid var(--line-2); } }

/* ---------- stopka ----------
   Trzy piętra i nic więcej: pożegnanie z datą najbliższej nocy, rząd linków,
   dokumenty z copyrightem. Na dole powidok logo – rozmyty, ledwo widoczny. */
.site-footer {
  position: relative; overflow: hidden;
  padding-top: clamp(48px, 6vw, 88px);
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-next { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.footer-bye { font-size: clamp(30px, 4.4vw, 60px); letter-spacing: -0.035em; line-height: 1; text-transform: lowercase; color: var(--dym); }
.footer-bye a { transition: color 0.3s var(--ease-out); }
.footer-date { color: var(--text-hi); transition: color 0.3s var(--ease-out), text-shadow 0.4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .footer-bye a:hover { color: var(--text-hi); }
  .footer-bye a:hover .footer-date { color: var(--laser); text-shadow: 0 0 40px rgba(255, 249, 72, 0.35); }
}
.footer-next-meta { margin: 14px 0 0; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0; color: var(--muted); }

.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 26px 0 18px; border-top: 1px solid var(--line); }
/* kasa i panel nie mają pożegnania – wtedy wystarczy linia samej stopki */
.footer-bar:first-child { padding-top: 0; border-top: 0; }
.footer-links, .footer-docs { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.footer-links a { position: relative; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.01em; color: var(--dym); transition: color 0.2s var(--ease-out); }
/* gwiazdka zapala się obok linku – transform, bez przeliczania układu */
.footer-links a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 8px; height: 8px; background: var(--laser); -webkit-mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; transform: translateY(-50%) scale(0) rotate(-45deg); transition: transform 0.3s var(--ease-out); }
.footer-docs a, .footer-docs button { color: var(--muted); transition: color 0.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover, .footer-docs a:hover, .footer-docs button:hover { color: var(--text-hi); }
  .footer-links a:hover::before { transform: translateY(-50%) scale(1); }
}
.socials { display: flex; gap: 6px; }

.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; font-size: 12.5px; color: var(--muted); }
.footer-legal p { margin: 0; }
.footer-copy { margin-left: auto !important; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.03em; color: var(--dym); }
.footer-copy .ic-stars { font-size: 14px; }

/* logo na całą szerokość jako powidok – rozmyte i ledwo widoczne */
.footer-mark { margin-top: clamp(40px, 6vw, 80px); padding-bottom: calc(clamp(16px, 2.5vw, 32px) + env(safe-area-inset-bottom)); color: var(--dym); opacity: 0.08; filter: blur(2.5px); pointer-events: none; user-select: none; }
.footer-mark svg { display: block; width: 100%; height: auto; }

@media (max-width: 700px) {
  .footer-next { align-items: stretch; flex-direction: column; }
  .footer-next .btn { justify-content: space-between; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .footer-copy { margin-left: 0 !important; margin-top: 6px !important; }
}
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px 5px; border: 1px solid var(--line-2); font-family: var(--font-ui); font-size: 9.5px; letter-spacing: 0.02em; color: var(--muted); line-height: 1.2; }

/* ---------- formularze ---------- */
.field { display: grid; gap: 8px; margin-bottom: 18px; align-content: start; }
.field > label, .form-label { font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.03em; text-transform: lowercase; color: var(--muted); }
.field > label .opt { color: var(--dim); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, select.input {
  width: 100%; min-height: 52px; padding: 13px 15px;
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 0; color: var(--text-hi);
  font-family: var(--font-text); font-size: 16px; transition: border-color 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
select.input, .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238e9595' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--laser); box-shadow: 0 0 0 1px var(--laser), 0 0 22px -6px var(--accent-glow); background: var(--ink-3); }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field .help { font-size: 13px; color: var(--dim); }
.field-perk .help { position: relative; padding-left: 19px; color: var(--dym); line-height: 1.5; }
.field-perk .help::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 9px; height: 9px; background: var(--laser); -webkit-mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; }
.field .status { font-size: 13.5px; }
.field .status:empty { display: none; }
.field.is-valid .status { color: var(--laser); }
.field.has-error .status { color: var(--err); }
.field.is-valid input { border-color: var(--laser); }
.field .errors, .form-errors { color: var(--err); font-size: 13.5px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.form-errors { padding: 13px 15px; background: var(--err-soft); border: 1px solid rgba(255, 122, 92, 0.35); margin-bottom: 18px; }
.check { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 16px; font-size: 14.5px; color: var(--dym); line-height: 1.5; cursor: pointer; }
.check input {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; border: 1px solid var(--line-3); background: var(--ink-2); border-radius: 0;
  display: grid; place-items: center; transition: background-color 0.15s var(--ease-out), border-color 0.15s;
}
.check input::after { content: ""; width: 11px; height: 11px; background: var(--ink); -webkit-mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; transform: scale(0); transition: transform 0.2s var(--ease-out); }
.check input:checked { background: var(--laser); border-color: var(--laser); }
.check input:checked::after { transform: scale(1); }
.check a { color: var(--text-hi); text-decoration: underline; text-decoration-color: var(--laser); text-underline-offset: 3px; }
.check.has-error { color: var(--err); }
.check.has-error input { border-color: var(--err); }
.field-error-check { margin: -8px 0 14px 34px; color: var(--err); font-size: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- panele ---------- */
.card { position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: 0; padding: clamp(20px, 3vw, 32px); }
.card-title { font-size: 17px; text-transform: lowercase; letter-spacing: -0.02em; margin-bottom: 22px; color: var(--dym); }
.card-title .accent { color: var(--laser); }
.divider { height: 1px; background: var(--line); margin: 24px 0; border: 0; }
.notice { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); background: var(--ink-2); font-size: 14.5px; color: var(--dym); }
.notice > .ic { color: var(--dym); font-size: 20px; margin-top: 2px; }
.notice strong { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 12px; letter-spacing: 0.01em; text-transform: lowercase; margin-bottom: 6px; color: var(--text-hi); }
.notice p { margin: 0; color: var(--muted); line-height: 1.55; }
.notice p strong { display: inline; font-family: var(--font-text); text-transform: none; font-size: inherit; margin: 0; color: var(--text-hi); }
.notice a.accent, .notice .accent { color: var(--text-hi); text-decoration: underline; text-decoration-color: var(--laser); text-underline-offset: 3px; }
.notice-accent { border-color: rgba(255, 249, 72, 0.35); box-shadow: inset 0 0 30px rgba(255, 249, 72, 0.05); }
.notice-accent > .ic { color: var(--laser); }
.notice-ok > .ic { color: var(--laser); }
.notice-warn { border-color: rgba(224, 122, 94, 0.4); background: linear-gradient(90deg, var(--fire-soft), transparent 70%), var(--ink-2); }
.notice-warn > .ic { color: var(--fire-hi); }
.stack > * + * { margin-top: 10px; }

/* ---------- karty wydarzeń (plakaty) ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(18px, 2vw, 28px); }
@media (max-width: 1024px) { .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .event-grid { grid-template-columns: 1fr; } }
.event-card { position: relative; display: flex; flex-direction: column; }
.event-card.is-hidden { display: none; }
.event-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.event-card-media img, .event-card-media .poster-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out), filter 0.4s; }
.event-card-media .pill { position: absolute; left: 12px; bottom: 12px; z-index: 1; }
.event-card.is-soldout .event-card-media img { filter: grayscale(1) brightness(0.55); }
.event-card-body { display: flex; flex-direction: column; flex: 1; padding-top: 20px; }
.event-card-date { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 12px; }
.event-card-date b { font-weight: 400; color: var(--text-hi); }
.event-card-title { font-size: 18px; text-transform: lowercase; letter-spacing: -0.03em; line-height: 1.22; color: var(--dym); transition: color 0.25s var(--ease-out); }
.event-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.event-card-meta { margin: 8px 0 20px; color: var(--muted); font-size: 14.5px; }
.event-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.event-card-price { font-family: var(--font-ui); font-size: 14px; color: var(--text-hi); }
.event-card-price small { font-size: 10px; color: var(--dim); margin-right: 4px; }
.event-card-price.dim { color: var(--fire-hi); font-size: 12px; }
.event-card-price.soon { color: var(--muted); font-size: 12px; }
.event-card .btn { position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) {
  .event-card:hover .event-card-media img { transform: scale(1.035); }
  .event-card:hover .event-card-media::after { box-shadow: inset 0 0 0 1px rgba(255, 249, 72, 0.75), inset 0 0 44px rgba(255, 249, 72, 0.28); }
  .event-card:hover .event-card-title { color: #fff; }
}
.empty { padding: clamp(48px, 7vw, 80px) 24px; text-align: center; border: 1px solid var(--line); color: var(--muted); }
.empty h3 { font-size: 20px; text-transform: lowercase; margin-bottom: 12px; color: var(--dym); }
.empty p { margin: 0; }
.empty a { color: var(--text-hi); text-decoration: underline; text-decoration-color: var(--laser); text-underline-offset: 3px; }

/* plakat zastępczy – powidok zamiast grafiki */
.poster-fallback {
  display: grid; place-items: end start; width: 100%; height: 100%; padding: 8%;
  background: var(--ink-3) url("../img/brand/afterimage-4.2c52bf7db2a7.webp") center / cover;
  font-family: var(--font-ui); text-transform: lowercase; font-size: 20px; line-height: 1.05; letter-spacing: -0.03em; color: var(--dym);
}

/* ---------- filtry ---------- */
.filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 8px; margin-bottom: 18px; }
.filters .input, .filters select { min-height: 50px; }
@media (max-width: 860px) { .filters { grid-template-columns: 1fr 1fr; } .filters .search { grid-column: 1 / -1; } .filters .btn { grid-column: 1 / -1; } }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; margin-bottom: 32px; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.02em; color: var(--muted); }

/* ---------- strona wydarzenia ---------- */
.event-ambient { position: absolute; top: 0; left: 0; right: 0; height: min(92vh, 900px); z-index: -1; overflow: hidden; pointer-events: none; }
.event-ambient img { position: absolute; inset: -80px; width: calc(100% + 160px); height: calc(100% + 160px); max-width: none; object-fit: cover; filter: blur(80px) saturate(0.85); opacity: 0.26; }
.event-ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 11, 0.2) 0%, rgba(10, 11, 11, 0.7) 60%, var(--ink) 100%); }
.event-page { position: relative; isolation: isolate; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 9vw, 120px); }
@media (max-width: 1000px) { .event-layout { grid-template-columns: 1fr; } }
.event-poster { position: relative; overflow: hidden; background: var(--ink-3); aspect-ratio: 16 / 10; }
.event-poster::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 249, 72, 0.3), inset 0 0 50px rgba(255, 249, 72, 0.14); }
.event-poster img { width: 100%; height: 100%; object-fit: cover; }
.event-heading { margin: clamp(28px, 4vw, 44px) 0 26px; }
.event-heading h1 { font-size: clamp(24px, 2.6vw, 36px); text-transform: lowercase; letter-spacing: -0.03em; line-height: 1.1; color: var(--text-hi); }
.event-heading .when { margin-top: 18px; font-family: var(--font-ui); font-size: clamp(14px, 1.4vw, 18px); letter-spacing: -0.01em; color: var(--text-hi); }
.event-heading .tagline { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.countdown { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 26px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.02em; color: var(--muted); font-variant-numeric: tabular-nums; }
.countdown .lbl { margin-right: 4px; }
.countdown b { font-weight: 400; font-size: 22px; letter-spacing: -0.02em; color: var(--text-hi); }
.info-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 16px; }
.info-box { padding: 18px 18px 16px; background: var(--ink); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.info-box .ic { grid-row: span 2; font-size: 18px; color: var(--dim); margin-top: 1px; }
.info-box strong { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 10px; letter-spacing: 0.03em; text-transform: lowercase; color: var(--dim); }
.info-box span { display: block; font-family: var(--font-ui); font-size: 13px; line-height: 1.35; color: var(--text-hi); }
.info-box a:hover { color: var(--laser); }
@media (max-width: 560px) { .info-boxes { grid-template-columns: 1fr; } }
.event-section { margin-top: clamp(44px, 6vw, 64px); }
.event-section h2 { font-size: 13px; text-transform: lowercase; letter-spacing: 0.01em; color: var(--muted); padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.event-section h2 .ic { color: var(--laser); }
.lineup { display: flex; flex-wrap: wrap; gap: 8px; }
.lineup span { padding: 12px 16px 11px; border: 1px solid var(--line-2); font-family: var(--font-ui); font-size: 13px; letter-spacing: -0.01em; text-transform: lowercase; color: var(--text-hi); }
.venue-card { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.venue-card h3 { font-size: 17px; text-transform: lowercase; letter-spacing: -0.02em; }
.venue-card p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }

/* panel biletów – neonowa ramka w skali komponentu */
.ticket-panel { position: sticky; top: calc(var(--header-h) + var(--demo-h) + 20px); }
@media (max-width: 1000px) { .ticket-panel { position: static; } }
.ticket-panel .card {
  padding: clamp(22px, 2.6vw, 32px);
  background: rgba(12, 13, 13, 0.86);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-color: rgba(255, 249, 72, 0.5);
  box-shadow: inset 0 0 36px rgba(255, 249, 72, 0.08), 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 70px -34px var(--accent-glow);
}
.ticket-panel .card-title { font-size: 22px; letter-spacing: -0.035em; }
.pool { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; margin-bottom: 8px; background: var(--ink-2); border: 1px solid var(--line); transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out); }
.pool.is-selected { border-color: var(--laser); background: linear-gradient(90deg, var(--accent-soft), transparent 80%), var(--ink-2); }
.pool.is-off { background: transparent; }
.pool.is-off .pool-name { color: var(--dim); }
.pool-name { font-family: var(--font-ui); font-size: 13px; letter-spacing: -0.01em; text-transform: lowercase; line-height: 1.3; color: var(--text-hi); }
.pool-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pool-price { font-family: var(--font-ui); font-size: 15px; color: var(--text-hi); margin-top: 8px; font-variant-numeric: tabular-nums; }
.pool-status { font-family: var(--font-ui); color: var(--dim); font-size: 11px; letter-spacing: 0.02em; text-transform: lowercase; margin-top: 8px; }
.pool-left { font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.02em; color: var(--fire-hi); margin-top: 6px; }
.pool.is-off .pool-name { text-decoration: line-through; text-decoration-color: var(--dim); }
.stepper { display: flex; align-items: center; gap: 2px; flex: none; }
.stepper button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 0; background: transparent; font-family: var(--font-ui); font-size: 16px; line-height: 1; color: var(--text-hi); transition: border-color 0.15s var(--ease-out), background-color 0.15s, color 0.15s, transform 0.1s var(--ease-out); }
.stepper button .ic { font-size: 15px; }
.stepper button:active:not(:disabled) { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .stepper button:hover:not(:disabled) { border-color: var(--laser); color: var(--laser); } }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper output { min-width: 34px; text-align: center; font-family: var(--font-ui); font-size: 16px; font-variant-numeric: tabular-nums; color: var(--text-hi); }
.stepper output.bump { animation: bump 0.25s var(--ease-out); }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--laser); } }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary-row > span:first-child { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.02em; text-transform: lowercase; color: var(--muted); }
.summary-total { font-family: var(--font-ui); font-size: 28px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--text-hi); }
.panel-note { margin: 18px 0 0; font-size: 13px; color: var(--dim); text-align: center; line-height: 1.55; }
.panel-note .ic { color: var(--muted); }
.resale-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; border: 1px dashed var(--line-2); margin-bottom: 8px; }
.resale-row strong { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 12px; text-transform: lowercase; color: var(--text-hi); }
.resale-row span { font-size: 13px; color: var(--muted); }
.resale-row .price { font-family: var(--font-ui); font-size: 12px; color: var(--laser); }
.mobile-buy { display: none; }
@media (max-width: 1000px) {
  .mobile-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(10, 11, 11, 0.82); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); border-top: 1px solid rgba(255, 249, 72, 0.3); transform: translateY(110%); transition: transform 0.4s var(--ease-out); }
  .mobile-buy.is-visible { transform: none; }
  .mobile-buy .btn { min-height: 48px; }
  .mobile-buy small { display: block; font-family: var(--font-ui); font-size: 9.5px; color: var(--muted); letter-spacing: 0.03em; }
  .mobile-buy strong { font-family: var(--font-ui); font-weight: 400; font-size: 17px; color: var(--text-hi); }
}

/* ---------- kasa ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding: clamp(28px, 4vw, 56px) 0 110px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout aside { order: -1; } }
.checkout h1 { font-size: clamp(32px, 5vw, 60px); text-transform: lowercase; letter-spacing: -0.035em; color: var(--dym); margin-bottom: 14px; }
.order-summary { position: sticky; top: calc(var(--header-h) + var(--demo-h) + 20px); }
.summary-event { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.summary-event img, .summary-event .poster-fallback { width: 96px; height: 60px; object-fit: cover; flex: none; font-size: 9px; padding: 6px; }
.summary-event strong { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 14px; text-transform: lowercase; letter-spacing: -0.02em; line-height: 1.25; color: var(--text-hi); }
.summary-event span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.line-item { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 15px; }
.line-item span:last-child { font-family: var(--font-ui); font-size: 13px; white-space: nowrap; color: var(--text-hi); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.steps-bar { display: flex; gap: 10px; margin-bottom: 28px; font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.03em; text-transform: lowercase; color: var(--dim); flex-wrap: wrap; align-items: center; }
.steps-bar span { display: inline-flex; align-items: center; gap: 8px; }
.steps-bar span + span::before { content: ""; width: 18px; height: 1px; background: var(--line-2); margin-right: 2px; }
.steps-bar .on { color: var(--laser); }
.steps-bar .done { color: var(--dym); }

/* loża dla ekipy – plakat w skali komponentu: powidok, neonowa ramka, kalkulator ekipy */
.table-offer {
  overflow: hidden; isolation: isolate;
  border-color: rgba(255, 249, 72, 0.45);
  box-shadow: inset 0 0 40px rgba(255, 249, 72, 0.08), 0 0 60px -30px var(--accent-glow);
}
.table-offer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(10, 11, 11, 0.94) 0%, rgba(10, 11, 11, 0.72) 42%, rgba(10, 11, 11, 0.2) 100%),
    url("../img/brand/afterimage-6.f9f16588dae7.webp") 85% 20% / cover;
}
.table-offer-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px 32px; align-items: start; }
@media (max-width: 1100px) { .table-offer-grid { grid-template-columns: 1fr; } }
.table-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.04em; text-transform: lowercase; color: var(--laser); }
.table-kicker .ic { font-size: 11px; }
.table-kicker span { color: var(--dim); }
.table-title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.04; letter-spacing: -0.035em; text-transform: lowercase; color: var(--text-hi); margin: 0; }
.table-lede { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 44ch; }
.table-perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.table-perks li { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-ui); font-size: 11.5px; letter-spacing: 0.01em; text-transform: lowercase; color: var(--dym); line-height: 1.4; }
.table-perks li::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--laser); -webkit-mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; mask: url("../img/star.4cc6857ad7a2.svg") center / contain no-repeat; }

/* kalkulator – materiał nad powidokiem */
.table-calc {
  padding: 18px; border: 1px solid var(--line-2);
  background: rgba(10, 11, 11, 0.62); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.table-calc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.table-calc-head .label { white-space: nowrap; }
.table-meter { display: flex; gap: 3px; margin: 8px 0 10px; }
.table-meter button {
  flex: 1; min-width: 0; padding: 12px 0 6px; border: 0; background: none; cursor: pointer;
  display: grid; gap: 7px; justify-items: center;
  font-family: var(--font-ui); font-size: 8px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--dim);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: color 0.2s var(--ease-out);
}
.table-meter i { display: block; width: 100%; height: 4px; background: var(--ink-4); transition: background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.12s var(--ease-out); }
.table-meter button:active i { transform: scaleY(1.8); transition-duration: 0.08s; }
.table-meter .is-past i { background: rgba(255, 249, 72, 0.28); }
.table-meter .is-on { color: var(--laser); }
.table-meter .is-on i { background: var(--laser); box-shadow: 0 0 14px -1px var(--accent-glow); }
@media (hover: hover) and (pointer: fine) { .table-meter button:hover:not(.is-on) { color: var(--dym); } .table-meter button:hover:not(.is-on) i { background: var(--line-3); } }
.table-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.table-figures div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.table-figures dt { font-family: var(--font-ui); font-size: 9.5px; letter-spacing: 0.04em; text-transform: lowercase; color: var(--muted); }
.table-figures dd { margin: 6px 0 0; font-family: var(--font-ui); font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--text-hi); white-space: nowrap; }
.table-figures dd span { display: inline-block; }
.table-nudge { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--dym); }

.table-cta { display: flex; align-items: center; gap: 14px 24px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.table-cta .btn { flex: none; }
.table-fine { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
@media (max-width: 640px) { .table-cta { flex-direction: column; align-items: stretch; } }

/* strona wydarzenia: loża w dwóch krokach – bilety tutaj, stół u klubu */
.table-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.table-step { display: grid; gap: 12px; align-content: start; justify-items: start; }
.table-step-label { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.03em; text-transform: lowercase; color: var(--dym); }
.table-step-label b { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--laser); font-weight: 400; font-size: 10px; color: var(--laser); font-variant-numeric: tabular-nums; }
.table-step .btn { width: 100%; }
.table-step .btn span span { display: inline-block; font-variant-numeric: tabular-nums; }
.table-step-off { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.table-steps + .table-fine { margin-top: 18px; }
@media (max-width: 640px) { .table-steps { grid-template-columns: 1fr; } }

/* zajawka loży w panelu biletów – prowadzi do sekcji #loze */
.table-teaser { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(255, 249, 72, 0.35); color: var(--dym); font-size: 14px; line-height: 1.4; transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out); }
.table-teaser strong { display: block; margin-bottom: 3px; font-family: var(--font-ui); font-weight: 400; font-size: 11.5px; letter-spacing: 0.01em; text-transform: lowercase; color: var(--text-hi); }
.table-teaser > .ic:first-child { flex: none; font-size: 12px; color: var(--laser); }
.table-teaser > .ic:last-child { flex: none; margin-left: auto; font-size: 15px; transition: transform 0.2s var(--ease-out); }
.table-teaser:active { background: var(--accent-soft); }
@media (hover: hover) and (pointer: fine) { .table-teaser:hover { border-color: var(--laser); background: var(--accent-soft); } .table-teaser:hover > .ic:last-child { transform: translateY(2px); } }

/* ---------- zamówienie ---------- */
.status-hero { text-align: center; padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 4vw, 48px); }
.status-mark { position: relative; width: 84px; height: 84px; margin: 0 auto 28px; display: grid; place-items: center; }
.status-mark .ic { width: 64px; height: 64px; }
.status-mark.ok { color: var(--laser); filter: drop-shadow(0 0 18px rgba(255, 249, 72, 0.55)); }
.status-mark.ok .ic { animation: star-in 0.9s var(--ease-out) both; }
@keyframes star-in { from { opacity: 0; transform: scale(0.6) rotate(-90deg); filter: blur(8px); } }
.status-mark.err { color: var(--err); }
.status-mark.err .ic { width: 44px; height: 44px; }
.status-number { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 16px; }
.status-hero h1 { font-size: clamp(30px, 5vw, 60px); text-transform: lowercase; letter-spacing: -0.035em; color: var(--dym); }
.status-hero p { color: var(--muted); max-width: 56ch; margin: 18px auto 0; font-size: 16.5px; }
.status-hero p strong { color: var(--text-hi); font-weight: 500; }
.spinner { width: 34px; height: 34px; border: 1px solid var(--line-2); border-top-color: var(--laser); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.order-event { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.order-event strong { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 15px; text-transform: lowercase; letter-spacing: -0.02em; color: var(--text-hi); }
.ticket-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.ticket-mini { display: grid; grid-template-columns: 104px 1fr; gap: 18px; padding: 16px; background: var(--ink-2); border: 1px solid var(--line); align-items: center; }
.ticket-mini .qr-box { width: 104px; height: 104px; }
.ticket-mini strong { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 13px; text-transform: lowercase; letter-spacing: -0.01em; line-height: 1.25; color: var(--text-hi); }
.ticket-mini .code { font-size: 12px; color: var(--muted); margin: 6px 0 10px; }
.ticket-mini .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.qr-box { background: #fff; padding: 6px; display: grid; place-items: center; transition: box-shadow 0.3s var(--ease-out); }
.qr-box svg, .qr-box img { width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) { a.qr-box:hover { box-shadow: 0 0 0 1px var(--laser), 0 0 30px -6px var(--accent-glow); } }
.order-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 32px 0 0; }

/* ---------- bilet – jasny układ (papier z żółtą ramką) ---------- */
.ticket-page { position: relative; isolation: isolate; padding-top: clamp(24px, 4vw, 56px); padding-bottom: 110px; }
.ticket-page .afterimage { position: fixed; opacity: 0.4; }
.ticket {
  position: relative; max-width: 440px; margin: 0 auto; overflow: hidden;
  background: var(--paper); color: var(--woda); border-radius: 0;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(255, 249, 72, 0.5);
  --line: rgba(10, 90, 188, 0.16);
}
.ticket::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; box-shadow: inset 0 0 36px 2px rgba(255, 249, 72, 0.95), inset 0 0 110px 16px rgba(255, 249, 72, 0.4); }
.ticket > * { position: relative; z-index: 3; }
.ticket-top { padding: 30px 28px 6px; }
.ticket-brand { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ticket-brand .logo-svg { height: 22px; width: auto; color: var(--woda); }
.ticket-brand span { font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.02em; text-transform: lowercase; text-align: right; }
.ticket-title { font-family: var(--font-ui); font-weight: 400; font-size: 27px; text-transform: lowercase; letter-spacing: -0.035em; line-height: 1.04; margin: 44px 0 12px; color: var(--woda); }
.ticket-sub { font-family: var(--font-ui); font-size: 13px; letter-spacing: -0.01em; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 22px 28px 20px; margin: 0; }
.ticket-grid dt { font-family: var(--font-ui); font-size: 9.5px; letter-spacing: 0.03em; text-transform: lowercase; color: #4c7fc4; }
.ticket-grid dd { margin: 4px 0 0; font-family: var(--font-ui); font-size: 13px; letter-spacing: -0.01em; line-height: 1.3; }
.ticket-perf { position: relative; height: 26px; }
.ticket-perf::before { content: ""; position: absolute; left: 28px; right: 28px; top: 50%; border-top: 1px dashed rgba(10, 90, 188, 0.35); }
.ticket-perf::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0 50%, var(--ink) 12px, transparent 13px), radial-gradient(circle at 100% 50%, var(--ink) 12px, transparent 13px); }
.ticket-qr { padding: 12px 28px 22px; text-align: center; }
.ticket-qr .qr { width: min(250px, 66vw); margin: 0 auto; }
.ticket-qr .qr svg { width: 100%; height: auto; }
.ticket-code { margin-top: 14px; font-size: 17px; letter-spacing: 0.08em; color: var(--woda); }
.ticket-hint { font-size: 12.5px; color: #4c7fc4; margin-top: 6px; }
.ticket-status { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 28px; padding: 16px 0 26px; border-top: 1px solid var(--line); text-align: center; font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.02em; text-transform: lowercase; }
.ticket-status.valid { color: var(--woda); }
.ticket-status.valid .ic { color: var(--woda); }
.ticket-status.used { color: #4c7fc4; }
.ticket-status.bad { color: var(--ogien); }
.ticket-void { padding: 40px 28px 44px; text-align: center; color: #4c7fc4; font-size: 15px; }
.ticket-void strong { display: block; font-family: var(--font-ui); font-weight: 400; color: var(--ogien); font-size: 16px; text-transform: lowercase; margin-bottom: 10px; }
.ticket-actions { max-width: 440px; margin: 22px auto 0; display: grid; gap: 8px; }
.ticket-actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- konto ---------- */
.auth-wrap { max-width: 480px; margin: 0 auto; padding: clamp(44px, 8vw, 96px) var(--gutter) 110px; }
.auth-wrap h1 { font-size: clamp(32px, 5vw, 50px); text-transform: lowercase; letter-spacing: -0.035em; color: var(--dym); margin-bottom: 14px; }
.auth-wrap .lead { margin: 0 0 30px; }
.auth-alt { margin-top: 24px; text-align: center; color: var(--muted); font-size: 14.5px; }
.auth-alt a { color: var(--text-hi); text-decoration: underline; text-decoration-color: var(--laser); text-underline-offset: 3px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 24px; }
.back-link:hover { color: var(--text-hi); }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tabs a { padding: 14px 0; font-family: var(--font-ui); font-size: 11px; text-transform: lowercase; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.is-active, .tabs a:hover { color: var(--text-hi); border-bottom-color: var(--laser); }
.my-ticket { display: grid; grid-template-columns: 160px 1fr auto; gap: 22px; align-items: center; padding: 16px; background: var(--ink-2); border: 1px solid var(--line); margin-bottom: 10px; }
.my-ticket img, .my-ticket .poster-fallback { width: 160px; aspect-ratio: 16 / 10; object-fit: cover; font-size: 11px; }
.my-ticket h3 { font-size: 15px; text-transform: lowercase; letter-spacing: -0.02em; line-height: 1.25; }
.my-ticket h3 a:hover { color: var(--laser); }
.my-ticket .meta { color: var(--muted); font-size: 14px; margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.my-ticket .meta .mono { color: var(--text-hi); }
.my-ticket .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .my-ticket { grid-template-columns: 96px 1fr; } .my-ticket img, .my-ticket .poster-fallback { width: 96px; } .my-ticket .actions { grid-column: 1 / -1; justify-content: flex-start; } }

/* ---------- tabele (panel) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--ink-2); }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-family: var(--font-ui); font-weight: 400; font-size: 10px; letter-spacing: 0.03em; text-transform: lowercase; color: var(--dim); padding: 14px 16px; background: var(--ink); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td strong { font-weight: 500; color: var(--text-hi); }
.table td a:not(.btn):hover { color: var(--laser); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color 0.15s; }
.table tbody tr:hover td { background: rgba(196, 202, 202, 0.03); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 36px; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
.stat { padding: 22px; background: var(--ink-2); }
.stat small { display: block; font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.03em; text-transform: lowercase; color: var(--dim); }
.stat strong { display: block; font-family: var(--font-ui); font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.03em; margin-top: 12px; font-variant-numeric: tabular-nums; color: var(--text-hi); }
.bar { height: 3px; background: var(--ink-4); overflow: hidden; min-width: 90px; margin-bottom: 6px; }
.bar i { display: block; height: 100%; background: var(--laser); box-shadow: 0 0 10px var(--accent-glow); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.panel-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.panel-title { font-size: 13px; text-transform: lowercase; color: var(--muted); letter-spacing: 0.01em; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.panel-title .ic { color: var(--laser); }


/* ---------- ciasteczka ---------- */
.cookie { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; max-width: 380px; padding: 20px; background: rgba(21, 24, 24, 0.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.85); font-size: 14px; color: var(--dym); transform: translateY(16px); opacity: 0; transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out); pointer-events: none; }
.cookie.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.cookie strong { display: block; font-family: var(--font-ui); font-weight: 400; font-size: 12px; margin-bottom: 8px; color: var(--text-hi); }
.cookie p { margin: 0 0 16px; color: var(--muted); }
.cookie a { color: var(--text-hi); text-decoration: underline; text-decoration-color: var(--laser); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.footer-link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
@media (max-width: 1000px) { .has-mobile-buy .cookie { bottom: calc(84px + env(safe-area-inset-bottom)); } }


/* ---------- wejścia przy przewijaniu ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-focus { opacity: 0; filter: blur(10px); transition: opacity 0.8s var(--ease-out), filter 1s var(--ease-out); }
.js .reveal-focus.is-in { opacity: 1; filter: none; }

/* gdy skrypt się nie wczyta – treść zawsze widoczna */
.no-anim .focus-in, .no-anim .hero .afterimage, .no-anim .reveal, .no-anim .reveal-focus { opacity: 1 !important; filter: none !important; transform: none !important; }

/* przejścia między stronami (plakat → wydarzenie) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; animation-timing-function: var(--ease-out); }
::view-transition-group(*) { animation-duration: 0.45s; animation-timing-function: var(--ease-out); }

/* ---------- różne ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 28px; }
.center { text-align: center; }
.error-page { text-align: center; padding-top: clamp(80px, 14vw, 170px); padding-bottom: clamp(80px, 14vw, 170px); position: relative; isolation: isolate; }
.error-page .big { font-family: var(--font-ui); font-size: clamp(80px, 18vw, 220px); letter-spacing: -0.06em; line-height: 0.9; color: var(--dym); text-shadow: 0 0 60px rgba(255, 249, 72, 0.25); }
.error-page h1 { font-size: clamp(22px, 3.6vw, 36px); text-transform: lowercase; letter-spacing: -0.03em; margin-top: 28px; color: var(--dym); }
.error-page p { color: var(--muted); }


/* ---------- dostępność ruchu, przezroczystości i kontrastu ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .focus-in, .js .is-ready .focus-in { filter: none; transform: none; transition: opacity 0.3s ease; }
  .js .hero .afterimage, .js .hero.is-ready .afterimage { transform: none; transition: opacity 0.4s ease; }
  .afterimage .slide { transform: none; transition: opacity 1s ease; }
  .js .reveal, .js .reveal-focus { transform: none; filter: none; transition: opacity 0.3s ease; }
  .photo .sharp { transform: none; filter: none; transition: opacity 0.3s ease; }
  .neon-frame.is-igniting { animation: none; }
  .mobile-nav a.nav-link { transform: none; filter: none; }
  .status-mark.ok .ic { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-solid, body:not(.has-hero) .site-header, .mobile-nav, .mobile-buy, .cookie, .message, .ticket-panel .card, .table-calc { background: var(--ink-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #b3baba; --dim: #9aa1a1; --line: rgba(196, 202, 202, 0.35); --line-2: rgba(196, 202, 202, 0.55); }
}
