/* ===========================================================================
   PRASENÍ párty — dark club / kinky stylesheet
   Jedna stránka, jasná hierarchie. Fonty z Google Fonts (Kalam + Inter).
   =========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg:        #0a0708;
    --bg-2:      #140d10;
    --card:      #1a1115;
    --card-2:    #21161b;
    --line:      rgba(213,48,83,0.18);
    --brand:     #d53053;
    --brand-2:   #ff2e63;
    --brand-dim: #8c2138;
    --text:      #f2e9ec;
    --text-dim:  #b59aa3;
    --text-faint:#7a6068;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
    background: transparent;
    color: var(--text);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* fixní poloprůhledné pozadí za celým webem – funguje i na mobilu
   (position:fixed místo background-attachment:fixed, které mobily ignorují) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('background.webp') center center / cover no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

a { color: var(--brand-2); text-decoration: none; }
a:hover { color: #fff; }

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

.kalam { font-family: 'Kalam', cursive; }

/* ---- kontejner ---- */
.wrap { width: 90%; max-width: 1000px; margin: 0 auto; }

/* ---- sticky horní lišta ---- */
header.bar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,7,8,0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.bar-inner {
    display: flex; align-items: center;
    gap: 12px; padding: 12px 0; flex-wrap: wrap;
}
.brand-mark {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: 26px; color: var(--brand-2);
    letter-spacing: .5px; line-height: 1; white-space: nowrap;
    order: 1; margin: 0 auto 0 0;
}
.brand-mark a { color: inherit; text-decoration: none; }
.brand-mark a:hover { color: #fff; }
nav.mainnav { display: flex; gap: 4px; flex-wrap: wrap; order: 2; }
nav.mainnav a {
    color: var(--text-dim); font-size: 14px; font-weight: 500;
    padding: 7px 12px; border-radius: 8px;
    transition: color .2s ease, background .2s ease;
}
nav.mainnav a:hover { color: #fff; background: rgba(213,48,83,0.12); }
.langswitch { display: flex; gap: 6px; order: 3; }
.langswitch a {
    display: inline-flex; align-items: center; justify-content: center;
    height: 42px; min-width: 42px; padding: 0 10px;
    font-size: 14px; font-weight: 600; color: var(--text-dim);
    border-radius: 10px; border: 1px solid var(--line);
    transition: background .2s ease, color .2s ease;
}
.langswitch a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.nav-toggle {
    display: none;
    order: 4;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line);
    color: var(--text); font-size: 20px;
    width: 42px; height: 42px; border-radius: 10px;
    cursor: pointer; align-items: center; justify-content: center;
    transition: background .2s ease, color .2s ease;
}
.nav-toggle:hover { background: rgba(213,48,83,0.16); color: #fff; }
.langswitch { display: flex; gap: 4px; }
.langswitch a {
    font-size: 13px; font-weight: 600; color: var(--text-dim);
    padding: 5px 9px; border-radius: 7px; border: 1px solid var(--line);
}
.langswitch a.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---- HERO + odpočet (nejdůležitější) ---- */
.hero {
    position: relative;
    padding: 40px 0 56px;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(213,48,83,0.28), transparent 60%),
        linear-gradient(180deg, rgba(255,46,99,0.06), transparent 45%);
    pointer-events: none;
}
.hero > * { position: relative; z-index: 2; }

.hero-tagline {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: 24px; line-height: 1.25;
    color: var(--brand-2);
    text-shadow: 0 0 24px rgba(213,48,83,0.4);
    margin: 0 auto; max-width: 560px;
}
/* zalomení textu jen na mobilu: na desktopu br skryté + mezera viditelná */
.mobile-br { display: none; }
.tagline-sp { display: inline; }

/* odpočet — prázdný stav */
.countdown-box {
    margin: 32px auto 0; max-width: 640px;
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px 24px 28px;
    box-shadow: 0 0 60px rgba(213,48,83,0.18), inset 0 1px 0 rgba(255,255,255,0.04);
}
.countdown-box .cd-kicker {
    text-transform: uppercase; letter-spacing: 2px;
    font-size: 12px; font-weight: 700; color: var(--brand-2); margin-bottom: 6px;
}
.countdown-box .cd-title {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: clamp(26px, 5vw, 40px); color: #fff; line-height: 1.1;
}
.countdown-box .cd-meta {
    font-family: 'Kalam', cursive; font-size: 20px; color: var(--text-dim); margin-top: 6px;
}
.countdown-box .cd-meta i { color: var(--brand); margin-right: 7px; }

/* odpočet — společný nadpis nad kartami */
.cd-kicker-top {
    text-transform: uppercase; letter-spacing: 2px;
    font-size: 13px; font-weight: 700; color: var(--brand-2);
    margin: 28px 0 16px;
}

/* mřížka karet nadcházejících akcí: hlavní nahoře (přes obě),
   zbylé pod ní – druhá vlevo, třetí vpravo (1 sloupec na mobilu) */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
    align-items: stretch;
}
.countdown-grid.single { max-width: 640px; grid-template-columns: 1fr; }

