/* =========================================================
   Wedding Site — style.css
   Paleta: butelkowa zieleń + złoto
   ========================================================= */

/* ---------- 0) Zmienne ---------- */
:root {
    --green: #0b3d2e;
    /* butelkowa zieleń */
    --gold: #d4af37;
    /* złoto */
    --bg: #f7f7f5;
    --white: #fff;
    --text: #1f2937;
    --muted: #6b7280;

    /* HERO */
    --hero-pos-y: 10%;
    /* 0%=góra, 50%=środek */
    --hero-min-h: 70vh;
    /* wysokość sekcji */
    --hero-size: cover;
    /* cover=przycięcie, contain=bez przycięcia */

    /* Header / nav */
    --header-h: 72px;
    /* wys. paska (desktop) */
    --nav-gap: 28px;
    /* odstęp między linkami */
    --nav-font: 18px;
    /* rozmiar fontu linków */

    /* Napis pod zdjęciem */
    --names-color: var(--green);
    --names-indent: .35em;
}

/* =========================================================
   1) Reset / baza
   ========================================================= */
* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: var(--header-h);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans';
    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
    display: block;
}

/* Kontener */
.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

/* Linki / przyciski */
a {
    color: inherit;
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .625rem 1rem;
    border-radius: 12px;
    background: var(--green);
    color: #fff;
    border: 1px solid var(--green);
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(11, 61, 46, .08);
    transition: box-shadow .2s, transform .2s, filter .2s, background .2s, color .2s;
}

.btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(11, 61, 46, .14);
}

.btn:active {
    transform: translateY(0);
    box-shadow: inset 0 6px 14px rgba(0, 0, 0, .08);
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.btn-outline {
    background: #fff;
    color: var(--green);
    border-color: var(--green);
}

.btn-outline:hover {
    background: rgba(11, 61, 46, .08);
}

.icon-btn {
    font-weight: 600;
}

/* Anchory nie chowają się pod headerem */
:target {
    scroll-margin-top: var(--header-h);
}

/* =========================================================
   2) Header / nawigacja
   ========================================================= */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    height: var(--header-h);
    transition: background .25s, border-color .25s, box-shadow .25s;
}

.site-header:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--nav-gap);
}

.nav a {
    position: relative;
    font-weight: 600;
    font-size: var(--nav-font);
    color: var(--text);
    padding: 10px 14px 14px;
    border-radius: 10px;
    transition: color .2s, background .2s, box-shadow .2s, transform .2s;
}

/* złota kreska – zawsze lekko widoczna */
.nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), #f1d37a);
    border-radius: 999px;
    opacity: .45;
    transition: opacity .2s;
}

.nav a:hover {
    background: rgba(11, 61, 46, .06);
    color: var(--green);
    box-shadow: 0 6px 14px rgba(11, 61, 46, .12);
    transform: translateY(-1px);
    opacity: .92;
}

.nav a:hover::after,
.nav a.is-active::after {
    opacity: 1;
}

.nav a:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(11, 61, 46, .18);
}

.nav a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.nav a.is-active {
    background: rgba(11, 61, 46, .08);
    color: var(--green);
}

/* header po scrollu (dodawane w JS) */
.site-header.header--solid {
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

/* =========================================================
   3) HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: var(--hero-min-h);
    background: url('/static/img/glowne.JPEG') no-repeat 50% var(--hero-pos-y)/var(--hero-size);
    display: grid;
    place-items: center;
}

/* =========================================================
   4) Napis POD zdjęciem
   ========================================================= */
.couple-header {
    padding: 28px 0;
}

.couple-names {
    display: grid;
    justify-items: center;
    row-gap: .25em;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: .92;
    color: var(--names-color);
    font-size: clamp(52px, 8vw, 112px);
    margin: auto;
}

.couple-names .name,
.couple-names .amp {
    display: block;
}

/* =========================================================
   5) Sekcje / nagłówki
   ========================================================= */
.section {
    padding: 48px 0;
    background: var(--bg);
}

.section-alt {
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.5vw, 36px);
    margin: 0;
    color: var(--green);
}

