:root {
    --bg-color: #000000;
    --gold: #D4AF37;
    --gold-light: #FFDF73;
    --silver: #E0E0E0;
    --glass-bg: rgba(0, 0, 0, 0.4);
    --glass-border: rgba(212, 175, 55, 0.2);
}

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

/* --- ZŁOTY PASEK PRZEWIJANIA (Wersja Premium Glass) --- */

/* Wsparcie dla Firefoxa */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) #050510;
}

/* Szerokość całego paska */
::-webkit-scrollbar {
    width: 14px; /* Szerszy tor, żeby suwak miał przestrzeń do "pływania" */
}

/* Tor (tło pod paskiem) - efekt ciemnego szkła */
::-webkit-scrollbar-track {
    background: rgba(5, 5, 16, 0.95);
    border-left: 1px solid rgba(212, 175, 55, 0.1); 
}

/* Pływający, złoty suwak */
::-webkit-scrollbar-thumb {
    /* Piękny, płynny gradient z jasnym odbiciem światła na górze */
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 40%, #8A6D13 100%);
    border-radius: 20px;
    /* Trik: grube obramowanie w kolorze tła ucina boki suwaka, robiąc z niego smukłą "pigułkę" */
    border: 4px solid rgba(5, 5, 16, 0.95); 
}

/* Efekt najechania (Hover) na suwak */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--gold-light) 30%, var(--gold) 100%);
    /* Obramowanie staje się cieńsze, przez co suwak wizualnie "puchnie" po najechaniu */
    border: 3px solid rgba(5, 5, 16, 0.95); 
}

body {
    background-color: var(--bg-color);
    color: var(--silver);
    font-family: 'Lato', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;

    /* NOWOŚĆ: Blokada zaznaczania tekstu na całej stronie */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE / Edge */
    user-select: none;         /* Standard (Chrome, Opera) */
}

/* --- KRÓLEWSKI SYSTEM PRZEŁĄCZANIA WIDOKÓW (SPA) --- */
.page-view {
    display: none; /* Ukryte domyślnie */
    width: 100%;
}

/* Klasa aktywna aktywuje zaawansowaną, płynną animację wejścia */
.page-view.active {
    display: block;
    /* Efekt: czas 0.6s, płynne wyhamowanie (cubic-bezier), zachowanie stanu końcowego (forwards) */
    animation: royalPageTransition 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Magiczna animacja płynnego przejścia (Pojawienie + Uniesienie + Rozmycie kinowe) */
@keyframes royalPageTransition {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px); /* Efekt stopniowego wyostrzania obrazu */
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Nawigacja premium */
.royal-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
}

.royal-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 4rem;
}

.nav-link {
    color: var(--silver);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    letter-spacing: 1px;
    position: relative;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Złota linia pod aktywną zakładką */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

/* --- KLIKALNE UTWORY W TRACKLIŚCIE --- */
.track-link {
    text-decoration: none; 
    color: var(--gold); /* Od razu złoty kolor zamiast białego */
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5); /* Delikatny złoty blask na start */
    display: block; 
    width: 100%;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Jeszcze mocniejsze świecenie i jaśniejsze złoto po najechaniu myszką */
.track-link:hover {
    color: var(--gold-light); 
    text-shadow: 0 0 20px rgba(255, 223, 115, 0.9); /* Mocny rozbłysk */
}

/* Numerek utworu wewnątrz linku */
.track-link .song-num {
    color: var(--gold);
    text-shadow: none; /* Żeby numerek nie świecił się podwójnie i był czytelny */
}

.nav-link.active::after {
    width: 100%;
}

/* Tło świetlne i cząsteczki */
.ambient-light {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(5, 5, 16, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 7rem 2rem 2rem 2rem;
    max-width: 1200px;
    width: 100%;
    min-height: calc(100vh - 50px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Sekcja Główna (Hero) */
.hero { margin-top: 1rem; }

.crown-container {
    margin-bottom: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.cover-art {
    width: 300px; /* Powiększyłem rozmiar, aby okładka była czytelna */
    height: auto;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4)); /* Zachowany królewski blask */
    object-fit: contain;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #b0b0b0;
}

/* Odliczanie */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.time-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 130px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.time-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
}

.time-value {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    display: block;
}

.time-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--silver);
    margin-top: 0.5rem;
    display: block;
}

.separator {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.5;
    animation: pulse 2s infinite;
}


.action-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.pre-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3.5rem;
    font-family: 'Lato', sans-serif; /* CZCIONKA TAKA JAK W OPISIE */
    font-size: 1.1rem;
    font-weight: 400; /* Zwykła grubość tekstu, jak w opisie */
    color: var(--bg-color);
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    background-size: 200% auto;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pre-save-btn:hover {
    background-position: right center;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    color: #000;
}

.pre-save-btn i {
    font-size: 1.1rem;
}

