/* =====================================================================
   psytrance.sk – smer C „UV festival“
   Neón pod UV lampou: kyslá zelená, ružová, tyrkysová a fialová na indigovom podklade,
   op-art kruhy a lúče, „nálepkové“ karty s plným farebným tieňom, nadpisy v pôvodnom Neuropole.
   Kategórie majú vlastnú farbu: hudba = zelená, výtvarníci = ružová, crew = tyrkysová.
   Kto má v systéme vypnuté animácie (prefers-reduced-motion), dostane statickú verziu.
   ===================================================================== */

@font-face {
    font-family: 'Neuropol';
    src: url("../fonts/neuropol-EnSm8mI.woff") format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #0d0221;
    --bg-2: #12052b;
    --surface: #170733;
    --surface-2: #22104a;
    --border: #3a2470;
    --text: #f4ecff;
    --text-2: #e6dcfa;
    --muted: #b9a8d9;
    --lime: #c6ff00;
    --pink: #ff2bd6;
    --cyan: #00f0ff;
    --violet: #7c3aff;
    --orange: #ffa800;
    --error: #ff6b8a;
    --success: #c6ff00;
    --wave: rgba(244, 236, 255, .22);
    --radius: 24px;
    --c: var(--lime); /* farba aktuálneho prvku (nálepky, waveform…) */
    --font-display: 'Neuropol', 'Trebuchet MS', system-ui, sans-serif;
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --stripe: repeating-linear-gradient(90deg, var(--lime) 0 40px, var(--pink) 40px 80px, var(--cyan) 80px 120px, var(--violet) 120px 160px);
}

/* farby kategórií a striedanie farieb v zoznamoch */
.cat-music  { --c: var(--lime); }
.cat-dj     { --c: #ff7a45; }
.cat-visual { --c: var(--pink); }
.cat-crew   { --c: var(--cyan); }
.c-0 { --c: var(--lime); }
.c-1 { --c: var(--pink); }
.c-2 { --c: var(--cyan); }
.c-3 { --c: var(--violet); }

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
    margin: 0;
    color: var(--text);
    font: 16px/1.55 var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(1200px 620px at 50% -10%, rgba(124, 58, 255, .45), transparent 70%), var(--bg);
    background-attachment: fixed;
    overflow-x: hidden;
}

a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: var(--cyan); }

h1, h2, h3 { font-family: var(--font-display); font-weight: normal; line-height: 1.1; letter-spacing: .01em; }
h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--c); text-shadow: 3px 3px 0 var(--violet); }
.cat-music h1, .hero-op h1 { text-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--violet); }
a.sticker { text-decoration: none; }
a.sticker:hover { color: var(--bg); transform: rotate(0); }
h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 3.6vw, 2.2rem); color: var(--text); }

code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hint { font-size: .85rem; color: var(--lime); margin: 4px 0 0; }
::selection { background: var(--pink); color: var(--bg); }

.sticker {
    display: inline-block;
    background: var(--c);
    color: var(--bg);
    font-weight: 800;
    padding: 3px 14px;
    border-radius: 8px;
    transform: rotate(-2deg);
}

/* ---------- hlavička / pätička ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(13, 2, 33, .82);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
}
.site-header nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; font-weight: 700; }
.site-header nav a { text-decoration: none; color: var(--text); padding: 7px 12px; border-radius: 99px; transition: transform .15s, box-shadow .15s; }
.site-header nav a:hover { color: var(--cyan); }
.site-header nav .nav-pill { background: var(--c); color: var(--bg); padding: 7px 16px; }
.site-header nav .nav-pill:hover { color: var(--bg); transform: translateY(-1px) rotate(-1deg); }
.site-header nav .nav-pill[aria-current] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--c); }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.35rem; color: var(--lime); text-decoration: none; }
.logo:hover { color: var(--lime); }
.logo img { display: block; height: 44px; width: auto; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.logo:hover img { transform: rotate(60deg) scale(1.06); }
.lang-switch { border: 2px solid var(--text) !important; padding: 2px 10px !important; font-size: .8rem; }

/* mobilné menu (hamburger) */
.menu-toggle { display: none; }
.menu-toggle .icon-close { display: none; }
@media (max-width: 1400px) {
    .site-header { padding: 10px 16px; }
    .logo { font-size: 1.15rem; }
    .logo img { height: 38px; }
    .menu-toggle {
        display: inline-grid;
        place-items: center;
        width: 46px; height: 46px; padding: 0;
        border-radius: 50%;
        border: 2px solid var(--lime);
        color: var(--lime);
        background: transparent;
    }
    .menu-toggle:hover { color: var(--bg); background: var(--lime); border-color: var(--lime); }
    .site-header.is-open .menu-toggle { background: var(--lime); color: var(--bg); }
    .site-header.is-open .icon-open { display: none; }
    .site-header.is-open .icon-close { display: block; }

    .site-header nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
        padding: 18px max(20px, calc((100% - 520px) / 2)) 26px;
        background: var(--bg) var(--stripe) bottom / 100% 6px no-repeat;
        box-shadow: 0 24px 40px -12px rgba(0, 0, 0, .7);
        max-height: calc(100vh - 66px);
        overflow-y: auto;
    }
    .site-header.is-open nav { display: flex; }
    .site-header nav a { flex-shrink: 0; font-size: 1.05rem; padding: 10px 18px; text-align: center; border: 2px solid var(--border); }
    .site-header nav .nav-pill { border: 0; font-size: 1.15rem; padding: 12px 18px; }
    .site-header nav .lang-switch { align-self: center; padding: 6px 22px !important; }
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 24px 56px; flex: 1; }

.site-footer {
    padding: 24px 16px;
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
    background: var(--stripe) top / 100% 6px no-repeat;
}

