@font-face {
    font-family: 'Aller';
    src: url('https://fonts.cdnfonts.com/s/12/Aller_Rg.woff') format('woff'),
         url('https://www.karolgwozdz.com/fonts/aller.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html {
    background-color: #080808 !important; 
}

body {
    margin: 0;
    padding: 0;
    background-color: transparent !important;
    font-family: 'Aller', sans-serif;
    color: white;
    overflow: hidden; /* Wyłączamy główny suwak przeglądarki */
}




/* ============================================================================================================
                                      H E A D E R   ( L O G O   +   S O C I A L   M E D I A )
   ============================================================================================================ */

.main-header {
    position: fixed;
    top: 32px;         /* Jeden stabilny margines od samej góry strony */
    left: 45px;        /* Odstęp od lewej krawędzi */
    width: auto;       /* Szerokość tylko tyle, ile zajmuje treść */
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; /* Wszystko wewnątrz leci pod sam sufit */
    padding: 0;        /* Zerujemy, bo mamy 'top' powyżej */
    z-index: 1000;
}

.main-logo { 
    height: 43px; 
    margin: 0 30px 0 0; /* Tylko margines z prawej, żeby odsunąć ikonki */
    display: block;
}

.social-icons {
    display: flex;
    align-items: flex-start; /* Ikonki też do swojego sufitu */
    margin: 0;
    padding: 0;
}

.social-icons img {
    height: 17px; 
    margin: 0 24px 0 0; /* Odstęp między ikonkami */
    display: block;
    filter: none; 
    opacity: 1 !important;
    transition: filter 0.2s ease, transform 0.2s ease;
    will-change: transform;
}

.social-icons img:hover {
    filter: brightness(0) invert(1) !important;
    transform: scale(1.2);
}



/* ============================================================================================================
                                      B A C K G R O U N D   -   Z D J Ę C I A   W   T L E
   ============================================================================================================ */

/* Kontener matka dla całego tła */
#background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; 
    overflow: hidden;
}

.bg-photo {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    z-index: 1; /* Zdjęcia leżą niżej niż szum */
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../files/photo/szum.gif') !important; /* Wymuszamy ścieżkę */
    background-repeat: repeat;
    background-size: 160px;
    z-index: 10; /* Musi być DUŻO wyższy niż .bg-photo */
    opacity: 0.05; /* Widoczność szumu */
    pointer-events: none;
}

#bg-left { 
    left: 0; 
    background-position: top left; 
}

#bg-right { 
    right: 0; 
    background-position: top right; 
}

.bg-photo.visible {
    opacity: 1;
}



/* ============================================================================================================
                          K O N T E N E R   N A   T R E Ś Ć   ( L A N D I N G   P A G E )
   ============================================================================================================ */

.content-wrapper {
    margin-top: 0 !important;
    height: calc(100vh - 120px);        /* Pozwalamy kontenerowi być wysokim, by treść mogła "wejść" pod okładki */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;    /* Ustawiamy warstwę niżej niż belka z okładkami */
    z-index: 1; 
}

/* ------------------------------------------------------------------------------------------------ */
/* --- U R L - I N D I C A T O R   T O   A D R E S   W W W   P O K A Z Y W A N Y   N A D   M I X E M --- */

.url-indicator {
    font-size: 12.5px;
    color: #937d3e;
    margin-top: 35px;    /* To jest "oddech" od góry */
    margin-bottom: 14px;    /* To jest "oddech" od okładki */
    letter-spacing: 0px; 
}

.url-indicator a {
    color: #937d3e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.url-indicator a:hover {
    color: #ffffff; /* Rozjaśnienie po najechaniu */
    /*  zakomentowane: text-decoration: underline; */
}


/* ------------------------------------------------------------------------------------------------ */
/* --- O G Ó L N E   U S T A W I E N I A   K O N T E N E R A --- */

.layout-group {
    position: relative;
    width: 400px; /* Szerokość Twojego kontenera */
    margin: 0 auto; /* To idealnie centruje kontener na ekranie */
}

.scroll-container {
    width: 100%;
    height: calc(100vh - 280px); 
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto !important;
    box-sizing: border-box;
    overflow-x: hidden; /* Blokujemy jakiekolwiek wychodzenie przestrzeni na boki */
}


/* ------------------------------------------------------------------------------------------------ */
/* --- E S T E T Y K A   P A S K A   P R Z E S U W A N I A --- */

.scroll-container::-webkit-scrollbar { display: none; } /* Ukrywa suwak w Chrome/Safari */

