/**
 * AI LOUNGE // AFTER DARK V10.0
 * COMPLETE LAYOUT & ATMOSPHERICS
 */

@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@700&family=JetBrains+Mono:wght@400&display=swap');

:root {
    --neon-purple: #bc00ff;
    --neon-blue: #00f2ff;
    --club-black: #000000;
}

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

body {
    background-color: var(--club-black);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
    height: 100vh;
}

#main-view { 
    position: fixed; 
    inset: 0; 
    z-index: 1; 
    /* Toned down brightness for a deep tunnel feel */
    filter: saturate(1.4) brightness(0.9) contrast(1.1);
}

/* --- THE "TAP" PROMPT (Positioned away from Logo) --- */
#click-hint {
    position: fixed;
    bottom: 15%; /* Moved to bottom to avoid overlapping top logo */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    pointer-events: none; 
    opacity: 0; 
    transition: opacity 1.5s ease;
}

#click-hint p {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 12px;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    animation: strobe 2s infinite ease-in-out;
}

@keyframes strobe {
    0%, 100% { opacity: 0.3; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.02); }
}

/* --- HUD & VIGNETTE --- */
#ui-layer {
    position: fixed;
    inset: 0;
    z-index: 50;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    /* This makes the center of the tunnel pop by darkening the edges */
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.6) 100%);
}

#track-info h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-purple);
}

#visualizer-mode {
    font-size: 0.7rem;
    color: var(--neon-blue);
    margin-top: 8px;
    letter-spacing: 3px;
    opacity: 0.7;
}

/* --- PLAYBACK HUD --- */
#playback-controls {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 650px;
    border-radius: 2px;
}

.progress-wrapper {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

#progress-line {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    box-shadow: 0 0 15px var(--neon-blue);
}

#skip-btn {
    background: none;
    border: 1px solid rgba(0, 242, 255, 0.5);
    color: var(--neon-blue);
    padding: 8px 18px;
    font-family: 'Syncopate';
    font-size: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

#skip-btn:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 20px var(--neon-blue);
    border-color: var(--neon-blue);
}

/* --- CRT SCANLINE EFFECT --- */
.scanlines {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.1) 50%
    ), linear-gradient(
        90deg, 
        rgba(255, 0, 0, 0.02), 
        rgba(0, 255, 0, 0.01), 
        rgba(0, 0, 255, 0.02)
    );
    background-size: 100% 3px, 3px 100%;
}
