@font-face {
  font-family: "Righteous";
  src: url("fonts/righteous-latin-ext.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Righteous";
  src: url("fonts/righteous-latin.woff2") format("woff2");
  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: "Outfit";
  src: url("fonts/outfit-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin.woff2") format("woff2");
  font-weight: 300 800;
  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;
}

:root {
  --bg: #120b04;
  --bg-2: #1c1208;
  --panel: rgba(42, 28, 13, .78);
  --panel-solid: #2a1c0d;
  --line: rgba(255, 220, 160, .12);
  --text: #f7ecd6;
  --muted: #bda67f;
  --amber: #f5b335;
  --amber-hot: #ffcf5c;
  --amber-deep: #c9761a;
  --foam: #fff8e8;
  --neon-warm: #ffe9c2;
  --neon-amber: #ffad33;
  --ok: #6ff29a;
  --bad: #ff5f4a;
  --wood-1: #5a3518;
  --wood-2: #3d220e;
  --wood-3: #6e4320;
  --chrome-1: #f4f4f2;
  --chrome-2: #9a9a96;
  --radius: 22px;
  --display: "Righteous", "Trebuchet MS", system-ui, sans-serif;
  --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(245, 179, 53, .16), transparent 60%),
    radial-gradient(700px 500px at 10% 40%, rgba(201, 118, 26, .10), transparent 60%),
    linear-gradient(180deg, #1a1007 0%, var(--bg) 40%, #0d0803 100%);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}

#fizz { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.nav, .hero, main, .footer { position: relative; z-index: 1; }

a { color: var(--amber); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }

/* ---------- Nawigacja ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px max(16px, calc((100vw - 1160px) / 2));
  background: rgba(18, 11, 4, .72);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav-logo { font-family: var(--display); font-size: 1.2rem; color: var(--text); text-decoration: none; white-space: nowrap; }
.nav-logo span { transition: color .2s; }
.nav-logo:hover span { color: var(--amber); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-links .nav-cta { color: #2b1a04; background: var(--amber); font-weight: 600; }
.nav-links .nav-cta:hover { background: var(--amber-hot); color: #2b1a04; }

.neon-status {
  display: flex; align-items: center; gap: 8px; margin: 0;
  font: .78rem var(--display); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
}
.neon-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.neon-status.ok { color: var(--ok); border-color: rgba(111, 242, 154, .35); text-shadow: 0 0 8px rgba(111, 242, 154, .7); }
.neon-status.ok .dot { background: var(--ok); box-shadow: 0 0 6px var(--ok), 0 0 16px var(--ok); animation: pulse 2.4s ease-in-out infinite; }
.neon-status.bad { color: var(--bad); border-color: rgba(255, 95, 74, .4); text-shadow: 0 0 8px rgba(255, 95, 74, .8); animation: flicker-bad 3s infinite; }
.neon-status.bad .dot { background: var(--bad); box-shadow: 0 0 10px var(--bad); }

@keyframes pulse { 50% { transform: scale(.7); opacity: .6; } }
@keyframes flicker-bad { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .25; } }

/* ---------- Hero ---------- */
.hero {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
  padding: 64px 16px 24px;
  min-height: min(760px, calc(100vh - 64px));
}
.kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .3em; font-size: .78rem; color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 30em; margin: 20px 0 32px; }

.neon {
  font-size: clamp(3.4rem, 9.5vw, 7.4rem); line-height: .95; letter-spacing: -.01em;
  display: flex; flex-wrap: wrap;
}
.neon .ch { display: inline-block; opacity: .12; color: var(--neon-warm); transition: opacity .05s; }
.neon .ch.on {
  opacity: 1;
  text-shadow: 0 0 4px #fff, 0 0 12px var(--neon-warm), 0 0 28px rgba(255, 190, 110, .8), 0 0 60px rgba(255, 150, 60, .5);
}
.neon .neon-b .ch { color: #ffd38a; }
.neon .neon-b .ch.on {
  text-shadow: 0 0 4px #fff3d6, 0 0 12px var(--neon-amber), 0 0 30px var(--neon-amber), 0 0 70px rgba(255, 120, 20, .7);
}
.neon .ch.buzz { animation: buzz 7s infinite; }
@keyframes buzz { 0%, 91%, 93%, 95.5%, 100% { opacity: 1; } 92%, 95% { opacity: .2; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Przyciski ---------- */
.btn {
  --lift: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1.05rem var(--body); text-decoration: none; cursor: pointer;
  border: none; border-radius: 16px; padding: 15px 24px;
  transform: translateY(var(--lift));
  transition: transform .25s var(--ease-bounce), box-shadow .25s, background .2s, color .2s;
}
.btn:hover { --lift: -3px; }
.btn:active { --lift: 1px; transition-duration: .08s; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, .pick:focus-within, .tap button:focus-visible, .glass-host:focus-visible {
  outline: 3px solid var(--amber-hot); outline-offset: 3px;
}
.btn-primary {
  color: #2b1a04;
  background: linear-gradient(180deg, var(--amber-hot), var(--amber) 55%, #e39a22);
  box-shadow: 0 10px 30px -10px rgba(245, 179, 53, .8), inset 0 -3px 0 rgba(0, 0, 0, .15), inset 0 2px 0 rgba(255, 255, 255, .45);
}
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(245, 179, 53, .95), inset 0 -3px 0 rgba(0, 0, 0, .15), inset 0 2px 0 rgba(255, 255, 255, .45); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn[disabled] { cursor: progress; opacity: .85; --lift: 0px; }

/* ---------- Stanowisko: kran + strumień + kufel ---------- */
.station {
  position: relative;
  display: grid; justify-items: center;
  --glass-w: 200px;
}
.tap-host { width: calc(var(--glass-w) * .8); position: relative; z-index: 2; margin-bottom: -6px; }
.tap-svg { display: block; width: 100%; height: auto; overflow: visible; }
.tap-handle { transform-box: view-box; transform-origin: 80px 74px; transition: transform .35s var(--ease-bounce); }
.station.pouring .tap-handle { transform: rotate(-24deg); }
.tap:hover .tap-handle, .tap.open .tap-handle { transform: rotate(-18deg); }

.stream {
  position: absolute; z-index: 1; width: 7px; left: 50%; margin-left: -3.5px; top: 0; height: 0;
  border-radius: 4px;
  background: repeating-linear-gradient(180deg, var(--beer, var(--amber)) 0 9px, color-mix(in srgb, var(--beer, var(--amber)) 70%, #fff) 9px 13px);
  background-size: 100% 26px;
  box-shadow: 0 0 12px color-mix(in srgb, var(--beer, var(--amber)) 60%, transparent);
  animation: flow .25s linear infinite, wobble .18s ease-in-out infinite alternate;
  opacity: 0;
  pointer-events: none;
}
.stream.on { opacity: 1; }
@keyframes flow { to { background-position-y: 26px; } }
@keyframes wobble { to { transform: scaleX(.75); } }

.glass-host {
  position: relative; z-index: 2;
  width: var(--glass-w); aspect-ratio: 120 / 200;
  padding: 0; border: 0; background: none; color: inherit;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .55));
  transition: transform .7s cubic-bezier(.6, -0.2, .3, 1.2);
}
button.glass-host { cursor: pointer; }
button.glass-host:hover { transform: rotate(-3deg) scale(1.02); }
.glass-svg { display: block; width: 100%; height: 100%; overflow: visible; }

.counter-top {
  height: 26px; width: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 30%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 2px, transparent 2px 46px),
    linear-gradient(180deg, var(--wood-3), var(--wood-1) 40%, var(--wood-2));
  border-radius: 8px;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .8);
}

.hero-station { --glass-w: clamp(150px, 20vw, 230px); padding-bottom: 8px; }
.hero-station .counter-top { width: min(420px, 100%); margin-top: -10px; position: relative; z-index: 1; }
.hint {
  position: absolute; right: 0; bottom: 50px; margin: 0;
  font: .85rem var(--display); color: var(--muted); transform: rotate(-6deg);
  opacity: 0; animation: hint-in .6s 4s forwards;
}
.hint::before { content: "↙ "; }
@keyframes hint-in { to { opacity: .8; } }

.glug {
  position: absolute; z-index: 5; pointer-events: none;
  font: 1.4rem var(--display); color: var(--amber-hot); text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
  animation: glug 1.1s ease-out forwards;
}
@keyframes glug { from { opacity: 1; transform: translate(-50%, 0) scale(.8); } to { opacity: 0; transform: translate(-50%, -70px) scale(1.3) rotate(-8deg); } }

/* ---------- Sekcje ---------- */
main { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0 24px; }
.section-title {
  font-size: clamp(2rem, 5vw, 3rem); text-align: center; margin-bottom: 10px;
  color: var(--amber);
  text-shadow: 0 0 22px rgba(245, 179, 53, .35);
}
.section-title span { position: relative; display: inline-block; }
.section-title span::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -8px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .8, .2, 1) .2s;
}
.section-title.seen span::after { transform: scaleX(1); }
.section-lead { text-align: center; color: var(--muted); max-width: 34em; margin: 18px auto 36px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.seen { opacity: 1; transform: none; }

/* ---------- Podstawki z licznikami ---------- */
.coasters {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 22px;
}
.coaster {
  --r: 0deg;
  width: 172px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 2px;
  background:
    radial-gradient(circle, transparent 62%, rgba(255, 255, 255, .08) 62.5% 64%, transparent 64.5%),
    repeating-conic-gradient(from 0deg, rgba(0, 0, 0, .1) 0 6deg, transparent 6deg 12deg),
    radial-gradient(circle at 35% 30%, #f0dcb4, #d8bd8c 70%, #b99a66);
  color: #3a2208;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .8), inset 0 0 0 6px #c9a46a, inset 0 0 0 8px #f3e2c0;
  transform: rotate(var(--r));
  transition: transform .6s var(--ease-bounce);
}
.coaster:nth-child(1) { --r: -6deg; }
.coaster:nth-child(2) { --r: 4deg; }
.coaster:nth-child(3) { --r: -3deg; }
.coaster:nth-child(4) { --r: 7deg; }
.coaster:nth-child(5) { --r: -5deg; }
.coaster:hover { transform: rotate(calc(var(--r) + 360deg)) scale(1.06); transition-duration: 1.2s; }
.coaster strong { font: 2.6rem/1 var(--display); color: #2a1604; }
.coaster span { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; max-width: 9em; }
.coaster-trap {
  background:
    radial-gradient(circle, transparent 62%, rgba(255, 255, 255, .08) 62.5% 64%, transparent 64.5%),
    repeating-conic-gradient(from 0deg, rgba(0, 0, 0, .14) 0 6deg, transparent 6deg 12deg),
    radial-gradient(circle at 35% 30%, #3b2a1a, #24170b 75%);
  color: var(--muted);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .8), inset 0 0 0 6px #4c3519, inset 0 0 0 8px #6a4a26;
}
.coaster-trap strong { color: var(--bad); text-shadow: 0 0 14px rgba(255, 95, 74, .6); }
.coaster.bump { animation: bump .5s var(--ease-bounce); }
@keyframes bump { 40% { transform: rotate(var(--r)) scale(1.12); } }

/* ---------- Krany ---------- */
.backbar {
  position: relative;
  padding: 26px 20px 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 40%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, #2c190a, #1c1007);
  box-shadow: inset 0 1px 0 var(--line);
}
.taps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.tap { width: 120px; text-align: center; }
.tap button {
  all: unset; display: block; cursor: pointer; width: 100%; border-radius: 12px;
}
.tap-svg-small { width: 100%; height: auto; display: block; overflow: visible; }
.tap-name { display: block; font: 1rem var(--display); }
.tap-style { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.tap-nozzle { position: relative; display: block; height: 18px; }
.tap .drip {
  position: absolute; left: 50%; top: -4px; width: 6px; height: 8px; margin-left: -3px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--amber); opacity: 0;
}
.tap:hover .drip, .tap.open .drip { animation: drip 1s ease-in infinite; }
@keyframes drip {
  0% { opacity: 0; transform: translateY(0) scale(.4); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(18px) scale(.8); }
}
.bar-rail { height: 46px; margin: 0 -20px; }
.taps .tap-empty { opacity: .55; }

.chalkboard {
  position: relative; margin: 28px auto 0; max-width: 520px;
  padding: 28px 32px 24px;
  background: radial-gradient(circle at 30% 20%, #2f3a33, #1d2420 70%);
  border: 10px solid var(--wood-1);
  border-radius: 12px;
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .9), inset 0 0 40px rgba(0, 0, 0, .6);
  color: #f2f0e6;
  font-family: var(--display);
  transform-origin: 50% 0;
  animation: board-in .55s var(--ease-bounce);
}
.chalkboard::before {
  content: ""; position: absolute; top: -40px; left: 50%; width: 2px; height: 30px; background: #6b5537;
  box-shadow: -60px 10px 0 #6b5537, 60px 10px 0 #6b5537;
}
@keyframes board-in { from { opacity: 0; transform: rotate(-4deg) translateY(-20px) scale(.92); } }
.chalkboard h3 { font-size: 2rem; margin: 0 0 6px; }
.chalk-style { margin: 0; color: #ffd98a; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; }
.chalkboard p { font-family: var(--body); color: #d9d6c8; }
.chalk-count strong { font: 1.8rem var(--display); color: #fff; }
.chalk-close {
  position: absolute; top: 6px; right: 10px; border: 0; background: none; color: #d9d6c8;
  font-size: 1.8rem; cursor: pointer; line-height: 1;
}

@keyframes drop-in { from { opacity: 0; transform: translateY(-36px) rotate(-6deg); } }

/* ---------- Gra ---------- */
.game {
  max-width: 880px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 6px rgba(90, 53, 24, .5);
  background: #140c05;
}
.game-hud {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px;
  padding: 12px 18px; font-size: .9rem; color: var(--muted);
  background: linear-gradient(180deg, #2c1b0c, #22150a);
  border-bottom: 1px solid var(--line);
}
.game-hud strong { font: 1.25rem var(--display); color: var(--text); margin-left: 4px; }
.g-combo { font: 1.1rem var(--display); color: var(--amber-hot); text-shadow: 0 0 10px rgba(255, 207, 92, .7); min-width: 2.5em; }
.g-lives { margin-left: auto; letter-spacing: .1em; }
.game-stage { position: relative; }
#game { display: block; width: 100%; aspect-ratio: 8 / 5; touch-action: none; cursor: none; outline: none; }
.game-overlay {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 16px;
  background: radial-gradient(circle, rgba(20, 12, 5, .55), rgba(20, 12, 5, .88));
  backdrop-filter: blur(2px);
  animation: thanks-in .5s var(--ease-bounce);
}
.game-overlay[hidden] { display: none; }
.game-overlay h3 { font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--amber); text-shadow: 0 0 24px rgba(245, 179, 53, .5); }
.game-overlay p { margin: 0 0 6px; color: var(--muted); max-width: 26em; }
.game-legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: .85rem; color: var(--muted); }
.game-legend i { display: inline-block; width: 22px; height: 15px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }
.lg-mail { background: #fff4dc; }
.lg-dkim { background: #ffd35c; box-shadow: 0 0 8px #ffd35c; }
.lg-spam { background: #ff6a52; }
.lg-honey { background: #e8961c; border-radius: 6px !important; width: 16px !important; height: 18px !important; }

/* ---------- Pub: formularz ---------- */
.pub {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.pub::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 300px at 25% 0%, rgba(255, 190, 90, .14), transparent 70%);
}
.pub-scene {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end;
  min-height: 420px;
}
.pub-scene .counter-top { grid-column: 1 / -1; margin-top: -6px; position: relative; z-index: 1; }
.form-station { --glass-w: 150px; }
.form-station .glass-host.swap-out { transform: translateX(-160%) rotate(-12deg); opacity: 0; transition: transform .35s ease-in, opacity .35s; }
.form-station .glass-host.swap-in { animation: swap-in .55s var(--ease-bounce); }
@keyframes swap-in { from { transform: translateX(160%) rotate(10deg); } }
.form-station .glass-host.serve { transform: translateX(calc(var(--serve-x, 140px))) rotate(0deg); }
.form-station .glass-host.serve.drink { transform: translateX(calc(var(--serve-x, 140px) + var(--drink-dx, -70px))) translateY(var(--drink-dy, 10px)) rotate(62deg); transition-duration: .8s; }

.bartender-wrap { position: relative; width: 170px; justify-self: end; }
.bartender-host svg { display: block; width: 100%; height: auto; overflow: visible; }
.bt-eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.bt-happy { opacity: 0; }
.bartender-host.happy .bt-eye { opacity: 0; }
.bartender-host.happy .bt-happy { opacity: 1; }
.bt-arm { transform-box: view-box; transform-origin: 34px 118px; transition: transform .6s var(--ease-bounce); }
.bartender-host.wave .bt-arm { animation: wave .9s ease-in-out 2; }
@keyframes wave { 50% { transform: rotate(28deg); } }
.bartender-host svg { animation: idle 3.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes idle { 50% { transform: translateY(-3px) rotate(.6deg); } }

.speech {
  position: absolute; bottom: 100%; right: 30px; margin-bottom: -16px;
  padding: 10px 16px; border-radius: 16px 16px 4px 16px;
  background: var(--foam); color: #2b1a04; font: 1rem var(--display); white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5);
  transform: scale(0); transform-origin: 100% 100%; opacity: 0;
  transition: transform .45s var(--ease-bounce), opacity .2s;
}
.speech.show { transform: scale(1); opacity: 1; }

.order { display: grid; gap: 18px; position: relative; z-index: 1; }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.step legend, .step-label { font: 1.1rem var(--display); color: var(--text); padding: 0; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.step small { font: .85rem var(--body); color: var(--muted); }
.step-no {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--amber); color: #2b1a04; font: .95rem var(--display);
  box-shadow: 0 0 14px rgba(245, 179, 53, .5);
}

.picker { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: thin; }
.pick { position: relative; flex: 0 0 auto; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pick label {
  display: grid; justify-items: center; gap: 4px; cursor: pointer;
  width: 82px; padding: 10px 6px 8px; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 2px solid transparent;
  font-size: .82rem; color: var(--muted); text-align: center;
  transition: transform .35s var(--ease-bounce), border-color .2s, background .2s, color .2s;
}
.pick .mini { width: 40px; aspect-ratio: 120 / 200; }
.pick label:hover { transform: translateY(-4px) rotate(-3deg); background: rgba(255, 255, 255, .07); }
.pick input:checked + label {
  border-color: var(--amber); background: rgba(245, 179, 53, .12); color: var(--text);
  transform: translateY(-4px); box-shadow: 0 10px 22px -10px rgba(245, 179, 53, .8);
}
.pick input:checked + label .mini { animation: jiggle .6s var(--ease-bounce); }
@keyframes jiggle { 30% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(6deg); } }

input, textarea {
  font: inherit; color: var(--text); width: 100%;
  background: rgba(10, 6, 2, .65);
  border: 2px solid #4b3418; border-radius: 14px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 64px; }
input::placeholder, textarea::placeholder { color: #7d6847; }
input:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(245, 179, 53, .18); }
.invalid { border-color: var(--bad) !important; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.field-error { margin: 0; min-height: 0; color: var(--bad); font-size: .88rem; }
.char-count { margin: -2px 0 0; text-align: right; font-size: .8rem; color: var(--muted); }
.char-count.near { color: var(--amber); }

.btn-pour { font-size: 1.2rem; padding: 18px 24px; position: relative; overflow: hidden; }
.btn-lever {
  width: 12px; height: 26px; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(90deg, #6b3d17, #a8682b, #6b3d17);
  transform-origin: 50% 100%; transition: transform .3s var(--ease-bounce);
}
.btn-pour:hover .btn-lever { transform: rotate(-20deg); }
.btn-pour[disabled] .btn-lever { transform: rotate(-30deg); }
.btn-pour::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
}
.btn-pour:hover::after { transform: translateX(100%); transition: transform .8s; }

.thanks {
  position: relative; z-index: 1; text-align: center; align-self: center;
  animation: thanks-in .7s var(--ease-bounce);
}
@keyframes thanks-in { from { opacity: 0; transform: scale(.8) translateY(20px); } }
.thanks-emoji { font-size: 4.5rem; line-height: 1; animation: cheers 1.4s ease-in-out infinite; }
@keyframes cheers { 50% { transform: rotate(-12deg) scale(1.08); } }
.thanks h3 { font-size: 2.2rem; color: var(--amber); margin: 12px 0 6px; }
.thanks p { color: var(--muted); margin: 0 0 16px; }
.thanks blockquote {
  margin: 0 auto 22px; max-width: 26em; padding: 12px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); font-style: italic; border-left: 3px solid var(--amber);
}

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Stopka ---------- */
.footer { max-width: 1160px; margin: 64px auto 0; padding: 0 16px 40px; text-align: center; color: var(--muted); font-size: .9rem; }
.footer .counter-top { margin-bottom: 26px; }
.footer-egg { opacity: .25; letter-spacing: .3em; font-size: .75rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50;
  max-width: calc(100vw - 32px);
  padding: 14px 20px; border-radius: 16px;
  background: var(--panel-solid); color: var(--text); border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .6);
  transform: translate(-50%, 150%); opacity: 0;
  transition: transform .5s var(--ease-bounce), opacity .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.bad { border-color: rgba(255, 95, 74, .5); }

/* Happy hour (easter egg) */
body.happy-hour { animation: happy 1.2s ease-in-out 3; }
@keyframes happy { 50% { filter: hue-rotate(25deg) saturate(1.4) brightness(1.1); } }

/* ---------- Responsywność ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; min-height: 0; }
  .neon { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .pub { grid-template-columns: 1fr; padding: 22px; }
  .pub-scene { min-height: 340px; }
  .hint { right: 8%; }
}
@media (max-width: 600px) {
  .nav { gap: 10px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .neon-status .label { display: none; }
  .coaster { width: 138px; }
  .coaster strong { font-size: 2rem; }
  .coaster span { font-size: .7rem; }
  .form-station { --glass-w: 116px; }
  .bartender-wrap { width: 128px; }
  .speech { font-size: .85rem; right: 10px; }
  .tap { width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #fizz { display: none; }
  .reveal { opacity: 1; transform: none; }
}
