/* ══════════════════════════════════════════════════════════════
   LABIRYNT ZADUSZNIKI – style strony głównej
   Paleta i typografia wg makiety klienta.
   ══════════════════════════════════════════════════════════════ */

:root {
  /* Kolory */
  --gold:        #E9A60F;
  --gold-deep:   #C8890A;
  --cream:       #F2E9D2;
  --cream-2:     #ECE0C4;
  --olive-900:   #15180E;
  --olive-800:   #1E2214;
  --olive-700:   #272C1A;
  --green-700:   #2D3A1B;
  --text-light:  #F7F3E8;
  --text-dim:    #C9C5B4;
  --ink:         #20240F;

  /* Typografia */
  --f-head:   'Oswald', system-ui, sans-serif;
  --f-script: 'Caveat', cursive;
  --f-body:   'Montserrat', system-ui, sans-serif;

  /* Wymiary */
  --container: 1120px;
  --radius:    10px;
  --header-h:  76px;
}

/* ───────────── Reset / podstawy ───────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text-light);
  background: var(--olive-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }
.script { font-family: var(--f-script); }

/* ───────────── Placeholdery zdjęć (do podmiany na realne assety) ───────────── */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--olive-700), var(--green-700));
  overflow: hidden;
}
.ph::after {
  content: attr(data-ph);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  font-family: var(--f-body);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(247,243,232,.45);
}

/* ───────────── Przyciski ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--f-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .92rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--ticket { background: var(--gold); color: var(--olive-900); }
.btn--ticket:hover { background: #ffba1f; }
.btn--ghost { background: transparent; color: var(--text-light); border-color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--olive-900); }
.btn--sm { padding: 9px 16px; font-size: .8rem; }

/* ───────────── Nagłówki sekcji ───────────── */
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 28px;
}
.section-title span { color: var(--gold); }
.section-title .muted { color: var(--text-light); }
.section-title--dark { color: var(--ink); }
.section-title--dark span { color: var(--gold-deep); }

/* ════════════════════ NAGŁÓWEK ════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(21,24,14,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(233,166,15,.18);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__badge {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--olive-900);
  font-family: var(--f-head); font-weight: 700; font-size: 1.1rem;
  border: 2px solid var(--gold);
}
.logo__badge--lg { width: 86px; height: 86px; font-size: 1.9rem; }
.logo__img { height: 46px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.logo__img--lg { height: 86px; max-width: 220px; }
.logo__text { display: flex; flex-direction: column; font-family: var(--f-head); font-weight: 700; line-height: 1.05; letter-spacing: .03em; white-space: nowrap; }
.logo__text small { font-size: .58em; color: var(--gold); letter-spacing: .22em; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 18px; }
.nav__list a {
  font-family: var(--f-head); font-weight: 500;
  text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; white-space: nowrap;
  color: var(--text-light); padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--gold); border-color: var(--gold); }

.header__cta { margin-left: 4px; }

.hamburger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.hamburger span { display: block; height: 3px; width: 26px; margin-inline: auto; background: var(--gold); border-radius: 2px; transition: .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ════════════════════ HERO ════════════════════ */
.hero { position: relative; min-height: 88vh; display: flex; align-items: stretch; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg::after { color: rgba(247,243,232,.25); }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(21,24,14,.92) 0%, rgba(21,24,14,.55) 45%, rgba(21,24,14,.25) 100%),
    linear-gradient(0deg, rgba(21,24,14,.95) 0%, transparent 40%);
}
.hero__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding-block: 60px;
}
.hero__content { max-width: 560px; }
.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  text-transform: uppercase;
  letter-spacing: .005em;
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.hero__title span { display: block; color: var(--gold); }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.25rem); margin: 22px 0 30px; max-width: 460px; }
.hero__lead strong { color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Drewniana tablica */
.signboard {
  align-self: center;
  background: linear-gradient(180deg, #5a4326, #3e2e19);
  border: 3px solid #2c2011;
  border-radius: 12px;
  padding: 26px 30px;
  box-shadow: 0 14px 34px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.04);
}
.signboard__list { display: flex; flex-direction: column; gap: 16px; }
.signboard__list li {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1rem; color: var(--gold);
  white-space: nowrap;
}
.signboard__list .icon { width: 26px; height: 26px; color: var(--cream); }

/* ════════════════════ ODLICZANIE (sezon) ════════════════════ */
.countdown-band { background: var(--olive-900); border-top: 3px solid var(--gold); }
.countdown-band__inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding-block: 34px; }
.countdown-band__title { font-size: clamp(1.3rem, 2.6vw, 2rem); text-transform: uppercase; }
.countdown-band__title span { color: var(--gold); }
.countdown-band__note { font-size: 1.8rem; color: var(--gold); margin: 0 0 0 auto; text-align: center; line-height: 1.1; transform: rotate(-6deg); }