/* ---------- hero (op-art) ---------- */
.hero { text-align: center; padding: 48px 0; }
.hero-op {
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 96px 16px 80px;
    margin: -28px -24px 24px;
    isolation: isolate;
    overflow: hidden; /* lúče a kruhy sú väčšie ako sekcia – nesmú rozťahovať stránku */
}
.hero-op .rays,
.hero-op .rings {
    position: absolute;
    left: 50%;
    top: 46%;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
.hero-op .rays {
    width: 960px; height: 960px;
    margin: -480px 0 0 -480px;
    background: repeating-conic-gradient(from 0deg, rgba(255, 43, 214, .24) 0deg 6deg, transparent 6deg 12deg);
    -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%);
            mask: radial-gradient(circle, #000 20%, transparent 68%);
    animation: spin 90s linear infinite, swap-out 26s ease-in-out infinite;
}
.hero-op .rings {
    width: 560px; height: 560px;
    margin: -280px 0 0 -280px;
    background: repeating-radial-gradient(circle, rgba(198, 255, 0, .5) 0 3px, transparent 3px 22px);
    -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%);
            mask: radial-gradient(circle, #000 35%, transparent 70%);
    animation: pulse 9s ease-in-out infinite, swap-out 26s ease-in-out infinite;
}
.hero-op .hero-logo { width: 150px; height: auto; margin-bottom: 18px; animation: float 7s ease-in-out infinite; }
/* levitujúce logo s otáčajúcou sa mandalou za ním (vznášajú sa spolu) */
.hero-logo-wrap { position: relative; display: grid; place-items: center; margin-bottom: 18px; animation: float 7s ease-in-out infinite; }
/* vo fáze mandaly logo vyskočí, dvakrát sa roztočí a dosadne – ten istý 26 s cyklus ako swap-in, takže idú synchrónne */
.hero-op .hero-logo-wrap .hero-logo { position: relative; margin: 0; animation: levitate 26s ease-in-out infinite; }
.hero-mandala {
    position: absolute; left: 50%; top: 50%;
    width: 300px; height: 300px; margin: -150px 0 0 -150px;
    pointer-events: none;
    filter: brightness(1.35) drop-shadow(0 0 5px rgba(255, 43, 214, .7));
    opacity: 0;
    animation: spin 60s linear infinite reverse, swap-in 26s ease-in-out infinite;
}
/* dve vrstvy mandaly z pôvodného návrhu – točia sa proti sebe */
.hero-mandala .mandala {
    position: absolute;
    inset: -30px;
    background: center / contain no-repeat;
    opacity: .55;
    animation: spin 120s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 61, 139, .5));
}
.hero-mandala .mandala.reverse { inset: 10px; opacity: .35; animation-duration: 80s; animation-direction: reverse; }
.hero-op h1 {
    margin: 0;
    font-size: clamp(2.6rem, 9vw, 5.8rem);
    line-height: 1;
    text-shadow: 5px 5px 0 var(--pink), 10px 10px 0 var(--violet), 15px 15px 0 var(--cyan);
}
.hero-op .tagline { margin: 34px auto 10px; font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 700; max-width: 640px; }
.hero-op .sticker { --c: var(--pink); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .75; } }
@keyframes float { 50% { transform: translateY(-8px) rotate(3deg); } }
/* striedanie (26 s): veľký kolotoč ~18 s ↔ mandala za logom ~4 s, prelínanie ~2 s. filter: opacity, lebo pulse už animuje opacity */
@keyframes swap-out { 0%, 66% { filter: opacity(1); } 74%, 89% { filter: opacity(0); } 97%, 100% { filter: opacity(1); } }
@keyframes levitate {
    0%, 70% { translate: 0 0; scale: 1; rotate: 0deg; }
    75% { translate: 0 -22px; scale: 1.08; rotate: 0deg; animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
    86% { translate: 0 -22px; scale: 1.08; rotate: 720deg; animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); }
    91%, 100% { translate: 0 0; scale: 1; rotate: 720deg; }
}
@keyframes swap-in { 0%, 66% { opacity: 0; } 74%, 89% { opacity: 1; } 97%, 100% { opacity: 0; } }
@media (max-width: 640px) {
    .hero-op { padding: 70px 8px 56px; }
    .hero-op h1 { text-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--violet), 9px 9px 0 var(--cyan); }
    .hero-op .rays { width: 640px; height: 640px; margin: -320px 0 0 -320px; }
    .hero-op .rings { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
    .hero-mandala { width: 210px; height: 210px; margin: -105px 0 0 -105px; }
}

.hero-cta { margin: 44px 0 0; text-align: center; }
.hero-cta-more { display: inline-block; margin-top: 10px; color: var(--text-2); font-size: .9rem; }
.cta-big {
    display: inline-block;
    background: var(--lime);
    color: var(--bg);
    font-weight: 800;
    font-size: 1.15rem;
    padding: 16px 30px;
    border-radius: 99px;
    text-decoration: none;
    box-shadow: 6px 6px 0 var(--pink);
    transition: transform .15s, box-shadow .15s;
}
.cta-big:hover { color: var(--bg); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--pink); }

/* ---------- karty / nálepky ---------- */
.card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}
.card-sticker { border: 3px solid var(--c); box-shadow: 7px 7px 0 var(--c); }

/* ---------- formuláre ---------- */
.form-narrow { max-width: 480px; margin: 24px auto; }
.form-wide { max-width: 600px; }
.studio-form { max-width: 800px; }

form div:has(> label, > input, > select, > textarea) { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
form div:has(> input[type=checkbox]) { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
form div:has(> input[type=checkbox]) > :is(.help-text, ul) { flex-basis: 100%; }

label { font-size: .9rem; color: var(--muted); font-weight: 600; }
label.required::after { content: " *"; color: var(--pink); }
form div:has(> input[type=checkbox]) > label { color: var(--text); }
label.checkbox { display: flex; gap: 8px; align-items: center; color: var(--text); margin-top: 8px; }

input:not([type=checkbox], [type=radio], [type=hidden], [type=file]), textarea, select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-2);
    border: 2px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font: inherit;
    transition: border-color .2s, box-shadow .2s;
}
select option { background: var(--surface); }
input[type=file] { color: var(--muted); font: inherit; max-width: 100%; }
input[type=file]::file-selector-button {
    margin-right: 12px; padding: 9px 16px; border-radius: 99px; border: 2px solid var(--cyan);
    background: transparent; color: var(--cyan); font: inherit; font-weight: 700; cursor: pointer;
}
input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--lime); margin: 0; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--lime); box-shadow: 4px 4px 0 var(--pink); }

.help-text { color: var(--muted); font-size: .8rem; }
form ul { color: var(--error); font-size: .85rem; margin: 2px 0; padding-left: 18px; }

