/* =========================================================
   Polish DJs Chart 2026 — warstwa stylu „Wielki Finał”
   Ładowana po style.css (functions.php). Usunięcie tego pliku
   z kolejki przywraca wygląd z 2025.
   ========================================================= */

:root {
    --pdc-bg: #0b0809;
    --pdc-bg-2: #151012;
    --pdc-line: rgba(255, 255, 255, .14);
    --pdc-text: #f3f1f1;
    --pdc-muted: #a39d9f;
    --pdc-red: #e4002b;
    --pdc-pink: #ff2d6f;
    --pdc-grad: linear-gradient(135deg, #ff2d6f 0%, #ec1446 50%, #d6062f 100%);
    --pdc-grad-flat: linear-gradient(90deg, #e3002a 0%, #ea1c4f 100%);
    --pdc-chrome: linear-gradient(180deg, #ffffff 0%, #e6e6e6 30%, #8f8f94 48%, #f5f5f5 62%, #c4c4c8 82%, #ffffff 100%);

    /* fonty z dotychczasowego motywu (Typekit: neue-haas-grotesk-display, pressio-compressed) */
    --font-dot: neue-haas-grotesk-display, 'Neue Haas Grotesk Regular', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: neue-haas-grotesk-display, 'Neue Haas Grotesk Regular', 'Helvetica Neue', Arial, sans-serif;
    --font-display: pressio-compressed, 'Oswald', 'Arial Narrow', sans-serif;
    --font-sans: neue-haas-grotesk-display, 'Neue Haas Grotesk Regular', 'Helvetica Neue', Arial, sans-serif;

    /* stare zmienne z style.css – przełączone na ciemny motyw */
    --red: #e4002b;
    --light-gray: #0b0809;
    --gray: #a39d9f;
    --dark: #f3f1f1;
}

/* ---------- GLOBAL ---------- */

body {
    background-color: var(--pdc-bg) !important;
    color: var(--pdc-text) !important;
}

::selection { background: var(--pdc-red); color: #fff; }

.bg-light-gray { background-color: var(--pdc-bg) !important; }

h2 { color: var(--pdc-text); }

.text-red { color: var(--pdc-pink) !important; }

h1.text-red {
    font-family: var(--font-display) !important;
    background: var(--pdc-chrome);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: .01em;
}

/* ---------- PRZYCISKI I MENU ---------- */

.btn,
header .menu a {
    background: var(--pdc-grad) !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: var(--font-sans) !important;
    font-weight: 500 !important;
    letter-spacing: .01em;
    color: #fff !important;
}

.btn { padding: .75rem 1.6rem; font-size: 16px; }

.btn:hover {
    box-shadow: 0 6px 30px -8px var(--pdc-pink);
}

header .menu a:hover {
    background: #fff !important;
    color: #000 !important;
}

.btn-ghost {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .5) !important;
}

/* ---------- NAGŁÓWEK ---------- */

header, header#native-header { color: #fff !important; }

.blur-hamburger {
    background: rgba(11, 8, 9, .78) !important;
    backdrop-filter: blur(.8rem);
    -webkit-backdrop-filter: blur(.8rem);
    border-bottom: 1px solid var(--pdc-line);
}

/* ---------- HERO „WIELKI FINAŁ” ---------- */

.pdc26-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 170px 0 70px;
    color: var(--pdc-text);
    background-color: var(--pdc-bg);
    background-image:
        radial-gradient(60% 45% at 50% 28%, rgba(170, 10, 40, .45) 0%, rgba(11, 8, 9, 0) 70%),
        radial-gradient(40% 35% at 15% 85%, rgba(120, 5, 25, .35) 0%, rgba(11, 8, 9, 0) 70%),
        radial-gradient(40% 35% at 90% 75%, rgba(120, 5, 25, .30) 0%, rgba(11, 8, 9, 0) 70%);
}

.pdc26-hero--has-bg {
    background-image:
        linear-gradient(180deg, rgba(11, 8, 9, .55) 0%, rgba(11, 8, 9, .35) 40%, rgba(11, 8, 9, .85) 100%),
        var(--pdc26-bg);
    background-size: cover;
    background-position: center;
}

/* łuk winylu jak na plakacie */
.pdc26-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -62vw;
    width: 125vw;
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .28);
    box-shadow: inset 0 0 120px rgba(0, 0, 0, .55);
    pointer-events: none;
}

.pdc26-hero > .container { position: relative; z-index: 2; }

.pdc26-topbar {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    padding-bottom: 40px;
}

.pdc26-side {
    position: absolute;
    top: 50%;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .7);
    writing-mode: vertical-rl;
}
.pdc26-side--left { left: 18px; transform: rotate(180deg); }
.pdc26-side--right { right: 18px; }

.pdc26-logo-tile {
    width: 168px;
    height: 168px;
    margin: 0 auto 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pdc-grad);
    box-shadow: 0 20px 60px -20px rgba(255, 45, 111, .6);
}
.pdc26-logo-tile img { width: 58%; height: auto; }