.divider {
    width: 120px;
    height: 4px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, var(--gold), #f1d37a);
    border-radius: 999px;
}

/* =========================================================
   6) Historia
   ========================================================= */
.timeline {
    position: relative;
    margin: 24px auto 0;
    padding-left: 24px;
    max-width: 820px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), #f1d37a);
    border-radius: 2px;
}

.tl-item {
    position: relative;
    margin: 0 0 24px;
    padding-left: 24px;
}

.tl-dot {
    position: absolute;
    left: 4px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, .28);
}

.tl-date {
    font-weight: 700;
    color: var(--green);
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: .6px;
    text-transform: uppercase;
    opacity: .9;
}

.tl-item h3 {
    margin: 4px 0 6px;
    color: var(--green);
}

.tl-item p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.tl-tags {
    margin-top: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tl-tags span {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    color: var(--muted);
}

.tl-now .tl-dot {
    background: var(--green);
    box-shadow: 0 0 0 2px rgba(11, 61, 46, .22);
}

.love-quote {
    margin-top: 10px;
    font-style: italic;
    border-left: 4px solid var(--gold);
    padding-left: 12px;
    color: var(--muted);
}

/* =========================================================
   7) Odliczanie
   ========================================================= */
.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(80px, 1fr));
    gap: 14px;
}

.countdown--done {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    /* dopasuj */
    padding: 12px 0;
    text-align: center;
}

.countdown--done .boom {
    margin-right: .35em;
}

.cd-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .04);
    transition: transform .2s, box-shadow .2s;
}

.cd-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

.cd-num {
    display: block;
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 700;
    color: var(--green);
}

.cd-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================
   8) Menu
   ========================================================= */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.menu-card {
    grid-column: span 12;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .04);
    transition: transform .2s, box-shadow .2s, border-color .2s, background-color .2s;
}

.menu-card:hover,
.menu-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    border-color: rgba(212, 175, 55, .45);
}

.menu-card:active {
    transform: translateY(0);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .06);
}

.menu-card h3 {
    position: relative;
    margin: 0 0 10px;
    color: var(--green);
}

.menu-card:hover h3::after,
.menu-card:focus-within h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #f1d37a);
    border-radius: 999px;
}

.menu-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.menu-card li {
    position: relative;
    padding-left: 22px;
    margin: 8px 0;
    line-height: 1.55;
}

.menu-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, .25);
    transition: transform .2s;
}

.menu-card li:hover::before {
    transform: scale(1.25);
}

/* =========================================================
   9) Galeria / Upload
   ========================================================= */
.upload-area {
    background: #fff;
    border: 2px dashed #e5e7eb;
    border-radius: 16px;
    padding: 22px 22px;
    text-align: left;
}

.upload-area .howto {
    max-width: 760px;
    margin: 0 auto;
}

.upload-area.dragover {
    border-color: var(--green);
    background: #f6fffa;
}

#file-input {
    display: none;
}

/* Instrukcja: kroki + tipy */
.howto-title {
    margin: 0 0 18px;
    color: var(--green);
    text-align: center;
}

.howto-steps {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 20px 0;
    padding: 20px 0;
    list-style: none;
    counter-reset: step;
}

.howto-steps {
    counter-reset: step;
}


.howto-steps,
.howto-steps * {
    white-space: normal;
}

.howto-steps li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
    line-height: 1.55;
    margin: 0;
}

.howto-steps li::before {
    counter-increment: step;
    content: counter(step);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.howto-steps button {
    margin: 0 6px;
    vertical-align: middle;
}

/* ładny inline z tekstem */

.howto-meta {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    text-align: left;
}

.tip {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--gold);
    border-radius: 12px;
    padding: 8px 10px;
    color: var(--text);
}

.howto-cta {
    margin-top: 14px;
    text-align: center;
}

.howto-cta .btn {
    min-width: 180px;
}

.tip .badge {
    display: inline-block;
    padding: 2px 8px;
    margin-left: 6px;
    background: #eef2f7;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
}

.tip .sep {
    margin: 0 6px;
    color: #cbd5e1;
}