fieldset { border: 0; border-top: 2px dashed var(--border); margin: 0 0 8px; padding: 18px 0 0; }
fieldset:first-of-type { border-top: 0; padding-top: 0; }
legend { font-family: var(--font-display); color: var(--cyan); padding: 0; margin-bottom: 10px; font-size: 1.05rem; }

.form-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- tlačidlá ---------- */
button, .btn {
    display: inline-block;
    padding: 9px 18px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    border: 2px solid var(--border);
    border-radius: 99px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover, button:hover { border-color: var(--cyan); color: var(--text); }
button[type=submit], .btn-primary {
    background: var(--lime);
    color: var(--bg);
    border: 2px solid var(--lime);
    font-weight: 800;
    box-shadow: 4px 4px 0 var(--pink);
}
button[type=submit]:hover, .btn-primary:hover { color: var(--bg); border-color: var(--lime); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--pink); }
button:disabled { opacity: .5; cursor: default; transform: none; }
.btn-link, button.btn-link { background: none; border: 0; box-shadow: none; color: var(--lime); padding: 4px 8px; font-weight: 600; text-decoration: underline; }
.btn-link:hover, button.btn-link:hover { transform: none; color: var(--cyan); box-shadow: none; }
.btn-link.danger, button.btn-link.danger { color: var(--error); }
/* malé pomocné tlačidlá (poradie ▲▼) – nenápadné, ale dosť veľké na prst */
.btn-icon, button[type=submit].btn-icon {
    min-width: 40px; min-height: 40px; padding: 0 10px;
    border-radius: 12px; font-size: .8rem;
    background: var(--surface-2); color: var(--text);
    border: 2px solid var(--border); box-shadow: none;
}
.btn-icon:hover, button[type=submit].btn-icon:hover { background: var(--surface-2); color: var(--lime); border-color: var(--lime); box-shadow: none; transform: none; }
.btn-icon:disabled { opacity: .3; }
button[type=submit].btn-link { background: none; border: 0; box-shadow: none; color: var(--lime); }
button[type=submit].btn-link.danger { color: var(--error); }
.inline-form { display: inline; }

/* ---------- hlášky, odznaky ---------- */
.flash { padding: 12px 16px; border-radius: 14px; margin-bottom: 14px; border: 2px solid; word-break: break-word; background: var(--surface); font-weight: 600; }
.flash-error { border-color: var(--error); color: var(--error); box-shadow: 4px 4px 0 var(--error); }
.flash-success { border-color: var(--lime); color: var(--lime); box-shadow: 4px 4px 0 var(--lime); }
.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 1px 10px; border-radius: 99px; border: 2px solid; white-space: nowrap; }
.badge-ok { color: var(--lime); border-color: var(--lime); }
.badge-muted { color: var(--muted); border-color: var(--border); }
.badge-danger { color: var(--error); border-color: var(--error); }

/* ---------- sekcie ---------- */
.section { margin: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--c); font-weight: 800; text-decoration: none; }
.section-head a:hover { text-decoration: underline; }

/* ---------- prehrávač ---------- */
.player-list { display: flex; flex-direction: column; gap: 16px; }
.player {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 3px solid var(--c);
    border-radius: var(--radius);
    box-shadow: 6px 6px 0 var(--c);
    padding: 14px 18px;
    transition: transform .15s, box-shadow .15s;
}
.player:hover { transform: translate(-1px, -1px); box-shadow: 8px 8px 0 var(--c); }
.player.is-playing { box-shadow: 8px 8px 0 var(--c), 0 0 40px -6px var(--c); }
.player-btn {
    position: relative;
    width: 54px; height: 54px; border-radius: 50%; padding: 0;
    background: var(--c); color: var(--bg); border: 0;
    font-size: 1.05rem; font-weight: 900; line-height: 1;
    box-shadow: none;
}
.player-btn:hover { transform: scale(1.06); color: var(--bg); }
/* točiaci sa neónový prstenec, keď skladba hrá */
.player.is-playing .player-btn::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(var(--lime), var(--pink), var(--cyan), var(--violet), var(--lime));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: spin 2.4s linear infinite;
}
.player-cover { width: 60px; height: 60px; border-radius: 16px; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; }
.player.is-playing .player-cover { animation: hue 8s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg) saturate(1.3); } }
.player-body { min-width: 0; }
.player-meta { display: flex; gap: 6px 8px; align-items: baseline; flex-wrap: wrap; overflow: hidden; }
.player-title { color: var(--text); font-weight: 800; font-size: 1.08rem; text-decoration: none; }
.player-artist { color: var(--c); font-weight: 700; text-decoration: none; }
.player-title:hover, .player-artist:hover { text-decoration: underline; color: var(--text); }
.player-tags { margin-left: 4px; font-weight: 600; }
.player-wave { height: 50px; margin-top: 6px; cursor: pointer; }
/* zástupná čiara, kým wavesurfer nevykreslí (kreslí do shadow DOM, preto nie :empty) */
.player-wave:not(.is-ready) { background: repeating-linear-gradient(90deg, var(--wave) 0 3px, transparent 3px 5px); height: 8px; margin-top: 26px; margin-bottom: 16px; border-radius: 4px; }
.player-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; font-weight: 600; }
.player-list-big .player { padding: 20px 24px; }
.player-list-big .player-meta { display: none; } /* názov je už v hlavičke stránky */
.player-list-big .player-wave { height: 90px; }
.player-list-big .player-btn { width: 68px; height: 68px; font-size: 1.35rem; }

/* karty skladieb vedľa seba (úvodná stránka) */
.player-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 22px; }
.player-cards .player {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "cover meta btn" "wave wave wave" "side side side";
    padding: 18px;
    row-gap: 10px;
}
.player-cards .player-body { display: contents; }
.player-cards .player-cover { grid-area: cover; width: 64px; height: 64px; }
.player-cards .player-meta { grid-area: meta; flex-direction: column; gap: 0; }
.player-cards .player-meta > .muted { display: none; }
.player-cards .player-tags { margin: 4px 0 0; }
.player-cards .player-btn { grid-area: btn; }
.player-cards .player-wave { grid-area: wave; margin: 4px 0 0; }
.player-cards .player-side { grid-area: side; flex-direction: row; justify-content: space-between; width: 100%; }