/* --- P A S E K / S Z Y N A --- */
.external-scrollbar {
    position: absolute;
    right: -30px;  /* Odstęp całego paska przesuwania od kontenera z treścią landinga -1 to maksymalnie blisko, a -90 to maksymalnie daleko */
    top: 4px;    /* Zaczyna się prawie na równo z okładką - dokładniej: 15px poniżej górnej jej krawędzi */
    bottom: 20px;  /* kończy się 10px nad belką */
    width: 1px; /* Cieniutka linia */
    background: rgba(131, 104, 50, 0.5);
    user-select: none;
    height: auto;
}

/* --- S U W A K --- */
/* --- 1) Oryginalny suwak - zostawiamy dokładnie jak był --- */
.scroll-dot {
    position: absolute;
    width: 7px; /* Szerokość suwaka */
    height: 26px;   /* Wysokość suwaka */
    background: rgba(131, 104, 50, 1);  /*  to ten sam kolor co hex #836832; */
    border-radius: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 1000;
}

/* --- 2) Duża niewidoczna strefa klikalna - nakładka --- */
.scroll-dot::before {
    content: '';
    position: absolute;
    /* === POWIĘKSZONA STREFA ŁAPANIA === */
    width: 50px;     /* szerokość strefy (ile px w lewo/prawo) */
    height: 65px;    /* wysokość strefy (ile px w górę/dół) */
    
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    
    pointer-events: all;           /* ważne */
    z-index: -1;                   /* żeby nie zasłaniał suwaka */
}



/* ------------------------------------------------------------------------------------------------ */
/* --- S T Y L I Z A C J A   T R E Ś C I   L A N D I N G Ó W --- */
#dynamic-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-family: 'Aller', sans-serif;
    color: white;
    margin: 0; 
    padding: 0;
}

/* --- G Ł Ó W N E   T Ł O   I   K O N T E N E R   T R E Ś C I --- */
#dynamic-content .content {
    background-color: #1a1a1a !important;
    padding: 20px 20px 30px;   /* to paddingi wewnątrz szarego kontenera, odległość tekstu od górnej -też prawej i dolnej- krawędzi kontenera (pod okładką) */
    text-align: center;
    width: 400px;    /* było 100% - teraz ma konkretne 400px */
    box-sizing: border-box;
    border-radius: 0 0 8px 8px; /* Zaokrąglenie dołu, góra przylega do okładki */
}


/* ------------------------------------------------------------------------------------------------ */
/* --- T Y T U Ł   M I X U   O R A Z   D A T A --- */

#dynamic-content .album-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
    color: white;
    letter-spacing: 0.4px;
    word-spacing: 0.5px;
    line-height: 1.25;
}

#dynamic-content .album-date {
    font-size: 0.82em; /* 0.8em oznacza 80% wielkości głównego tytułu */
    opacity: 0.95;    /* Opcjonalnie: możesz ją też lekko przyciemnić, by nie odciągała uwagi */
    margin-left: 1px;   /* Odrobina odstępu od nazwy miasta */
}


/* --- O P I S   P O D   T Y T U Ł E M   -   D E S C R I P T I O N --- */
#dynamic-content .description {
    font-size: 0.84rem;
    color: #aaa;
    line-height: 1.35; 
    text-align: center;
    max-width: 90%;
    margin: 0 auto 20px auto;

    /* Ucinanie do 3 linii */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;     /* To sprawia, że przycisk nie ucieka z kontenera */
}

#dynamic-content .description.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}


/* --- P R Z Y C I S K   ' R E A D   M O R E ' --- */
#dynamic-content #read-more-btn {
    display: none; /* JS go pokaże tylko jeśli tekst się nie mieści */
    position: absolute;
    bottom: 0.5px;
    right: 0;
    background: #1a1a1a; /* Tło musi pasować do kontenera description */
    padding-left: 5px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    font-size: 0.75rem;
}

/* Kiedy rozwinięte, przycisk wskakuje na koniec tekstu */
#dynamic-content .description.expanded #read-more-btn {
    position: static; 
    display: inline-block;
    background: none;
    padding-left: 5px;
}


/* --- T R A C K L I S T A   I   S A M P L E --- */
/* KONTENER ROZWIJANEJ TRACKLISTY */
#dynamic-content .tracklist-container {
    margin: 10px 0 25px 0; 
    cursor: default;
    text-align: center;
}

/* TEKST KLIKALNY, ROZWIJANY 'SHOW TRACKLIST AND SAMPLE' (Trigger) */
#dynamic-content .tracklist-trigger {
    list-style: none;
    color: white;
    font-weight: normal;
    font-size: 0.7rem;
    letter-spacing: 1.3px;
    transition: all 0.2s ease;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

#dynamic-content .tracklist-trigger::-webkit-details-marker {
    display: none;
}