.countdown { display: flex; gap: 12px; }
.countdown__box {
  min-width: 74px; padding: 10px 8px;
  background: var(--olive-700);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  text-align: center;
}
.countdown__num { display: block; font-family: var(--f-head); font-weight: 700; font-size: 2rem; line-height: 1; }
.countdown__label { display: block; margin-top: 4px; font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-dim); }
.countdown--compact .countdown__box { min-width: 58px; padding: 7px 6px; }
.countdown--compact .countdown__num { font-size: 1.5rem; }

/* ════════════════════ NAGRODY ════════════════════ */
.prizes { background: var(--cream); color: var(--ink); padding-block: 56px; }
.prizes__row { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: center; }
.prizes__grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.prize--more .prize-more-tile { display: grid; place-items: center; background: linear-gradient(135deg, #fff, #efe6cf); border: 2px dashed var(--gold-deep); }
.prize--more .prize-more-tile svg { width: 42px; height: 42px; color: var(--gold-deep); }
.prize--more figcaption { color: var(--gold-deep); }
.prize { margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 0 0 160px; scroll-snap-align: start; }
.prize .ph { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(135deg, #fff, #efe6cf); }
.prize .ph::after { color: rgba(32,36,15,.4); }
.prize figcaption { text-align: center; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; }

.prizes__cta {
  background: var(--gold);
  border-radius: 14px;
  padding: 26px;
  color: var(--olive-900);
  display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 10px 26px rgba(200,137,10,.4);
}
.prizes__trophy { width: 42px; height: 42px; }
.prizes__cta h3 { font-size: 1.5rem; text-transform: uppercase; }
.prizes__cta h3 em { font-style: normal; color: #fff; }
.prizes__cta p { margin: 0; font-size: .92rem; font-weight: 500; }
.prizes__cta .btn { background: var(--olive-900); color: var(--gold); align-self: flex-start; margin-top: 4px; }
.prizes__cta .btn:hover { background: var(--ink); }

/* ════════════════════ ATRAKCJE ════════════════════ */
.attractions { background: var(--green-700); padding-block: 56px; }
.attractions__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.attraction { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--olive-800); border: 1px solid rgba(233,166,15,.25); }
.attraction .ph { aspect-ratio: 4/3; }
.attraction figcaption {
  padding: 12px 8px; text-align: center;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  font-size: .78rem; letter-spacing: .03em; color: var(--gold);
}
.attractions__dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.attractions__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(247,243,232,.3); cursor: pointer; }
.attractions__dots button.is-active { background: var(--gold); }

/* ════════════════════ BURGERY + EVENTY ════════════════════ */
.duo { background: var(--olive-800); padding-block: 56px; }
.duo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.panel { display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--olive-700); border-radius: 14px; overflow: hidden; border: 1px solid rgba(233,166,15,.18); }
.panel--events { grid-template-columns: 1fr; }
.panel .ph { min-height: 230px; height: 100%; }
.panel__pic { position: relative; min-height: 230px; height: 100%; overflow: hidden; }
.panel__pic img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
/* Marginesy pionowego plakatu wypełnia rozmyta, przyciemniona kopia tego samego zdjęcia. */
.panel--food .panel__pic::before {
  content: ""; position: absolute; inset: 0;
  background: var(--food-pic, url('../img/jedzenie-burger.jpg')) center / cover no-repeat;
  filter: blur(22px) brightness(.5); transform: scale(1.2);
}
.panel__body { padding: 26px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.panel__title { font-size: 1.6rem; text-transform: uppercase; }
.panel__title .script { display: block; text-transform: none; color: var(--gold); font-size: 1.9rem; font-weight: 700; }

.checklist { display: flex; flex-direction: column; gap: 8px; }
.checklist li { position: relative; padding-left: 26px; font-size: .92rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.panel .btn { align-self: flex-start; }

/* ════════════════════ ODLICZANIE (wydarzenie) ════════════════════ */
.event-band { background: var(--olive-900); padding-block: 48px; }
.event-band__inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.event-band__heading { font-size: clamp(1.3rem, 2.4vw, 1.9rem); text-transform: uppercase; max-width: 230px; }
.event-band__heading span { color: var(--gold); }
.event-band__heading .arrow { color: var(--gold); }

.event-card {
  flex: 1; min-width: 280px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--olive-700); border: 2px solid var(--gold); border-radius: 14px;
  padding: 16px 20px;
}
.event-card__name { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-head); text-transform: uppercase; }
.event-card__name strong { font-size: 1.25rem; }
.event-card__name em { font-style: normal; color: var(--gold); font-size: 1.25rem; }
.event-card .countdown { margin-left: auto; }
.event-card .btn { flex: none; margin-left: auto; }

/* ════════════════════ FOOTER ════════════════════ */
.site-footer { background: var(--cream); color: var(--ink); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; align-items: center; padding-block: 36px; }
.footer__row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; font-weight: 500; }
.footer__row .icon { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 2px; }
.footer__brand { display: flex; justify-content: center; }
.footer__brand .logo__badge--lg { background: var(--olive-900); color: var(--gold); border-color: var(--gold); }
.footer__heading { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 1.1rem; margin: 0 0 12px; }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--olive-900); color: var(--cream); transition: transform .15s, background .2s; }
.social a:hover { transform: translateY(-2px); background: var(--gold); color: var(--olive-900); }
.social svg { width: 20px; height: 20px; }
.footer__ticket { text-align: left; }
.footer__buy { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; line-height: 1.1; }