.pdc26-kicker,
.pdc26-year,
.pdc26-dot {
    font-family: var(--font-dot);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #ececec;
    margin: 0;
}

.pdc26-kicker { font-size: clamp(30px, 4.6vw, 64px); text-align: center; line-height: 1; }
.pdc26-year { font-size: clamp(34px, 5vw, 70px); text-align: center; line-height: 1; margin-top: 18px; }

.pdc26-title {
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    font-size: clamp(56px, 11vw, 176px);
    line-height: .9;
    letter-spacing: -.005em;
    margin: 14px 0 0;
    padding: 0;
    background: var(--pdc-chrome);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .55)) drop-shadow(0 12px 28px rgba(0, 0, 0, .6));
    font-stretch: condensed;
    overflow-wrap: normal;
}

.pdc26-info { margin-top: 90px; }

.pdc26-label {
    display: block;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #fff;
    margin-bottom: 10px;
}

.pdc26-lineup {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pdc26-lineup li span {
    display: inline-block;
    background: var(--pdc-grad-flat);
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.15;
    padding: .04em .3em;
}

.pdc26-lineup li { display: block; margin: 0; padding: 0; }

.pdc26-extra {
    display: block;
    margin-top: 18px;
    font-family: var(--font-sans);
    font-size: 15px;
    text-transform: uppercase;
    color: #fff;
}

.pdc26-details { padding-top: 70px; }
.pdc26-details .pdc26-label { margin-top: 0; }
.pdc26-dot { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; margin-bottom: 36px; }

.pdc26-cta { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 767px) {
    .pdc26-hero { padding-top: 110px; }
    .pdc26-hero::before { top: -40vh; width: 220vw; }
    .pdc26-topbar { font-size: 10px; padding-bottom: 28px; }
    .pdc26-side { display: none; }
    .pdc26-logo-tile { width: 112px; height: 112px; margin-bottom: 28px; }
    .pdc26-info { margin-top: 50px; }
    .pdc26-details { padding-top: 40px; }
}

/* ---------- SEKCJE / WYNIKI ---------- */


.artists-card-position_1-3 { border-color: var(--pdc-line); border-radius: 0; }
.artists-card-position_4-6,
.artists-card-position_7-10 { border-radius: 0; }

.col-6.col-md-2.d-flex.align-items-start.flex-column ol {
    color: var(--pdc-text) !important;
    border-color: var(--pdc-line) !important;
    border-radius: 0 !important;
}

.owl-dot {
    background-color: var(--pdc-bg-2) !important;
    color: var(--pdc-muted) !important;
    border-radius: 0 !important;
}
.owl-dot.active { background: var(--pdc-grad) !important; color: #fff !important; }

/* ---------- GŁOSOWANIE / FORMULARZE ---------- */

.checkmark { border-color: #fff; }

label.form-label { border-color: var(--pdc-line); border-radius: 0; }
label.form-label input,
label.form-label textarea {
    background: transparent;
    color: var(--pdc-text);
    border-left-color: var(--pdc-line);
}

.form-control { border-radius: 0; }

.table { color: var(--pdc-text); }

.web-shape { border-color: var(--pdc-line); border-radius: 0; }
.web-shape-adress-bar { border-color: var(--pdc-line); }

/* ---------- STOPKA ---------- */

.pdc26-partners {
    border-top: 1px solid var(--pdc-line);
    border-bottom: 1px solid var(--pdc-line);
    padding: 48px 0;
}

.pdc26-partners__label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pdc-muted);
    text-align: center;
    margin-bottom: 28px;
}

.pdc26-partners__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 56px;
}

.pdc26-partners__row img {
    height: 44px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .9;
    transition: opacity .3s;
}
.pdc26-partners__row a:hover img { opacity: 1; }

.footermenu a { background: transparent !important; }
.footermenu .menu a:hover { color: #fff !important; background: transparent !important; }

/* ---------- GRAFIKI Z CIEMNYM KOLOREM ---------- */

/* czarne strzałki z motywu 2025 → białe */
img[src*="long-right-arrow"],
img[src*="right-arrow.svg"],
img[src*="left-arrow-inactive"] { filter: invert(1); }

/* jasny kształt Polski pod listą zasad głosowania → ciemny panel */
img[src*="bg-vote-poland"] { filter: brightness(.12); }

/* ---------- LOGO W NAGŁÓWKU (desktop) ---------- */

.pdc-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none !important;
}
.pdc-brand__icon { height: 48px; width: auto; }
.pdc-brand__text { height: auto; }

/* ikony FB/IG: ta sama oś pionowa co logo, prawa krawędź lustrzanie do lewej krawędzi logo */
@media (min-width: 768px) {
    .pdc-social {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
    }
    .pdc-social a { display: flex; }
    .pdc-social img { padding-right: 0 !important; }
}

/* menu w nagłówku: logo i ikony zajmują tylko tyle miejsca, ile potrzebują,
   menu dostaje resztę szerokości i nie zawija się do drugiej linii */