/* EFEKT NAJECHANIA NA NAPIS 'SHOW TRACKLIST AND SAMPLE' */
#dynamic-content .tracklist-trigger:hover {
    font-weight: bold;
}

/* WYGLĄD SAMEJ LISTY PO ROZWINIĘCIU - TUTAJ JEST KRESKA SEPARATORA */
#dynamic-content .tracklist-content {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.4;
    text-align: left;
/* SEPARATOR */
    max-width: 400px; 
    margin-left: auto;
    margin-right: auto;
    padding: 12px 10px 10px 10px;      /* 12px (góra), 10px (prawa, dół, lewa) */
    border-top: 1px solid #333; 
}

/* STRZAŁKI */
#dynamic-content .tracklist-trigger::before { content: "→"; }
#dynamic-content .tracklist-trigger::after { content: "←"; }

#dynamic-content .tracklist-container[open] .tracklist-trigger::before,
#dynamic-content .tracklist-container[open] .tracklist-trigger::after {
    content: "↓";
}

/* O D T W A R Z A C Z   S A M P L I */
#dynamic-content .track-item {
    cursor: pointer;
    color: #aaa;
    font-size: 0.8rem;
    line-height: 1.4;
    transition: all 0.2s ease;
    display: flex;
    align-items: baseline;
    text-align: left;
    padding: 2px 0;
}

/* EFEKT NAJECHANIA I STAN GRANIA */
#dynamic-content .track-item:hover, 
#dynamic-content .track-item.playing {
    color: #fff !important;
    font-weight: bold;
}

/* IKONA & CYFERKI ODLICZANIA */
#dynamic-content .play-icon-tl {
    display: inline-block;
    min-width: 20px;
    width: 20px;
    flex-shrink: 0;
    font-size: 0.6rem;
    color: inherit;
    margin-right: 1px;
    text-align: left;
    vertical-align: middle;
}

/* Wygląd samych cyferek odliczania */
#dynamic-content .timer-number {
    color: #b8a25c; /* Złoty kolor */
    font-weight: bold;
}


/* ------------------------------------------------------------------------------------------------ */
/* --- 1) R A M K I   S T R E A M I N G O W E   ( Y o u T u b e ,   M i x c l o u d   i t d . ) --- */

#dynamic-content .stream-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 11px 15px;                   /* (góra/dół) (lewo/prawo) */
    margin-bottom: 12px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

#dynamic-content .stream-card:hover {
    border-color: #999;
    background-color: rgba(255, 255, 255, 0.07);
}


/* --- 2) R A M K I   S T R E A M I N G O W E   -   L O G A   P L A T F O R M   S T R E A M I N G O W Y C H --- */

#dynamic-content .icon-service {
    width: 130px;  
}


/* --- 3) R A M K I   S T R E A M I N G O W E   ( P l a y ,   D o w n l o a d ,   P o d c a s t ) --- */

#dynamic-content .play-btn {
    font-size: 0.72rem;
    border: 1px solid #555;
    padding: 3.6px 10.5px;                   /* (góra/dół) (lewo/prawo) */
    border-radius: 4px;
    letter-spacing: 0.3px;
}

#dynamic-content .stream-card:hover .play-btn {
    background-color: white;
    color: black;
}

#dynamic-content .play-icon {
    font-size: 0.55rem;
    display: inline-block;     /* Pozwala na precyzyjne przesuwanie */
    position: relative;
    top: -1px;    /* Ujemna wartość podciąga ikonkę do góry - dostosuj wg uznania */
    margin-left: 3px;    /* Trochę więcej oddechu od napisu PLAY */
    /* Bezpieczniki: */
    line-height: 1; 
    font-style: normal;
    text-transform: none;
}


/* ------------------------------------------------------------------------------------------------ */
/* --- S T Y L I Z A C J A   O K Ł A D K I   W   T R E Ś C I --- */

#dynamic-content .main-cover {
    width: 100%;
    aspect-ratio: 1 / 1;                   /* Rezerwuje miejsce, zapobiega skakaniu layoutu */
    display: block;
    cursor: zoom-in;                       /* Ikonka lupy z plusem */
    opacity: 0;                            /* Zaczynamy od niewidoczności */
    animation: fadeInCover 0.5s ease both; /* 'both' zapobiega mignięciu na starcie */
    will-change: opacity;                  /* Optymalizacja dla przeglądarki */
}

/* Definicja animacji */
@keyframes fadeInCover {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- G L O B A L N Y   L I G H T B O X (Okno powiększenia) --- */

.lightbox {
    display: none; /* Domyślnie ukryte, JS to zmieni na 'flex' */
    position: fixed;
    z-index: 10000; /* Bardzo wysoki z-index, żeby nic go nie przykryło */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.82); /* Przyciemnienie tła */
    justify-content: center;
    align-items: center;
    cursor: zoom-out; /* Kursor lupy z minusem */

    /* Efekt rozmycia tła za okładką */
    backdrop-filter: blur(7px); 
    -webkit-backdrop-filter: blur(7px);
}