.footer__bar { background: var(--cream-2); }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 14px; font-size: .8rem; }
.footer__legal a:hover { color: var(--gold-deep); }

/* ════════════════════ AKTUALNOŚCI (news.html) ════════════════════ */
.news-page { padding-block: 56px; min-height: 64vh; }
.news-page .section-title { color: var(--text-light); text-align: center; }
.news-page .section-title span { color: var(--gold); }
.news-list { display: grid; gap: 22px; max-width: 820px; margin-inline: auto; }
.news-item {
  background: var(--olive-700);
  border: 1px solid rgba(233,166,15,.15);
  border-radius: 14px; padding: 28px;
}
.news-item__date { font-family: var(--f-head); font-size: .8rem; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.news-item__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); text-transform: uppercase; margin: 6px 0 14px; }
.news-item__content { color: var(--text-light); }
.news-item__content > *:first-child { margin-top: 0; }
.news-item__content > *:last-child { margin-bottom: 0; }
.news-item__content a { color: var(--gold); text-decoration: underline; }
.news-item__content h2, .news-item__content h3 { font-family: var(--f-head); margin: 18px 0 8px; }
.news-state { text-align: center; color: var(--text-dim); padding: 50px 20px; }

/* ════════════════════ JEDZENIE / PRZEŁĄCZNIK / MODAL ════════════════════ */
.panel__text { font-size: .95rem; color: var(--text-light); margin: 0; }

.lab-switch {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(233,166,15,.12); border: 1px solid var(--gold); color: var(--gold);
  border-radius: 999px; padding: 6px 14px; cursor: pointer; white-space: nowrap;
  font-family: var(--f-head); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em;
  transition: background .2s, color .2s; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.lab-switch:hover { background: var(--gold); color: var(--olive-900); }
.lab-switch__dot { font-size: .9em; }

/* Przełącznik labiryntu w menu mobilnym (poza nagłówkiem) */
.nav__switch-item { display: none; }
.nav__switch { width: 100%; text-align: left; background: rgba(233,166,15,.12); border: 1px solid var(--gold);
  color: var(--gold); border-radius: 8px; padding: 12px 14px; cursor: pointer;
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }

.lz-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  background: rgba(10,12,7,.82); backdrop-filter: blur(4px); }
.lz-modal__box { width: 100%; max-width: 460px; text-align: center; background: var(--olive-700);
  border: 1px solid rgba(233,166,15,.25); border-radius: 18px; padding: 34px 28px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.lz-modal__title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; }
