/* Quiz Black Week – Micha Pupila. Projekt „Black Week” 11.11.2026: czerń + żółty, Baloo 2. */
:root {
    --bg: #0b0b0b;
    --card: #141414;
    --card-2: #1b1b1b;
    --line: #262626;
    --line-2: #2c2c2c;
    --y: #FFC727;
    --y-hover: #FFD95C;
    --y-deep: #F7AF08;
    --text: #fff;
    --text-2: #d6d6d6;
    --muted: #bdbdbd;
    --muted-2: #8f8f8f;
    --ok: #7cc35a;
    --ok-bg: #1d2a16;
    --bad: #ff4d3d;
    --bad-bg: #2a1513;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Baloo 2', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--y); text-decoration: none; }
a:hover { color: var(--y-hover); text-decoration: underline; }
[hidden] { display: none !important; }
input::placeholder { color: #6f6f6f; }
.y { color: var(--y); }
.nw { white-space: nowrap; }
.center { text-align: center; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.kicker { font-size: 16px; letter-spacing: .32em; color: var(--y); font-weight: 500; }
.kicker--white { color: #fff; letter-spacing: .42em; }
.kicker--dark { color: #111; font-weight: 600; }
.h2 { margin: 0; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; font-weight: 700; text-wrap: balance; }
.small { margin: 0; color: var(--muted-2); font-size: 14px; line-height: 1.5; }
.lead { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.note { margin: 6px 0 0; color: var(--muted-2); font-size: 16px; }
.num {
    width: 36px; height: 36px; flex: none; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; background: var(--y); color: #111;
}

/* ---------- przyciski ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-weight: 600; font-size: 18px; line-height: 1.2;
    padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
    text-align: center; text-decoration: none; transition: background .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: .55; cursor: default; }
.btn--y { background: var(--y); color: #111; }
.btn--y:hover { background: var(--y-hover); color: #111; }
.btn--dark { background: #111; color: var(--y); }
.btn--dark:hover { background: #262626; color: var(--y); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid #3a3a3a; padding: 12px 26px; font-weight: 500; }
.btn--ghost:hover { border-color: var(--y); color: #fff; }
.btn--lg { font-size: 20px; padding: 18px 38px; }
.btn--ghost.btn--lg { padding: 16px 34px; }
.btn--sm { font-size: 16px; padding: 10px 22px; }
.btn--block { width: 100%; }
.btn--pulse { animation: bwPulse 2.4s ease-out infinite; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@keyframes bwPulse { 0% { box-shadow: 0 0 0 0 rgba(255,199,39,.55); } 100% { box-shadow: 0 0 0 20px rgba(255,199,39,0); } }

/* ---------- pasek i nawigacja ---------- */
.topbar {
    background: var(--y); color: #111;
    display: flex; justify-content: center; align-items: center; gap: 8px 14px; flex-wrap: wrap;
    padding: 9px 20px; font-size: 15px; font-weight: 500; text-align: center;
}
.tb-tag { font-weight: 700; letter-spacing: .18em; }
.tb-pill { background: #111; color: var(--y); font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.tb-count { font-variant-numeric: tabular-nums; }
.tb-count:empty { display: none; }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(11,11,11,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid #1f1f1f; }
.nav-in { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav-links a:not(.btn) { color: var(--text-2); }
.nav-links a:not(.btn):hover { color: var(--y); }
@media (max-width: 700px) { .nav-links a:not(.btn) { display: none; } .nav-logo img { height: 38px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-bg {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: min(100%, 1680px); height: auto; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, transparent 0%, #000 9%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 24%), linear-gradient(180deg, transparent 0%, #000 9%, #000 84%, transparent 100%);
    mask-composite: intersect;
}
.hero-wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 72px 24px 110px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; position: relative; z-index: 1; }
.hero-h1 { margin: 0; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.12; font-weight: 500; max-width: 780px; text-wrap: balance; }
.hero-h1 b { font-weight: 700; }
.hero-free {
    font-size: clamp(34px, 4.4vw, 72px); white-space: nowrap; line-height: 1.25; padding: .15em 0 .05em;
    font-weight: 800; letter-spacing: -.01em;
    background: linear-gradient(180deg, #FFD84A 0%, #F2A400 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-top: calc(-6px - .3em); margin-bottom: -.2em;
}
.hero-lead { margin: 0; font-size: 20px; line-height: 1.5; color: #cfcfcf; max-width: 520px; text-wrap: pretty; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-promo { display: flex; align-items: center; gap: 12px; }
.hp-num { font-size: 56px; font-weight: 800; line-height: 1; color: var(--y); letter-spacing: -.02em; }
.hp-txt { font-size: 16px; line-height: 1.25; color: var(--text-2); }
.cd { display: flex; flex-direction: column; gap: 6px; }
.cd-lab { font-size: 12px; letter-spacing: .2em; font-weight: 600; color: #a9a9a9; }
.cd-boxes { display: flex; gap: 8px; }
.cd-boxes > span { display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: 8px 10px; border-radius: 14px; background: rgba(20,20,20,.85); border: 1px solid var(--line-2); }
.cd-boxes b { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-boxes small { font-size: 12px; color: #a9a9a9; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-pic { flex: 1.5 1 520px; min-width: 0; position: relative; }
.hero-inline {
    margin: 0 -24px; aspect-ratio: 1.24; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%), linear-gradient(180deg, transparent 0%, #000 9%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%), linear-gradient(180deg, transparent 0%, #000 9%, #000 84%, transparent 100%);
    mask-composite: intersect;
}
.hero-inline img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }

@media (min-width: 1052px) {
    .hero-wrap { min-height: min(50vw, 840px); }
    .hero-text { max-width: calc(37vw - 24px); }
    .hero-h1 { white-space: nowrap; }
    .hero-free { font-size: min(128px, calc((37vw - 24px) / 4.9)); line-height: .98; margin-top: 0; }
    .hero-inline { display: none; }
}
@media (max-width: 1051px) {
    .hero-bg { display: none; }
    .hero-lead { max-width: none; }
    .hero-free { font-size: calc((100vw - 48px) / 7.25); }
    .hero-free br { display: none; }
}
@media (min-width: 680px) and (max-width: 1051px) {
    .hero-h1 { font-size: calc((100vw - 48px) / 18.6); max-width: none; white-space: nowrap; }
    .hero-h1 br { display: none; }
}
@media (max-width: 679px) {
    .hero-wrap { padding: 40px 24px 64px; }
    .hero-h1 { font-size: min(36px, calc((100vw - 48px) / 10.1)); }
    .hero-lead { font-size: 18px; }
    .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- próbne pytanie ---------- */
.demo-sec { position: relative; z-index: 2; }
.demo { border-radius: 40px; background: var(--card); box-shadow: 0 30px 80px rgba(0,0,0,.6); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); overflow: hidden; }
.demo-l { padding: 48px; background: var(--y); color: #111; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.demo-head { display: flex; flex-direction: column; gap: 14px; }
.demo-head h2 { margin: 0; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; font-weight: 800; text-wrap: balance; }
.demo-head p { margin: 0; color: #2a2200; font-size: 18px; line-height: 1.55; max-width: 440px; }
.demo-clock { display: flex; flex-direction: column; gap: 14px; }
.demo-num { display: flex; align-items: baseline; gap: 12px; font-weight: 800; line-height: .82; font-variant-numeric: tabular-nums; color: #111; }
.demo-num span { font-size: clamp(96px, 12vw, 168px); letter-spacing: -.03em; }
.demo-num small { font-size: clamp(32px, 3.6vw, 52px); }
.demo-num.end { color: #b3261e; }
.demo-bar { height: 8px; background: rgba(0,0,0,.16); border-radius: 999px; overflow: hidden; }
.demo-bar div { height: 100%; width: 100%; background: currentColor; color: #111; transform-origin: left center; }
.demo-r { padding: 48px; background: #0f0f0f; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 440px; }
.demo-r h3 { margin: 0 0 16px; font-size: 28px; line-height: 1.2; font-weight: 600; text-wrap: balance; }
#demo-run h3 { margin-bottom: 14px; }
#demo-done { margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.demo-msg { font-size: 20px; font-weight: 600; line-height: 1.35; }
.demo-msg.ok { color: var(--ok); }
.demo-msg.bad { color: #ff8a7d; }
@media (max-width: 820px) {
    .demo-l { padding: 32px 28px 20px; gap: 20px; }
    .demo-head p { display: none; }
    .demo-num span { font-size: 72px; }
    .demo-r { padding: 24px 28px 32px; min-height: 0; }
}

/* ---------- odpowiedzi (quiz i próba) ---------- */
.answers { display: flex; flex-direction: column; gap: 10px; }
.answer {
    font: inherit; text-align: left; display: flex; align-items: center; gap: 14px;
    font-size: 18px; line-height: 1.3; padding: 14px 18px; border-radius: 18px;
    border: 2px solid var(--line-2); background: var(--bg); color: #fff; cursor: pointer;
    transition: border-color .15s, background .15s;
}
.answer:hover:not(:disabled) { border-color: var(--y); }
.answer:disabled { cursor: default; }
.answer .key { width: 32px; height: 32px; flex: none; border-radius: 999px; background: var(--line); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--y); }
.answer.chosen { border-color: var(--y); }
.answer.right { border-color: var(--ok); background: var(--ok-bg); }
.answer.wrong { border-color: var(--bad); background: var(--bad-bg); }

/* ---------- nagrody ---------- */
.prizes-sec { padding-top: 90px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.prize { position: relative; display: flex; flex-direction: column; align-items: center; }
.prize-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 8px; }
/* zdjęcie nagród na całą szerokość okna (poza kolumną treści), do 1920 px */
.prize-photo { position: relative; width: 100vw; max-width: 1920px; flex: none; align-self: center; }
.prize-photo img {
    width: 100%; height: auto; aspect-ratio: 2/1; object-fit: contain;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%);
}
.plab { display: flex; flex-direction: column; gap: 4px; }
.plab-k { font-size: 13px; letter-spacing: .2em; font-weight: 600; color: var(--y); }
.plab-t { font-size: clamp(18px, 2.1vw, 28px); font-weight: 700; line-height: 1.1; }
.plab-s { font-size: 15px; color: var(--muted); }
.prize-cta { margin-top: 28px; }
@media (min-width: 700px) {
    .prize-head { position: absolute; top: 5%; left: 0; right: 0; z-index: 1; margin: 0; }
    .prize-labels { position: absolute; left: 0; right: 0; top: 88.5%; }
    .plab { position: absolute; top: 0; transform: translateX(-50%); align-items: center; text-align: center; white-space: nowrap; }
    .plab-1 { left: 55.2%; }
    .plab-2 { left: 24.2%; }
    .plab-3 { left: 81.2%; }
    .prize-photo { margin-bottom: 40px; }
}
@media (max-width: 699px) {
    .prize-labels { display: flex; flex-direction: column; padding: 0 24px; }
    .plab { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .plab-t { font-size: 24px; }
    .prize-cta { align-self: stretch; }
}

.supp { display: flex; flex-direction: column; gap: 14px; }
.supp-wrap { position: relative; }
.supp-h { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.1; text-align: center; }
.supp-photo { position: relative; overflow: hidden; }
.supp-photo img {
    display: block; width: 100%; max-width: none; height: auto;
    aspect-ratio: 2.5; object-fit: cover; object-position: 50% 92%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 86%, transparent 100%);
}
.supp-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.supp-caps > div { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.supp-caps b { font-size: clamp(18px, 2.1vw, 26px); font-weight: 700; line-height: 1.15; }
@media (min-width: 700px) {
    .supp-h { position: absolute; left: 0; right: 0; top: 16%; z-index: 1; }
}
@media (max-width: 699px) {
    .supp-h { margin-bottom: 12px; }
    .supp-photo { margin: 0 -24px; }
    .supp-photo img { aspect-ratio: 2.4; object-position: 50% 86%; }
    .supp-caps { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- oferta + dlaczego ---------- */
.offer-sec { padding-top: 60px; padding-bottom: 110px; display: flex; flex-direction: column; gap: 44px; }
.offer {
    position: relative; overflow: hidden; border-radius: 40px; color: #111;
    background-color: var(--y-deep); background-repeat: no-repeat;
    background-image: linear-gradient(90deg, var(--y-deep) 0%, var(--y-deep) 34%, rgba(247,175,8,0) 56%), url("img/oferta.webp");
    background-size: auto, auto 100%; background-position: 0 0, right bottom;
    min-height: clamp(440px, 42vw, 560px);
}
.offer-in { position: relative; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding: 56px; max-width: 60%; }
.offer-num { font-size: clamp(110px, 15vw, 220px); font-weight: 800; line-height: .82; letter-spacing: -.03em; }
.offer-txt { font-size: 28px; font-weight: 600; line-height: 1.15; max-width: 420px; text-wrap: balance; }
.offer-pill { background: #111; color: var(--y); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.offer .btn { margin-top: 8px; }
@media (max-width: 699px) {
    .offer {
        background-image: linear-gradient(180deg, var(--y-deep) 0%, var(--y-deep) calc(100% - 320px), rgba(247,175,8,0) calc(100% - 290px)), url("img/oferta.webp");
        background-size: auto, auto 320px; background-position: 0 0, right -24px bottom;
        padding-bottom: 300px; min-height: 0;
    }
    .offer-in { padding: 36px 28px 0; max-width: none; }
}
.why { display: flex; flex-direction: column; gap: 24px; }
.why h3 { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.1; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.why-grid > div { display: flex; gap: 16px; align-items: flex-start; }
.why-grid .num { width: 44px; height: 44px; font-size: 18px; }
.why-grid > div > div { display: flex; flex-direction: column; gap: 4px; }
.why-grid b { font-size: 21px; font-weight: 600; }
.why-grid span:not(.num) { color: var(--muted); font-size: 16px; line-height: 1.5; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- gra ---------- */
.game-sec { padding-bottom: 100px; }
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; scroll-margin-top: 90px; }
#gra { scroll-margin-top: 70px; }
.game-outer { position: relative; margin-top: calc(clamp(240px, 36vw, 500px) * .416 + 28px); }
.game-cat {
    position: absolute; top: calc(clamp(240px, 36vw, 500px) * -.416 + 2px); width: clamp(240px, 36vw, 500px); height: auto;
    left: calc(50% - clamp(240px, 36vw, 500px) * .31 - 44px);
    pointer-events: none; z-index: 2; filter: drop-shadow(0 16px 14px rgba(0,0,0,.6));
}
@media (max-width: 740px) { .game-cat { left: auto; right: 20px; } }
@property --bw-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes bwSpin { to { --bw-a: 360deg; } }
.game {
    border-radius: 40px; border: 2px solid transparent;
    background: linear-gradient(var(--card), var(--card)) padding-box, conic-gradient(from var(--bw-a), #262626 0deg, #262626 230deg, #FFC727 315deg, #FFF3C4 332deg, #262626 360deg) border-box;
    animation: bwSpin 7s linear infinite;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); overflow: hidden;
}
.game-l { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; background: radial-gradient(90% 70% at 0% 100%, #3a2c00 0%, var(--card) 70%); }
.game-l-head { display: flex; flex-direction: column; gap: 16px; }
.game-l-head h2 { margin: 0; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.05; font-weight: 700; }
.game-l-head p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; max-width: 440px; }
.how { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.how li { display: flex; align-items: flex-start; gap: 14px; }
.how li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.how b { font-size: 19px; font-weight: 600; line-height: 1.3; }
.how small { font-size: 16px; line-height: 1.45; color: var(--muted); }
.nobuy { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: #1d1d1d; border-radius: 24px; padding: 18px 22px; font-size: 17px; line-height: 1.4; color: var(--text-2); }
.nobuy .btn { font-size: 17px; padding: 12px 24px; }
.game-r { padding: 48px; display: flex; flex-direction: column; gap: 20px; border-left: 1px solid var(--line); min-width: 0; }
.step { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 720px) {
    .game-l, .game-r { padding: 32px 24px; }
    .game-r { border-left: 0; border-top: 1px solid var(--line); }
    .game { border-radius: 32px; }
}

.form { display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--text-2); }
.form input[type=text], .form input[type=email] {
    font: inherit; font-size: 18px; background: var(--bg); color: #fff;
    border: 2px solid var(--line-2); border-radius: 18px; padding: 16px 20px; outline: none; width: 100%;
}
.form input[type=text]:focus, .form input[type=email]:focus { border-color: var(--y); }
.form label.check { flex-direction: row; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.form label.check input { width: 22px; height: 22px; accent-color: var(--y); margin: 0; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ok-box { background: var(--ok-bg); color: #b9e59a; border-radius: 16px; padding: 12px 16px; font-size: 16px; }
.rules { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.msg { display: none; border-radius: 16px; padding: 12px 16px; font-size: 16px; line-height: 1.45; }
.msg.show { display: block; }
.msg.err { background: var(--bad-bg); color: #ffb4aa; border: 1px solid #5c2b2e; }
.msg.info { background: #2a2205; color: #ffe08a; border: 1px solid #4a3c08; }

.q-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.q-prog { color: var(--muted); font-size: 16px; }
.q-prog b { color: #fff; }
.q-time { font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; background: var(--y); color: #111; padding: 6px 16px; border-radius: 999px; transition: background .2s; }
.q-time.end { background: var(--bad); color: #fff; }
.timer { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: -8px; }
.timer-fill { height: 100%; width: 100%; background: var(--y); transform-origin: left center; }
.timer-fill.end { background: var(--bad); }
.q-text { margin: 4px 0 0; font-size: 28px; line-height: 1.2; font-weight: 600; text-wrap: pretty; }
.feedback { font-size: 20px; font-weight: 600; line-height: 1.35; min-height: 0; }
.feedback:empty { display: none; }
.feedback.ok { color: var(--ok); }
.feedback.bad { color: #ff8a7d; }
@media (max-width: 520px) { .q-text { font-size: 23px; } .answer { font-size: 17px; padding: 12px 14px; } }

.r-score { font-size: 88px; font-weight: 700; line-height: .9; }
.r-score > span { color: #5a5a5a; }
.r-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.r-meta > div { background: var(--card-2); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.r-meta span { color: var(--muted-2); font-size: 15px; }
.r-meta b { font-size: 28px; font-weight: 600; }

.tie { margin-top: 24px; border-radius: 28px; border: 1px dashed #3a3a3a; padding: 24px 30px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; color: var(--text-2); font-size: 17px; line-height: 1.5; }
.tie > span:last-child { flex: 1; min-width: 240px; }
.tie-tag { background: var(--line); color: var(--y); font-weight: 600; padding: 6px 14px; border-radius: 999px; font-size: 15px; }

/* ---------- ranking ---------- */
.rank-sec { position: relative; padding-top: 40px; padding-bottom: 100px; display: flex; flex-direction: column; gap: 36px; }
.rank-head { position: relative; margin-bottom: -36px; }
.rank-text { display: flex; flex-direction: column; gap: 10px; }
.rank-text .small { font-size: 16px; max-width: 380px; margin-top: 4px; }
.kicker.live { display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: #ff4d3d; box-shadow: 0 0 0 4px rgba(255,77,61,.25); }
.rank-banner {
    position: relative; height: clamp(260px, 30vw, 400px); overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%), linear-gradient(90deg, transparent 0%, #000 30%, #000 95%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, transparent 0%, #000 32%), linear-gradient(90deg, transparent 0%, #000 30%, #000 95%, transparent 100%);
    mask-composite: intersect;
}
.rank-banner img { position: absolute; right: 0; top: -45.6%; height: 190%; width: auto; max-width: none; }
@media (min-width: 760px) { .rank-text { position: absolute; left: 0; bottom: 64px; z-index: 1; max-width: 44%; } }
@media (max-width: 759px) { .rank-head { margin-bottom: -60px; } .rank-banner { margin: 0 -24px; } }
.board { border-radius: 32px; background: var(--card); border: 1px solid var(--line); overflow: hidden; position: relative; z-index: 1; }
.rrow { display: grid; grid-template-columns: 80px minmax(0, 2fr) minmax(0, 1.4fr) 110px 110px; gap: 12px; padding: 16px 28px; align-items: center; font-size: 18px; border-bottom: 1px solid #1f1f1f; }
.rrow:last-child { border-bottom: 0; }
.rrow--head { color: var(--muted-2); font-size: 14px; border-bottom: 1px solid var(--line); }
.rrow .r { text-align: right; }
.rrow .pos { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; background: var(--line); color: var(--text-2); }
.rrow.p1 .pos { background: #FFC727; color: #111; }
.rrow.p2 .pos { background: #d9d9d9; color: #111; }
.rrow.p3 .pos { background: #c98b4e; color: #111; }
.rrow .nm { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow .pet { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rrow .sc { font-weight: 600; color: var(--y); }
.rrow .tm { color: var(--muted); font-variant-numeric: tabular-nums; }
.rrow-empty { padding: 28px; color: var(--muted); font-size: 17px; text-align: center; }
@media (max-width: 640px) {
    .rrow { grid-template-columns: 48px minmax(0, 1fr) 54px 70px; padding: 14px 16px; font-size: 15px; gap: 8px; }
    .rrow > :nth-child(3) { display: none; }
    .rrow .pos { width: 34px; height: 34px; }
}

/* ---------- FAQ ---------- */
.faq-sec { max-width: 960px; padding-top: 40px; padding-bottom: calc(clamp(180px, 24vw, 320px) * .735 + 56px); display: flex; flex-direction: column; gap: 36px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.faq details[open] { border-color: #4a3c08; }
.faq summary {
    list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-size: 20px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; width: 36px; height: 36px; flex: none; border-radius: 999px; background: var(--line); color: var(--y);
    display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600;
}
.faq details[open] summary::after { content: "−"; background: var(--y); color: #111; }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 760px; }
@media (max-width: 520px) { .faq summary { font-size: 18px; padding: 18px 20px; } .faq details p { padding: 0 20px 20px; } }

/* ---------- przyklejony pasek (telefon) ---------- */
.sticky {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; gap: 8px;
    background: rgba(20,20,20,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid var(--line-2); border-radius: 999px; padding: 8px;
}
.sticky .btn { font-size: 16px; padding: 13px 16px; }
.sticky .btn--y { flex: 1; }
.sticky .btn--ghost { border-width: 1px; }

/* ---------- stopka ---------- */
.foot { background: var(--y); color: #111; position: relative; }
.foot a:not(.btn) { color: #111; font-weight: 500; }
.foot-in { position: relative; max-width: 1280px; margin: 0 auto; padding: 96px 24px 40px; display: flex; flex-direction: column; gap: 40px; }
.foot-dog { position: absolute; top: 0; right: clamp(16px, 6vw, 96px); width: clamp(180px, 24vw, 320px); height: auto; transform: translateY(-78.2%); pointer-events: none; z-index: 1; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.foot-claim { font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.05; max-width: 640px; }
.foot-line { height: 2px; background: #111; opacity: .15; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 15px; line-height: 1.6; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }

/* ---------- pojawianie się sekcji ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .rv { opacity: 1; transform: none; }
}

/* ekrany szersze niż 1920 px: zdjęcie nagród kończy się miękko, bez widocznej krawędzi */
@media (min-width: 1921px) {
    .prize-photo img {
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
        -webkit-mask-composite: source-in;
        mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
        mask-composite: intersect;
    }
}