.lightbox img {
    max-width: 95%;
    max-height: 85%;
    box-shadow: 0 0 40px rgba(0,0,0,0.9);
    border-radius: 4px;
    object-fit: contain; /* Zapewnia, że obrazek nie straci proporcji */
}

/* P R Z Y C I S K   ' X '   W   R O G U */
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    will-change: transform;
    z-index: 10001;
}

/* Efekt po najechaniu na X */
.close-lightbox:hover {
    color: #93773e;    /* to ten sam złoty co jest w napisie url-indicator */
    transform: scale(1.1) rotate(90deg);
}


/* ------------------------------------------------------------------------------------------------ */

#dynamic-content .container {
    background: transparent !important;
    margin-top: 0 !important;    /* Kasuje margines górny landinga */
    padding-top: 0 !important;   /* Kasuje padding górny landinga */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* --- FORMATOWANIE OBRAZKÓW WEWNĄTRZ TREŚCI --- */
#dynamic-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0px auto 0px;   /* margin: [góra - odległość url:okładka] [prawo/lewo] [dół - odległość okładka:kontener z treścią] */
}

/* ------------------------------------------------------------------------------------------------ */
/* --- U S U W A M Y   M A R G I N E S Y ,   K T Ó R E   S P Y C H A J Ą   T R E Ś Ć   W   D Ó Ł   (wyjątki to: tracklist-content + social-icons) --- */

#dynamic-content h1, 
#dynamic-content h2, 
#dynamic-content p,
#dynamic-content div:not(.tracklist-content):not(.social-icons) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* --- ZAPEWNIENIE, ŻE LINKI WEWNĄTRZ LANDINGA SĄ WIDOCZNE --- */
#dynamic-content a {
    color: #836832;
    text-decoration: underline;
}


/* ------------------------------------------------------------------------------------------------ */
/* --- I K O N K I   S O C I A L   M E D I A   Z   L A N D I N G A --- */

#dynamic-content .social-icons {
    margin-top: 32px !important; 
    margin-bottom: 10px !important; 
    display: flex !important;
    justify-content: center !important;
    gap: 21.5px !important;
    flex-wrap: wrap !important;
}

#dynamic-content .social-icons img {
    height: 14.2px !important; /* To je zmniejszy do Twoich 15px */
    width: auto !important; 
    filter: none !important; /* Wyłączamy ten inwert, który je wybiela */
    opacity: 0.3 !important; /* Przywracamy delikatność */
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    will-change: transform;
}

/* Efekt po najechaniu na link wewnątrz landinga */
#dynamic-content .social-icons a:hover img {
    opacity: 1 !important;
    transform: scale(1.23) !important;
    filter: none !important; /* Żeby nie bielały bardziej przy hoverze */
}



/* ============================================================================================================
                                      B E L K A   Z   O K Ł A D K A M I
   ============================================================================================================ */

.mixes-bar {
    position: fixed;
    bottom: 5px;
    width: 100%;
    background: #000;
    border-top: 1px solid #333;
    padding: 10px 0 0 0;
    z-index: 998;
}

.mixes-nav-info {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;        /* Pierwsza wartość: góra/dół - druga: lewo/prawo || 10px marginesu bocznego, by daty stały idealnie nad okładkami */
    font-size: 13.5px;
    color: #fff;
    margin-top: 5px;
    margin-bottom: 5px;
}

.year-left, .year-right {
    cursor: pointer;   /* Dodaje ikonkę łapki po najechaniu na datę */
    user-select: none; /* Zapobiega zaznaczaniu tekstu przy szybkim klikaniu */
    word-spacing: 3px; /* Zwiększa szerokość samej spacji między znakiem « a rokiem: 2026 i 2006 */

    position: relative; /* Pozwala na aktywację warstwowości (z-index) */
    z-index: 10005;     /* Wyniesienie przycisków nad warstwę przewijania okładek (covers-wrapper) */
}

.style-info { 
    color: #836832; letter-spacing: 2px; 
    font-weight: normal;
    text-shadow: 0 0 1px rgba(131,104,50,0.9);
    user-select: none; /* Zapobiega zaznaczaniu tekstu przy szybkim klikaniu */
}

.covers-wrapper {
    display: flex;
    overflow-x: auto;
    padding: 10px 6px;       /* 10px na górę/dół dla scale i 6px na boki dla ramki/shadow */
    gap: 0.5px;
    scrollbar-width: none;
}