@media (max-width: 640px) {
    .player { grid-template-columns: auto minmax(0, 1fr); padding: 12px; }
    .player-cover { display: none; }
    .player-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; width: 100%; }
    .player-cards .player { grid-template-areas: "meta btn" "wave wave" "side side"; grid-template-columns: minmax(0, 1fr) auto; }
}

/* ---------- mriežka profilov ---------- */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 26px 22px; }
.artist-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
.artist-card img, .artist-card-empty {
    width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
    border-radius: 22px;
    border: 3px solid var(--c);
    box-shadow: 5px 5px 0 var(--c);
    transform: rotate(-2deg);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, filter .5s;
}
.artist-card:nth-child(even) img, .artist-card:nth-child(even) .artist-card-empty { transform: rotate(2deg); }
.artist-card-empty { display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--c); font-family: var(--font-display); font-size: 3rem; }
.artist-card:hover { color: var(--text); }
.artist-card:hover img, .artist-card:hover .artist-card-empty {
    transform: rotate(0) translate(-2px, -4px) scale(1.03);
    box-shadow: 9px 9px 0 var(--c), 0 0 34px -6px var(--c);
    filter: saturate(1.3);
}
.artist-card-name { font-family: var(--font-display); font-size: 1.05rem; margin-top: 8px; }
.artist-card-meta { color: var(--muted); font-size: .82rem; font-weight: 600; }

/* ---------- profil + skladba ---------- */
.artist-head, .track-head { display: flex; gap: 44px; align-items: center; margin-bottom: 36px; flex-wrap: wrap; }
.artist-photo-wrap { position: relative; width: 300px; height: 300px; flex-shrink: 0; display: grid; place-items: center; }
.artist-photo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, var(--pink) 0 4px, var(--bg) 4px 12px, var(--violet) 12px 16px, var(--bg) 16px 24px);
    animation: spin 40s linear infinite;
}
.artist-photo {
    position: relative;
    width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
    border: 5px solid var(--c);
    background: var(--surface);
}
span.artist-photo { display: flex; align-items: center; justify-content: center; font-size: 4rem; font-family: var(--font-display); color: var(--c); }
.artist-info { flex: 1; min-width: 260px; }
.artist-info .sticker { --c: var(--cyan); margin-bottom: 4px; }
.artist-info h1 { font-size: clamp(2.4rem, 7.5vw, 5.2rem); line-height: 1; margin: 10px 0 18px; text-shadow: 5px 5px 0 var(--pink), 10px 10px 0 var(--violet); }
.artist-facts { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--text-2); font-weight: 600; font-size: 1.05rem; margin: 0 0 16px; }
.artist-facts span + span::before { content: "·"; margin-right: 10px; color: var(--muted); }
.artist-links { display: flex; flex-wrap: wrap; gap: 10px; }
.dj-like { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.like-btn-big { min-height: 50px; padding: 6px 20px; font-size: 1.15rem; }
.chart-djs { margin-top: 36px; }
.artist-crews { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.artist-crews a { border: 2px solid var(--c); color: var(--c); border-radius: 99px; padding: 3px 14px; font-weight: 700; text-decoration: none; }
.artist-crews a:hover { background: var(--c); color: var(--bg); }
.crew-text { color: var(--text-2); font-weight: 600; }
.mix-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.mix-links .btn-primary { background: var(--c); border-color: var(--c); }
.artist-links a { border: 2px solid var(--c); color: var(--c); border-radius: 99px; padding: 5px 16px; text-decoration: none; font-weight: 700; transition: background .15s, color .15s; }
.artist-links a:hover { background: var(--c); color: var(--bg); }
.artist-bio { max-width: 780px; color: var(--text-2); margin-bottom: 36px; font-size: 1.1rem; line-height: 1.65; }
@media (max-width: 640px) {
    .artist-head, .track-head { justify-content: center; text-align: center; gap: 20px; }
    .artist-facts, .artist-links, .mix-links, .dj-like, .artist-crews { justify-content: center; }
    .artist-photo-wrap { width: 240px; height: 240px; }
    .artist-photo { width: 176px; height: 176px; }
    .artist-info h1 { text-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--violet); }
}

/* ---------- galéria + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.gallery-item { display: block; border-radius: 18px; overflow: hidden; border: 3px solid var(--c); box-shadow: 5px 5px 0 var(--c); aspect-ratio: 1; transition: transform .2s, box-shadow .2s; }
.gallery-item:nth-child(4n+2) { --c: var(--pink); }
.gallery-item:nth-child(4n+3) { --c: var(--cyan); }
.gallery-item:nth-child(4n+4) { --c: var(--violet); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .6s; }
.gallery-item:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--c); }
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.3); }
@media (max-width: 640px) {
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .gallery-item { border-width: 2px; box-shadow: 3px 3px 0 var(--c); border-radius: 12px; }
}

.lightbox {
    width: 100vw; height: 100vh; max-width: none; max-height: none;
    margin: 0; padding: 48px 64px; border: 0;
    background: rgba(13, 2, 33, .95);
    color: var(--text);
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 12px; border: 3px solid var(--lime); box-shadow: 8px 8px 0 var(--pink); }
.lightbox-caption { margin: 0; color: var(--muted); }
.lightbox-nav, .lightbox-close {
    position: absolute; background: var(--lime); border: 0; color: var(--bg);
    width: 50px; height: 50px; padding: 0; border-radius: 50%; font-size: 1.7rem; font-weight: 900; line-height: 1;
}
.lightbox-nav:hover, .lightbox-close:hover { color: var(--bg); transform: scale(1.06); }
.lightbox-prev { left: 12px; top: 50%; margin-top: -25px; }
.lightbox-next { right: 12px; top: 50%; margin-top: -25px; }
.lightbox-close { right: 12px; top: 12px; font-size: 1.1rem; background: var(--pink); }
.lightbox-counter { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-weight: 700; }
@media (max-width: 640px) { .lightbox { padding: 64px 8px; } .lightbox-nav { top: auto; bottom: 8px; margin-top: 0; } }

/* ---------- štúdio ---------- */
.studio-nav { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.studio-nav a, .tabs a { text-decoration: none; color: var(--muted); font-weight: 700; border: 2px solid var(--border); border-radius: 99px; padding: 6px 16px; }
.studio-nav a:hover, .tabs a:hover { color: var(--text); border-color: var(--cyan); }
.studio-nav a[aria-current], .tabs a[aria-current] { color: var(--bg); background: var(--lime); border-color: var(--lime); }

.studio-artist-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; flex-wrap: wrap; }
.studio-artist-head h1 { margin: 0 0 8px; }
.studio-artist-head .badge { margin-left: auto; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }

.avatar { border-radius: 14px; object-fit: cover; flex-shrink: 0; display: block; border: 2px solid var(--border); }
.avatar-empty { display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--lime); font-family: var(--font-display); font-size: 1.4rem; }
.avatar-current { margin-bottom: 12px; }

