/* Szklana pułapka 4.0 — kinowy kierunek: głęboka zieleń, szkło, limonka. */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; 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; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; 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: "Instrument"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-style: italic; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); font-style: italic; font-display: swap; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #04110d; --bg-2: #071a14; --forest: #0f2e25; --deep: #0a211a;
  --lime: #d4ef78; --lime-2: #b8e05a; --mint: #7fe3c5; --amber: #f2b95b; --coal: #2b3330;
  --ink: #eef5ec; --muted: rgba(238,245,236,.68); --faint: rgba(238,245,236,.42);
  --line: rgba(255,255,255,.12); --line-2: rgba(255,255,255,.2);
  --glass: rgba(255,255,255,.055); --glass-2: rgba(255,255,255,.09);
  --r: 22px; --r-lg: 32px;
  --ease: cubic-bezier(.22,1,.36,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --gutter: clamp(16px, 4vw, 56px);
  font-family: "Bricolage", "Segoe UI", system-ui, sans-serif;
  color: var(--ink); background: var(--bg);
  font-synthesis: none; -webkit-font-smoothing: antialiased;
  scroll-padding-top: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); line-height: 1.55; font-size: clamp(16px, 1.05vw, 18px); overflow-x: clip; }
body.is-loading { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 640; letter-spacing: -.035em; line-height: .98; font-variation-settings: "wdth" 90; }
h2 { font-size: clamp(2.6rem, 6.4vw, 6.2rem); }
em { font-family: "Instrument", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--lime); }
p { margin: 0 0 1em; }
.container { width: min(1360px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(90px, 13vw, 190px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; background: var(--lime); color: #071a14; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.glass { background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 60px rgba(0,0,0,.25); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--lime); margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(212,239,120,.18); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(212,239,120,0); } }
.fine { font-size: .82rem; color: var(--faint); }

/* ===== Przyciski ===== */
.btn { --bh: 56px; position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: var(--bh); padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 650; font-size: .98rem; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .5s var(--spring), background .3s, color .3s, border-color .3s; will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 55%); opacity: 0; transition: opacity .3s; }
.btn:hover::before { opacity: .55; }
.btn:active { transform: scale(.96); }
.btn-sm { --bh: 44px; padding: 0 18px; font-size: .9rem; }
.btn-lg { --bh: 66px; padding: 0 34px; font-size: 1.08rem; }
.btn-lime { background: var(--lime); color: #082018; box-shadow: 0 10px 40px rgba(212,239,120,.25), inset 0 -3px 0 rgba(0,0,0,.12); }
.btn-ghost { background: rgba(255,255,255,.06); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(212,239,120,.6); }
.btn-light { background: var(--ink); color: #082018; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .4s var(--spring); }
.btn:hover svg { transform: translate(2px,-2px) rotate(8deg); }
.btn-icon.play { width: 26px; height: 26px; border-radius: 50%; background: #082018; position: relative; flex: none; transition: transform .4s var(--spring); }
.btn-icon.play::after { content: ""; position: absolute; left: 10px; top: 8px; border-left: 8px solid var(--lime); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.btn:hover .btn-icon.play { transform: scale(1.15) rotate(-8deg); }
.btn-icon.wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.btn-icon.wave i { width: 3px; height: 40%; border-radius: 2px; background: currentColor; animation: wave 1.1s ease-in-out infinite; animation-play-state: paused; }
.btn-icon.wave i:nth-child(2) { animation-delay: -.3s; } .btn-icon.wave i:nth-child(3) { animation-delay: -.6s; }
:hover > .btn-icon.wave i, .is-speaking .btn-icon.wave i { animation-play-state: running; }
@keyframes wave { 0%,100% { height: 30%; } 50% { height: 100%; } }
.chip-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); font-size: .9rem; font-weight: 600; transition: background .3s, border-color .3s, transform .4s var(--spring); }
.chip-btn:hover { border-color: var(--lime); background: rgba(212,239,120,.08); }
.chip-btn:active { transform: scale(.95); }
.chip-btn[aria-pressed="true"], .chip-btn.is-speaking { background: var(--lime); color: #082018; border-color: var(--lime); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 3px; }
.link-arrow::after { content: "↗"; color: var(--lime); transition: transform .4s var(--spring); }
.link-arrow:hover { background-size: 100% 2px; } .link-arrow:hover::after { transform: translate(3px,-3px); }
/* Odłamki przy kliknięciu */
.shard-burst { position: fixed; z-index: 9999; pointer-events: none; width: 10px; height: 10px; clip-path: polygon(50% 0, 100% 70%, 20% 100%); background: linear-gradient(135deg, #fff, var(--lime)); }

/* ===== Preloader ===== */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 18px; background: radial-gradient(circle at 50% 45%, #0d2b22, var(--bg) 70%); }
.preloader-mark { width: 110px; height: 146px; fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(212,239,120,.5)); }
.pre-crack { stroke: var(--mint); stroke-width: 2; stroke-dasharray: 120; stroke-dashoffset: 120; }
.preloader-count { font-size: 3.4rem; font-weight: 300; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.preloader-count small { font-size: 1rem; color: var(--lime); margin-left: 4px; }
.preloader-text { color: var(--muted); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }
.page-wipe { position: fixed; inset: 0; z-index: 1001; pointer-events: none; background: radial-gradient(circle at center, var(--lime) 0 40%, var(--forest) 41%); clip-path: circle(0% at var(--wx, 50%) var(--wy, 50%)); }

/* ===== Kursor-soczewka ===== */
.cursor { position: fixed; left: 0; top: 0; z-index: 900; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; pointer-events: none; border: 1px solid rgba(212,239,120,.7); backdrop-filter: blur(2px) brightness(1.25) saturate(1.4); -webkit-backdrop-filter: blur(2px) brightness(1.25) saturate(1.4); display: grid; place-items: center; transition: width .45s var(--spring), height .45s var(--spring), margin .45s var(--spring), background .3s, border-radius .45s var(--ease); opacity: 0; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(212,239,120,.92); border-color: transparent; backdrop-filter: none; }
.cursor-label { font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #082018; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor-label { opacity: 1; }
.cursor.is-press { transform: scale(.82); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ===== Nagłówek ===== */
.site-header { position: fixed; z-index: 100; top: 14px; left: 0; right: 0; display: flex; justify-content: center; padding-inline: 12px; transition: transform .6s var(--ease); }
.site-header.is-hidden { transform: translateY(-130%); }
.nav-pill { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; border-radius: 999px; width: min(1280px, 100%); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 750; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.brand svg { width: 26px; height: 28px; fill: none; stroke: var(--lime); stroke-width: 3; stroke-linejoin: round; transition: transform .6s var(--spring); }
.brand:hover svg { transform: rotate(-12deg) scale(1.1); }
.logo-chip { display: block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.93); transition: transform .4s var(--spring); }
.logo-chip:hover { transform: scale(1.04); }
.logo-chip img { height: 28px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 550; color: var(--muted); transition: color .3s; }
.main-nav a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,.08); transform: scale(.6); opacity: 0; transition: transform .45s var(--spring), opacity .3s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav a:hover::before, .main-nav a.is-active::before { transform: scale(1); opacity: 1; }
.sound-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); display: grid; place-items: center; }
.eq { display: flex; gap: 3px; align-items: center; height: 16px; }
.eq i { width: 3px; height: 3px; border-radius: 2px; background: var(--muted); transition: height .3s; }
.sound-toggle[aria-pressed="true"] { border-color: var(--lime); }
.sound-toggle[aria-pressed="true"] .eq i { background: var(--lime); animation: wave 1s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.25s } .sound-toggle[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.5s } .sound-toggle[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -.75s }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--spring), top .3s; }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(4,17,13,.86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); display: grid; align-content: center; padding: 100px 28px 40px; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu a { font-size: clamp(2.2rem, 11vw, 3.6rem); font-weight: 650; letter-spacing: -.04em; text-decoration: none; display: flex; align-items: baseline; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-menu small { font-size: .9rem; color: var(--lime); letter-spacing: 0; }

/* ===== Hero ===== */
.hero { position: relative; height: 340vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-canvas, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { opacity: 0; transition: opacity .6s; }
.no-scrub .hero-fallback { opacity: 1; }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 65% 50%, transparent 30%, rgba(4,17,13,.55) 75%), linear-gradient(90deg, rgba(4,17,13,.85) 0%, rgba(4,17,13,.25) 55%, transparent 75%), linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero-content { position: absolute; left: var(--gutter); bottom: clamp(110px, 16vh, 180px); max-width: 760px; z-index: 3; }
.hero-title { font-size: clamp(3rem, 7.4vw, 8.2rem); font-weight: 680; letter-spacing: -.055em; line-height: .9; margin-bottom: 28px; }
.hero-title .line { display: block; }
.hero-title em { font-size: 1.05em; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-second { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); text-align: right; opacity: 0; z-index: 3; }
.kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.hero-second-title { font-size: clamp(2.2rem, 5vw, 5rem); font-weight: 640; letter-spacing: -.045em; line-height: .95; }
.hero-meta { position: absolute; left: var(--gutter); right: max(var(--gutter), 92px); bottom: 28px; display: flex; align-items: center; gap: 22px; font-size: .78rem; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; z-index: 3; }
.scroll-hint { display: inline-flex; align-items: center; gap: 12px; }
.mouse { width: 22px; height: 34px; border: 1.5px solid var(--muted); border-radius: 12px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--lime); animation: scrollwheel 1.8s var(--ease) infinite; }
@keyframes scrollwheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
.hero-progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hero-progress i { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
/* Morficzne szklane bloby */
.blob { position: absolute; z-index: 2; pointer-events: none; border: 1px solid rgba(255,255,255,.22); background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(212,239,120,.05)); backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%); box-shadow: inset 6px 10px 30px rgba(255,255,255,.12), inset -10px -14px 40px rgba(127,227,197,.12), 0 30px 80px rgba(0,0,0,.35); animation: morph 14s ease-in-out infinite; }
.blob-a { width: clamp(120px, 14vw, 220px); aspect-ratio: 1; right: 4%; top: 15%; }
.blob-b { width: clamp(70px, 7vw, 120px); aspect-ratio: 1; right: 9%; bottom: 20%; animation-duration: 11s; animation-direction: reverse; }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: translate(0,0) rotate(0); }
  33% { border-radius: 63% 37% 41% 59% / 58% 63% 37% 42%; transform: translate(-14px, 18px) rotate(40deg); }
  66% { border-radius: 37% 63% 56% 44% / 63% 37% 63% 37%; transform: translate(12px, -10px) rotate(-30deg); }
}

/* ===== Marquee ===== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 34px; width: max-content; font-size: clamp(1.6rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; will-change: transform; }
.marquee-track b { color: var(--lime); font-weight: 400; }
.marquee-track .lime { font-family: "Instrument", serif; font-style: italic; font-weight: 400; color: var(--lime); }

/* ===== Kino ===== */
.cinema { position: relative; background: radial-gradient(ellipse at 20% 0%, rgba(15,46,37,.9), transparent 60%), var(--bg); }
.cinema-pin { padding-top: clamp(84px, 9vh, 120px); padding-bottom: 28px; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.cinema-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(24px, 3.5vh, 44px); }
.cinema-head h2 { font-size: clamp(2.4rem, 5vw, 5.2rem); }
.cinema-aside p, .section-aside p { color: var(--muted); max-width: 440px; }
.reel { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.film-card { --accent: var(--lime); --glow: rgba(212,239,120,.4); position: relative; width: clamp(290px, 31vw, 470px); flex: none; border-radius: var(--r-lg); text-align: left; padding: 0; border: 1px solid var(--line); background: var(--deep); overflow: hidden; transform-style: preserve-3d; transition: border-color .4s, box-shadow .5s var(--ease); isolation: isolate; }
.film-card:hover, .film-card:focus-visible { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 30px 90px -20px var(--glow); }
.film-media { position: relative; height: clamp(340px, calc(100vh - 330px), 640px); overflow: hidden; }
.reel.is-native .film-media { height: auto; aspect-ratio: 4 / 5; }
.film-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9) brightness(.85); }
.film-card:hover .film-media img { transform: scale(1.16); filter: saturate(1.1) brightness(1); }
.film-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,17,13,.1) 30%, rgba(4,17,13,.95) 100%); }
.film-glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.28), transparent 45%); opacity: 0; transition: opacity .4s; mix-blend-mode: overlay; }
.film-card:hover .film-glare { opacity: 1; }
.film-num { position: absolute; z-index: 2; top: 18px; left: 22px; font-size: clamp(4rem, 7vw, 7rem); font-weight: 750; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); transition: -webkit-text-stroke-color .4s, transform .6s var(--spring); }
.film-card:hover .film-num { -webkit-text-stroke-color: var(--accent); transform: translateZ(40px) translateY(-4px); }
.film-badge { position: absolute; z-index: 2; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: .7rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; background: rgba(4,17,13,.55); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.film-badge.is-ready { background: var(--accent); border-color: transparent; color: #071a14; }
.film-badge-play { border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: #ff5a4a; box-shadow: 0 0 10px #ff5a4a; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.film-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px 92px 26px 24px; transform: translateZ(30px); }
.film-object { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 650; margin-bottom: 8px; }
.film-title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 650; letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; }
.film-short { color: var(--muted); font-size: .95rem; margin: 0; max-width: 34ch; }
.film-play { position: absolute; z-index: 3; right: 22px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #071a14; transform: scale(.8); opacity: .9; transition: transform .5s var(--spring), opacity .3s; }
.film-play::after { content: ""; margin-left: 4px; border-left: 14px solid #071a14; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.film-card:hover .film-play { transform: scale(1) rotate(-8deg); opacity: 1; }
.film-dream { position: absolute; z-index: 2; left: 24px; right: 24px; top: 46%; font-family: "Instrument", serif; font-style: italic; font-size: 1.25rem; line-height: 1.25; color: #fff; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease); }
.film-card:hover .film-dream { opacity: 1; transform: none; }
.reel-ui { display: flex; align-items: center; gap: 20px; margin-top: 22px; font-size: .82rem; color: var(--faint); }
.reel-count { font-variant-numeric: tabular-nums; } .reel-count b { color: var(--ink); font-size: 1.4rem; font-weight: 600; }
.reel-bar { flex: 1; max-width: 340px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.reel-bar i { display: block; height: 100%; width: 100%; background: var(--lime); transform: scaleX(.16); transform-origin: left; }

/* ===== Szkło w ruchu ===== */
.shatter { position: relative; height: 260vh; background: radial-gradient(ellipse at 70% 50%, #0f3a2c 0%, var(--bg) 65%); }
.shatter-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.shatter-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.shatter-copy { position: relative; z-index: 2; max-width: 1360px; }
.shatter-copy h2, .shatter-copy p { max-width: 560px; }
.shatter-copy h2 { margin-bottom: 22px; } /* kursywa „opakowanie.” nie nachodzi na akapit */
.shatter-copy p { color: var(--muted); }
.shatter-caption { position: absolute; z-index: 2; right: var(--gutter); top: 15vh; font-family: "Instrument", serif; font-style: italic; font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--lime); margin: 0; }

/* ===== Zasady ===== */
.rules { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.path { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 18px 24px 18px 14px; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(circle at 12% 60%, color-mix(in srgb, var(--c) 22%, transparent), transparent 55%), var(--glass); overflow: hidden; transition: transform .5s var(--spring), border-color .3s; }
.path:hover { transform: translateY(-4px); }
.path h3 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -.02em; }
.path p { color: var(--muted); font-size: .92rem; margin: 0; }
.path-bin { width: 96px; height: auto; filter: drop-shadow(0 16px 18px rgba(0,0,0,.55)); transform-origin: 50% 100%; transition: transform .7s var(--spring), filter .4s; }
.path:hover .path-bin { transform: translateY(-4px) rotate(-3deg) scale(1.05); filter: drop-shadow(0 22px 22px rgba(0,0,0,.6)) drop-shadow(0 0 18px color-mix(in srgb, var(--c) 45%, transparent)); }
.path-glass { --c: #3f9b4d; } .path-mixed { --c: #3b4440; } .path-pszok { --c: var(--amber); }
.path-glass:hover { border-color: #3f9b4d; } .path-mixed:hover { border-color: #66716c; } .path-pszok:hover { border-color: var(--amber); }
.rule-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 28px; }
.search { flex: 1 1 320px; display: flex; align-items: center; gap: 12px; padding: 0 20px; min-height: 58px; border-radius: 999px; }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2.2; flex: none; }
.search input { flex: 1; background: transparent; border: 0; color: var(--ink); font: inherit; outline: none; min-width: 0; }
.search input::placeholder { color: var(--faint); }
.search:focus-within { border-color: var(--lime); }
.segmented { position: relative; display: flex; padding: 5px; border-radius: 999px; }
.segmented button { position: relative; z-index: 1; border: 0; background: transparent; padding: 0 18px; min-height: 46px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); transition: color .3s; }
.segmented button.active { color: #082018; }
.seg-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: var(--lime); transition: transform .55s var(--spring), width .55s var(--spring); }
.rule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rule-card { perspective: 1400px; min-height: 420px; }
.rule-card[hidden] { display: none; }
.rc-inner { position: relative; height: 100%; min-height: 420px; transform-style: preserve-3d; transition: transform .9s var(--spring); }
.rule-card.is-flipped .rc-inner { transform: rotateY(180deg); }
.rc-face { position: absolute; inset: 0; border-radius: var(--r); border: 1px solid var(--line); backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 22px; display: flex; flex-direction: column; overflow: hidden; }
.rc-front { background: radial-gradient(circle at 50% 30%, rgba(127,227,197,.14), transparent 60%), linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.rc-front img { width: 72%; max-height: 190px; object-fit: contain; margin: 4px auto 10px; filter: drop-shadow(0 22px 26px rgba(0,0,0,.45)); transition: transform .8s var(--spring); }
.rule-card:hover .rc-front img { transform: translateY(-8px) rotate(-4deg) scale(1.04); }
.rc-front h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 4px; }
.rc-q { color: var(--faint); font-size: .85rem; margin-bottom: 14px; }
.rc-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.rc-choices button { min-height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-size: .76rem; font-weight: 650; display: grid; place-items: center; gap: 4px; padding: 6px 4px; transition: transform .4s var(--spring), background .3s, border-color .3s; }
.rc-choices button i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.rc-choices button:hover { transform: translateY(-3px); border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.rc-back { transform: rotateY(180deg); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, var(--deep)), var(--deep) 70%); }
.rc-verdict { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.rc-verdict.ok { color: var(--lime); } .rc-verdict.no { color: #ff9d8a; }
.rc-label { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--c); color: var(--cink, #fff); font-weight: 700; font-size: .85rem; margin-bottom: 16px; }
.rc-back h3 { font-size: 1.4rem; margin-bottom: 10px; }
.rc-back p { color: var(--muted); font-size: .94rem; }
.rc-actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.rc-actions button { min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); font-size: .82rem; font-weight: 600; }
.rc-actions button:hover { border-color: var(--lime); }
.cat-glass { --c: #3f9b4d; } .cat-mixed { --c: #4a5550; } .cat-pszok { --c: var(--amber); --cink: #2a1b02; }
.empty { color: var(--muted); padding: 24px 0; }
.all-items { margin-top: 40px; border-radius: var(--r); overflow: hidden; }
.all-items summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; font-weight: 650; font-size: 1.1rem; cursor: pointer; }
.all-items summary::-webkit-details-marker { display: none; }
.plus { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex: none; transition: transform .5s var(--spring), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); }
.plus::after { transform: rotate(90deg); transition: transform .5s var(--spring); }
.all-items[open] .plus { transform: rotate(180deg); background: var(--lime); }
.all-items[open] .plus::before { background: #082018; } .all-items[open] .plus::after { transform: rotate(0); background: #082018; }
.all-items-body { padding: 0 28px 28px; }
.table-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.table-filters button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .86rem; font-weight: 600; }
.table-filters button.active { background: var(--ink); color: #082018; }
.item-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; counter-reset: it; }
.item-list li { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid transparent; transition: border-color .3s, background .3s; }
.item-list li:hover { border-color: var(--line-2); background: rgba(255,255,255,.06); }
.item-list li::before { counter-increment: it; content: counter(it, decimal-leading-zero); font-size: .75rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.item-list li[hidden] { display: none; }
.il-name { font-weight: 600; font-size: .95rem; } .il-name small { display: block; color: var(--faint); font-weight: 400; font-size: .8rem; margin-top: 2px; }
.il-tag { font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--c); color: var(--cink, #fff); white-space: nowrap; }
.il-listen { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; }
.il-listen svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.il-listen:hover, .il-listen.is-speaking { border-color: var(--lime); color: var(--lime); }
.pszok-note { margin-top: 28px; border-radius: var(--r); display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; }
.pszok-note p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }
.note-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--amber); color: #2a1b02; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; }

/* ===== Gra — zapowiedź ===== */
.game-teaser { padding: clamp(16px, 2vw, 28px); background: var(--bg-2); }
.game-stage { position: relative; min-height: 100vh; border-radius: clamp(24px, 3vw, 44px); overflow: hidden; display: grid; align-items: center; isolation: isolate; clip-path: inset(0 round clamp(24px, 3vw, 44px)); }
.game-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.game-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,17,13,.94) 0%, rgba(4,17,13,.7) 45%, rgba(4,17,13,.15) 100%); }
.game-copy { padding-block: 90px; }
.game-copy h2 { max-width: 760px; margin-bottom: 26px; }
.game-lead { max-width: 560px; color: var(--muted); font-size: 1.1rem; }
.game-copy .fine { margin-top: 18px; }
.game-stats { list-style: none; padding: 0; margin: 34px 0; display: flex; flex-wrap: wrap; gap: 14px; }
.game-stats li { padding: 16px 22px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid var(--line); backdrop-filter: blur(12px); min-width: 150px; }
.game-stats b { display: block; font-size: 2.4rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; color: var(--lime); }
.game-stats span { font-size: .82rem; color: var(--muted); }
.falling-preview { position: absolute; right: 6%; top: 0; bottom: 0; width: min(36vw, 460px); pointer-events: none; z-index: 0; }
.falling-preview img { position: absolute; height: auto; }
/* Klawisze w ruchu */
.keys-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; }
.kc { --d: 6px; position: relative; min-width: 52px; height: 52px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 14px; font-weight: 700; font-size: 1.05rem; color: var(--ink); background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 var(--d) 0 rgba(0,0,0,.45), 0 var(--d) 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(0); transition: transform .12s, box-shadow .12s, background .2s, color .2s; backdrop-filter: blur(8px); }
.kc-wide { font-size: .82rem; letter-spacing: .04em; }
.kc.is-down { transform: translateY(var(--d)); box-shadow: 0 0 0 rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.3); background: var(--lime); color: #082018; }
.kc-sep { color: var(--faint); font-size: .85rem; padding: 0 6px; }

/* ===== Audio ===== */
.audio-inner { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 54px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 54px); align-items: center; }
.audio-inner h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: 14px; }
.audio-inner p { color: var(--muted); margin: 0; max-width: 560px; }
.audio-wave { width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 4px; background: radial-gradient(circle, rgba(212,239,120,.18), transparent 70%); border: 1px solid rgba(212,239,120,.3); }
.audio-wave i { width: 4px; border-radius: 3px; background: var(--lime); height: 20%; animation: wave 1.4s ease-in-out infinite; }