.upload-list {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.progress {
    flex: 1;
    height: 6px;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
}

.progress>div {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green), #0f5a44);
}

/* Toast/status uploadu */
.upload-toast {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .95);
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    padding: 10px 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
}

.upload-toast.hidden {
    display: none;
}

.spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    border-top-color: var(--green);
    animation: spin .9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Siatka galerii */
.gallery-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}

.gallery-item {
    grid-column: span 6;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .10);
}

/* Domyślnie ładna „karta” na desktopie (spójna wysokość) */
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item .actions {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
}

.gallery-actions {
    margin-top: 12px;
    text-align: center;
}

.empty-msg {
    grid-column: 1/-1;
    text-align: center;
    color: var(--muted);
    padding: 12px 0;
    margin: 0;
}

/* =========================================================
   10) Mapy
   ========================================================= */
.map-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.map-card {
    grid-column: span 12;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .04);
    text-align: center;
}

.map {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 10px;
    margin-inline: auto;
}

.nav-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* =========================================================
   11) Stopka
   ========================================================= */
.footer-inner {
    text-align: center;
    color: var(--muted);
}

.heart {
    color: var(--green);
    font-size: 1.05em;
    vertical-align: -2px;
}

/* =========================================================
   12) Lightbox (global)
   ========================================================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lb-stage {
    max-width: min(96vw, 1200px);
    max-height: 86vh;
    display: grid;
    place-items: center;
}

#lb-img,
#lb-video {
    max-width: 90vw;
    max-height: 85vh;
    display: none;
}

.lb-btn {
    position: absolute;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(4px);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
    user-select: none;
}

.lb-btn:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-1px);
}

.lb-close {
    top: 20px;
    right: 20px;
    font-size: 24px;
    line-height: 1;
}

.lb-prev {
    left: 20px;
}

.lb-next {
    right: 20px;
}

.badge-video {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
}

/* =========================================================
   13) Responsywność
   ========================================================= */

/* ≥720px */
@media (min-width:720px) {
    .menu-card {
        grid-column: span 6;
    }

    .gallery-item {
        grid-column: span 4;
    }

    .map-card {
        grid-column: span 6;
    }
}

/* ≥1024px (desktop) */
@media (min-width:1024px) {
    :root {
        --hero-min-h: 76vh;
    }
}

/* ≤1023px */
@media (max-width:1023px) {
    :root {
        --names-indent: .25em;
        --header-h: 60px;
        --nav-gap: 20px;
        --nav-font: 16px;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Header na 100% szerokości na tablet/mobile */
@media (max-width:900px) {
    .site-header .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Galeria – zero ucinania na węższych ekranach */
    .gallery-item {
        grid-column: span 6;
    }

    .gallery-item img,
    .gallery-item video {
        height: auto;
        object-fit: contain;
        background: #fff;
        padding: 6px;
        border-radius: 10px;
    }

    .howto-steps {
        padding-left: 10px;
    }

    .howto-steps li {
        grid-template-columns: 32px minmax(0, 1fr);
        column-gap: 8px;
    }

    .howto-steps li::before {
        width: 32px;
        height: 32px;
    }
}

/* ≤768px (telefony) */
@media (max-width:768px) {
    :root {
        --hero-min-h: 55vh;
        --header-h: 60px;
        --nav-gap: 12px;
        --nav-font: 15px;
    }

    .couple-names {
        font-size: clamp(44px, 12vw, 84px);
    }

    .header-inner {
        justify-content: center !important;
    }

    .nav {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        white-space: nowrap;
        gap: 12px;
        padding: 8px 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        padding: 0 14px 12px;
        border-radius: 9999px;
        white-space: nowrap;
        text-align: center;
        flex: 0 0 auto;
        scroll-snap-align: start;
        position: relative;
    }

    .nav::before,
    .nav::after {
        content: "";
        flex: 0 0 16px;
    }

    .nav a:hover,
    .nav a.is-active {
        background: rgba(11, 61, 46, .06);
        color: var(--green);
        box-shadow: 0 4px 12px rgba(11, 61, 46, .10);
        transform: none;
    }

    .nav a::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 60%;
        bottom: 6px;
        opacity: .5;
    }

    .nav a:hover::after,
    .nav a.is-active::after {
        transform: translateX(-50%);
        opacity: 1;
    }
}

/* ≤520px – gęstsza siatka, bez przycinania */
@media (max-width:520px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        grid-column: span 1;
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
        background: #fff;
        padding: 6px;
        border-radius: 10px;
    }

    .gallery-item video {
        width: 100%;
        height: auto;
        max-height: 48vh;
        object-fit: contain;
        background: #000;
        border-radius: 10px;
    }
}