.project-card { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; border: 3px solid var(--c); box-shadow: 6px 6px 0 var(--c); }
.project-card h2 { margin-bottom: 4px; }
.project-card-body { flex: 1; min-width: 200px; }
.project-card-body p { margin: 0; }
.project-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.track-row { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; padding: 14px; flex-wrap: wrap; }
.track-order { display: flex; flex-direction: column; gap: 4px; }
.track-main { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 4px; }
.track-actions { display: flex; gap: 4px; align-items: center; }

.studio-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 18px; }
.studio-photo { background: var(--surface); border: 2px solid var(--border); border-radius: 16px; overflow: hidden; }
.studio-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.studio-photo-actions { display: flex; justify-content: space-between; align-items: center; padding: 6px; gap: 4px; }
.studio-photo-actions form { display: inline; }

audio { width: 100%; max-width: 420px; height: 36px; }
.waveform-preview { width: 100%; height: 64px; display: block; margin: 0 0 12px; }
.upload-status { margin: -4px 0 8px; min-height: 1.2em; }
.upload-status.is-error { color: var(--error); }

/* =====================================================================
   PARTY LIST – hlavná stránka webu. Flyer je hrdina, dátum veľká nálepka.
   ===================================================================== */
.cat-party { --c: var(--orange); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sticker-alt { --c: var(--lime); margin-left: 6px; }
.sticker-muted { --c: var(--muted); margin-left: 6px; }

.parties-head { margin-bottom: 28px; }
.parties-head h1 { font-size: clamp(2.4rem, 8vw, 4.4rem); color: var(--orange); text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--violet); margin-bottom: 10px; }
.parties-intro { font-size: 1.15rem; font-weight: 600; color: var(--text-2); max-width: 640px; margin: 0 0 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { text-decoration: none; color: var(--text); font-weight: 700; border: 2px solid var(--border); border-radius: 99px; padding: 8px 18px; min-height: 44px; display: inline-flex; align-items: center; }
.chips a:hover { border-color: var(--orange); color: var(--text); }
.chips a[aria-current] { background: var(--orange); border-color: var(--orange); color: var(--bg); }

/* zvýraznená najbližšia akcia */
.party-featured {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    background: var(--surface);
    border: 3px solid var(--orange);
    border-radius: 28px;
    box-shadow: 8px 8px 0 var(--orange), 0 0 60px -20px var(--orange);
    padding: 22px;
    margin-bottom: 20px;
}
.party-featured-flyer { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.party-featured-flyer img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.party-featured-flyer:hover img { transform: scale(1.04); }
.party-featured-info h2 { font-size: clamp(1.8rem, 5vw, 3rem); margin: 12px 0 10px; }
.party-featured-info h2 a { color: var(--text); text-decoration: none; }
.party-featured-info h2 a:hover { color: var(--orange); }
.party-featured-date { font-size: 1.25rem; font-weight: 800; color: var(--orange); margin: 0 0 4px; }
.party-featured-place { font-weight: 600; color: var(--text-2); margin: 0 0 14px; }
.party-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.party-actions .btn { min-height: 46px; display: inline-flex; align-items: center; }
.party-actions .btn-primary { background: var(--orange); border-color: var(--orange); }
.party-actions .btn-primary:hover { border-color: var(--orange); }

.month-title { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.6rem, 4.5vw, 2.4rem); border-bottom: 2px dashed var(--border); padding-bottom: 10px; }
.month-title span { color: var(--muted); font-size: .6em; }

/* karty akcií */
.party-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 22px; }
.party-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--surface); border: 3px solid var(--c); border-radius: 22px; box-shadow: 6px 6px 0 var(--c); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.party-card:hover { color: var(--text); transform: translate(-2px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--c), 0 0 34px -8px var(--c); }
.party-flyer { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--bg-2); overflow: hidden; }
.party-flyer img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.party-card:hover .party-flyer img { transform: scale(1.05); }
.party-flyer-empty {
    display: flex; align-items: center; justify-content: center; text-align: center;
    width: 100%; height: 100%; padding: 20px;
    font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; color: var(--c);
    background: repeating-radial-gradient(circle at 50% 50%, rgba(255, 43, 214, .25) 0 6px, transparent 6px 18px), var(--bg-2);
}
.party-date {
    position: absolute; left: 12px; top: 12px;
    display: flex; flex-direction: column; align-items: center; line-height: 1;
    background: var(--c); color: var(--bg);
    border-radius: 14px; padding: 8px 12px 7px; min-width: 64px;
    transform: rotate(-4deg);
    box-shadow: 3px 3px 0 var(--bg);
}
.party-date-day { font-family: var(--font-display); font-size: 1.9rem; }
.party-date-day small { font-size: .55em; }
.party-date-month { font-weight: 900; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; margin-top: 3px; }
.party-kind { position: absolute; right: 10px; bottom: 10px; background: rgba(13, 2, 33, .85); color: var(--text); font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 99px; border: 2px solid var(--c); }
.party-info { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.party-when { color: var(--c); font-weight: 900; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.party-name { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; }
.party-place { color: var(--muted); font-weight: 600; font-size: .9rem; }
.party-lineup { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 0; }
.party-lineup span { font-size: .78rem; font-weight: 700; border: 1px solid var(--border); border-radius: 99px; padding: 2px 9px; color: var(--text-2); }
.party-lineup .more { border-color: var(--c); color: var(--c); }
.party-lineup-big span { font-size: .95rem; padding: 4px 12px; border-width: 2px; }

/* detail akcie */
.party-detail { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 20px; }
.party-detail-flyer > a, .party-detail-flyer > .party-flyer-empty { display: block; border-radius: 22px; overflow: hidden; border: 3px solid var(--orange); box-shadow: 8px 8px 0 var(--orange); }
.party-detail-flyer > .party-flyer-empty { display: flex; aspect-ratio: 4 / 5; }
.party-detail-flyer img { width: 100%; height: auto; display: block; }
.party-stickers { margin: 0 0 6px; }
.party-detail-info h1 { font-size: clamp(2rem, 6vw, 3.6rem); color: var(--orange); text-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--violet); margin: 10px 0 18px; }
.party-facts { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 1.1rem; font-weight: 600; }
.party-facts > div { display: flex; gap: 6px; flex-wrap: wrap; }
.party-facts dt { color: var(--muted); }
.party-facts dd { margin: 0; }
.party-facts-date { font-size: 1.35rem; font-weight: 800; color: var(--text); }
.party-facts-date span { display: block; color: var(--orange); }
.party-detail-info h1 { line-height: 1.12; }
@media (max-width: 760px) {
    .party-detail-info h1, .party-featured-info h2 { text-shadow: 2px 2px 0 var(--violet); }
}
.party-organizers { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.party-organizers a { border: 2px solid var(--c); color: var(--c); border-radius: 99px; padding: 4px 14px; font-weight: 700; text-decoration: none; }
.party-organizers a:hover { background: var(--c); color: var(--bg); }

.lineup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px; margin-bottom: 18px; }
.lineup-artist { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; color: var(--text); }
.lineup-artist img, .lineup-empty { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c); box-shadow: 4px 4px 0 var(--c); transition: transform .2s; }
.lineup-empty { display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--c); font-family: var(--font-display); font-size: 2rem; }
.lineup-artist:hover img { transform: scale(1.06) rotate(-3deg); }
.lineup-artist:hover { color: var(--text); }
.lineup-name { font-family: var(--font-display); margin-top: 6px; }
.lineup-type { color: var(--muted); font-size: .8rem; font-weight: 600; }