@media (min-width: 768px) {
    header .navbar-collapse > .col-md-6,
    header .navbar-collapse > .pdc-social {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
    }
    header .navbar-collapse > nav {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        display: flex;
        justify-content: center;
        padding: 0 24px;
    }
    header nav ul.menu {
        display: flex;
        flex-wrap: nowrap;
        gap: 28px;
    }
    header nav ul.menu li { margin: 0 !important; }
    header nav ul.menu a {
        display: inline-block;
        white-space: nowrap;
    }
}

/* pasek nagłówka na telefonie: bez dodatkowych odstępów ze style.css
   (.w-100.text-center dodawało 40 px pod spodem, .text-center 5 px nad) */
header .pdc-mobile-bar.w-100.text-center {
    margin-top: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    gap: 14px;
}
.pdc-mobile-bar img { padding-right: 0 !important; display: block; }
.pdc-mobile-bar #pdc-logo-mobile,
.pdc-mobile-bar img[src*="pdc-logo"] { height: 40px; width: auto; }

/* po przewinięciu nagłówek na telefonie przykleja się do samej góry ekranu.
   Bez „top” przeglądarka liczyła pozycję z marginesów <body> (m.in. -28 px ze style.css)
   i część paska wychodziła ponad krawędź. Panel admina (zalogowani) zostaje bez zmian. */
@media (max-width: 767px) {
    header#native-header[style*="fixed"],
    body:not(.admin-bar) header.position-fixed {
        top: 0 !important;
    }
}

/* ---------- PANEL GŁOSOWANIA ---------- */

/* nagłówek, tekst i przycisk na jednej osi: środek na mobile, prawa krawędź na desktopie */
.pdc-vote-hero #welcome-vote h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px !important; /* było 350px (styl w front-page.php) — nagłówek zawija się później */
}

@media (min-width: 992px) {
    .pdc-vote-hero #welcome-vote h2 { margin-right: 0; }

    /* rozmycie sięga lewej krawędzi strony */
    .pdc-vote-hero .blur-md-1 {
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .pdc-vote-hero .blur-md-1::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: -100vw;
        z-index: -1;
        background: rgba(0, 0, 0, .5);
        backdrop-filter: blur(.8rem);
        -webkit-backdrop-filter: blur(.8rem);
    }
}

/* ---------- WYNIKI 11–100 NA TELEFONIE: układ poziomy ---------- */
/* każda pozycja to jeden wiersz: miniatura po lewej, miejsce i ksywa po prawej */

@media (max-width: 767px) {
    #miejsca-11-50 .owl-carousel .row {
        margin: 0;
    }

    /* puste kolumny-odstępniki z wersji desktop */
    #miejsca-11-50 .owl-carousel .row > div[class*="col-"] {
        display: none !important;
    }

    #miejsca-11-50 .owl-carousel figure {
        flex: 0 0 100%;
        max-width: 100%;
        flex-direction: row !important;
        align-items: center !important;
        gap: 16px;
        margin: 0 !important;
        padding: 10px 0;
        border-bottom: 1px solid var(--pdc-line);
    }

    #miejsca-11-50 .owl-carousel figure > div {
        order: 0;
        flex: 0 0 72px;
        margin: 0 !important;
    }

    #miejsca-11-50 .owl-carousel figure > div img {
        width: 72px;
        height: 72px;
        object-fit: cover;
    }

    #miejsca-11-50 .owl-carousel figure > figcaption {
        order: 1;
        flex: 1 1 auto;
        margin: 0 !important;
    }

    #miejsca-11-50 .owl-carousel figure ol {
        border: 0 !important;
        padding: 0 0 0 2.6em !important;
        margin: 0 !important;
        font-size: 17px !important;
        line-height: 1.25 !important;
    }

    #miejsca-11-50 .owl-carousel figure ol li::marker {
        color: var(--pdc-pink);
        font-weight: 700;
    }

    /* strzałki pod listą zamiast nad zdjęciami */
    #miejsca-11-50 .owl-nav {
        display: flex;
        justify-content: space-between;
        margin-top: 8px;
    }
    #miejsca-11-50 .owl-prev,
    #miejsca-11-50 .owl-next {
        position: static !important;
    }
    #miejsca-11-50 .owl-nav img { padding: 1rem !important; }

    #miejsca-11-50 .owl-dots { padding-top: 1rem; padding-bottom: 4rem; gap: 8px; }
}

/* ---------- WYNIKI 11–100 NA DESKTOPIE: same podpisy (układ bez zmian) ---------- */
/* bez ramek; numer miejsca w kolorze akcentu, ksywa biała; zawinięta ksywa wraca pod numer */

@media (min-width: 768px) {
    #miejsca-11-50 .owl-carousel figure ol {
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style-position: inside;
        font-family: var(--font-sans) !important;
        font-weight: 500 !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
        letter-spacing: .02em !important;
        color: var(--pdc-text) !important;
    }

    #miejsca-11-50 .owl-carousel figure ol li::marker {
        color: var(--pdc-pink);
        font-weight: 700;
    }
}