.lz-modal__sub { color: var(--text-dim); margin: 6px 0 22px; }
.lz-modal__list { display: grid; gap: 12px; }
.lz-choice { display: flex; align-items: center; gap: 14px; background: var(--olive-900);
  border: 2px solid var(--olive-600); color: var(--text-light); border-radius: 12px; padding: 14px 16px;
  cursor: pointer; transition: border-color .15s, transform .12s; }
.lz-choice:hover { border-color: var(--gold); transform: translateY(-2px); }
.lz-choice.is-current { border-color: var(--gold); }
.lz-choice__badge { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--cream); color: var(--olive-900); font-family: var(--f-head); font-weight: 700; border: 2px solid var(--gold); }
.lz-choice__logo { width: 46px; height: 46px; flex: none; object-fit: contain; }
.lz-choice__name { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .02em; }

/* ════════════════════ PODSTRONY ════════════════════ */
.subpage { padding-block: 50px; min-height: 62vh; }
.subpage .section-title { text-align: center; color: var(--text-light); margin-bottom: 30px; }
.subpage .section-title .muted { color: var(--text-light); }
.rich { max-width: 820px; margin-inline: auto; color: var(--text-light); font-size: 1.02rem; line-height: 1.7; }
.rich > *:first-child { margin-top: 0; }
.rich h2, .rich h3 { font-family: var(--f-head); margin: 22px 0 10px; }
.rich p { margin: 0 0 14px; }
.rich a { color: var(--gold); text-decoration: underline; }
.subpage-empty { text-align: center; color: var(--text-dim); padding: 40px 20px; grid-column: 1 / -1; }