/* ===== O projekcie / wsparcie ===== */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: end; }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 18px; }
.funding { padding-bottom: clamp(90px, 12vw, 160px); }
.funding-card { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(28px, 5vw, 70px); align-items: center; transform-style: preserve-3d; }
.funding-logos { display: grid; gap: 10px; }
.logo-plate { display: grid; place-items: center; padding: 22px 26px; border-radius: 20px; background: rgba(255,255,255,.95); transition: transform .5s var(--spring), box-shadow .4s; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.logo-plate:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 26px 60px rgba(212,239,120,.2); }
.logo-plate img { max-height: 70px; width: auto; }
.plate-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px 6px; }
.funding-copy h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); margin-bottom: 18px; }
.funding-copy p { color: var(--muted); }

/* ===== Stopka ===== */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(50px, 8vw, 110px); overflow: hidden; }
.footer-big { font-size: clamp(3rem, 11vw, 12rem); font-weight: 700; letter-spacing: -.06em; line-height: .88; margin: 0 0 40px; color: rgba(255,255,255,.08); -webkit-text-stroke: 1px rgba(255,255,255,.12); }
.footer-big em { color: rgba(212,239,120,.25); -webkit-text-stroke: 0; }
/* Realizator projektu (EduProLogo): logo białe w ciemnym motywie, kolorowe w jasnym (motyw-jasny.css) */
.footer-credit { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; padding-block: 8px 46px; }
.credit-logo { display: block; transition: transform .5s var(--spring); }
.credit-logo:hover { transform: translateY(-3px); }
.credit-logo img { width: 100%; height: auto; }
.credit-logo-jasne { display: none !important; }
.credit-copy .plate-label { margin: 0 0 10px; }
.credit-copy p:not(.plate-label) { color: var(--muted); max-width: 660px; margin-bottom: 12px; }
.credit-copy strong { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; padding-block: 26px 40px; padding-right: 64px; /* miejsce na słoik-wskaźnik */ border-top: 1px solid var(--line); font-size: .86rem; color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links button, .footer-links a { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: none; font-size: .86rem; }
.footer-links button:hover, .footer-links a:hover { color: var(--lime); }

/* ===== Słoik-wskaźnik ===== */
.jar-meter { position: fixed; z-index: 80; right: 18px; bottom: 18px; width: 54px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: rgba(4,17,13,.5); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .5s var(--spring); }
.jar-meter:hover { transform: translateY(-4px) rotate(-6deg); }
.jar-meter svg { width: 32px; height: 42px; overflow: visible; }
.jar-outline { fill: none; stroke: var(--ink); stroke-width: 2; }
.jar-lid { fill: var(--lime); }
.jar-fill { fill: var(--lime); opacity: .85; }

/* ===== Okno filmu ===== */
dialog { color: var(--ink); }
.film-dialog { width: min(1240px, 100% - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: rgba(7,26,20,.82); backdrop-filter: blur(28px) saturate(150%); -webkit-backdrop-filter: blur(28px) saturate(150%); overflow: hidden; box-shadow: 0 40px 140px rgba(0,0,0,.6); }
.film-dialog::backdrop, .info-dialog::backdrop { background: rgba(2,8,6,.72); backdrop-filter: blur(8px); }
.fd-shell { display: grid; grid-template-columns: 1.05fr 1fr; height: min(800px, calc(100dvh - 24px)); }
.fd-media { position: relative; min-height: 420px; overflow: hidden; }
.fd-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Gotowy film: szersza kolumna, kadr 16:9 bez przycinania (plansza końcowa musi być widoczna w całości), rozmyta okładka w tle. */
.film-dialog.has-video .fd-shell { grid-template-columns: 1.5fr 1fr; }
/* Gdy jest film, scenariusz (Sen → Przebudzenie → Decyzja) i jego odsłuch są zbędne: zostaje krótki opis i „Zapamiętaj”. */
.film-dialog.has-video :is(.story-steps, .story-panel, #fd-listen) { display: none; }
.film-dialog.has-video #fd-poster { inset: -60px; width: calc(100% + 120px); max-width: none; height: calc(100% + 120px); filter: blur(24px) brightness(.5) saturate(1.2); }
.fd-media video { position: absolute; z-index: 1; left: 0; top: 50%; width: 100%; height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%); object-fit: contain; background: rgba(0,0,0,.35); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.fd-media-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4,17,13,.85)); }
.fd-status { position: absolute; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(4,17,13,.6); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600; }
.fd-number { position: absolute; right: 18px; top: 8px; font-size: clamp(5rem, 10vw, 9rem); font-weight: 750; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); line-height: 1; }
.fd-body { padding: clamp(26px, 3.4vw, 46px); overflow-y: auto; }
.fd-body h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); margin-bottom: 12px; }
.fd-short { color: var(--muted); font-size: 1.05rem; }
.story-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line); margin: 22px 0 14px; }
.story-steps button { position: relative; z-index: 1; border: 0; background: transparent; padding: 10px 6px; border-radius: 14px; font-weight: 650; font-size: .9rem; color: var(--muted); display: grid; gap: 2px; transition: color .3s; }
.story-steps button small { font-size: .68rem; color: var(--faint); letter-spacing: .1em; }
.story-steps button[aria-selected="true"] { color: #082018; } .story-steps button[aria-selected="true"] small { color: rgba(8,32,24,.6); }
.steps-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 18px) / 3); border-radius: 14px; background: var(--accent, var(--lime)); transition: transform .6s var(--spring); }
.story-panel { min-height: 120px; font-family: "Instrument", serif; font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.3; }
.story-panel p { margin: 0; }
.fd-rule { position: relative; margin: 20px 0; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(212,239,120,.12), rgba(212,239,120,.02)); border: 1px solid rgba(212,239,120,.28); }
.fd-rule .eyebrow { margin-bottom: 8px; }
.fd-rule p:not(.eyebrow) { margin: 0; color: var(--ink); }
.fd-bin { display: inline-flex; margin-top: 12px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--c); color: var(--cink, #fff); }
.fd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fd-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.fd-nav button { background: none; border: 0; color: var(--muted); font-size: .88rem; font-weight: 600; padding: 8px 0; }
.fd-nav button:hover { color: var(--lime); }
.fd-close { position: absolute; z-index: 5; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(4,17,13,.6); backdrop-filter: blur(10px); display: grid; place-items: center; transition: transform .5s var(--spring), background .3s; }
.fd-close:hover { transform: rotate(90deg); background: var(--lime); color: #082018; }
.fd-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.info-dialog { width: min(640px, 100% - 24px); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); background: rgba(7,26,20,.9); }
.info-dialog h2 { font-size: 2.2rem; margin-bottom: 18px; }
.info-dialog p { color: var(--muted); }

/* ===== Odtwarzacz ===== */
.voice-pill { position: fixed; z-index: 120; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 999px; min-width: min(460px, calc(100% - 100px)); }
.vp-bars { display: flex; gap: 3px; align-items: center; height: 22px; }
.vp-bars i { width: 3px; border-radius: 2px; background: var(--lime); height: 30%; animation: wave .9s ease-in-out infinite; }
.vp-bars i:nth-child(2) { animation-delay: -.2s } .vp-bars i:nth-child(3) { animation-delay: -.4s } .vp-bars i:nth-child(4) { animation-delay: -.6s } .vp-bars i:nth-child(5) { animation-delay: -.8s }
.voice-pill.is-paused .vp-bars i { animation-play-state: paused; }
.vp-text { flex: 1; min-width: 0; display: grid; }
.vp-text strong { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-text span { font-size: .74rem; color: var(--faint); }
.voice-pill button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); font-size: .9rem; }
.voice-pill button:hover { background: var(--lime); color: #082018; }
.toast { position: fixed; z-index: 130; left: 50%; top: 90px; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #082018; font-weight: 600; font-size: .9rem; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.noscript { position: fixed; inset: auto 16px 16px; padding: 16px; background: var(--lime); color: #082018; border-radius: 14px; z-index: 999; }

/* ===== Animacje wejścia ===== */
.split .word { display: inline-block; }
[data-reveal] { opacity: 0; transform: translateY(40px); }

/* ===== Responsywność ===== */
@media (max-width: 1100px) {
  .rule-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .nav-play { margin-left: auto; }
}
@media (max-width: 860px) {
  .cinema-head, .section-head, .about, .funding-card { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .rule-grid { grid-template-columns: repeat(2, 1fr); }
  .item-list { grid-template-columns: 1fr; }
  .fd-shell { grid-template-columns: 1fr; overflow-y: auto; height: auto; max-height: calc(100dvh - 24px); }
  .fd-media { min-height: 0; aspect-ratio: 16 / 10; }
  .film-dialog.has-video .fd-shell { grid-template-columns: 1fr; }
  .film-dialog.has-video .fd-media { aspect-ratio: 16 / 9; }
  .fd-body { overflow: visible; }
  .audio-inner { grid-template-columns: 1fr; }
  .audio-wave { width: 84px; height: 84px; }
  .pszok-note { grid-template-columns: 1fr; }
  .falling-preview { opacity: .35; right: -10%; width: 70vw; }
  .hero-second { display: none; }
  .blob-a { right: -30px; top: 12%; }
}
@media (max-width: 620px) {
  .footer-credit { grid-template-columns: 1fr; gap: 18px; }
  .credit-logo { max-width: 220px; }
  .logo-chip img { height: 22px; }
  .brand span { display: none; }
  .nav-pill { gap: 8px; padding-left: 12px; }
  .nav-play span { display: none; } .nav-play { padding: 0 14px; }
  .rule-grid { grid-template-columns: 1fr; }
  .rule-card, .rc-inner { min-height: 400px; }
  .hero { height: 260vh; }
  .hero-content { bottom: 96px; right: var(--gutter); }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .item-list li { grid-template-columns: 24px 1fr auto; }
  .item-list .il-tag { grid-column: 2; justify-self: start; }
  .item-list .il-listen { grid-row: 1 / span 2; grid-column: 3; }
  .voice-pill { min-width: 0; width: calc(100% - 90px); left: 12px; transform: none; }
  .game-stats li { min-width: 0; flex: 1 1 40%; }
  .kc { min-width: 44px; height: 44px; }
}
/* Mobile: karuzela filmów w poziomie z przyciąganiem (bez przypinania) */
.reel.is-native { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.reel.is-native::-webkit-scrollbar { display: none; }
.reel.is-native .film-card { scroll-snap-align: center; width: min(82vw, 420px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero, .shatter { height: auto; }
  .hero-sticky { position: relative; }
  .shatter-sticky { position: relative; min-height: 80vh; }
  .hero-fallback { opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
  .blob { display: none; }
}