.parties-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 48px; text-align: center; }
.parties-foot .cta-big { background: var(--orange); box-shadow: 6px 6px 0 var(--pink); }

/* archív – galéria flyerov */
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.archive-item { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); }
.archive-item img, .archive-item .party-flyer-empty { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; border: 2px solid var(--c); box-shadow: 4px 4px 0 var(--c); transition: transform .2s, filter .3s; filter: saturate(.85); }
.archive-item .party-flyer-empty { font-size: 1.1rem; }
.archive-item:hover img { transform: translate(-2px, -2px) rotate(-1deg); filter: saturate(1.2); }
.archive-item:hover { color: var(--text); }
.archive-name { font-weight: 800; margin-top: 6px; }
.archive-meta { color: var(--muted); font-size: .82rem; font-weight: 600; }

@media (max-width: 760px) {
    .party-featured { grid-template-columns: 1fr; padding: 14px; gap: 16px; box-shadow: 5px 5px 0 var(--orange); }
    .party-featured-flyer { aspect-ratio: 1; }
    .party-detail { grid-template-columns: 1fr; gap: 24px; }
    .party-detail-flyer > a { box-shadow: 5px 5px 0 var(--orange); }
    .party-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .party-card { border-width: 2px; box-shadow: 4px 4px 0 var(--c); border-radius: 16px; }
    .party-date { left: 8px; top: 8px; min-width: 50px; padding: 6px 8px 5px; border-radius: 10px; }
    .party-date-day { font-size: 1.4rem; }
    .party-date-month { font-size: .68rem; }
    .party-kind { display: none; }
    .party-info { padding: 10px 10px 12px; gap: 4px; }
    .party-name { font-size: .98rem; }
    .party-place { font-size: .8rem; }
    .party-card .party-lineup { display: none; }
    .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .parties-head h1 { text-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--violet); }
}

/* =====================================================================
   LAJKY + REBRÍČEK
   ===================================================================== */
.player-stats { display: inline-flex; align-items: center; gap: 12px; }
.player-stats .plays { display: inline-flex; align-items: center; gap: 4px; }
.like-btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 40px; padding: 4px 14px;
    border: 2px solid var(--pink); border-radius: 99px;
    background: transparent; color: var(--pink);
    font-weight: 800; font-size: .95rem;
    box-shadow: none;
}
.like-btn .heart { fill: none; transition: transform .2s; }
.like-btn:hover { border-color: var(--pink); color: var(--pink); background: rgba(255, 43, 214, .12); }
.like-btn:hover .heart { transform: scale(1.15); }
.like-btn.is-liked { background: var(--pink); color: var(--bg); }
.like-btn.is-liked .heart { fill: currentColor; }
.like-btn.is-liked:hover { background: var(--pink); color: var(--bg); }
/* výbuch srdiečok pri lajku */
.like-btn::before, .like-btn::after {
    content: "♥"; position: absolute; left: 14px; top: 50%;
    color: var(--lime); font-size: 14px; opacity: 0; pointer-events: none;
}
.like-btn::after { color: var(--cyan); }
.like-btn.burst::before { animation: heart-up 700ms ease-out; }
.like-btn.burst::after { animation: heart-up2 700ms ease-out; }
.like-btn.burst .heart { animation: pop 400ms ease-out; }
@keyframes heart-up { 0% { opacity: 1; transform: translate(0, -50%) scale(.6); } 100% { opacity: 0; transform: translate(-14px, -42px) scale(1.4) rotate(-20deg); } }
@keyframes heart-up2 { 0% { opacity: 1; transform: translate(0, -50%) scale(.6); } 100% { opacity: 0; transform: translate(16px, -38px) scale(1.2) rotate(20deg); } }
@keyframes pop { 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 100;
    transform: translateX(-50%);
    max-width: calc(100vw - 32px);
    background: var(--surface); color: var(--text);
    border: 3px solid var(--pink); box-shadow: 5px 5px 0 var(--pink);
    border-radius: 16px; padding: 12px 18px; font-weight: 700;
    animation: toast-in .25s ease-out;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.turnstile-box { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%); z-index: 101; }