.attractions-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.attraction-card { margin: 0; background: var(--olive-700); border: 1px solid rgba(233,166,15,.18); border-radius: 14px; overflow: hidden; }
.attraction-card .ph { aspect-ratio: 4/3; }
.attraction-card figcaption { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.attraction-card figcaption strong { font-family: var(--f-head); text-transform: uppercase; color: var(--gold); font-size: 1.05rem; }
.attraction-card figcaption span { font-size: .9rem; color: var(--text-dim); }

.events-page { display: grid; gap: 20px; max-width: 820px; margin-inline: auto; }
.event-item { background: var(--olive-700); border: 1px solid rgba(233,166,15,.18); border-radius: 14px; padding: 24px; }
.event-item--has-media { display: flex; gap: 24px; align-items: flex-start; }
.event-item__media { flex: none; width: 240px; max-width: 38%; }
.event-item__media img { width: 100%; height: auto; border-radius: 10px; display: block; }
.event-item__body { flex: 1; min-width: 0; }
.event-item__date { font-family: var(--f-head); font-size: .8rem; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.event-item__title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; margin: 6px 0 12px; }
.event-item__content { color: var(--text-light); }
.event-item__content > *:first-child { margin-top: 0; }
.event-item__content > *:last-child { margin-bottom: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery-item { display: block; width: 100%; border: 0; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--olive-700); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ════════════════════ LIGHTBOX (podgląd grafik) ════════════════════ */
[data-lightbox] { cursor: pointer; }
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 12, 6, .92); padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 92vw; max-height: 88vh; width: auto; height: auto;
  object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.lightbox__close {
  position: absolute; top: 16px; right: 20px;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }

/* ════════════════════ RANKING ════════════════════ */
.ranking-page { display: flex; flex-direction: column; gap: 30px; }

/* Podium (top 3) — najlepszy w środku */
.ranking-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; width: 100%; max-width: 720px; margin-inline: auto; }
.ranking-podium__item {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: var(--olive-700); border: 2px solid var(--olive-600); border-radius: 14px; padding: 20px 12px;
}
.ranking-podium__item--1 { border-color: var(--gold); background: linear-gradient(180deg, rgba(233,166,15,.16), var(--olive-700)); padding-block: 30px; }
.ranking-podium__item--2 { border-color: #c9ccd4; }
.ranking-podium__item--3 { border-color: #cd8b5b; }
.ranking-podium__medal { font-size: 2rem; line-height: 1; }
.ranking-podium__item--1 .ranking-podium__medal { font-size: 2.6rem; }
.ranking-podium__nick { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; word-break: break-word; }
.ranking-podium__correct { color: var(--gold); font-weight: 600; }
.ranking-podium__correct strong { font-size: 1.2rem; }
.ranking-podium__time { color: var(--text-dim); font-variant-numeric: tabular-nums; }

/* Tabela wszystkich pozycji */
.ranking-table-wrap { overflow-x: auto; border: 1px solid rgba(233,166,15,.18); border-radius: 14px; background: var(--olive-700); }
.ranking-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.ranking-table thead th {
  text-align: left; background: var(--olive-900); color: var(--gold);
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  font-size: .78rem; padding: 14px 16px; white-space: nowrap;
}
.ranking-table tbody td { padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.05); white-space: nowrap; }
.ranking-table tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
.ranking-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ranking-table__place { font-family: var(--f-head); font-weight: 700; color: var(--text-dim); width: 1%; text-align: center; }
.ranking-table__nick { font-weight: 600; }
.ranking-table__date { color: var(--text-dim); font-size: .88rem; }
.ranking-table tbody tr.is-top { background: rgba(233,166,15,.08); }
.ranking-table tbody tr.is-top .ranking-table__place { font-size: 1.15rem; }
@media (max-width: 560px) {
  .ranking-podium { gap: 8px; }
  .ranking-podium__item { padding: 14px 6px; gap: 4px; }
  .ranking-podium__item--1 { padding-block: 20px; }
  .ranking-podium__medal { font-size: 1.6rem; }
  .ranking-podium__item--1 .ranking-podium__medal { font-size: 2rem; }
  .ranking-podium__nick { font-size: .9rem; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSYWNOŚĆ
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .prizes__row { grid-template-columns: 1fr; }
  .duo__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; text-align: left; }
  .footer__ticket { text-align: left; }
  .footer__brand { justify-content: flex-start; }
}

@media (max-width: 820px) {
  /* Nawigacja mobilna */
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--olive-900);
    border-bottom: 2px solid var(--gold);
    transform: translateY(-130%);
    transition: transform .28s ease;
    margin: 0;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; padding: 8px 20px 18px; }
  .nav__list li { border-bottom: 1px solid rgba(233,166,15,.12); }
  .nav__list a { display: block; padding: 14px 0; border: 0; font-size: 1rem; }
  .header__cta { margin-left: auto; }
  .hamburger { display: flex; }
  .lab-switch { display: none; }
  .nav__switch-item { display: block; padding: 10px 20px 4px; border: 0 !important; }

  /* Hero pionowo */
  .hero { min-height: auto; }
  .hero__inner { flex-direction: column; align-items: stretch; padding-block: 44px; }
  .hero__overlay { background: linear-gradient(0deg, rgba(21,24,14,.96) 8%, rgba(21,24,14,.45) 100%); }

  /* Tablica → rząd ikon */
  .signboard { background: transparent; border: 0; box-shadow: none; padding: 0; }
  .signboard__list { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
  .signboard__list li { flex-direction: column; gap: 6px; text-align: center; font-size: .72rem; flex: 1 1 28%; white-space: normal; }
  .signboard__list .icon { width: 34px; height: 34px; color: var(--gold); }

  /* Odliczanie pionowo */
  .countdown-band__inner { flex-direction: column; align-items: flex-start; }
  .countdown-band__note { margin: 4px auto 0; }
  .countdown { width: 100%; justify-content: space-between; }
  .countdown__box { flex: 1; min-width: 0; }

  /* Atrakcje → karuzela */
  .attractions__track {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding-bottom: 6px; -webkit-overflow-scrolling: touch;
  }
  .attraction { flex: 0 0 70%; scroll-snap-align: center; }
  .attractions__dots { display: flex; }

  /* Eventy / event-card */
  .event-band__heading { max-width: none; }
  .event-card { flex-direction: column; align-items: stretch; }
  .event-card .countdown { margin-left: 0; }

  /* Wydarzenia: obrazek nad treścią */
  .event-item--has-media { flex-direction: column; }
  .event-item__media { width: 100%; max-width: none; }
}

@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .header__cta { padding: 9px 12px; font-size: .68rem; }
  .header__cta .icon { display: none; }
  .logo__text { white-space: normal; font-size: .82rem; }
  .btn { font-size: .82rem; padding: 11px 16px; }
  .footer__inner { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .panel .ph { min-height: 180px; }
  .panel__pic { min-height: 180px; }
  .countdown__num { font-size: 1.5rem; }
}