.cover-box {
    position: relative;
    flex-shrink: 0;
}

.cover-item {
    width: 90px;
    height: 90px;
    opacity: 0.8;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.cover-item:hover { 
    border-color: rgba(255,255,255,0.3); 
    opacity: 1; 

    transform: scale(1.02);
    will-change: transform;
}

.cover-item.active { 
    border: 2px solid #fff; 
    opacity: 1; 
    filter: brightness(1.15) saturate(1.05);   /* po wybraniu okładki kolor jest delikatnie jaśniejszy + bardziej nasycony */
    box-shadow: 0 0 9px 2px rgba(255, 255, 255, 0.2);

    transform: scale(1.05);
    will-change: transform;
}



/* Ten kontener pilnuje, żeby daty nie uciekały na boki */
.mixes-container-inner {
    display: block;
    margin: 0 auto;                  /* Wyśrodkowanie całej grupy na ekranie */
    width: fit-content;              /* Rozmiar dopasowany dokładnie do rzędu okładek */
    max-width: calc(100% - 40px);    /* Margines bezpieczeństwa od brzegów ekranu */
    margin-left: auto;
    margin-right: auto;
}






/* ----------------- O d b i c i e   l u s t r z a n e ----------------- */
.reflection {
    height: 90px;
    width: 90px;
    margin: -2px 1px -21px 2px;  /* ---- trzecia wartość w margin odpowiada za dół || ewentualnie bardziej odsunięte: margin: -1px 1px -22px 2px; ---- */
    background-size: 90px 90px;
    transform: scaleY(-0.97);
    mask-image: linear-gradient(to bottom, transparent, black);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black);
    opacity: 0.25;
}



/* ============================================================================================================
                                      S T O P K A   -   F O O T E R
   ============================================================================================================ */

.main-footer {
    background-color: #836832;
    padding: 8px 0;
    text-align: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
}
.footer-link {
    color: #000000; 
    text-decoration: none;
    font-family: 'Aller';  
    font-size: 10.5px;
    font-weight: normal;
    vertical-align: middle; 
    letter-spacing: 5px;
    text-shadow: 0 0 0.5px rgba(0,0,0,0.6);        /* opcjonalnie - lekkie pogrubienie cieniem */
}

.footer-link:hover {
    color: #fff;
    font-weight: normal;
    transition: 0.2s;          /* lekka płynność przy zmianie */
}





/* ============================================================================================================
                              S T Y L I Z A C J A   O K I E N K A   ' A B O U T '
   ============================================================================================================ */

.about-modal {
    display: none;                        /* Domyślnie ukryte */
    position: fixed;
    z-index: 10000;                       /* Dokładnie ten sam z-index co lightbox okładki */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Przyciemnienie bliźniacze jak w okładce */
    justify-content: center;
    align-items: center;   
    backdrop-filter: blur(7px);           /* Identyczny efekt rozmycia tła za okienkiem jak w okładkach */
    -webkit-backdrop-filter: blur(7px);
}

/* Gdy popup jest aktywny, JS zmienia styl wyświetlania */
.about-modal.active {
    display: flex;
}

.about-modal-content {
    background-color: #93773e;  
    color: #111111;
    box-sizing: border-box;               /* Blokuje rozrastanie się okna na zewnątrz (przy zmianie paddingów) */

    padding: 45px;
    max-width: 435px;                     /* Szerokość okienka */
    width: 90%;

    box-shadow: 0 0 40px rgba(0,0,0,0.9); /* Identyczny cień jak pod okładką */
    position: relative;
    text-align: justify;
    cursor: default;                      /* Zwykły kursor wewnątrz okienka */

/* EFEKT PODWÓJNEJ ODSUNIĘTEJ RAMKI */
    outline: 1px solid #93773e;           /* Ta zewnętrzna, cieńsza złota linia */
    outline-offset: 5px;                  /* Odstęp (ramka transparentna) - możesz dać 4px lub 5px */
}

/* PRZYCISK ' X ' W ROGU EKRANU (IDENTYCZNY JAK W OKŁADKACH) */
.about-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white; 
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    will-change: transform;
    z-index: 10001;
}

/* Efekt po najechaniu na X */
.about-modal-close:hover {
    color: #93773e;    
    transform: scale(1.1) rotate(90deg);
}



/* ------ GÓRNY PASEK NAWIGACYJNY W OKIENKU (języki i PDF) ------ */
.about-lang-switcher {
    font-size: 11px;
    font-weight: normal;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    word-spacing: 1px;
font-weight: normal;
text-shadow: 0 0 1px rgba(0,0,0,0.3);
    user-select: none;
}

