/* Grand Theft Maciej — paleta z key artu GTA VI: ciemny fiolet → magenta → koral → złoto. */
:root {
  --violet: #3B146B; --purple: #7B208F; --magenta: #C9349B; --pink: #F36A78;
  --coral: #F87572; --orange: #FF9B55; --yellow: #FFB458;
  --neon: #5BE7F0; --cash: #7BE38F;
  --ink: #12061F; --ink-2: #1E0B33; --text: #FFF4EC; --muted: #D9C6E8;
  --sunset: linear-gradient(180deg, var(--yellow) 0%, var(--orange) 28%, var(--pink) 55%, var(--magenta) 80%, var(--purple) 100%);
  --sunset-x: linear-gradient(90deg, var(--yellow), var(--orange) 30%, var(--pink) 60%, var(--magenta));
  --sky: linear-gradient(160deg, var(--violet) 0%, var(--purple) 35%, var(--magenta) 65%, var(--coral) 85%, var(--yellow) 100%);
  --f-head: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 18px; --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 clamp(0.95rem, 0.4vw + 0.85rem, 1.1rem)/1.65 var(--f-body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; }
h2 { font-size: clamp(2.6rem, 9vw, 5.5rem); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.kicker { font: 800 0.72rem/1 var(--f-body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--yellow); margin: 0 0 0.75rem; }
.nowrap { white-space: nowrap; }

/* ---------- Logo: GRAND / THEFT / MACIEJ + 31 (jak „VI”) ---------- */
.logo { display: inline-flex; align-items: center; gap: clamp(8px, 1.6vw, 18px); line-height: 1; }
.logo__words { display: flex; flex-direction: column; font-family: var(--f-head); text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.25rem, min(6vw, 3.6svh), 2.6rem); line-height: 0.93; text-align: right; color: #fff; text-shadow: 0 2px 0 #000, 0 0 18px rgba(201, 52, 155, .55); }
.logo__words span:last-child { color: var(--yellow); }
/* „31” jako SVG: obrys pod wypełnieniem (paint-order), cień jako osobna warstwa — wygląda tak samo w Safari i Chrome */
.logo__num { display: block; flex: none; font-size: clamp(7rem, min(34vw, 18svh), 17rem); height: 1.06em; width: 0.92em; overflow: visible; }
.logo__num path { stroke-linejoin: round; }
.logo__shadow { fill: rgba(0, 0, 0, .55); stroke: rgba(0, 0, 0, .55); stroke-width: 9px; }
.logo__outline { fill: #160629; stroke: #160629; stroke-width: 9px; }
.logo__fill { stroke: none; }
.logo__neon { fill: none; stroke: var(--neon); stroke-width: 1.2px; filter: drop-shadow(0 0 3px var(--neon)); opacity: 0; animation: neon-on 1.8s steps(1) .9s both; }
@keyframes neon-on { 0% { opacity: 0; } 10% { opacity: .9; } 16% { opacity: .1; } 24% { opacity: .95; } 30% { opacity: .2; } 40% { opacity: .9; } 100% { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 1.6rem; border-radius: 999px; font: 800 0.95rem/1 var(--f-body); text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.btn--primary { background: var(--sunset-x); color: var(--ink); box-shadow: 0 10px 30px rgba(243, 106, 120, .45), inset 0 -3px 0 rgba(0, 0, 0, .15); }
.btn--primary:hover { box-shadow: 0 14px 40px rgba(255, 155, 85, .6), inset 0 -3px 0 rgba(0, 0, 0, .15); }
.btn--ghost { background: rgba(18, 6, 31, .5); color: var(--text); border: 2px solid rgba(255, 244, 236, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--neon); }
.btn:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; overflow: hidden; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__bg img { object-position: 55% 50%; animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(30, 8, 60, .78) 0%, rgba(59, 20, 107, .35) 22%, rgba(59, 20, 107, 0) 34%),
    linear-gradient(0deg, rgba(18, 6, 31, .95) 0%, rgba(18, 6, 31, .6) 22%, rgba(18, 6, 31, 0) 42%); }
.hero__top { padding: calc(env(safe-area-inset-top) + 64px) var(--gutter) 0; text-align: center; animation: rise .8s ease .2s both; }
.hero__bottom { padding: 0 var(--gutter) calc(env(safe-area-inset-bottom) + 28px); text-align: center; animation: rise .8s ease .45s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__meta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 0 1rem; font: 400 clamp(1.15rem, 4.6vw, 1.6rem)/1.1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.hero__meta b { font-weight: 400; color: var(--yellow); margin: 0 .3em; }
.hero__cta { display: flex; flex-direction: column; gap: .7rem; align-items: center; }
.hero__cta .btn { width: min(100%, 360px); }

@media (min-aspect-ratio: 1/1) {
  .hero { justify-content: center; padding: 0 var(--gutter); }
  .hero__top, .hero__bottom { max-width: min(52vw, 780px); padding: 0; text-align: left; }
  .hero__bottom { margin-top: clamp(20px, 3vw, 40px); }
  .hero__meta { flex-direction: row; align-items: baseline; gap: 0; }
  .hero__meta span + span::before { content: "·"; margin: 0 .5em; color: var(--yellow); }
  .hero__cta { flex-direction: row; }
  .hero__cta .btn { width: auto; }
  .logo__words { font-size: clamp(1.8rem, 3.6vw, 4rem); }
  .logo__num { font-size: clamp(10rem, 21vw, 24rem); }
  .hero::after { background:
    linear-gradient(90deg, rgba(18, 6, 31, .82) 0%, rgba(18, 6, 31, .45) 34%, rgba(18, 6, 31, 0) 55%),
    linear-gradient(0deg, rgba(18, 6, 31, .9) 0%, rgba(18, 6, 31, 0) 25%); }
}

/* ---------- HUD: kasa + wanted level ---------- */
.hud { position: fixed; top: calc(env(safe-area-inset-top) + 10px); right: 12px; z-index: 50; display: grid; justify-items: end; gap: 4px; padding: 6px 10px; border-radius: 12px; background: rgba(18, 6, 31, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.hud__cash { margin: 0; font: 400 clamp(1rem, 3.6vw, 1.5rem)/1 var(--f-head); letter-spacing: .03em; color: var(--cash); -webkit-text-stroke: 1px #06210f; text-shadow: 0 2px 0 #000; }
.hud__stars { display: flex; gap: 3px; }
.hud__star { width: clamp(17px, 4.4vw, 24px); aspect-ratio: 1; background: rgba(255, 255, 255, .28); filter: drop-shadow(0 1px 0 #000); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transition: transform .35s ease, background-color .35s ease; }
.hud__star.is-on { background: #fff; transform: scale(1.12); animation: star-blink .9s ease 2; }
@keyframes star-blink { 50% { background: var(--yellow); } }

/* ---------- Intro: ekran ładowania gry ---------- */
.intro { position: fixed; inset: 0; z-index: 100; overflow: hidden; display: grid; place-items: center; background: var(--ink); cursor: pointer; transition: opacity .6s ease, transform .6s ease; animation: intro-failsafe .4s ease 9s forwards; }
.no-intro .intro { display: none; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro.is-out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.intro__bg, .intro__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro__bg img { filter: blur(6px) saturate(1.3) brightness(.55); transform: scale(1.18); animation: intro-zoom 6s ease-out forwards; }
@keyframes intro-zoom { to { transform: scale(1.06); filter: blur(2px) saturate(1.3) brightness(.5); } }
.intro::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(80% 70% at 50% 45%, rgba(59, 20, 107, 0) 0%, rgba(18, 6, 31, .85) 100%),
  linear-gradient(180deg, rgba(201, 52, 155, .25), rgba(255, 155, 85, .15)); }
.intro::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .18; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .9) 0 1px, transparent 1px 3px); }
.intro__center { position: relative; z-index: 3; display: grid; justify-items: center; text-align: center; padding: 0 var(--gutter); }
.intro__kicker { margin: 0 0 1rem; font: 800 clamp(.75rem, 1.4vw, 1.1rem)/1 var(--f-body); letter-spacing: .4em; text-transform: uppercase; color: var(--yellow); animation: rise .7s ease .2s both; }
.intro__logo .logo__words { font-size: clamp(1.6rem, 6vw, 4.6rem); animation: slide-in .7s cubic-bezier(.2, .9, .3, 1) .35s both; }
.intro__logo .logo__num { font-size: clamp(8rem, min(38vw, 30svh), 22rem); animation: slam .8s cubic-bezier(.2, .9, .3, 1.15) .55s both; }
.intro__logo .logo__neon { animation-delay: 1.4s; }
@keyframes slide-in { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes slam { 0% { opacity: 0; transform: scale(1.8); filter: blur(14px); } 70% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
.intro__date { margin: 1.2rem 0 0; font: 400 clamp(1.3rem, 3vw, 2.4rem)/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 3px 12px rgba(0, 0, 0, .8); animation: rise .7s ease .9s both; }
.intro__date b { font-weight: 400; color: var(--yellow); margin: 0 .3em; }
.intro__enter { margin-top: 2rem; padding: 14px 28px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(18, 6, 31, .4); color: #fff; font: 800 clamp(.85rem, 1.3vw, 1.05rem)/1 var(--f-body); letter-spacing: .25em; text-transform: uppercase; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .4s ease; }
.intro.is-ready .intro__enter { opacity: 1; visibility: visible; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(255, 180, 88, 0), 0 0 30px rgba(255, 180, 88, .5); border-color: var(--yellow); } }
.intro__bottom { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + 24px); display: flex; align-items: flex-end; gap: 20px; }
.intro__load { flex: 1; max-width: 520px; }
.intro__tip { margin: 0 0 10px; font: 600 clamp(.8rem, 1.2vw, 1rem)/1.3 var(--f-body); letter-spacing: .04em; color: rgba(255, 244, 236, .85); }
.intro__bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.intro__bar span { display: block; height: 100%; width: 100%; background: var(--sunset-x); box-shadow: 0 0 14px rgba(255, 155, 85, .8); transform-origin: left; transform: scaleX(0); }
.intro__pct { margin: 0 0 -4px auto; display: flex; align-items: center; gap: 12px; font: 400 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--f-head); color: #fff; font-variant-numeric: tabular-nums; }
.intro__spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--yellow); animation: spin .8s linear infinite; }
.intro.is-ready .intro__spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- News ticker ---------- */
.news { position: relative; z-index: 2; display: flex; align-items: stretch; overflow: hidden; background: #fff; color: var(--ink); border-block: 3px solid var(--ink); }
.news__tag { flex: none; margin: 0; padding: 10px 14px; background: var(--magenta); color: #fff; font: 400 .95rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; }
.news__track { flex: 1; overflow: hidden; display: flex; align-items: center; }
.news__items { margin: 0; display: flex; gap: 48px; white-space: nowrap; padding-left: 24px; font-weight: 800; font-size: .9rem; animation: ticker 38s linear infinite; }
.news__items span::before { content: "■"; margin-right: 12px; color: var(--magenta); font-size: .7em; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sekcje (wspólne) ---------- */
.section { position: relative; padding: clamp(72px, 11vw, 140px) var(--gutter); }
.section__head { max-width: 900px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.section__head h2 { text-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.section__lead { color: var(--muted); max-width: 620px; margin: 1rem auto 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Stopka ---------- */
.footer { padding: 56px var(--gutter) calc(env(safe-area-inset-bottom) + 96px); text-align: center; background: var(--ink); color: var(--muted); font-size: .9rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__logo { margin: 0 0 .5rem; font: 400 2rem/0.95 var(--f-head); text-transform: uppercase; color: #fff; }
.footer__logo span { display: block; font-size: .5em; letter-spacing: .12em; color: var(--yellow); }
.footer__note { font-size: .75rem; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .news__items { white-space: normal; flex-wrap: wrap; gap: 6px 24px; padding: 8px 16px; }
}

/* ---------- Odprawa ---------- */
.section--brief { background: radial-gradient(120% 60% at 50% 0%, rgba(123, 32, 143, .45) 0%, rgba(18, 6, 31, 0) 70%), var(--ink); }
.brief { max-width: 1180px; margin: 0 auto; display: grid; gap: 16px; }
.brief__cards { display: grid; gap: 14px; }
.card { position: relative; padding: 22px 22px 22px 26px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.card::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sunset); }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 180, 88, .45); }
.card h3 { font-size: clamp(1.5rem, 5vw, 2rem); margin: .3rem 0 .4rem; }
.card p { margin: 0; color: var(--muted); }
.card p strong { color: var(--text); }
.card__label { font: 800 .7rem/1 var(--f-body) !important; letter-spacing: .28em; text-transform: uppercase; color: var(--pink) !important; }
.card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.btn--small { min-height: 44px; padding: 0 1.1rem; font-size: .78rem; background: var(--sunset-x); color: var(--ink); }
.btn--small-ghost { background: transparent; color: var(--text); border: 2px solid rgba(255, 244, 236, .4); }
.map { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 2px solid rgba(91, 231, 240, .35); box-shadow: 0 0 0 6px rgba(18, 6, 31, .9), 0 0 40px rgba(91, 231, 240, .15); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__tag { position: absolute; left: 12px; bottom: 12px; margin: 0; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--yellow); font: 400 .95rem/1 var(--f-head); letter-spacing: .06em; text-transform: uppercase; }
.map__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255, 180, 88, .7); animation: ping 1.6s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(255, 180, 88, 0); } }
@media (min-width: 900px) {
  .brief { grid-template-columns: 1fr 1.15fr; align-items: stretch; }
  .map { min-height: 100%; }
}
.versus { max-width: 1180px; margin: 20px auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px clamp(16px, 4vw, 40px); border-radius: var(--radius); background: var(--sky); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.versus__item { text-align: center; }
.versus__label { margin: 0; font: 800 .68rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; }
.versus__date { margin: 4px 0 0; font: 400 clamp(2.6rem, 12vw, 5.5rem)/1 var(--f-head); color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.versus__item--dim .versus__date { color: rgba(255, 255, 255, .55); }
.versus__mid { margin: 0; text-align: center; font: 400 clamp(.95rem, 3.5vw, 1.4rem)/1 var(--f-head); text-transform: uppercase; color: var(--ink); background: var(--yellow); padding: 10px 12px; border-radius: 12px; transform: rotate(-4deg); }

/* ---------- Ekran ładowania ---------- */
.section--loading { min-height: 100svh; display: grid; place-items: end center; isolation: isolate; overflow: hidden; padding-bottom: clamp(96px, 12vw, 140px); }
.section__bg, .section__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.section--loading .section__bg img { animation: kenburns 30s ease-in-out infinite alternate; transform-origin: 30% 60%; }
.section--loading::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--violet) 0%, var(--violet) 4%, rgba(59, 20, 107, .6) 13%, rgba(18, 6, 31, .1) 30%, rgba(18, 6, 31, .5) 60%, rgba(40, 13, 74, .9) 84%, var(--violet) 95%, var(--violet) 100%); }
.loading { width: min(100%, 760px); text-align: center; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.countdown span { display: block; font: 400 clamp(3rem, 15vw, 7rem)/1 var(--f-head); font-variant-numeric: tabular-nums; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.countdown small { font: 800 .7rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.countdown__done { font: 400 clamp(1.8rem, 6vw, 3rem)/1.1 var(--f-head); text-transform: uppercase; }
.loadbar { height: 8px; margin-top: 26px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.loadbar span { display: block; height: 100%; width: 100%; background: var(--sunset-x); transform-origin: left; transform: scaleX(0); transition: transform 1.2s ease; }
.tip { margin: 1rem auto 0; max-width: 540px; min-height: 3.3em; font-size: .95rem; color: var(--text); transition: opacity .4s ease; }
.tip.is-fading { opacity: 0; }
.loading__corner { position: absolute; right: var(--gutter); bottom: 28px; margin: 0; display: flex; align-items: center; gap: 12px; font: 400 1.1rem/1 var(--f-head); letter-spacing: .06em; }
.loading__spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .9s linear infinite; }

/* ---------- Dress code ---------- */
.section--dress { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 35%, var(--violet) 100%); }
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.tab { min-height: 46px; padding: 0 1.4rem; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .4); background: transparent; color: var(--text); font: 800 .85rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.tab.is-active { background: var(--sunset-x); color: var(--ink); border-color: transparent; }
.looks { max-width: 1180px; margin: 0 auto; display: grid; gap: 24px; }
.look { margin: 0; display: none; }
.look.is-active { display: block; }
.look picture { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .12); }
.look img { width: 100%; height: auto; transition: transform .6s ease; }
.look:hover img { transform: scale(1.03); }
.look figcaption { margin-top: .7rem; font-size: .9rem; color: var(--muted); text-align: center; }
@media (min-width: 900px) {
  .tabs { display: none; }
  .looks { grid-template-columns: 1fr 1fr; }
  .look { display: block; }
}
.dress-tips { max-width: 980px; margin: clamp(32px, 6vw, 88px) auto 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dress-tips li { padding: 10px 16px; border-radius: 999px; background: rgba(18, 6, 31, .45); border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; font-size: .9rem; }

/* ---------- Prezenty ---------- */
.section--gifts { background: linear-gradient(180deg, var(--violet) 0%, var(--ink-2) 60%, var(--ink) 100%); }
.contact { max-width: 1080px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; }
.contact__card { position: relative; margin: 0; width: min(100%, 440px); border-radius: 22px; overflow: hidden; background: var(--ink-2); box-shadow: 0 0 0 2px rgba(255, 180, 88, .55), 0 0 0 8px rgba(18, 6, 31, .9), 0 30px 70px rgba(0, 0, 0, .55), 0 0 60px rgba(201, 52, 155, .35); }
.contact__card img { display: block; width: 100%; height: auto; }
.contact__card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(18, 6, 31, 0) 0%, rgba(18, 6, 31, .75) 55%, rgba(18, 6, 31, .95) 100%); pointer-events: none; }
.contact__stamp { position: absolute; z-index: 1; top: 18px; right: -2px; padding: 8px 14px 8px 16px; border-radius: 10px 0 0 10px; background: var(--magenta); color: #fff; font: 400 1rem/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.contact__id { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 22px 22px; display: grid; gap: 4px; }
.contact__tag { display: inline-flex; align-items: center; gap: 8px; font: 800 .7rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--cash); }
.contact__tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--cash); box-shadow: 0 0 0 0 rgba(123, 227, 143, .7); animation: online 1.8s ease-out infinite; }
@keyframes online { to { box-shadow: 0 0 0 10px rgba(123, 227, 143, 0); } }
.contact__name { font: 400 clamp(3rem, 14vw, 4.4rem)/.95 var(--f-head); text-transform: uppercase; color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.contact__role { font: 800 .8rem/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); }
.contact__brief { width: min(100%, 560px); display: grid; gap: 18px; }
.contact__msg { position: relative; margin: 0; padding: 16px 18px; border-radius: 20px 20px 20px 6px; background: #E7DDF0; color: var(--ink); font-size: 1rem; line-height: 1.45; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.contact__msg b { display: block; margin-bottom: 4px; font: 800 .72rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.steps li { display: flex; gap: 18px; align-items: center; padding: 16px 20px; border-radius: 14px; background: rgba(18, 6, 31, .65); border: 1px solid rgba(255, 255, 255, .12); transition: transform .2s ease, border-color .2s ease; }
.steps li:hover { transform: translateX(6px); border-color: var(--yellow); }
.steps__n { font: 400 1.8rem/1 var(--f-head); color: var(--yellow); min-width: 2ch; }
.steps strong { display: block; font-weight: 800; }
.steps li span:not(.steps__n) { display: block; color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 440px 1fr; align-items: center; gap: clamp(32px, 5vw, 64px); }
  .contact__brief { width: 100%; }
}

/* ---------- RSVP: WANTED ---------- */
.section--wanted { min-height: 100svh; isolation: isolate; overflow: hidden; }
.section--wanted .section__bg img { object-position: 50% 30%; }
.section--wanted::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(18, 6, 31, .55) 8%, rgba(18, 6, 31, .05) 22%, rgba(18, 6, 31, .1) 42%, rgba(18, 6, 31, .92) 62%, var(--ink) 100%); }
.wanted { position: relative; max-width: 1180px; margin: 0 auto; display: grid; gap: 24px; }
.wanted__head { text-align: center; }
.wanted__head h2 { font-size: clamp(3.4rem, 15vw, 7.5rem); line-height: .9; text-shadow: 0 5px 0 #000; }
.hl { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.wanted__stars { display: flex; justify-content: center; gap: 6px; margin: 14px 0 0; }
.wanted__stars span { width: 30px; aspect-ratio: 1; background: #fff; filter: drop-shadow(0 2px 0 #000); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: star-blink 1.2s ease infinite; }
.wanted__stars span:nth-child(2) { animation-delay: .1s; } .wanted__stars span:nth-child(3) { animation-delay: .2s; }
.wanted__stars span:nth-child(4) { animation-delay: .3s; } .wanted__stars span:nth-child(5) { animation-delay: .4s; }
.wanted__head .section__lead { color: var(--text); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.phone { position: relative; width: min(100%, 440px); margin: 46svh auto 0; padding: 18px 12px 14px; border-radius: 48px; background: linear-gradient(160deg, #2a2236, #0c0812 60%); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 50px 100px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.phone__speaker { display: block; width: 64px; height: 6px; margin: 0 auto 12px; border-radius: 6px; background: #000; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .15); }
.phone__screen { border-radius: 30px; overflow: hidden; background: #F6F1FA; color: #1b1026; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px 8px; background: var(--violet); color: #fff; font: 800 .75rem/1 var(--f-body); letter-spacing: .06em; }
.phone__carrier { text-transform: uppercase; letter-spacing: .14em; opacity: .85; }
.phone__sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.phone__sig i { width: 3px; background: #fff; border-radius: 1px; }
.phone__sig i:nth-child(1) { height: 4px; } .phone__sig i:nth-child(2) { height: 6px; } .phone__sig i:nth-child(3) { height: 9px; } .phone__sig i:nth-child(4) { height: 12px; }
.phone__bat { width: 20px; height: 10px; margin-left: 6px; border: 1.5px solid #fff; border-radius: 3px; background: linear-gradient(90deg, #fff 0 70%, transparent 70%); background-clip: content-box; padding: 1px; }
.phone__app { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--sunset-x); color: var(--ink); }
.phone__back { width: 10px; height: 10px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
.phone__title { font: 400 1.5rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .03em; }
.phone__contact { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(27, 16, 38, .1); background: #fff; }
.phone__contact b { display: block; font-size: 1rem; }
.phone__contact small { color: #6b5a7b; font-size: .8rem; }
.phone__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--magenta); color: #fff; font: 400 1.3rem/1 var(--f-head); }
.phone__body { padding: 20px 18px 22px; }
.sms { display: grid; gap: 8px; margin: 0 0 22px; }
.sms__bubble { margin: 0; max-width: 86%; padding: 12px 15px; border-radius: 20px 20px 20px 6px; background: #E7DDF0; font-size: .98rem; line-height: 1.45; animation: rise .5s ease both; }
.sms__bubble + .sms__bubble { animation-delay: .25s; }
.phone__reply { margin: 0 0 14px; padding-top: 16px; border-top: 1px dashed rgba(27, 16, 38, .2); font: 800 .72rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--purple); }
.phone__home { display: block; width: 110px; height: 5px; margin: 12px auto 0; border-radius: 5px; background: rgba(255, 255, 255, .35); }
@media (min-aspect-ratio: 1/1) {
  .wanted { grid-template-columns: minmax(0, 1fr) minmax(360px, 420px) minmax(0, .85fr); gap: clamp(20px, 3vw, 48px); align-items: center; max-width: none; min-height: calc(100svh - 2 * clamp(72px, 11vw, 140px)); }
  .wanted__head h2 { font-size: clamp(3rem, 5.2vw, 6rem); }
  .wanted__head { text-align: left; }
  .wanted__stars { justify-content: flex-start; }
  .wanted__head .section__lead { margin-left: 0; }
  .phone { margin: 0; justify-self: center; }
  .section--wanted .section__bg img { object-position: 100% 30%; }
  .section--wanted::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(18, 6, 31, 0) 12%), linear-gradient(90deg, rgba(18, 6, 31, .55) 0%, rgba(18, 6, 31, .2) 45%, rgba(18, 6, 31, 0) 70%), linear-gradient(0deg, var(--ink) 0%, rgba(18, 6, 31, 0) 25%); }
  .wanted__head { order: 1; } .phone { order: 2; }
}
.rsvp { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; font-weight: 700; font-size: .92rem; border: 0; margin: 0; padding: 0; }
.field input:not([type=radio]), .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(27, 16, 38, .18); background: #fff; color: #1b1026; font: 400 16px/1.4 var(--f-body); transition: border-color .2s ease, background-color .2s ease; }
.field input:not([type=radio]):focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(201, 52, 155, .2); }
.field textarea { resize: vertical; }
.field ::placeholder { color: #9a8aa8; }
.choice legend { margin-bottom: 6px; padding: 0; }
.choice__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice label { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 14px; border: 1px solid rgba(27, 16, 38, .15); background: #fff; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.choice label:has(input:checked) { border-color: var(--magenta); background: rgba(201, 52, 155, .1); }
.choice input { accent-color: var(--magenta); width: 20px; height: 20px; flex: none; margin: 0; }
.opt { font-weight: 400; color: #6b5a7b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rsvp__error { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FFE3E6; border: 1px solid #D23A55; color: #8A1630; font-size: .9rem; }
.rsvp__submit { width: 100%; }
.rsvp__submit:disabled { opacity: .6; cursor: wait; transform: none; }

/* MISSION PASSED */
.passed { position: relative; max-width: 760px; margin: 46svh auto 0; text-align: center; }
.section--wanted.is-done .wanted { display: none; }
@media (min-aspect-ratio: 1/1) {
  .section--wanted.is-done { min-height: 100svh; }
  .passed .passed__msg { margin-left: 0; }
  .passed { position: absolute; inset: 0; margin: 0; max-width: none; display: grid; place-content: center start; justify-items: start; text-align: left; padding: 0 var(--gutter) 0 calc(var(--gutter) + 2vw); background: linear-gradient(90deg, rgba(18, 6, 31, .85) 0%, rgba(18, 6, 31, .55) 55%, rgba(18, 6, 31, .15) 100%); }
}
.passed__title { margin: 0; font: 400 clamp(3.4rem, 15vw, 8rem)/0.9 var(--f-head); color: var(--yellow); text-transform: uppercase; -webkit-text-stroke: 2px #2a0d00; text-shadow: 0 5px 0 #000, 0 0 40px rgba(255, 180, 88, .55); animation: passed-in .7s cubic-bezier(.2, .9, .3, 1.2) both; }
.passed__sub { margin: .6rem 0 0; font: 400 clamp(1.6rem, 6vw, 2.6rem)/1 var(--f-head); text-transform: uppercase; color: #fff; text-shadow: 0 3px 0 #000; animation: rise .6s ease .35s both; }
.passed__msg { margin: 1.2rem auto 0; max-width: 460px; font-size: 1.05rem; animation: rise .6s ease .55s both; }
.passed--no .passed__title { color: var(--pink); }
.passed__again { margin-top: 1.4rem; animation: rise .6s ease .75s both; }
@keyframes passed-in { from { opacity: 0; transform: scale(1.6); letter-spacing: .2em; } to { opacity: 1; transform: none; } }

/* ---------- Radio Vice City ---------- */
.radio { position: fixed; left: 12px; bottom: calc(env(safe-area-inset-bottom) + 12px); z-index: 60; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(18, 6, 31, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.radio__btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sunset-x); cursor: pointer; display: grid; place-items: center; }
.radio__icon { width: 0; height: 0; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.radio.is-on .radio__icon { width: 14px; height: 16px; border: 0; margin: 0; background: linear-gradient(90deg, var(--ink) 0 35%, transparent 35% 65%, var(--ink) 65%); }
.radio__info { display: grid; line-height: 1.15; }
.radio__label { font: 800 .62rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.radio__name { font: 400 1.05rem/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.radio__eq { display: none; align-items: flex-end; gap: 3px; height: 16px; }
.radio.is-on .radio__eq { display: inline-flex; }
.radio__eq i { width: 3px; height: 100%; background: var(--yellow); transform-origin: bottom; animation: eq .8s ease-in-out infinite alternate; }
.radio__eq i:nth-child(2) { animation-delay: .2s; } .radio__eq i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* ---------- Scroll cue ---------- */
.scroll-cue { display: none; }
@media all {
  .scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: #fff; text-decoration: none; animation: rise .8s ease 1.2s both; }
  .scroll-cue__mouse { width: 30px; height: 48px; border: 3px solid #fff; border-radius: 16px; position: relative; box-shadow: 0 0 18px rgba(91, 231, 240, .45); }
  .scroll-cue__mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 5px; height: 10px; margin-left: -2.5px; border-radius: 3px; background: var(--yellow); animation: wheel 1.6s ease-in-out infinite; }
  .scroll-cue__label { font: 400 1rem/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; text-shadow: 0 2px 6px rgba(0, 0, 0, .7); }
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Powiadomienie SMS ---------- */
.notify { position: fixed; z-index: 70; top: calc(env(safe-area-inset-top) + 78px); left: 12px; right: 12px; padding: 14px 16px 16px; border-radius: 22px; background: #F6F1FA; color: #1b1026; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); transform: translateY(-140%); transition: transform .5s cubic-bezier(.2, .9, .3, 1.15); }
.notify.is-in { transform: none; }
.notify__head { display: flex; align-items: center; gap: 10px; }
.notify__head b { display: block; }
.notify__head small { color: #6b5a7b; font-size: .78rem; }
.notify__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--magenta); color: #fff; font: 400 1.2rem/1 var(--f-head); flex: none; }
.notify__close { margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(27, 16, 38, .08); cursor: pointer; position: relative; }
.notify__close::before, .notify__close::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; background: #1b1026; transform: rotate(45deg); }
.notify__close::after { transform: rotate(-45deg); }
.notify__text { margin: 10px 0 12px; font-size: 1rem; }
.notify__cta { width: 100%; }
@media (min-width: 900px) {
  .notify { top: auto; left: auto; right: 24px; bottom: 24px; width: 380px; transform: translateY(160%); }
}

/* ---------- Policyjne światła przy 5 gwiazdkach ---------- */
.police { position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: 0; box-shadow: inset 60px 0 80px -40px rgba(255, 30, 60, .9), inset -60px 0 80px -40px rgba(40, 110, 255, .9); }
.police.is-on { animation: siren .5s steps(1) 6; }
@keyframes siren { 0% { opacity: 1; box-shadow: inset 70px 0 90px -40px rgba(255, 30, 60, .95), inset -70px 0 90px -40px rgba(40, 110, 255, .2); } 50% { opacity: 1; box-shadow: inset 70px 0 90px -40px rgba(255, 30, 60, .2), inset -70px 0 90px -40px rgba(40, 110, 255, .95); } }

/* ---------- Kod HESOYAM ---------- */
.hud__cash { pointer-events: auto; cursor: default; user-select: none; -webkit-user-select: none; }
.cheat { position: fixed; z-index: 80; left: 50%; top: 22%; transform: translate(-50%, 0); text-align: center; pointer-events: none; }
.cheat__title { margin: 0; font: 400 clamp(2.4rem, 8vw, 5rem)/1 var(--f-head); text-transform: uppercase; color: var(--cash); -webkit-text-stroke: 2px #06210f; text-shadow: 0 4px 0 #000; animation: passed-in .6s cubic-bezier(.2, .9, .3, 1.2) both; }
.cheat__sub { margin: .4rem 0 0; font: 400 1.4rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 0 #000; }
.bill { position: fixed; z-index: 79; top: -60px; pointer-events: none; font: 400 2rem/1 var(--f-head); color: var(--cash); -webkit-text-stroke: 1px #06210f; text-shadow: 0 2px 0 #000; animation: bill-fall linear forwards; }
@keyframes bill-fall { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }

/* ---------- WASTED ---------- */
.section--wanted.is-wasted .section__bg img { filter: grayscale(1) contrast(1.1) brightness(.7); transition: filter 1.2s ease; }
.passed--no .passed__title { color: #C8102E; -webkit-text-stroke: 2px #000; font-style: normal; letter-spacing: .02em; text-shadow: 0 5px 0 #000, 0 0 30px rgba(200, 16, 46, .5); }

/* ---------- Desktop: większe teksty do czytania ---------- */
@media (min-width: 1024px) {
  body { font-size: 1.2rem; }
  .kicker { font-size: 1.3rem; letter-spacing: .26em; margin-bottom: 1rem; }
  .section__lead { font-size: 1.3rem; max-width: 760px; }
  h2 { font-size: clamp(4rem, 6.5vw, 6.5rem); }
  .logo__words { font-size: clamp(2.6rem, 5vw, 5.6rem); }
  .logo__num { font-size: clamp(12rem, 24vw, 26rem); }
  .hero .kicker { font-size: 1.3rem; }
  .hero__meta { font-size: clamp(1.8rem, 2.4vw, 2.6rem); }
  .btn { min-height: 62px; padding: 0 2.2rem; font-size: 1.15rem; }
  .news__tag { font-size: 1.2rem; padding: 14px 20px; }
  .news__items { font-size: 1.15rem; gap: 64px; }
  .card { padding: 28px 30px 28px 34px; }
  .card h3 { font-size: 2.3rem; }
  .card p { font-size: 1.15rem; }
  .card__label { font-size: .85rem !important; }
  .btn--small { min-height: 50px; font-size: .9rem; padding: 0 1.4rem; }
  .map__tag { font-size: 1.15rem; }
  .versus__label { font-size: .9rem; }
  .versus__mid { font-size: 1.7rem; }
  .countdown small { font-size: .95rem; }
  .loading { width: min(100%, 860px); padding: 36px 48px 30px; border-radius: 28px; background: rgba(18, 6, 31, .72); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
  .countdown span { font-size: 7.5rem; }
  .tip { font-size: 1.3rem; max-width: 720px; }
  .loading__corner { font-size: 1.5rem; }
  .tab { font-size: 1rem; }
  .look figcaption { font-size: 1.15rem; margin-top: 1rem; }
  .looks { max-width: 1040px; gap: 32px; }
  .dress-tips li { font-size: 1.15rem; padding: 14px 22px; }
  .steps li { padding: 24px 28px; gap: 24px; }
  .steps strong { font-size: 1.5rem; }
  .steps li span:not(.steps__n) { font-size: 1.2rem; }
  .steps__n { font-size: 2.8rem; }
  .contact__msg { font-size: 1.35rem; padding: 22px 26px; }
  .contact__msg b { font-size: .85rem; }
  .contact__tag { font-size: .85rem; }
  .contact__role { font-size: 1rem; }
  .contact__name { font-size: 5rem; }
  .contact__stamp { font-size: 1.25rem; }
  .wanted__stars span { width: 40px; }
  .phone { width: 460px; }
  .field { font-size: 1rem; }
  .sms__bubble { font-size: 1.05rem; }
  .passed__msg { font-size: 1.25rem; }
  .footer { font-size: 1.05rem; }
  .footer__logo { font-size: 2.6rem; }
  .hud__cash { font-size: 1.9rem; }
  .hud__star { width: 28px; }
  .radio__name { font-size: 1.2rem; }
}

.radio__next { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; cursor: pointer; position: relative; }
.radio__next::before, .radio__next::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border-left: 8px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: translateY(-50%); }
.radio__next::before { left: 10px; } .radio__next::after { left: 17px; }
.radio__next:hover { border-color: var(--yellow); }
@media (max-width: 899px) {
  .radio { top: calc(env(safe-area-inset-top) + 10px); bottom: auto; left: 12px; padding: 4px 10px 4px 4px; gap: 8px; }
  .radio__btn { width: 38px; height: 38px; }
  .radio__icon { border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }
  .radio__name { font-size: .95rem; }
  .radio__next { width: 30px; height: 30px; }
  .radio__next::before { left: 7px; } .radio__next::after { left: 13px; }
  .radio__eq { display: none !important; }
}

/* ---------- Radio: duży odtwarzacz w hero + mini-widżet ---------- */
.radio--mini { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.radio--mini.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.hero .radio--big { position: relative; inset: auto; z-index: 1; width: min(100%, 420px); margin: 0 auto; padding: 10px 14px 10px 10px; gap: 14px; border-radius: 999px; background: rgba(18, 6, 31, .72); border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 16px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 180, 88, .15); text-align: left; }
.hero .radio--big .radio__btn { width: 58px; height: 58px; flex: none; box-shadow: 0 0 0 0 rgba(255, 180, 88, .6); animation: radio-pulse 1.8s ease-out infinite; }
.hero .radio--big.is-on .radio__btn { animation: none; }
.hero .radio--big .radio__icon { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; margin-left: 5px; }
.hero .radio--big.is-on .radio__icon { width: 18px; height: 20px; margin: 0; border: 0; }
.hero .radio--big .radio__info { flex: 1; }
.hero .radio--big .radio__name { font-size: 1.5rem; }
.radio__hint { display: none; }
.hero .radio--big .radio__hint { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.hero .radio--big.is-on .radio__hint { color: var(--yellow); }
.hero .radio--big .radio__eq { display: inline-flex; height: 22px; }
.hero .radio--big:not(.is-on) .radio__eq i { animation: none; transform: scaleY(.25); }
.hero .radio--big .radio__next { width: 44px; height: 44px; flex: none; }
.hero .radio--big .radio__next::before { left: 13px; } .hero .radio--big .radio__next::after { left: 21px; }
@keyframes radio-pulse { 70% { box-shadow: 0 0 0 16px rgba(255, 180, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 180, 88, 0); } }
@media (min-aspect-ratio: 1/1) { .hero .radio--big { margin: 0; width: min(100%, 520px); } }
@media (min-width: 1024px) { .hero .radio--big .radio__name { font-size: 1.9rem; } .hero .radio--big .radio__hint { font-size: .95rem; } }
.hero__bottom { padding-bottom: calc(env(safe-area-inset-bottom) + 96px); }
@media (min-aspect-ratio: 1/1) { .hero__bottom { padding-bottom: 0; } }
.scroll-cue__label { white-space: nowrap; }

/* ---------- List gończy ---------- */
.poster { margin: 1.6rem 0 0; display: grid; justify-items: center; gap: 14px; }
.poster__canvas { width: min(78vw, 300px); height: auto; aspect-ratio: 4 / 5; border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); transform: rotate(-2deg); animation: rise .6s ease .9s both; }
@media (min-aspect-ratio: 1/1) { .poster { justify-items: start; } .poster__canvas { width: 280px; } }
@media (min-aspect-ratio: 1/1) { .passed { grid-auto-flow: row; overflow-y: auto; padding-top: 40px; padding-bottom: 40px; } }

/* ---------- Mapa w kolorach strony (filtr na osadzonej mapie Google) ---------- */
.map iframe { filter: invert(.92) hue-rotate(205deg) saturate(2.2) brightness(.95) contrast(1.05); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(160deg, rgba(123, 32, 143, .35), rgba(201, 52, 155, .18) 50%, rgba(255, 155, 85, .12)); mix-blend-mode: color; }
.map__tag { z-index: 1; }
@media (min-width: 1024px) { .hero .radio--big .radio__label { font-size: .8rem; } }
.section + .section { margin-top: -2px; }
.section--loading::after, .section--wanted::after { inset: -3px 0; }
.section--loading { background: var(--violet); } .section--wanted { background: var(--ink); }
.section--loading .section__bg, .section--wanted .section__bg { inset: 8px 0; height: auto; }

/* ---------- Radio desktop: kropki utworów + postęp ---------- */
.radio__track { display: none; }
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .hero .radio--big { width: min(100%, 680px); }
  .hero .radio--big .radio__info { flex: 0 0 auto; min-width: 150px; }
  .hero .radio--big .radio__track { display: grid; flex: 1; gap: 10px; padding: 0 6px; }
  .radio__dots { display: flex; gap: 8px; }
  .radio__dots button { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); background: transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
  .radio__dots button:hover { transform: scale(1.25); border-color: var(--yellow); }
  .radio__dots button.is-current { background: var(--sunset-x); border-color: transparent; transform: scale(1.2); }
  .radio__progress { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; }
  .radio__progress span { display: block; height: 100%; width: 100%; background: var(--sunset-x); transform-origin: left; transform: scaleX(0); transition: transform .25s linear; }
}

/* ---------- Wczytywanie: cały kolaż widoczny ---------- */
.section--loading { min-height: 0; aspect-ratio: 9 / 16; padding-bottom: 40px; }
@media (min-aspect-ratio: 1/1) {
  .section--loading { aspect-ratio: 16 / 9; padding-bottom: clamp(28px, 3vw, 56px); }
  .section--loading .loading { padding: 22px 36px 18px; background: rgba(18, 6, 31, .62); }
  .section--loading .countdown span { font-size: clamp(3.5rem, 5.5vw, 6rem); }
  .section--loading .tip { min-height: 0; margin-top: .7rem; }
  .section--loading .loadbar { margin-top: 16px; }
}
.section--loading::after { background: linear-gradient(180deg, var(--violet) 0%, rgba(59, 20, 107, .35) 6%, rgba(18, 6, 31, 0) 16%, rgba(18, 6, 31, 0) 55%, rgba(30, 10, 60, .75) 85%, var(--violet) 98%) !important; }

/* ---------- Stopka większa ---------- */
.footer { font-size: 1.15rem; padding-top: 72px; }
.footer__logo { font-size: clamp(2.8rem, 9vw, 4.6rem); margin-bottom: 1rem; }
.footer p { margin: .4rem 0; }
.footer__note { font-size: .95rem; }
@media (min-width: 1024px) { .footer { font-size: 1.4rem; } .footer__note { font-size: 1.05rem; } }

/* ---------- Poprawki mobile (runda 6) ---------- */
/* gradient nie wychodzi pod przezroczystą ramkę */
.tab.is-active, .btn--primary, .btn--small { background-origin: border-box; }
/* „Rozpocznij misję” — centrowanie bez transform (animacja rise nadpisywała translateX) */
.scroll-cue { left: 0 !important; right: 0; margin: 0 auto; width: max-content; transform: none !important; }
@media (max-aspect-ratio: 1/1) {
  .scroll-cue { bottom: calc(env(safe-area-inset-bottom) + 14px); gap: 4px; }
  .scroll-cue__mouse { width: 22px; height: 34px; border-width: 2px; }
  .scroll-cue__label { font-size: .9rem; letter-spacing: .18em; }
  .hero__bottom { padding-bottom: calc(env(safe-area-inset-bottom) + 84px); }
  /* wczytywanie: szklany panel na dole kolażu, bez procentów w rogu */
  .section--loading .loading { width: min(100%, 520px); padding: 18px 16px 14px; border-radius: 22px; background: rgba(18, 6, 31, .74); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
  .section--loading .countdown span { font-size: clamp(2.6rem, 13vw, 4rem); }
  .section--loading .loadbar { margin-top: 14px; }
  .section--loading .tip { min-height: 2.8em; font-size: .9rem; margin-top: .6rem; }
  .loading__corner { display: none; }
  /* RSVP: twarz wyżej, telefon niżej */
  .section--wanted .section__bg img { object-position: 50% 12%; }
  .section--wanted .phone { margin-top: 62svh; }
  .section--wanted::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(18, 6, 31, .4) 7%, rgba(18, 6, 31, 0) 18%, rgba(18, 6, 31, 0) 52%, rgba(18, 6, 31, .9) 72%, var(--ink) 100%); }
}
@media (max-aspect-ratio: 1/1) {
  .section--wanted .section__bg { inset: 0 0 auto 0; height: calc(100vw * 16 / 9); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 72%, transparent 100%); }
  .section--wanted .section__bg img { height: 100%; }
  .section--wanted::after { background: linear-gradient(180deg, rgba(18, 6, 31, .55) 0%, rgba(18, 6, 31, 0) 16%) !important; height: calc(100vw * 16 / 9); bottom: auto; }
  .section--wanted .phone { margin-top: calc(100vw * 16 / 9 * .62 - 260px); }
}
@media (max-aspect-ratio: 1/1) {
  .section--wanted .section__bg { top: 300px; }
  .section--wanted::after { top: 300px !important; }
  .section--wanted .phone { margin-top: calc(100vw * 16 / 9 * .58 - 150px); }
}
@media (max-aspect-ratio: 1/1) {
  .section--wanted .section__bg { top: 110px; }
  .section--wanted::after { top: 110px !important; }
  .section--wanted .phone { margin-top: calc(110px + 100vw * 16 / 9 * .64 - 310px); }
}

/* ---------- Mobile: kompaktowy HUD, chowa się przy przewijaniu w dół ---------- */
.hud, .radio--mini.is-shown { transition: opacity .3s ease, transform .3s ease; }
@media (max-width: 899px) {
  .hud { padding: 4px 8px; gap: 2px; border-radius: 10px; }
  .hud__cash { font-size: 1rem; }
  .hud__star { width: 14px; }
  .hud.is-tucked { opacity: 0; transform: translateY(-120%); }
  .radio--mini.is-shown.is-tucked { opacity: 0; transform: translateY(-120%); pointer-events: none; }
}
/* Ticker: jedna kopia treści wjeżdżająca od prawej (bez dublowania — za szeroka warstwa znikała na iOS) */
.news__items { flex: none; padding-left: 100%; padding-right: 24px; animation: ticker-in 26s linear infinite; will-change: transform; }
.news__track { min-width: 0; }
@keyframes ticker-in { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .news__items { padding-left: 16px; } }
@media (max-width: 899px) { .news__items { gap: 28px; } }
/* Ticker v3: każdy news to osobna mała warstwa przesuwana przez JS (brak jednej gigantycznej warstwy na iOS) */
.news__track { position: relative; height: 40px; }
.news__items.is-js { position: absolute; inset: 0; padding: 0; animation: none; display: block; }
.news__items.is-js span { position: absolute; left: 0; top: 50%; margin-top: -.7em; line-height: 1.4; white-space: nowrap; will-change: transform; }

/* ---------- MISSION PASSED mieści się w jednym ekranie ---------- */
/* .poster znika z układu (display: contents), więc canvas i przyciski siadają w siatce .passed */
.passed { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; justify-items: center; align-content: start; }
.passed > .passed__title, .passed > .passed__sub, .passed > .passed__msg { grid-column: 1 / -1; }
.passed .poster:not([hidden]) { display: contents; }
.passed .poster__canvas { grid-column: 1 / -1; width: auto; height: min(36svh, 420px); margin: 1rem 0 .9rem; animation-delay: .7s; }
.passed .poster__actions { grid-column: 1; justify-self: stretch; }
.passed .poster__actions .btn, .passed .passed__again { width: 100%; min-height: 50px; padding: 0 .6rem; font-size: .76rem; letter-spacing: .04em; }
.passed .passed__again { grid-column: 2; margin: 0; }
.passed--no .passed__again, .passed .poster[hidden] ~ .passed__again { grid-column: 1 / -1; justify-self: center; width: auto; margin-top: 1.4rem; padding: 0 1.6rem; }
.passed .passed__msg { margin-top: .8rem; }
@media (max-aspect-ratio: 1/1) {
  .passed { margin-top: 40svh; padding: 0 4px; }
  .passed__title { font-size: clamp(3rem, 15vw, 5rem); }
  .passed__sub { margin-top: .35rem; font-size: clamp(1.4rem, 6vw, 2rem); }
  .passed .passed__msg { font-size: .98rem; line-height: 1.4; text-shadow: 0 2px 8px rgba(0, 0, 0, .9); }
}
@media (min-aspect-ratio: 1/1) {
  .passed { grid-template-columns: max-content max-content; column-gap: 28px; justify-items: start; align-content: center; justify-content: start; padding-top: 70px; padding-bottom: 90px; overflow: visible; }
  .passed__title { font-size: clamp(3.4rem, min(8vw, 14vh), 8rem); }
  .passed__sub { font-size: clamp(1.6rem, 4.5vh, 2.6rem); }
  .passed .passed__msg { max-width: 560px; font-size: clamp(1.05rem, 2.4vh, 1.3rem); }
  .passed .poster__canvas { grid-column: 1; grid-row: 4 / span 2; height: min(46vh, calc(100vh - 290px), 520px); margin: 1.2rem 0 0; }
  .passed .poster__actions { grid-column: 2; grid-row: 4; align-self: end; margin-bottom: 12px; }
  .passed .passed__again { grid-column: 2; grid-row: 5; align-self: start; }
  .passed .poster__actions .btn, .passed .passed__again { width: 260px; min-height: 56px; font-size: .85rem; }
  .passed--no .passed__again { grid-column: 1; grid-row: auto; width: auto; justify-self: start; }
}