/* Wygląd Tracklisty */
.tracklist-section {
    width: 100%;
    padding: 1rem 0;
}

.tracklist-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 3rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.ornament-line {
    height: 1px;
    width: 150px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.acts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dokładnie 2 kolumny obok siebie */
    gap: 2.5rem;
    max-width: 900px; /* Zmniejszona szerokość, aby układ 2-kolumnowy wyglądał smukle i luksusowo */
    margin: 0 auto;
}

.act-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.act-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}

.act-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 1rem;
}


.act-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.3rem;
}

.song-list { list-style: none; }

.song-list li {
    padding: 0.6rem 0;
    color: var(--silver);
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, color 0.2s ease;
}

.song-list li:hover {
    transform: translateX(10px);
    color: var(--gold-light);
}

.song-num {
    color: var(--gold);
    font-family: 'Azeret Mono', monospace;
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Dodaj na dole pliku style.css */

/* Klasa nadawana automatycznie przez skrypt dla zablokowanych piosenek */
.auto-mystery-track {
    color: rgba(224, 224, 224, 0.25) !important;
    cursor: help;
}

/* Wyłączenie podświetlenia i animacji przesunięcia dla zablokowanych piosenek */
.auto-mystery-track:hover {
    transform: none !important;
    color: rgba(224, 224, 224, 0.25) !important;
}

/* AKT IV - Mystery Elementy */
.mystery-act { cursor: help; }

.blurred-text {
    filter: blur(5px);
    user-select: none;
}

.mystery-act .song-list li {
    color: rgba(224, 224, 224, 0.25);
}

.mystery-act .song-list li:hover {
    transform: none;
    color: rgba(224, 224, 224, 0.25);
}

.royal-seal {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-15deg);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border: 4px double var(--bg-color);
}

.seal-inner {
    color: var(--bg-color);
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.2;
}

.mystery-act::after {
    content: attr(title);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--gold);
    color: var(--bg-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    font-weight: bold;
}

.mystery-act:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Stopka */
footer {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--gold-light);
    opacity: 0.6;
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    margin-top: 3rem;
    width: 100%;
}

/* Stałe animacje w tle */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.7)); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; text-shadow: 0 0 10px var(--gold); }
}

/* Efekty początkowego ładowania strony */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; } /* NOWOŚĆ: opóźnienie dla przycisku */
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }

.countdown-emojis {
    display: block;
    margin: 0 auto 1rem auto;
    /* Płynne skalowanie wielkości obrazka */
    width: clamp(120px, 20vw, 300px);
    height: auto;
    /* Delikatny, złoty blask pasujący do reszty */
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    /* Wykorzystujemy istniejącą animację lewitowania */
    animation: float 5s ease-in-out infinite;
}

.album-description {
    margin: 3.5rem auto 1rem auto;
    max-width: 750px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2.5rem 3rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.05);
    text-align: center;
}

.album-description p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #c0c0c0;
    margin-bottom: 1.2rem;
}

.album-description p.final-sentence {
    margin-bottom: 0;
    margin-top: 2rem;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.pop { animation: popEffect 0.3s ease-out; }
@keyframes popEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); text-shadow: 0 0 15px var(--gold); }
    100% { transform: scale(1); }
}

.flicker { animation: flickerAnim 3s infinite; }
.flicker-delay { animation: flickerAnim 5s infinite 1s; }

@keyframes flickerAnim {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
    52% { opacity: 0.8; }
    54% { opacity: 0.5; }
}



@media (max-width: 768px) {
    .title { font-size: 2.2rem; margin-bottom: 1rem; line-height: 1.2; }
    .subtitle { font-size: 1.2rem; margin-bottom: 1rem; }
    .description { font-size: 1rem; margin-bottom: 2rem; padding: 0 10px; }
    .content-wrapper { padding: 6rem 1rem 2rem 1rem; }
    .cover-art { width: 160px; }
    
    .royal-nav ul { gap: 2rem; }
    .nav-link { font-size: 1rem; }

    .album-description {
        margin: 2.5rem 1rem 1rem 1rem;
        padding: 1.5rem;
    }
    
    .album-description p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .album-description p.final-sentence {
        font-size: 1.15rem;
        margin-top: 1.5rem;
    }

    .countdown-container { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 1rem; 
        width: 100%;
        max-width: 350px;
        margin: 0 auto 2rem auto;
    }
    .separator { display: none; } 
    .time-card { 
        min-width: unset; 
        width: 100%; 
        padding: 1rem 0.5rem; 
    }
    .time-value { font-size: 2.2rem; }
    
    .action-container { margin-top: 1rem; }
    .pre-save-btn { font-size: 1rem; padding: 0.8rem 2.5rem; width: 100%; max-width: 300px; }

    .tracklist-title { font-size: 2rem; }
    .acts-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem;
    }
    .act-card { padding: 1.5rem; }
    .royal-seal { width: 90px; height: 90px; }
}