.about-lang-switcher .lang-btn {
    cursor: pointer;
    padding: 0 2px;
    transition: color 0.1s;
}

/* Efekt po najechaniu myszką – tylko biały kolor, bez podkreślenia */
.about-lang-switcher .lang-btn:hover {
    color: #ffffff;
    text-decoration: none;
}



/* ------ WYBRANY JĘZYK – STAŁY BIAŁY KOLOR ORAZ PODKREŚLENIE ------ */
.about-lang-switcher .lang-btn.active {
    color: #000000;
    font-weight: bold;
}

.download-pdf-btn {
    float: right;
    color: #111111;
    text-decoration: none;
    transition: color 0.1s, border-color 0.1s;
    letter-spacing: 1.3px;
}

.download-pdf-btn:hover {
    color: #ffffff;
}



/* ------ ZDJĘCIE PROFILOWE W OKIENKU ------ */
.about-image-container {
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
}

.about-profile-img {
    width: 100%;
    height: auto;
    display: block;
}



/* ------ TEKST W OKIENKU ------ */
/* --- Ksywa Nail --- */
.about-text-content h3 {
    margin: 26px 0 6px 0;
    font-size: 17.5px;
    font-weight: bold;
    letter-spacing: 1.2px;
}

/* --- Tekst biogramu --- */
.about-text-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: normal;
    text-shadow: 0 0 0.5px rgba(0,0,0,0.4);
}

.about-tab-content {
    display: none;
}

.about-tab-content.active {
    display: block;
}





/* --- DOPASOWANIE DLA WERSJI DESKTOPOWEJ (Ekrany powyżej 768px szerokości) --- */
@media (min-width: 769px) {
    .about-modal-content {
        /* Przesuwa okienko w pionie o 8% jego własnej wysokości w górę */
        transform: translateY(-8%); 
    }
}




/* ============================================================================================================
                              W E R S J A   R E S P O N S Y W N A   -   M O B I L E
   ============================================================================================================ */


@media (max-width: 768px) {


/* ----------------- 1. TŁO (BACKGROUND) ----------------- */

    .bg-photo { display: none; }          /* Wyłączamy ciężkie zdjęcia w tle */

    html {
        background-color: #000000 !important; 
    }

    body {
        background-color: transparent !important; 
    }

    .noise-overlay {
        opacity: 0.08 !important; 
    }


/* ----------------- 2. HEADER (LOGO + SOCIAL MEDIA) ----------------- */

    .main-header { 
        position: fixed;
        top: 19px; 
        left: 5% !important;            /* 5% marginesu lewego */
        right: 5% !important;           /* 5% marginesu prawego */
        width: 90% !important;          /* Szerokość identyczna jak layout-group */
        display: flex; 
        justify-content: space-between; /* Logo po lewej, sociale po prawej */
        align-items: center;
        padding: 0;
        z-index: 2000;
        overflow: visible !important;   /* Pozwoli ikonkom "wystawać" w górę dzięki transform */
        box-sizing: border-box !important;
        pointer-events: none !important;       /* Header jako pudełko nie blokuje kliknięć */
    }

    .main-logo {
        content: url('../files/logo-mobile.svg') !important;
        height: 45px !important;
        margin-top: 3.5px !important;
        width: auto;
        display: block;
    }

    .main-logo, .social-icons {
        pointer-events: auto !important;  
    }


/* --- IKONKI SOCIAL W HEADERZE --- */
    .social-icons {
        display: flex !important;
        gap: 15px !important; 
        justify-content: flex-end !important;
        align-items: center !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(-12px) !important; /* Przesuwa ikonki o 12px w górę bez psucia układu logo */
}

    .social-icons img {
        height: 18px !important;    /* Twoje wymarzone 18px */
        width: auto !important;
        margin: 0 !important;
        display: block !important;
        flex-shrink: 0 !important;  /* Zakaz ściskania samych ikonek */
    }


/* ----------------- 3. TREŚĆ LANDINGA (KOLUMNA 90%) ----------------- */
    
/* --- USUWAMY PASEK PRZESUWANIA (External Scrollbar) --- */
    .external-scrollbar {
        display: none !important;
    }

/* --- GŁÓWNE PUDEŁKO TRZYMAJĄCE TREŚĆ W RYZACH --- */
    .layout-group {
        width: 90% !important; 
        max-width: 400px;
        margin: 0 auto !important;
        position: relative;
    }

/* --- ADRES URL NAD OKŁADKĄ --- */
    .url-indicator {
        width: 90%;
        text-align: right;
        margin-top: 50px; /* Miejsce na logo powyżej */
        margin-bottom: 10px;
        position: relative !important;
        z-index: 3000 !important; /* Wyżej niż header (który ma 2000) */
    }

    #landing-url {
        font-size: 0.92em !important;     /* Wielkość fontu URL na mobile. Jeśli w głównym CSS jest np. 12px, to 0.95em zmniejszy go o 5% */
        text-decoration: none !important;
        opacity: 0.8;
        display: inline-block !important; /* Powiększa nieco obszar trafienia palcem */
        padding: 5px 0; /* Robi "bezpiecznik" dla palca, żeby łatwiej było trafić */
    }