.cat-chart { --c: #a07bff; }
.chart-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.chart-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.chart-row { display: flex; align-items: center; gap: 14px; }
.chart-row > .player { flex: 1; min-width: 0; }
.chart-rank { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 76px; flex-shrink: 0; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--muted); }
.chart-rank small { font-family: var(--font-body); font-size: .8rem; font-weight: 800; color: var(--pink); text-shadow: none; white-space: nowrap; }
.chart-row.is-top .chart-rank { color: var(--lime); text-shadow: 3px 3px 0 var(--pink); font-size: 2.8rem; }
.chart-row.is-top:nth-child(2) .chart-rank { color: var(--cyan); }
.chart-row.is-top:nth-child(3) .chart-rank { color: var(--orange); }

.chart-artists { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.chart-artists li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 2px solid var(--border); border-radius: 16px; padding: 8px 14px 8px 10px; }
.chart-artists li.is-top { border-color: var(--c); box-shadow: 4px 4px 0 var(--c); }
.chart-artists a { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: var(--text); }
.chart-artists img, .chart-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--c); }
.chart-artist-name { font-family: var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart-rank-small { font-family: var(--font-display); font-size: 1.3rem; width: 1.6em; text-align: center; color: var(--muted); }
.chart-artists li.is-top .chart-rank-small { color: var(--c); }
.chart-likes { display: inline-flex; align-items: center; gap: 4px; color: var(--pink); font-weight: 800; }
.chart-note { margin-top: 14px; }

@media (max-width: 860px) {
    .chart-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 640px) {
    .chart-row { gap: 6px; }
    .chart-rank { font-size: 1.5rem; width: 44px; }
    .chart-rank small { font-size: .7rem; }
    .chart-row.is-top .chart-rank { font-size: 1.8rem; text-shadow: 2px 2px 0 var(--pink); }
    .like-btn { min-height: 38px; padding: 3px 12px; }
}

/* právne stránky + pätička */
.legal { max-width: 760px; }
.legal h2 { margin-top: 32px; color: var(--cyan); font-size: 1.3rem; }
.legal li { margin-bottom: 8px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--lime); }

/* chybové stránky + úvod v režime príprava */
.error-page { min-height: 60vh; align-content: center; }
.error-code {
    margin: 0; font-family: var(--font-display); font-size: clamp(5rem, 22vw, 11rem); line-height: 1;
    color: var(--lime); text-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--violet), 18px 18px 0 var(--cyan);
}
.error-page h1 { margin-top: 24px; font-size: clamp(1.6rem, 5vw, 2.6rem); }
.error-links { margin-top: 28px; }
.prelaunch-soon { margin: 22px auto 0; max-width: 560px; color: var(--text-2); font-weight: 600; }
.prelaunch-bar { background: var(--orange); color: var(--bg); text-align: center; font-weight: 800; padding: 8px 16px; font-size: .9rem; }
.prelaunch-bar a { color: var(--bg); text-decoration: underline; }

/* „Idem!“ na tancovačku */
.party-going { margin: 18px 0 0; }
.going-btn {
    position: relative;
    display: inline-flex; align-items: center; gap: 12px;
    min-height: 54px; padding: 8px 22px 8px 18px;
    border: 3px solid var(--lime); border-radius: 99px;
    background: transparent; color: var(--lime);
    font-weight: 900; box-shadow: 4px 4px 0 var(--pink);
}
.going-btn:hover { color: var(--lime); border-color: var(--lime); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--pink); }
.going-label { font-family: var(--font-display); font-size: 1.3rem; }
.going-count { font-size: .9rem; color: var(--text-2); font-weight: 700; }
.going-btn.is-liked { background: var(--lime); color: var(--bg); }
.going-btn.is-liked .going-count { color: var(--bg); }
.going-btn.is-liked .going-label::before { content: "✓ "; }
.going-btn.burst { animation: pop 400ms ease-out; }
.going-btn::before, .going-btn::after { content: none; }
.party-going-count { color: var(--lime); font-weight: 800; font-size: .82rem; }

/* =====================================================================
   ZDIEĽANÝ PREHRÁVAČ (dolná lišta) + vlastný waveform
   ===================================================================== */
.wave-canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.player-wave.is-ready { background: none; }

.deck {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center; gap: 14px;
    max-width: 1180px; margin: 0 auto;
    padding: 10px 14px;
    background: rgba(23, 7, 51, .94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 3px solid var(--c); border-radius: 22px;
    box-shadow: 6px 6px 0 var(--c), 0 0 40px -8px var(--c);
}
.deck[hidden] { display: none; }
body.has-deck { padding-bottom: 110px; }
.deck-cover { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.deck-controls { display: flex; align-items: center; gap: 6px; }
.deck-btn, .deck-close {
    width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center;
    border-radius: 50%; border: 2px solid var(--border); background: transparent; color: var(--text);
}
.deck-btn:hover, .deck-close:hover { border-color: var(--c); color: var(--c); }
.deck-btn:disabled { opacity: .3; }
.deck-play {
    width: 50px; height: 50px; padding: 0; border-radius: 50%; border: 0;
    background: var(--c); color: var(--bg); font-weight: 900; font-size: 1rem;
}
.deck-play:hover { color: var(--bg); transform: scale(1.05); }
.deck-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.deck-meta { display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; }
.deck-title { color: var(--text); font-weight: 800; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.deck-artist { color: var(--c); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.deck-title:hover, .deck-artist:hover { text-decoration: underline; color: var(--text); }
.deck-time { margin-left: auto; color: var(--muted); font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.deck-wave { height: 30px; }
.deck-close { width: 34px; height: 34px; font-size: .85rem; }

@media (max-width: 640px) {
    .deck { left: 6px; right: 6px; bottom: 6px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 8px 10px; border-width: 2px; box-shadow: 4px 4px 0 var(--c); border-radius: 18px; }
    .deck-cover { display: none; }
    .deck-controls .deck-btn { display: none; }
    .deck-play { width: 44px; height: 44px; }
    .deck-meta { flex-wrap: wrap; row-gap: 0; }
    .deck-artist { font-size: .85rem; }
    .deck-time { display: none; }
    .deck-wave { height: 24px; }
    body.has-deck { padding-bottom: 96px; }
}

/* ---------- menej pohybu pre tých, ktorí si to nastavili ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-mandala { display: none; }
}

/* ---------- Štúdio: štatistiky ---------- */
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0 28px; }
.stat-tile { background: var(--surface); border: 2px solid var(--border); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--text); }
.stat-label { color: var(--muted); font-size: .85rem; }

.bars { margin: 0 0 28px; --bar: var(--c); }
.bars-pink { --bar: var(--pink); }
.bars figcaption { margin-bottom: 8px; }
.bars-plot {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px;
    height: 120px; align-items: end; padding: 8px 0 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to top, transparent calc(50% - .5px), rgba(185, 168, 217, .12) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)) no-repeat;
}
.bar { position: relative; height: 100%; display: flex; align-items: flex-end; outline: none; cursor: default; }
.bar i { display: block; width: 100%; height: calc(var(--v) / var(--max) * 100%); background: var(--bar); border-radius: 4px 4px 0 0; }
.bar.is-zero i { height: 2px; background: var(--border); border-radius: 0; }
.bar:hover i, .bar:focus-visible i { filter: brightness(1.25); }
.bar:hover::after, .bar:focus-visible::after {
    content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
    background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px;
    padding: 4px 8px; font-size: .8rem; white-space: nowrap; z-index: 2; pointer-events: none;
}
.bar:first-child:hover::after, .bar:first-child:focus-visible::after { left: 0; transform: none; }
.bar:last-child:hover::after, .bar:last-child:focus-visible::after { left: auto; right: 0; transform: none; }
.bars-axis { display: flex; justify-content: space-between; margin-top: 4px; }

.table-wrap { overflow-x: auto; }
.stats-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.stats-table th, .stats-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: right; white-space: nowrap; }
.stats-table th:first-child, .stats-table td:first-child { text-align: left; white-space: normal; }
.stats-table th { color: var(--muted); font-weight: 600; }
.stats-table td { font-variant-numeric: tabular-nums; }

