@font-face { font-family: "Baloo 2"; src: url(assets/fonts/baloo-2-latin-wght-normal.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Baloo 2"; src: url(assets/fonts/baloo-2-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Nunito; src: url(assets/fonts/nunito-latin-wght-normal.woff2) format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Nunito; src: url(assets/fonts/nunito-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0a1440;
  --navy-2: #121f5c;
  --navy-3: #1c2c78;
  --pink: #e8176f;
  --red: #e0202f;
  --mint: #2fdcae;
  --gold: #ffc94d;
  --ink: #f4f6ff;
  --dim: #b9c3ee;
  --display: "Baloo 2", "Trebuchet MS", sans-serif;
  --body: Nunito, "Trebuchet MS", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font: 500 1.0625rem/1.55 var(--body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }
a { color: var(--mint); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--navy); padding: 8px 12px; z-index: 5; }
.skip:focus { left: 8px; }

.draft {
  background: var(--gold); color: var(--navy);
  padding: 8px 16px; text-align: center; font-weight: 800; font-size: .9rem;
}

/* Hero */
.hero { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 16px 40px; }
.hero-art img {
  width: 100%; max-width: 760px; margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 46%, #000 68%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 62% at 50% 46%, #000 68%, transparent 100%);
}
.hero-copy { margin-top: -28px; position: relative; text-align: center; }
h1 {
  font: 700 clamp(3rem, 15.5vw, 5.6rem)/.92 var(--display);
  text-transform: uppercase; letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 0 var(--red), 0 4px 0 var(--red), 0 6px 0 var(--red), 0 8px 0 #a30f1f, 0 14px 22px rgba(0,0,0,.45);
}
h1 span { display: block; }
.pill {
  display: inline-block; margin-top: 14px; padding: 4px 22px 7px;
  background: var(--mint); color: var(--navy);
  font: 700 clamp(1.3rem, 6vw, 1.9rem)/1.2 var(--display);
  border-radius: 999px; transform: rotate(-3deg);
}
.ribbon {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .5em;
  margin: 18px auto 0; padding: 10px 24px; max-width: 640px;
  background: var(--pink); border-radius: 16px 16px 4px 16px;
  font: 700 clamp(1.25rem, 5.6vw, 1.9rem)/1.25 var(--display);
}
.ribbon i { font-style: normal; opacity: .75; }
.place { margin-top: 14px; font-size: 1.15rem; font-weight: 700; }
.count { margin-top: 6px; color: var(--mint); font-weight: 800; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.btn {
  display: inline-block; min-height: 48px; padding: 11px 26px;
  border-radius: 999px; text-decoration: none;
  font: 600 1.15rem/1.4 var(--display);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-mint { background: var(--mint); color: var(--navy); box-shadow: 0 4px 0 #17997a; }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 4px 0 #9d0d4a; }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--dim); }

/* Oferta */
.offer { background: var(--navy-2); padding: 20px 16px; text-align: center; }
.offer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.offer li { font: 600 1.2rem/1.5 var(--display); }
.offer li + li::before { content: "•"; color: var(--pink); margin: 0 .5em; }
.goal { display: inline-block; margin-top: 12px; padding: 5px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--dim); font-weight: 700; }

/* Sekcje */
.panel { max-width: 760px; margin: 0 auto; padding: 52px 16px 8px; scroll-margin-top: 8px; }
h2 { font: 700 clamp(1.8rem, 7vw, 2.5rem)/1.1 var(--display); color: #fff; }
.lead { margin-top: 8px; color: var(--dim); }
.muted { color: var(--dim); font-size: .95rem; }

.needs { margin-top: 22px; display: grid; gap: 10px; }
.need { background: var(--navy-2); border-radius: 14px; padding: 12px 16px 14px; }
.need-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.need-name { font: 600 1.2rem/1.3 var(--display); }
.need-state { font-weight: 800; font-size: .95rem; color: var(--gold); white-space: nowrap; }
.need.done .need-state { color: var(--mint); }
.bar { height: 10px; margin-top: 8px; background: var(--navy-3); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--pink); border-radius: 99px; transition: width .6s ease; }
.need.done .bar i { background: var(--mint); }
#needs-updated { margin-top: 10px; }
.signup { margin-top: 20px; }
.dropoff { margin-top: 18px; padding-left: 14px; box-shadow: inset 3px 0 0 var(--mint); }

/* Plan */
.stalls { margin-top: 18px; display: grid; gap: 4px; }
.stalls li { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; scroll-margin: 80px; }
.stalls li.on { background: var(--navy-3); }
.num { flex: 0 0 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font: 700 1rem/1 var(--display); color: var(--navy); }
.stalls small { display: block; color: var(--dim); font-size: .88rem; }

/* Sponsorzy */
.sponsors { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 12px; margin-top: 26px; padding: 6px 0 10px; }
.sp { --tilt: 0deg; --drop: 0px; display: grid; place-items: center; flex: 0 1 auto; width: calc(50% - 8px); min-height: 104px; padding: 12px 14px; text-align: center; background: #fff; color: var(--navy); border-radius: 16px; box-shadow: 0 8px 22px rgba(0, 0, 0, .32); transform: translateY(var(--drop)) rotate(var(--tilt)); transition: transform .2s ease; }
.sp:hover { transform: translateY(calc(var(--drop) - 3px)) rotate(0deg) scale(1.03); }
.sp:nth-child(4n+1) { --tilt: -2deg; }
.sp:nth-child(4n+2) { --tilt: 1.6deg; --drop: 6px; }
.sp:nth-child(4n+3) { --tilt: 2.2deg; --drop: -4px; }
.sp:nth-child(4n) { --tilt: -1.4deg; --drop: 5px; }
.sp a { display: grid; place-items: center; gap: 4px; width: 100%; color: inherit; text-decoration: none; }
.sp img { width: auto; max-width: 100%; max-height: 72px; }
.sp small { color: #4a5688; font-size: .82rem; font-weight: 700; line-height: 1.2; }
.sp b { font: 700 1.08rem/1.15 var(--display); }
.sp-tekst { display: flex; flex-direction: column; justify-content: center; gap: 3px; background: var(--navy-2); color: #fff; box-shadow: inset 0 0 0 2px var(--navy-3), 0 8px 22px rgba(0, 0, 0, .32); }
.sp-tekst small { color: var(--mint); }
.sp-duzy { width: 100%; max-width: 250px; padding: 14px; }
.sp-duzy img { max-height: 160px; }
.sp-szeroki { width: 100%; max-width: 300px; }
.sp-ciemne { background: #1f2022; }
.sp-ciemne img { max-height: 92px; }
@media (min-width: 620px) {
  .sponsors { gap: 18px 16px; }
  .sp { width: 200px; }
  .sp-szeroki { width: 280px; }
  .sp-duzy { width: 230px; }
}

footer { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 56px; padding: 28px 16px 36px; background: var(--navy-2); }
footer img { width: 84px; border-radius: 50%; }
.tag { display: inline-block; padding: 0 10px 2px; background: var(--mint); color: var(--navy); border-radius: 99px; font-weight: 800; font-size: .85rem; }
.org { font: 700 1.5rem/1.2 var(--display); }

@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding-top: 24px; }
  .hero-copy { margin-top: 0; }
  h1 { font-size: clamp(4rem, 6.6vw, 5.6rem); }
  .stalls { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 480px) {
  .ribbon i { display: none; }
  .ribbon { flex-direction: column; align-items: center; }
  .offer ul { display: grid; grid-template-columns: 1fr 1fr; }
  .offer li + li::before { content: none; }
}

.sub-title { margin-top: 10px; text-transform: none; text-shadow: none; letter-spacing: 0; font: 700 clamp(1.9rem, 8vw, 2.7rem)/1.1 var(--display); color: #fff; }
.back { margin: 28px 0 40px; }

/* Mapa */
.map-page { max-width: 820px; }
.floors { display: flex; gap: 8px; margin-top: 18px; }
.floors button { flex: 1; min-height: 44px; border: 0; border-radius: 10px; cursor: pointer; background: var(--navy-2); color: var(--ink); font: 600 1.05rem/1.2 var(--display); }
.floors button[aria-pressed="true"] { background: var(--mint); color: var(--navy); }
.map { display: block; width: 100%; height: auto; margin-top: 12px; background: #fff; border-radius: 14px; }
.r { fill: #eef1fb; stroke: #0a1440; stroke-width: 2; }
.r-kom { fill: #fff; }
.r-tech { fill: #dfe3f2; }
.r-txt { fill: #0a1440; font: 700 12px var(--body); text-anchor: middle; }
.s { cursor: pointer; }
.s rect { stroke: #0a1440; stroke-width: 1; }
.s text { fill: #0a1440; font: 700 13px var(--display); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.s.on rect { stroke-width: 3.5; stroke: var(--pink); }
.s:focus-visible { outline: none; }
.s:focus-visible rect { stroke: var(--pink); stroke-width: 3.5; }
.f-rekodzielo { fill: var(--mint); }
.f-ozdoby { fill: #ffa3c9; }
.f-wypieki { fill: var(--gold); }
.f-upominki { fill: #9fc3ff; }
.a { fill: none; stroke-width: 5; }
.a-wejscie { stroke: #1f62d6; }
.a-wyjscie { stroke: #e0701a; }
.h-wejscie { fill: #1f62d6; }
.h-wyjscie { fill: #e0701a; }
.a-txt { font: 800 11px var(--body); text-anchor: middle; }
.t-wejscie { fill: #1f62d6; }
.t-wyjscie { fill: #c75a0c; }
.pin { fill: var(--pink); stroke: #fff; stroke-width: 2; }
.pin-pulse { fill: var(--pink); opacity: .3; transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
.pin-txt { fill: #fff; font: 800 11px var(--body); text-anchor: middle; dominant-baseline: central; }
.pin-bg { fill: var(--pink); }
@keyframes pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(1.8); opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .92rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.stalls button { all: unset; display: flex; gap: 12px; align-items: center; width: 100%; cursor: pointer; }
.stalls button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .pin-pulse { animation: none; } }
.c-rekodzielo { background: var(--mint); }
.c-ozdoby { background: #ffa3c9; }
.c-wypieki { background: var(--gold); }
.c-upominki { background: #9fc3ff; }

.sp-granat { background: var(--navy); box-shadow: inset 0 0 0 2px var(--navy-3), 0 8px 22px rgba(0, 0, 0, .32); }
@media (max-width: 1120px) {
  .ribbon i { display: none; }
  .ribbon { flex-direction: column; align-items: center; }
}

.sp-krem { background: #fbf6f0; }
.sp-krem img { max-height: 220px; }

.sp-granat small { color: var(--mint); }
.sp-cofnij { background: #1c335a; }
.sp-cofnij small { color: var(--mint); }

a.ribbon { color: #fff; text-decoration: none; transition: transform .15s ease; }
a.ribbon:hover { transform: translateY(-2px); }
.ribbon small { flex-basis: 100%; font: 800 .92rem/1.3 var(--body); text-decoration: underline; text-underline-offset: 3px; }