/* --- OKŁADKA WEWNĄTRZ LANDINGA --- */
    #dynamic-content .main-cover {
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }

/* --- SZARY KONTENER Z TEKSTEM POD OKŁADKĄ --- */
    #dynamic-content .content {
        width: 100% !important;
        margin: 0 auto !important;
        background-color: #1a1a1a !important;
        box-sizing: border-box;
    }

/* --- ZDJĘCIA I GRAFIKI WEWNĄTRZ OPISU --- */
    #dynamic-content img {
        max-width: 100% !important;
    }

/* --- IKONKI SOCIAL MEDIA W KONTENERZE --- */
    #dynamic-content .social-icons {
        display: flex !important;            /* Włączamy elastyczny układ */
        justify-content: center !important;  /* Środkujemy ikonki w poziomie */
        flex-wrap: wrap !important;          /* Na bardzo małych ekranach zawiną się do nowej linii */
        gap: 25px !important;
        margin-top: 30px !important;
        margin-bottom: 20px !important; 
        padding-bottom: 0 !important;
    }

/* --- FIX DLA KONTENERA PRZEWIJANIA --- */
    .scroll-container {
        width: 100% !important;
        padding: 0 !important;
    }



/* ----------------- 4. BELKA Z OKŁADKAMI (DÓŁ) ----------------- */

    .mixes-bar {
        padding: 8px 0 0 0 !important;
        bottom: 0 !important;
        height: auto !important;
        width: 100% !important; /* Wymuszamy pełną szerokość ekranu */
        left: 0 !important;     /* Upewniamy się, że startuje od lewej krawędzi */
    }

    .covers-wrapper {
        display: flex !important;
        gap: 2px !important;
        padding: 8px 0px 14px 0px !important;    /* Lewy i prawy padding na 0, żeby okładki dotykały brzegów */
        width: 100% !important;
        overflow-x: auto !important; 
        overflow-y: hidden !important; 
        scrollbar-width: none;
        align-items: flex-end !important;
        touch-action: pan-x !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-y: none !important;
        scroll-behavior: smooth !important;           /* ładniejsze przewijanie */
        overscroll-behavior-x: contain !important;    /* zapobiega "uciekaniu" na koniec */

/* --- NIWELUJE ZAWIESZENIA/BLOKADY PRZESUWANIA BELKI PO KLIKNIĘCIU W OKŁADKI --- */
        scroll-snap-type: none !important;           /* wyłącza snapowanie */
        -webkit-overflow-scrolling: touch !important;
        will-change: transform !important;           /* pomaga przy wydajności */
    }

/* --- TWORZY MARGINES PRZED PIERWSZĄ OKŁADKĄ --- */
    .covers-wrapper::before {
        content: "";
        flex: 0 0 4.5%; /* Rezerwuje 4,5% szerokości jako odstęp */
    }

/* --- TWORZY MARGINES ZA OSTATNIĄ OKŁADKĄ --- */
    .covers-wrapper::after {
        content: "";
        flex: 0 0 3%; /* Rezerwuje 3% szerokości jako odstęp */
    }

/* --- TO PUDEŁKO PILNOWAŁO SZEROKOŚCI NA DESKTOPIE – W RESPONSYWNOŚCI MUSIMY JE "UWOLNIĆ" --- */
    .mixes-container-inner {
        width: 100% !important;     /* Już nie dopasowujemy do zawartości */
        max-width: 100% !important; /* Pozwalamy mu zająć cały ekran */
        margin: 0 !important;       /* Usuwamy marginesy auto */
    }

/* --- POJEDYNCZA PACZKA: OKŁADKA + ODBICIE --- */
    .cover-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        margin-bottom: -8px !important;
        flex-shrink: 0 !important;
    }

/* --- OKŁADKA --- */
    .cover-item {
        width: 85px !important;
        height: 85px !important;
        margin: 0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55) !important;
    }

/* --- ODBICIE LUSTRZANE --- */
    .reflection {
        width: 85px !important;
        height: 85px !important;
        background-size: 85px 85px !important;
        background-position: center top !important;
        margin: 0.6px 0px -22px 0px !important;   
        opacity: 0.35 !important;
        transform: scaleY(-0.97) !important;
        mask-image: linear-gradient(to bottom, transparent, black);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black);
        opacity: 0.25;
        pointer-events: none;
    }

