/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 60px; padding-top: calc(20px + env(safe-area-inset-top, 0px));
    background: rgba(8, 5, 12, 0.85); backdrop-filter: blur(50px); -webkit-backdrop-filter: blur(50px);
    border-bottom: 2px solid rgba(139, 61, 227, 0.5); box-shadow: 0 4px 30px rgba(0,0,0,0.8), 0 1px 15px rgba(139, 61, 227, 0.25);
}
.logo-link { text-decoration: none !important; display: inline-block; cursor: pointer; margin-right: auto; }
.logo { font-family: var(--font-heading); font-size: 28px; font-weight: 900; color: #ffffff !important; cursor: pointer; text-shadow: none; display: flex; align-items: center; gap: 0; user-select: none; }
.logo span { color: var(--accent) !important; text-shadow: 0 0 10px rgba(139, 61, 227, 0.5); }

/* Kontener nawigacji */
.mobile-menu-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    flex: 1;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex: 1;
}
.nav-links a {
    color: var(--text-dim); text-decoration: none !important; margin: 0 10px;
    font-weight: 700; font-size: 13px; text-transform: uppercase; display: inline-block;
    position: relative !important; padding-bottom: 8px !important; transition: color 0.3s ease !important;
}
.nav-links a.active { color: #fff !important; transform: none !important; }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 4px;
    background: linear-gradient(90deg, #8b3de3, #c71bd6) !important; transition: width 0.3s ease;
}
.nav-links a.active::after, .nav-links a:hover::after { width: 100% !important; box-shadow: 0 0 8px rgba(139, 61, 227, 0.5) !important; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

/* STATUS LIVE & LANGUAGE & ADMIN ICON */
.status-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}
.live-status {
    border: 1px solid rgba(139, 61, 227, 0.3); color: #555; padding: 6px 15px; border-radius: 20px;
    font-size: 11px; font-weight: 900; display: flex; align-items: center; transition: all 0.3s ease;
    background: rgba(139, 61, 227, 0.05);
}
.pulse { width: 8px; height: 8px; background: #555; border-radius: 50%; display: inline-block; animation: blink 1.5s infinite; margin-right: 8px; }
.live-status.offline { border-color: var(--text-dim) !important; color: var(--text-dim) !important; background: transparent; }
.live-status.offline .pulse { background: var(--text-dim) !important; animation: none !important; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* --- IKONA ADMINA --- */
.admin-login-btn {
    color: var(--text-dim);
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
    touch-action: manipulation;
}
.admin-login-btn:hover {
    color: #fff;
    border-color: var(--accent-pink);
    background: rgba(199, 27, 214, 0.2);
    box-shadow: 0 0 10px rgba(199, 27, 214, 0.3);
    transform: translateY(-2px);
}

/* --- KONTROLKI MUZYKI --- */
.music-controls-container {
    position: fixed;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(12, 10, 15, 0.85);
    border: 1px solid rgba(139, 61, 227, 0.3);
    padding: 5px 15px 5px 5px;
    border-radius: 30px;
    z-index: 2000;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}
.music-controls-container:hover {
    border-color: rgba(199, 27, 214, 0.6);
    box-shadow: 0 5px 20px rgba(199, 27, 214, 0.3);
}
.music-toggle-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(139, 61, 227, 0.8) 0%, rgba(199, 27, 214, 0.8) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(199, 27, 214, 0.4);
}
.music-toggle-btn:hover {
    transform: scale(1.1);
}
.skip-btn {
    background: linear-gradient(135deg, rgba(20, 15, 25, 0.9) 0%, rgba(50, 20, 60, 0.9) 100%);
    border: 1px solid rgba(139, 61, 227, 0.5);
    font-size: 0.9rem;
}
.volume-slider-container {
    display: flex;
    align-items: center;
    width: 70px; 
    margin-left: 5px;
}
#volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-pink);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(199, 27, 214, 0.8);
    transition: transform 0.2s;
}
#volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}