/* ---------- Štúdio: členovia klanu ---------- */
.crew-members { margin-top: 28px; }
.crew-member { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.crew-member:last-of-type { border-bottom: 0; }
.crew-member-name { flex: 1; min-width: 0; }
.crew-member form { margin: 0; }

/* ---------- Šáruj! ---------- */
.share { margin: 14px 0 0; }
.share-fallback { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-fallback[hidden], .share-native[hidden] { display: none; }
.share-label { font-family: var(--font-display); color: var(--pink); margin-right: 4px; }
.share .btn { padding: 6px 14px; font-size: .9rem; }
.share .is-done { border-color: var(--lime); color: var(--lime); }
.share-native { border-color: var(--pink); color: var(--pink); }

/* ručne písané formuláre (prihlásenie): tlačidlo s odstupom od posledného poľa */
.form-submit { margin-top: 8px; }
.form-after { margin: 18px 0 0; }
.footer-fb { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- O portáli: časová os ---------- */
.about { max-width: 820px; }
.timeline { list-style: none; margin: 32px 0; padding: 0 0 0 36px; position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px;
    background: linear-gradient(var(--lime), var(--pink), var(--cyan), var(--violet));
}
.timeline-item { position: relative; margin: 0 0 34px; }
.timeline-item::before {
    content: ''; position: absolute; left: -35px; top: 10px; width: 17px; height: 17px; border-radius: 50%;
    background: var(--bg); border: 4px solid var(--c); box-shadow: 0 0 12px var(--c);
}
.timeline-year {
    display: block; font-family: var(--font-display); font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1;
    color: var(--c); text-shadow: 3px 3px 0 var(--violet); margin-bottom: 8px;
}
.timeline-body p { margin: 0; font-size: 1.08rem; line-height: 1.6; }
.timeline-item.is-now .timeline-body p { font-weight: 700; color: var(--text); }
.timeline-item.is-now::before { animation: pulse 2.4s ease-in-out infinite; }
.timeline-shot { margin: 16px 0 0; }
.timeline-shot img {
    display: block; width: 100%; height: auto; border-radius: 14px;
    border: 3px solid var(--c); box-shadow: 6px 6px 0 var(--c);
    transition: transform .2s;
}
.timeline-shot a:hover img { transform: translate(-2px, -2px) rotate(-.4deg); }
.timeline-shot figcaption { margin-top: 12px; }
.about-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- pätička: čičmiansky ornament pod pruhom + lotosová mandala ---------- */
/* zúbky, cik-cak, kosoštvorček a „slniečko“ – biele vzory ako na čičmianskych dreveniciach */
.site-footer {
    position: relative;
    padding-top: 50px;
    background:
        var(--stripe) top / 100% 6px no-repeat,
        url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2224%22%20viewBox%3D%220%200%2048%2024%22%3E%3Cg%20fill%3D%22%23f4ecff%22%20stroke%3D%22%23f4ecff%22%3E%3Cpath%20d%3D%22M0%200%20L3%204.5%20L6%200Z%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M6%200%20L9%204.5%20L12%200Z%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M12%200%20L15%204.5%20L18%200Z%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M18%200%20L21%204.5%20L24%200Z%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M24%200%20L27%204.5%20L30%200Z%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M30%200%20L33%204.5%20L36%200Z%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M36%200%20L39%204.5%20L42%200Z%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M42%200%20L45%204.5%20L48%200Z%22%20stroke%3D%22none%22%2F%3E%3Cpolyline%20points%3D%220%2C8%206%2C13%2012%2C8%2018%2C13%2024%2C8%2030%2C13%2036%2C8%2042%2C13%2048%2C8%22%20fill%3D%22none%22%20stroke-width%3D%221.3%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M12%2016.5%20L15%2019.5%20L12%2022.5%20L9%2019.5Z%22%20stroke%3D%22none%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M36%2016%20V23%20M32.5%2019.5%20H39.5%20M33.6%2017.1%20L38.4%2021.9%20M38.4%2017.1%20L33.6%2021.9%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%2236%22%20cy%3D%2219.5%22%20r%3D%221.1%22%20stroke%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 0 6px / 48px 24px repeat-x;
}
.footer-ornament {
    position: absolute; left: 50%; top: -27px; transform: translateX(-50%);
    filter: drop-shadow(0 0 6px rgba(255, 43, 214, .55));
}
.footer-ornament-petals { animation: spin 60s linear infinite; transform-origin: 0 0; }

/* odkazy v popisoch (rich_text) – dlhé URL nerozbijú layout */
.artist-bio a { overflow-wrap: anywhere; }