/* --- TEKSTY NAD BELKĄ (style + daty) --- */
    .mixes-bar .style-info {
        font-size: 10px !important;
        letter-spacing: 0.2px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
    }

    .mixes-bar .year-left,
    .mixes-bar .year-right {
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
    }

/* --- STRZAŁKI « » --- */
    .mixes-bar .arrow-left,
    .mixes-bar .arrow-right {
        font-size: 15px !important;
        font-weight: bold !important;
        line-height: 1 !important;
    }

/* --- TYLKO W PRZYPADKU ZA DŁUGIEGO TEKSTU W STYLU --- */
    .mixes-bar .style-info {
        font-size: clamp(5px, 2.8vw, 10px) !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
/* WYŚRODKOWANIE PIONOWE */
        align-self: center !important;           /* najważniejsze przy flexboxie */
        line-height: 1.1 !important;             /* pomaga w wyśrodkowaniu */
        display: flex !important;
        align-items: center !important;
        height: 100% !important;                 /* zajmuje pełną wysokość kontenera */
    }

/* --- ZABEZPIECZENIE DAT I STRZAŁEK (nie mogą się łamać i dzielić) --- */
    .mixes-bar .style-info {
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }

    .mixes-bar .year-left,
    .mixes-bar .year-right,
    .mixes-bar .arrow-left,
    .mixes-bar .arrow-right {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

/* --- KONTENER NADRZĘDNY --- */
    .mixes-bar {
        display: block !important;   /* lub initial */
    }



/* ----------------- 5. STOPKA (FOOTER) ----------------- */

    .main-footer {
        padding: 6px 0;
        height: auto;
    }

    .footer-link {
        font-size: 9.5px; /* Mniejszy napis w stopce */
        letter-spacing: 4px;
    }

    .footer-link:hover {
        color: #fff;
    }




/* ----------------- 6. IKONKA ZACHĘCAJĄCA DO SCROLLOWANIA ----------------- */

/* --- STYL IKONKI SCROLLOWANIA --- */
    .scroll-hint {
        position: fixed;
        top: 40%; 
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 5000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1.5s ease, visibility 1.5s ease-in-out;
        pointer-events: none; 
    }

/* --- KLASA AKTYWOWANA PO SEKUNDZIE --- */
    .scroll-hint.visible {
        opacity: 0.65; /* Subtelna przezroczystość */
        visibility: visible;
    }

/* --- PROSTA ANIMACJA PULSOWANIA/RUCHU W DÓŁ --- */
    .mouse-scroll {
        width: 35px;
        height: 60px;
        border: 2.5px solid #fff; 
        border-radius: 20px;
        position: relative;
        background: rgba(0, 0, 0, 0.2); /* Lekkie przyciemnienie środka, żeby kropka była widoczna */
    }

    .mouse-scroll::before {
        content: "";
        width: 6px;
        height: 6px;
        background: #fff;
        margin-left: -3px;
        top: 40px;   /* Pozycja startowa kropki na dole kapsułki */
        border-radius: 50%;
        position: absolute;
        left: 50%;
    }

    .scroll-hint.visible .mouse-scroll::before {
        animation: scroll-anim 2s infinite;
    }

    /* STARTUJEMY Z DOŁU (translate 0) I LECIMY W UJEMNE WARTOŚCI (do góry) */
   @keyframes scroll-anim {
    0% { 
        opacity: 0; 
        transform: translateY(0); 
    }
    20% { 
        opacity: 1; 
    }
    80% { 
        opacity: 1; 
    }
    100% { 
        opacity: 0; 
        transform: translateY(-30px); /* Kropka leci 30px w górę */
    }
   }






/* ----------------- 7. OKIENKO 'ABOUT' ----------------- */

    .about-modal-content {
        padding: 45px 40px !important;     /* Zmniejszamy tylko boczne marginesy wewnętrzne z 45px na 40px, czyli góra i dół zostają bez zmian */
    }

    .about-text-content h3 {
        margin: 23px 0 5px 0 !important;   /* Margines górny nad fontem NAIL zmieniony z 26px na 23px, dolny z 6px na 5px */
        font-size: 16px !important;        /* Zmniejszona wielkość fontu z 17.5px na 16px */
    }

    .about-text-content p {
        font-size: 14.5px !important;      /* Zmniejszona wielkość fontu dla tekstu biogramu z 15px na 14px */
        line-height: 1.45 !important;       /* Lekko ciaśniejsza interlinia, żeby tekst był bardziej zwarty na telefonie (z 1.45 na 1.4) */
    }


}



