@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --dark-bg: #040814; /* Extrem tiefes, edles Space-Dunkelblau */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-bg);
    color: #f8fafc;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- LEUCHTENDE BUNTE SCHRIFT --- */
.glow-text-bunt {
    background: linear-gradient(to right, #ff0055, #a020f0, #00d2ff, #00ffaa);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(160, 32, 240, 0.6)) 
            drop-shadow(0 0 20px rgba(0, 210, 255, 0.4));
    animation: shineEffect 6s linear infinite;
}

/* --- ULTRA NEON CYBER BUTTON (HAUPT-BUTTON) --- */
.btn-glow-cyber {
    background: linear-gradient(to right, #ff0055, #a020f0, #00d2ff);
    background-size: 200% auto;
    color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
    border-radius: 9999px !important; /* Perfekte Pillenform wie YouTube */
    box-shadow: 0 0 15px rgba(160, 32, 240, 0.4), 
                0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: shineEffect 6s linear infinite;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Hover-Effekt: Button dehnt sich leicht aus und das Glühen wird intensiver */
.btn-glow-cyber:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.7), 
                0 0 40px rgba(255, 0, 85, 0.3);
    filter: brightness(1.1);
}

/* Klick-Effekt: Federt elastisch zurück */
.btn-glow-cyber:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 0 10px rgba(160, 32, 240, 0.6);
}

/* --- EDLER GLASS-SECONDARY BUTTON (FÜR LOGOUT & TABS) --- */
.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8;
    font-weight: 600;
    border-radius: 9999px !important;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.3) !important;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

/* --- LOGOUT GERÖTET --- */
.btn-logout {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
    color: #ef4444;
}
.btn-logout:hover {
    background: #ef4444 !important;
    color: white !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

/* Gemeinsame Animation für Farbverlauf-Bewegung */
@keyframes shineEffect {
    to { background-position: 200% center; }
}

/* --- ORIGINAL YOUTUBE SEARCH BAR LOOK --- */
.youtube-search-bar {
    width: 100%;
    border-radius: 9999px;
    background-color: #121212 !important;
    border: 1px solid #303030 !important;
    padding: 14px 24px !important;
    color: #f1f1f1 !important;
    font-size: 14px !important;
    font-weight: 500;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.youtube-search-bar:focus {
    border-color: #1c62b9 !important;
    background-color: #0f0f0f !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 0 8px rgba(28, 98, 185, 0.5) !important;
}

.youtube-search-bar::placeholder {
    color: #aaa;
    opacity: 0.6;
}

/* --- RE-STYLED PANEL --- */
.glass-panel {
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.animate-fade-in {