.cd-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px 20px 22px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cd-card:hover { transform: translateY(-3px); border-color: var(--brand); }
/* odpočet a tlačítko dolů, ať jsou karty zarovnané i při různě dlouhých názvech */
.cd-card .dday { margin-top: auto; }

/* první (nejbližší) karta zvýrazněná */
.cd-card.is-next {
    border-color: var(--brand);
    box-shadow: 0 0 50px rgba(213,48,83,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.countdown-grid:not(.single) .cd-card.is-next {
    grid-column: 1 / -1;
}
.cd-flag {
    display: inline-block;
    align-self: center;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.cd-flag i { margin-right: 5px; }

.cd-card-title {
    font-family: 'Kalam', cursive; font-weight: 700;
    color: #fff; line-height: 1.1;
    font-size: clamp(22px, 3vw, 30px);
}
.cd-card.is-next .cd-card-title { font-size: clamp(26px, 4vw, 38px); }
.cd-card-meta {
    font-family: 'Kalam', cursive; font-size: 18px; color: var(--text-dim); margin-top: 5px;
}
.cd-card-meta i { color: var(--brand); margin-right: 7px; }

/* odpočet uvnitř karty */
.dday {
    display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
    margin: 18px auto 4px; min-height: 78px; align-items: center;
}
.dday .cd-unit {
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 5px 7px; min-width: 60px;
    display: flex; flex-direction: column; align-items: center;
}
.dday .cd-num {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: 36px; line-height: 1; color: var(--brand-2);
    text-shadow: 0 0 18px rgba(255,46,99,0.4);
}
.cd-card.is-next .dday .cd-unit { min-width: 70px; }
.cd-card.is-next .dday .cd-num { font-size: 44px; }
.dday .cd-lab {
    font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--text-faint); margin-top: 5px;
}
.dday.cd-now {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: clamp(24px,5vw,38px); color: var(--brand-2);
    text-shadow: 0 0 24px rgba(255,46,99,0.6);
    min-height: 78px;
}
.cd-actions { margin-top: 16px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* akční tlačítka pod kartou: vycentrovaná vůči bloku, vedle sebe i na mobilu */
.card-actions {
    margin-top: 20px;
    display: flex; gap: 12px;
    justify-content: center; align-items: stretch;
    flex-wrap: nowrap;          /* drž tlačítka vedle sebe i na úzkých displejích */
}
.card-actions .btn { flex: 0 1 auto; }

/* ---- tlačítka ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px;
    padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
    cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff; box-shadow: 0 6px 24px rgba(213,48,83,0.4);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 32px rgba(213,48,83,0.55); }
.btn-ghost {
    background: rgba(255,255,255,0.04); color: var(--text);
    border-color: var(--line);
}
.btn-ghost:hover { color: #fff; background: rgba(213,48,83,0.16); border-color: var(--brand); }

/* tlačítko „Zobrazit plakát" – příbuzné s „Dozvědět se víc" (stejný typ),
   barevně ale tlumenější / méně růžové: tmavší vínový gradient. */
.btn-poster {
    background: linear-gradient(135deg, var(--brand-dim), #5e1828);
    color: #fff;
    border-color: rgba(213,48,83,0.35);
    box-shadow: 0 6px 24px rgba(140,33,56,0.4);
}
.btn-poster:hover {
    color: #fff;
    background: linear-gradient(135deg, #a02844, var(--brand-dim));
    border-color: var(--brand);
    box-shadow: 0 10px 32px rgba(140,33,56,0.55);
}

/* obal kolem obou řad tlačítek: zúží se na šířku horní dvojice,
   takže „Předprodej vstupenek" je přesně tak široký jako ty dvě nad ním */
.actions-wrap {
    width: fit-content; max-width: 100%;
    margin: 20px auto 0;
    display: flex; flex-direction: column;
}
.actions-wrap .card-actions { margin-top: 0; }
.actions-wrap .card-actions + .card-actions { margin-top: 12px; }

/* tlačítko „Předprodej vstupenek" – LUXUSNÍ PLASTICKÉ ČERNÉ, široké jako
   horní dvojice. Kolem dokola pomalu krouží růžový paprsek (jako maják). */
.card-actions.ticket-row { margin-top: 12px; }

/* plynulá rotace úhlu pro conic-gradient (paprsek po obvodu) */
@property --tkt-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.btn-tickets {
    position: relative;
    /* plastická černá: radiální „vyboulení" uprostřed + tmavé okraje,
       dohromady působí jako vystínovaný, dovnitř hloubený povrch */
    background:
        radial-gradient(120% 140% at 50% 0%, #241a1f 0%, #160f13 38%, #0a0709 70%, #050304 100%);
    color: #fff; border: 1px solid rgba(255,255,255,0.05);
    box-shadow:
        0 10px 34px rgba(0,0,0,0.6),               /* vnější hloubka */
        inset 0 1px 0 rgba(255,255,255,0.09),      /* horní světelná hrana */
        inset 0 -10px 22px rgba(0,0,0,0.65),       /* spodní vnitřní stín */
        inset 0 10px 22px rgba(0,0,0,0.45);        /* horní vnitřní stín = plastika */
    overflow: hidden;
    z-index: 0;
}
.ticket-row .btn-tickets {
    flex: 1 1 100%; width: 100%;   /* vyplní šířku wrapperu = horní dvojice */
}

/* PAPRSEK: úzký růžový světelný klín, který pomalu krouží po obvodu.
   conic-gradient se zúženým jasným výsekem; maskou zobrazíme jen rámeček. */
.btn-tickets::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1.6px;                 /* tloušťka svítící linky */
    background: conic-gradient(
        from var(--tkt-angle),
        rgba(213,48,83,0)   0deg,
        rgba(213,48,83,0)   285deg,
        var(--brand-dim)    312deg,   /* náběh: tmavá výchozí růžová */
        var(--brand)        334deg,   /* jádro paprsku */
        var(--brand-2)      346deg,   /* nejjasnější růžová */
        var(--brand)        352deg,
        rgba(213,48,83,0)   360deg    /* doznění */
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: tkt-orbit 6s linear infinite;   /* pomalejší krouživý pohyb */
    pointer-events: none;
    z-index: 1;
}

/* obsah (ikona + text) nad efekty */
.btn-tickets i, .btn-tickets span { position: relative; z-index: 2; }

/* paprsek krouží */
@keyframes tkt-orbit {
    to { --tkt-angle: 360deg; }
}
.btn-tickets:hover {
    border-color: rgba(213,48,83,0.45);
}
/* fallback pro prohlížeče bez @property: paprsek se točí přes transform */
@supports not (background: conic-gradient(from var(--tkt-angle), #000, #fff)) {
    .btn-tickets::before { animation: tkt-spin-fallback 6s linear infinite; }
}
@keyframes tkt-spin-fallback { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .btn-tickets::before { animation: none;
        background: conic-gradient(from 320deg, rgba(213,48,83,0) 0deg, var(--brand-2) 35deg, rgba(213,48,83,0) 70deg); }
}

/* stav „Předprodej brzy zahájíme!" – statická černá karta přes celou šířku */
.ticket-soon {
    flex: 1 1 100%; width: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 14px 18px; border-radius: 10px;
    background:
        radial-gradient(120% 140% at 50% 0%, #241a1f 0%, #160f13 40%, #0a0709 75%, #050304 100%);
    border: 1px solid rgba(213,48,83,0.3);
    box-shadow:
        0 8px 28px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
    text-align: center;
}
.ticket-soon-main {
    display: inline-flex; align-items: center; gap: 9px;
    font-weight: 700; font-size: 16px; color: #fff;
    font-family: 'Inter', sans-serif;
}
.ticket-soon-main i { color: var(--brand-2); }
.ticket-soon-sub {
    font-size: 13.5px; color: var(--text-dim); line-height: 1.45;
}
.ticket-soon-sub .inline-link { color: var(--brand-2); }

/* mobil: tlačítka zůstávají vedle sebe, jen se přizpůsobí šířce */
@media (max-width: 520px) {
    .card-actions { gap: 8px; }
    .card-actions .btn {
        flex: 1 1 0; min-width: 0;
        padding: 11px 12px; font-size: 14px;
        justify-content: center; white-space: nowrap;
    }
    .card-actions .btn i { font-size: 13px; }
}
@media (max-width: 360px) {
    .card-actions .btn { font-size: 13px; padding: 10px 8px; gap: 5px; }
}

/* ---- sekce ---- */
section { padding: 28px 0 56px; position: relative; }
section:nth-of-type(even) { background: rgba(20,13,16,0.5); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.section-head .kicker {
    text-transform: uppercase; letter-spacing: 3px;
    font-size: 12px; font-weight: 700; color: var(--brand-2); margin-bottom: 10px;
}
.section-head h2 {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: clamp(30px, 5vw, 46px); color: #fff; line-height: 1.05;
}
.section-head .lead { color: var(--text-dim); margin-top: 12px; font-size: 18px; }

/* ---- "o čem to je" – tři dlaždice ---- */
.feature-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.feature {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 18px; padding: 26px 24px;
    transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--brand); }
.feature .ic {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(213,48,83,0.15); color: var(--brand-2);
    font-size: 22px; margin-bottom: 16px;
}
.feature h3 {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: 26px; color: #fff; margin-bottom: 8px;
}
.feature p { color: var(--text-dim); font-size: 16px; }

/* ---- kdo za tím stojí ---- */
.who {
    display: grid; grid-template-columns: 1fr; gap: 22px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 22px; padding: 34px;
    text-align: center; max-width: 760px; margin: 0 auto;
}
.who p { color: var(--text-dim); }
.who p strong, .who a { color: var(--brand-2); font-weight: 600; }
.who .who-cta { margin-top: 6px; display: flex; justify-content: center; }

/* ---- karty akcí ---- */
.party { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 760px; margin: 0 auto; }
.party.past { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); max-width: 1000px; }

/* Proběhlé akce — menší font, ať se víc karet pěkně vejde */
.party.past .evt-card { padding: 20px 22px; }
.party.past .evt-card .date { font-size: 18px; }
.party.past .evt-card h3 { font-size: clamp(20px, 3vw, 25px); margin: 4px 0 9px; }
.party.past .evt-card .place { font-size: 16px; }
.party.past .evt-card .text { font-size: 14px; margin-top: 10px; }
.party.past .evt-card .card-actions { margin-top: 14px; }
.evt-card {
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--line); border-radius: 20px;
    padding: 28px; list-style: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.evt-card:hover {
    transform: translateY(-3px); border-color: var(--brand);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.evt-card .date {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: 22px; color: var(--brand-2);
}
.evt-card .date i { margin-right: 8px; }
.evt-card h3 {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: clamp(26px, 4vw, 34px); color: #fff;
    margin: 6px 0 12px; line-height: 1.05;
}
.evt-card .place {
    font-family: 'Kalam', cursive; font-size: 20px; color: var(--text-dim);
}
.evt-card .place i { color: var(--brand); margin-right: 8px; }
.evt-card .entry {
    font-family: 'Kalam', cursive; font-size: 20px; color: var(--text);
    margin-top: 4px;
}
.evt-card .entry i { color: var(--brand); margin-right: 8px; }
.evt-card .text { color: var(--text-dim); font-size: 16px; margin-top: 14px; }
.evt-card .card-actions { margin-top: 20px; }

/* ---------------------------------------------------------------------------
   PERFORMER „with NAME" + štítky odkazů + fotka do pozadí boxíku
   --------------------------------------------------------------------------- */
/* Fotka performera leží přes stávající gradient (vpravo dole, cover).
   Karty proto musí ořezávat obsah a mít pozici pro vrstvu ::after. */
.cd-card.has-performer,
.evt-card.has-performer { position: relative; overflow: hidden; }

.cd-card.has-performer::after,
.evt-card.has-performer::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--performer-bg);
    background-repeat: no-repeat;
    background-position: right bottom;
    /* výška se vždy vejde celá (100 % boxu), šířka dopočítaná dle poměru –
       případný přebytek se ořízne do stran (vpravo dole) */
    background-size: auto 100%;
    /* zarovnání na cover napravo dole + jemné ztlumení, ať text zůstane čitelný */
    -webkit-mask-image: linear-gradient(300deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 38%, rgba(0,0,0,0) 72%);
            mask-image: linear-gradient(300deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 38%, rgba(0,0,0,0) 72%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
}
/* Veškerý obsah karty nad fotkou. */
.cd-card.has-performer > *,
.evt-card.has-performer > * { position: relative; z-index: 1; }

/* „with NAME" – stejně velké a barevné jako nadpis akce */
.performer { margin: 4px 0 10px; }
.cd-card .performer { text-align: center; }
.performer-with {
    font-family: 'Kalam', cursive; font-weight: 700;
    color: #fff; line-height: 1.05; margin: 0;
}
.performer-with-lbl { color: #fff; font-weight: 700; }
.performer-name { color: #fff; }

/* velikost dědí podle typu karty – shodně s příslušným nadpisem */
.evt-card .performer-with { font-size: clamp(26px, 4vw, 34px); }
.party.past .evt-card .performer-with { font-size: clamp(20px, 3vw, 25px); }
.cd-card .performer-with { font-size: clamp(22px, 3vw, 30px); }
.cd-card.is-next .performer-with { font-size: clamp(26px, 4vw, 38px); }

/* řádek malých štítků s odkazy */
.performer-links {
    display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px;
}
.cd-card .performer-links { justify-content: center; }
.performer-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
    line-height: 1; color: var(--text); text-decoration: none;
    background: rgba(10,7,8,0.55);
    border: 1px solid var(--line);
    border-radius: 999px; padding: 6px 11px;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
    backdrop-filter: blur(2px);
}
.performer-tag i { font-size: 12px; color: var(--brand-2); }
.performer-tag:hover {
    color: #fff; background: rgba(213,48,83,0.22);
    border-color: var(--brand); transform: translateY(-1px);
}
.performer-tag span { white-space: nowrap; }

.empty {
    text-align: center; color: var(--text-dim);
    background: var(--card); border: 1px dashed var(--line);
    border-radius: 18px; padding: 34px; max-width: 560px; margin: 0 auto;
}
.empty strong { color: #fff; font-family: 'Kalam', cursive; font-size: 24px; display: block; margin-bottom: 6px; }

/* ---- patička ---- */
footer.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0; text-align: center; color: var(--text-faint);
    font-size: 14px; background: rgba(10,7,8,0.6);
}
footer.site-footer .f-brand {
    font-family: 'Kalam', cursive; font-weight: 700; font-size: 24px;
    color: var(--brand-2); margin-bottom: 6px;
}
footer.site-footer a { color: var(--text-dim); }
footer.site-footer a:hover { color: #fff; }

/* ---- fade-in ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- responsive ---- */
/* ---- responsive: hamburger menu ---- */
@media (max-width: 760px) {
    .mobile-br { display: block; }
    .tagline-sp { display: none; }
    .nav-toggle { display: inline-flex; order: 4; }
    .langswitch { order: 3; }
    nav.mainnav {
        order: 5;
        width: 100%;
        flex-direction: column;
        gap: 2px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .3s ease, opacity .25s ease, margin .3s ease;
    }
    nav.mainnav.open {
        max-height: 420px;
        opacity: 1;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }
    nav.mainnav a {
        font-size: 16px;
        padding: 12px 14px;
        border-radius: 10px;
    }
}

/* ---- velmi malé mobily: zmenšíme logo, ať se vše vejde do řádku ---- */
@media (max-width: 560px) {
    .countdown-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .brand-mark { font-size: 21px; }
    .bar-inner { gap: 8px; }
    .langswitch a { min-width: 38px; height: 38px; padding: 0 7px; font-size: 13px; }
    .nav-toggle { width: 38px; height: 38px; font-size: 18px; }
}

@media (max-width: 640px) {
    .dday .cd-unit { min-width: 56px; }
    .dday .cd-num { font-size: 32px; }
    .cd-card.is-next .dday .cd-unit { min-width: 60px; }
    .cd-card.is-next .dday .cd-num { font-size: 36px; }
    section { padding: 48px 0; }

    /* Fotka performera na mobilu: ukázat celou (contain), menší a zatlačenou
       co nejvíc do pravého dolního rohu (boxy jsou na mobilu dost vysoké, tak
       plná výška by fotku zbytečně zvětšila a vytáhla doleva). */
    .cd-card.has-performer::after,
    .evt-card.has-performer::after {
        background-size: auto 62%;
        background-position: right -6px bottom -6px;
        -webkit-mask-image: linear-gradient(305deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0) 60%);
                mask-image: linear-gradient(305deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0) 60%);
    }
}

/* ===========================================================================
   ADMIN
   =========================================================================== */
.admin-wrap {
    width: 92%; max-width: 880px; margin: 36px auto;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 20px; padding: 28px;
}
.admin-wrap h1 { font-family: 'Kalam', cursive; font-weight: 700; font-size: 38px; color: var(--brand-2); }
.admin-wrap h2 { font-family: 'Kalam', cursive; font-weight: 700; font-size: 26px; color: #fff; margin-top: 8px; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.flash { padding: 12px 16px; border-radius: 10px; margin: 12px 0; font-weight: 500; }
.flash.ok  { background: rgba(46,160,67,0.2); border: 1px solid rgba(46,160,67,0.4); color: #7fe39a; }
.flash.err { background: rgba(213,48,83,0.2); border: 1px solid rgba(213,48,83,0.45); color: #ff8fa6; }

.admin-form label { display: block; margin: 14px 0 5px; font-size: 14px; color: var(--text-dim); font-weight: 500; }
.admin-form label small { color: var(--text-faint); font-weight: 400; }
.admin-form input[type=text], .admin-form input[type=url],
.admin-form input[type=datetime-local], .admin-form input[type=password],
.admin-form textarea,
.ticket-fields input[type=url], .ticket-fields textarea,
.performer-section input[type=text], .performer-section textarea {
    width: 100%; padding: 11px 13px; border-radius: 10px;
    border: 1px solid var(--line); background: rgba(0,0,0,0.3);
    color: var(--text); font-size: 15px; font-family: 'Inter', sans-serif;
}
.admin-form input:focus, .admin-form textarea:focus,
.ticket-fields input:focus, .ticket-fields textarea:focus,
.performer-section input:focus, .performer-section textarea:focus { outline: none; border-color: var(--brand); }
.admin-form textarea, .ticket-fields textarea { min-height: 84px; resize: vertical; }
.ticket-fields label, .performer-section label { display: block; margin: 14px 0 5px; font-size: 14px; color: var(--text-dim); font-weight: 500; }
.ticket-fields label small, .performer-section label small { color: var(--text-faint); font-weight: 400; }
/* zaškrtávátko „Předprodej bude brzy zahájen" */
.ticket-fields label.ticket-check {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 0 0 6px; padding: 12px 14px;
    background: rgba(213,48,83,0.08); border: 1px solid rgba(213,48,83,0.25);
    border-radius: 10px; cursor: pointer; flex-wrap: wrap;
}
.ticket-check input[type=checkbox] {
    width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto;
    accent-color: var(--brand); cursor: pointer;
}
.ticket-check span {
    font-weight: 600; color: var(--text); font-size: 15px;
}
.ticket-check small {
    flex: 1 1 100%; margin-left: 30px;
    color: var(--text-faint); font-weight: 400; font-size: 13px;
}
.admin-form .row, .performer-section .row { display: flex; gap: 14px; flex-wrap: wrap; }
.admin-form .row > div, .performer-section .row > div { flex: 1 1 220px; }
.form-actions {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-top: 20px; flex-wrap: wrap;
}
.btn-save {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff; border: 1px solid transparent; padding: 0 24px; height: 44px;
    border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer;
    font-family: 'Inter', sans-serif; vertical-align: middle;
    transition: box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-save:hover { box-shadow: 0 8px 24px rgba(213,48,83,0.45); }
.btn-save:disabled { opacity: 0.6; cursor: default; }

.admin-list .item {
    background: var(--card-2); border: 1px solid var(--line); border-radius: 12px;
    padding: 14px 16px; margin: 10px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.admin-list .item .ttl { font-family: 'Kalam', cursive; font-weight: 700; font-size: 21px; color: var(--brand-2); }
.admin-list .item .meta { font-size: 14px; color: var(--text-dim); }
.admin-list .actions { display: flex; gap: 8px; }
.admin-list .actions a, .admin-list .actions button {
    text-decoration: none; padding: 8px 14px; border-radius: 10px; border: none;
    font-size: 14px; font-weight: 500; cursor: pointer; color: #fff; font-family: 'Inter', sans-serif;
}
.admin-list .actions .edit { background: var(--brand); }
.admin-list .actions .edit:hover { background: var(--brand-2); }
.admin-list .actions .copy { background: rgba(213,48,83,0.4); }
.admin-list .actions .copy:hover { background: rgba(213,48,83,0.6); }
.admin-list .actions .del  { background: rgba(255,255,255,0.08); }
.admin-list .actions .del:hover { background: rgba(213,48,83,0.25); }
.badge { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(46,160,67,0.25); color: #7fe39a; margin-left: 8px; }
.login-box { max-width: 400px; margin: 80px auto; }
.login-box .btn-save { margin-top: 20px; }
.admin-note { color: var(--text-dim); font-size: 14px; }
.admin-wrap a.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 22px; font-size: 15px; font-weight: 600;
    border-radius: 10px; vertical-align: middle;
}

/* ===========================================================================
   ODKAZY V TEXTU + ODKAZ ADRESY
   =========================================================================== */
/* inline odkaz (PRASENÍ.com v textu): stejná barva jako okolní text,
   jen podtržený – ať nevypadá jako tlačítko, ale je jasné, že to je odkaz */
.inline-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color .2s ease;
}
.inline-link:hover { color: var(--brand-2); }

/* adresa akce jako odkaz (jen když je vyplněné place_url):
   vychází z .place, ale je podtržená a mírně zvýrazněná, ať je poznat klikatelnost */
.evt-card .place a.place-link,
.cd-card a.place-link {
    color: var(--brand-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--brand-2);
    transition: color .2s ease, text-decoration-color .2s ease;
}
.evt-card .place a.place-link:hover,
.cd-card a.place-link:hover {
    color: #fff;
    text-decoration-color: #fff;
}

/* ===========================================================================
   ADMIN — horní menu (přepínač + odkazy) + responzivní hamburger
   =========================================================================== */
.admin-topbar {
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap; margin-bottom: 22px;
}
.admin-brand {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: 32px; color: var(--brand-2); line-height: 1;
    margin-right: auto;
}
.admin-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* přepínač Přidat akci / Správa akcí — vizuálně jako přepínač jazyků */
.admin-switch { display: inline-flex; gap: 4px; background: rgba(0,0,0,0.25);
    border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.admin-switch a {
    display: inline-flex; align-items: center; justify-content: center;
    height: 38px; padding: 0 16px; border-radius: 10px;
    font-size: 14px; font-weight: 600; color: var(--text-dim);
    text-decoration: none; white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}
.admin-switch a:hover { color: #fff; background: rgba(213,48,83,0.16); }
.admin-switch a.active { background: var(--brand); color: #fff; }

.admin-nav-link {
    display: inline-flex; align-items: center; gap: 7px;
    height: 38px; padding: 0 14px; border-radius: 10px;
    border: 1px solid var(--line); color: var(--text-dim);
    font-size: 14px; font-weight: 500; text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.admin-nav-link:hover { color: #fff; background: rgba(213,48,83,0.16); border-color: var(--brand); }

.admin-nav-toggle {
    display: none; order: 3;
    background: rgba(255,255,255,0.05); border: 1px solid var(--line);
    color: var(--text); font-size: 20px;
    width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
    align-items: center; justify-content: center;
    transition: background .2s ease, color .2s ease;
}
.admin-nav-toggle:hover { background: rgba(213,48,83,0.16); color: #fff; }

/* srovnání tlačítek Upravit / Kopírovat / Smazat — stejná velikost */
.admin-list .item {
    align-items: flex-start;
    flex-wrap: nowrap;
}
.admin-list .item > :first-child {
    flex: 1 1 auto; min-width: 0;   /* blok s názvem a info nalevo, smí se zalamovat */
}
.admin-list .actions {
    display: flex; gap: 8px; flex-wrap: nowrap;
    flex: 0 0 auto;                 /* tlačítka napravo, nezalamují se */
}
.admin-list .actions a,
.admin-list .actions button,
.admin-list .actions .del-form {
    margin: 0; padding: 0; border: 0; background: none;
}
.admin-list .actions .del-form { display: inline-flex; }
.admin-list .actions > a,
.admin-list .actions > .del-form > button {
    display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box;
    min-width: 104px; height: 40px; padding: 0 14px;
    border-radius: 10px; border: none;
    font-size: 14px; font-weight: 500; line-height: 1;
    color: #fff; cursor: pointer; text-decoration: none;
    font-family: 'Inter', sans-serif;
}

/* mobil: tlačítka pod název a text, ale stále v jedné řadě vedle sebe */
@media (max-width: 640px) {
    .admin-list .item { flex-direction: column; align-items: stretch; gap: 12px; }
    .admin-list .actions { width: 100%; gap: 6px; }
    .admin-list .actions .del-form { flex: 1 1 0; }
    .admin-list .actions > a,
    .admin-list .actions > .del-form > button {
        flex: 1 1 0;                /* tři tlačítka si rovným dílem rozdělí šířku */
        min-width: 0;               /* ať se vejdou i na úzkých displejích */
        width: 100%; padding: 0 8px;
    }
}
/* velmi malé mobily: o něco menší písmo, ať se popisky vejdou */
@media (max-width: 360px) {
    .admin-list .actions > a,
    .admin-list .actions > .del-form > button { font-size: 13px; padding: 0 4px; }
}

@media (max-width: 760px) {
    .admin-nav-toggle { display: inline-flex; }
    .admin-nav {
        order: 5; width: 100%; flex-direction: column; align-items: stretch;
        gap: 8px; max-height: 0; overflow: hidden; opacity: 0;
        transition: max-height .3s ease, opacity .25s ease, margin .3s ease;
    }
    .admin-nav.open {
        max-height: 360px; opacity: 1; margin-top: 6px; padding-top: 12px;
        border-top: 1px solid var(--line);
    }
    .admin-switch { width: 100%; }
    .admin-switch a { flex: 1; }
    .admin-nav-link { height: 44px; }
}

/* ===========================================================================
   LIGHTBOX (prohlížení plakátů na webu)
   =========================================================================== */
.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    display: none; align-items: center; justify-content: center;
    background: rgba(5,3,4,0.92);
    backdrop-filter: blur(4px);
    padding: 24px;
}
.lightbox.open { display: flex; }
.lb-stage {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    max-width: 100%; max-height: 100%;
}
.lb-img {
    max-width: min(92vw, 1100px); max-height: 82vh;
    border-radius: 12px; object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    background: #1a1115;
}
.lb-caption {
    font-family: 'Kalam', cursive; font-weight: 700;
    color: var(--text); font-size: 20px; text-align: center;
    max-width: 90vw;
}
.lb-close, .lb-nav {
    position: absolute; z-index: 2;
    background: rgba(255,255,255,0.08); color: #fff;
    border: 1px solid var(--line); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease, transform .15s ease, border-color .2s ease;
}
.lb-close {
    top: 18px; right: 18px;
    width: 46px; height: 46px; border-radius: 12px; font-size: 22px;
}
.lb-nav {
    top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%; font-size: 22px;
}
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(213,48,83,0.4); border-color: var(--brand); }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 560px) {
    .lb-nav { width: 44px; height: 44px; font-size: 18px; }
    .lb-prev { left: 8px; } .lb-next { right: 8px; }
    .lb-close { top: 10px; right: 10px; width: 42px; height: 42px; }
    .lb-img { max-height: 74vh; }
}

/* ===========================================================================
   ADMIN — nahrávání a galerie plakátů
   =========================================================================== */
.poster-section {
    margin-top: 26px; padding-top: 22px;
    border-top: 1px solid var(--line);
}
.poster-h {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: 24px; color: var(--brand-2); margin-bottom: 6px;
}
.poster-section code {
    background: rgba(0,0,0,0.35); padding: 1px 6px; border-radius: 6px;
    font-size: 13px; color: var(--brand-2);
}
.poster-drop {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; text-align: center;
    margin-top: 14px; padding: 28px 18px;
    border: 2px dashed var(--line); border-radius: 14px;
    background: rgba(0,0,0,0.2); color: var(--text-dim);
    cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.poster-drop:hover, .poster-drop.drag {
    border-color: var(--brand); background: rgba(213,48,83,0.1); color: var(--text);
}
.poster-drop i { font-size: 30px; color: var(--brand-2); }
.poster-drop small { color: var(--text-faint); }

.poster-progress { margin-top: 14px; }
.poster-progress-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--text-dim); margin-bottom: 6px;
}
.poster-progress-pct { font-weight: 600; color: var(--brand-2); }
.poster-bar {
    height: 10px; border-radius: 999px; overflow: hidden;
    background: rgba(255,255,255,0.08);
}
.poster-bar-fill {
    height: 100%; width: 0%;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    transition: width .15s ease;
}

.poster-msg { margin-top: 12px; padding: 9px 13px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.form-actions .poster-msg { margin-top: 0; }
.ticket-fields label:first-child { margin-top: 0; }
.poster-msg.ok  { background: rgba(46,160,67,0.2); border: 1px solid rgba(46,160,67,0.4); color: #7fe39a; }
.poster-msg.err { background: rgba(213,48,83,0.2); border: 1px solid rgba(213,48,83,0.45); color: #ff8fa6; }

.poster-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px; margin-top: 16px;
}
.poster-thumb {
    position: relative; margin: 0;
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--line); background: var(--card-2);
    aspect-ratio: 3 / 4;
}
.poster-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; cursor: zoom-in;
    transition: transform .25s ease;
}
.poster-thumb:hover img { transform: scale(1.05); }
.poster-del {
    position: absolute; top: 6px; right: 6px;
    width: 32px; height: 32px; border-radius: 10px;
    border: none; cursor: pointer;
    background: rgba(10,7,8,0.7); color: #fff; font-size: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.poster-del:hover { background: var(--brand); }

/* Náhled fotky performera v adminu: fotka bývá s průhledným pozadím a na výšku,
   tak ji ukážeme celou (contain) na tmavém poli místo ořezu cover. */
.performer-uploader .poster-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 180px));
}
.performer-thumb {
    aspect-ratio: 3 / 4;
    background:
        linear-gradient(135deg, rgba(213,48,83,0.10), rgba(0,0,0,0.35));
}
.performer-thumb img { object-fit: contain; }

/* ===========================================================================
   QR MODAL (předprodej vstupenek) – kompaktní karta, odlišná od lightboxu
   =========================================================================== */
.qr-modal {
    position: fixed; inset: 0; z-index: 1100;
    display: none; align-items: center; justify-content: center;
    background: rgba(5,3,4,0.85); backdrop-filter: blur(4px);
    padding: 20px;
}
.qr-modal.open { display: flex; }
.qr-box {
    position: relative;
    background: linear-gradient(180deg, var(--card-2), var(--card));
    border: 1px solid var(--line); border-radius: 18px;
    padding: 30px 26px 26px; max-width: 380px; width: 100%;
    text-align: center;
    box-shadow: 0 24px 70px rgba(0,0,0,0.6);
}
.qr-close {
    position: absolute; top: 12px; right: 12px;
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.06); color: var(--text);
    border: 1px solid var(--line); cursor: pointer; font-size: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease, color .2s ease;
}
.qr-close:hover { background: rgba(213,48,83,0.3); color: #fff; }
.qr-title {
    font-family: 'Kalam', cursive; font-weight: 700;
    font-size: 26px; color: var(--brand-2); margin-bottom: 16px;
    padding-right: 30px;
}
.qr-img-wrap {
    background: #fff; border-radius: 14px; padding: 12px;
    display: inline-block; margin-bottom: 16px;
}
.qr-img {
    display: block; width: 100%; max-width: 260px; height: auto;
    border-radius: 6px;
}
.qr-note {
    color: var(--text-dim); font-size: 15px; line-height: 1.5;
    margin-bottom: 18px;
}
.qr-download { width: 100%; }