@media (max-width:480px) {
    .howto-steps li {
        grid-template-columns: 26px minmax(0, 1fr);
    }

    .howto-steps li::before {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 435px) {
    :root {
        --header-h: 56px;
        /* było 60 */
        --nav-font: 14px;
        /* było 15–16 */
        --nav-gap: 10px;
        /* ciaśniej między linkami */
    }

    .nav {
        padding: 6px 10px;
        /* mniejsze “guttery” */
        scroll-padding-inline: 10px;
    }

    .nav a {
        height: 38px;
        /* niższe pastylki */
        padding: 0 10px 10px;
        /* ciaśniejsze wnętrze */
    }

    .nav::before,
    .nav::after {
        flex: 0 0 10px;
    }

    /* krótsze “bufory” */

    .nav a::after {
        width: 52%;
        bottom: 5px;
    }
}

/* ≤420px */
@media (max-width:420px) {
    :root {
        --header-h: 56px;
        --nav-font: 14px;
        --nav-gap: 10px;
    }

    .nav {
        padding: 6px 12px;
        scroll-padding-inline: 12px;
    }

    .nav a {
        height: 38px;
        padding: 0 10px;
    }

    .nav::before,
    .nav::after {
        flex: 0 0 12px;
    }

    .nav a::after {
        width: 50%;
        bottom: 5px;
    }

    .nav-links .btn {
        min-width: 160px;
    }
}

@media (max-width: 400px) {
    :root {
        --header-h: 54px;
        --nav-font: 13.5px;
        --nav-gap: 8px;
    }

    .nav {
        padding: 6px 8px;
        scroll-padding-inline: 8px;
    }

    .nav a {
        height: 36px;
        padding: 0 9px 9px;
    }

    .nav::before,
    .nav::after {
        flex: 0 0 8px;
    }

    .nav a::after {
        width: 46%;
        bottom: 4px;
    }
}

/* ≤360px */
@media (max-width: 375px) {
    :root {
        --header-h: 50px;
        /* było 54/56 — jeszcze niżej */
        --nav-font: 12.5px;
        /* mniejszy font w pastylkach */
        --nav-gap: 4px;
        /* ciaśniejsze odstępy */
    }

    .nav {
        padding: 4px 6px;
        /* mniejsze „guttery” po bokach */
        scroll-padding-inline: 6px;
    }

    .nav a {
        height: 34px;
        /* niższe pastylki */
        padding: 0 8px 8px;
        /* ciaśniejsze wnętrze */
        border-radius: 9999px;
    }

    .nav::before,
    .nav::after {
        flex: 0 0 6px;
        /* krótsze bufory na krańcach */
    }

    /* złota kreska też krótsza i bliżej dołu, żeby nie kolidowała z tekstem */
    .nav a::after {
        width: 42%;
        bottom: 3px;
    }
}

@media (max-width: 350px) {
    :root {
        --header-h: 44px;
    }

    .site-header {
        padding: 6px 10px;
    }

    .brand {
        font-size: 15px;
        letter-spacing: .2px;
    }

    .nav {
        gap: 4px;
    }

    .nav a {
        padding: 4px 6px;
        font-size: 12px;
    }

    /* Drobne: hero i licznik */
    .hero h1 {
        font-size: 26px;
    }

    .countdown .unit {
        padding: 4px 6px;
        min-width: 46px;
    }
}


/* Fallback gdy brak backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header {
        background: #fff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    }
}