:root {
    /* Emotional/Melancholic Color Palette */
    --deep-indigo: #1e1b4b;
    --midnight-blue: #0f172a;
    --slate-gray: #334155;
    --soft-purple: #6366f1;
    --muted-blue: #3b82f6;
    --gentle-teal: #0891b2;
    --warm-amber: #f59e0b;
    --soft-rose: #e11d48;
    --pearl-white: #f8fafc;
    --misty-gray: #64748b;
    --charcoal: #1e293b;
    --void-black: #000000;
    
    /* Gradients */
    --emotional-gradient: linear-gradient(135deg, var(--deep-indigo) 0%, var(--midnight-blue) 50%, var(--charcoal) 100%);
    --accent-gradient: linear-gradient(45deg, var(--soft-purple), var(--muted-blue), var(--gentle-teal));
    --glow-gradient: radial-gradient(ellipse at center, var(--soft-purple) 0%, transparent 70%);
    
    /* Shadows & Glows */
    --glow-soft: 0 0 30px rgba(99, 102, 241, 0.3);
    --glow-warm: 0 0 20px rgba(245, 158, 11, 0.4);
    --shadow-deep: 0 15px 60px rgba(0, 0, 0, 0.4);
    --shadow-subtle: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--emotional-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--pearl-white);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(8, 145, 178, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* ============ TYPING SCREEN ============ */
.typing-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--void-black) 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 2s ease-out;
}

.typing-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.matrix-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(99, 102, 241, 0.02) 3px,
            rgba(99, 102, 241, 0.02) 6px
        );
    animation: gentleFlow 30s linear infinite;
}

@keyframes gentleFlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.typing-container {
    max-width: 700px;
    width: 90%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    box-shadow: var(--glow-soft), var(--shadow-deep);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.terminal-header {
    background: rgba(99, 102, 241, 0.1);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.terminal-controls {
    display: flex;
    gap: 10px;
}

.control-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    opacity: 0.7;
}

.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #eab308; }
.control-dot.green { background: #22c55e; }

.terminal-title {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--soft-purple);
    letter-spacing: 1px;
    opacity: 0.8;
}

.typing-content {
    padding: 50px 40px;
    min-height: 250px;
}

.typing-line {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.prompt {
    color: var(--gentle-teal);
    margin-right: 15px;
    opacity: 0.9;
}

.typed-text {
    color: var(--pearl-white);
}

.cursor {
    color: var(--soft-purple);
    animation: gentleBlink 1.5s infinite;
}

@keyframes gentleBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.access-granted {
    margin-top: 40px;
    padding: 25px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.scanning-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: var(--soft-purple);
    box-shadow: var(--glow-soft);
    animation: gentleScan 3s ease-in-out;
}

@keyframes gentleScan {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.access-granted p {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 8px 0;
}

.access-granted p:first-of-type {
    color: var(--gentle-teal);
    font-size: 18px;
}

.access-granted p:last-of-type {
    color: var(--soft-purple);
    font-size: 14px;
    opacity: 0.8;
}

/* ============ MAIN INTERFACE ============ */
.main-interface {
    opacity: 0;
    transform: scale(0.98);
    transition: all 2s ease-out;
}

.main-interface.active {
    opacity: 1;
    transform: scale(1);
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Three.js Canvas */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
    transform: translateY(-100%);
}

.navbar.active {
    transform: translateY(0);
    transition: transform 1.2s ease-out;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    border-radius: 50%;
    position: relative;
    box-shadow: var(--glow-soft);
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    background: var(--pearl-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--misty-gray);
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gentle-teal);
    box-shadow: 0 0 8px var(--gentle-teal);
}

.status-indicator.active {
    animation: gentlePulse 3s infinite;
}

@keyframes gentlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    min-height: 100vh;
    padding: 100px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Music Section */
.music-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.music-card {
    background: rgba(30, 41, 75, 0.7);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 25px;
    padding: 45px;
    box-shadow: var(--glow-soft), var(--shadow-deep);
    position: relative;
    overflow: hidden;
    transform: translateY(60px);
    opacity: 0;
}

.music-card.active {
    transform: translateY(0);
    opacity: 1;
    transition: all 1.5s ease-out 0.8s;
}

.music-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    animation: gentleShimmer 4s infinite;
}

@keyframes gentleShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Holographic Display */
.holographic-frame {
    position: relative;
    margin-bottom: 35px;
}

.holo-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 6px,
        rgba(99, 102, 241, 0.04) 6px,
        rgba(99, 102, 241, 0.04) 8px
    );
    pointer-events: none;
    z-index: 2;
}

.profile-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.4);
    box-shadow: var(--glow-soft), var(--shadow-subtle);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: saturate(0.8) contrast(1.1);
}

.energy-ring {
    position: absolute;
    border: 1px solid transparent;
    border-radius: 50%;
    animation: gentleRotate 8s linear infinite;
}

.ring-1 {
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-color: rgba(99, 102, 241, 0.3) transparent rgba(99, 102, 241, 0.3) transparent;
}

.ring-2 {
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-color: transparent rgba(59, 130, 246, 0.2) transparent rgba(59, 130, 246, 0.2);
    animation-duration: 12s;
    animation-direction: reverse;
}

.ring-3 {
    top: -28px;
    left: -28px;
    right: -28px;
    bottom: -28px;
    border-color: rgba(8, 145, 178, 0.2) transparent rgba(8, 145, 178, 0.2) transparent;
    animation-duration: 16s;
}

@keyframes gentleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Track Information */
.track-info {
    text-align: center;
    margin-bottom: 35px;
}

.song-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.3));
}

.artist-name {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    color: var(--gentle-teal);
    margin-bottom: 12px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.genre-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--soft-purple);
    opacity: 0.8;
}

/* Audio Visualizer */
.audio-visualizer-container {
    margin: 35px 0;
}

.visualizer-frame {
    position: relative;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 25px;
    box-shadow: inset 0 0 30px rgba(99, 102, 241, 0.05);
}

.audio-visualizer {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 4px;
    height: 70px;
    position: relative;
    z-index: 2;
}

.visualizer-bar {
    width: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
    min-height: 3px;
    transition: height 0.15s ease;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.frequency-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 25px,
            rgba(99, 102, 241, 0.05) 25px,
            rgba(99, 102, 241, 0.05) 26px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 12px,
            rgba(99, 102, 241, 0.05) 12px,
            rgba(99, 102, 241, 0.05) 13px
        );
    pointer-events: none;
}

/* Control Panel */
.control-panel {
    margin-top: 35px;
}

.play-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 35px;
}

.control-btn,
.play-btn {
    position: relative;
    background: rgba(30, 41, 75, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    color: var(--pearl-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    overflow: hidden;
}

.control-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
}

.play-btn {
    width: 65px;
    height: 65px;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--glow-soft);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glow-gradient);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.control-btn:hover .btn-glow,
.play-btn:hover .btn-glow {
    opacity: 0.6;
}

.control-btn:hover,
.play-btn:hover {
    transform: scale(1.08);
    box-shadow: var(--glow-soft);
    border-color: var(--soft-purple);
}

.play-icon {
    position: relative;
    z-index: 2;
}

.play-triangle {
    width: 0;
    height: 0;
    border-left: 18px solid var(--pearl-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 3px;
    transition: all 0.3s ease;
}

.play-btn.playing .play-triangle {
    border: none;
    width: 18px;
    height: 18px;
    background: var(--pearl-white);
    position: relative;
    margin-left: 0;
}

.play-btn.playing .play-triangle::before,
.play-btn.playing .play-triangle::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 18px;
    background: var(--midnight-blue);
    top: 0;
}

.play-btn.playing .play-triangle::before {
    left: 3px;
}

.play-btn.playing .play-triangle::after {
    right: 3px;
}

/* Progress Interface */
.progress-interface {
    margin-bottom: 25px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--gentle-teal);
    opacity: 0.8;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 5px;
    background: rgba(30, 41, 75, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.progress-glow {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 9px;
    background: var(--glow-gradient);
    pointer-events: none;
    opacity: 0.3;
}

.progress-cursor {
    position: absolute;
    right: -5px;
    top: -2px;
    width: 9px;
    height: 9px;
    background: var(--soft-purple);
    border-radius: 50%;
    box-shadow: var(--glow-soft);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-track:hover .progress-cursor {
    opacity: 1;
}

/* Status Display */
.status-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--misty-gray);
}

.status-icon {
    width: 6px;
    height: 6px;
    background: var(--gentle-teal);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gentle-teal);
    animation: gentlePulse 3s infinite;
}

/* Data Panel */
.data-panel {
    background: rgba(30, 41, 75, 0.7);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 25px;
    padding: 35px;
    box-shadow: var(--glow-soft), var(--shadow-deep);
    transform: translateY(60px);
    opacity: 0;
}

.data-panel.active {
    transform: translateY(0);
    opacity: 1;
    transition: all 1.5s ease-out 1.2s;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.panel-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--soft-purple);
}

.panel-controls {
    display: flex;
    gap: 8px;
}

.panel-btn {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: var(--soft-purple);
    font-size: 9px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.panel-btn.active,
.panel-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    color: var(--pearl-white);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

/* Spectrum Analyzer */
.spectrum-analyzer {
    position: relative;
    height: 120px;
    margin-bottom: 30px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 18px;
    overflow: hidden;
}

.spectrum-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(99, 102, 241, 0.05) 20px,
            rgba(99, 102, 241, 0.05) 21px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 12px,
            rgba(99, 102, 241, 0.05) 12px,
            rgba(99, 102, 241, 0.05) 13px
        );
    pointer-events: none;
}

.spectrum-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 2;
}

.spectrum-bar {
    width: 6px;
    background: linear-gradient(to top, var(--soft-purple), var(--gentle-teal));
    border-radius: 2px;
    min-height: 2px;
    transition: height 0.2s ease;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* Audio Metrics */
.audio-metrics {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--soft-purple);
    min-width: 70px;
    opacity: 0.8;
}

.metric-bar {
    flex: 1;
    height: 6px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.metric-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
    box-shadow: 0 0 8px currentColor;
}

.freq-fill {
    background: linear-gradient(90deg, var(--soft-purple), var(--gentle-teal));
    width: 60%;
}

.amp-fill {
    background: linear-gradient(90deg, var(--muted-blue), var(--soft-rose));
    width: 75%;
}

.dyn-fill {
    background: linear-gradient(90deg, var(--gentle-teal), var(--warm-amber));
    width: 40%;
}

/* Floating UI Elements */
.floating-ui {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.ui-element {
    position: absolute;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 18px;
    font-size: 10px;
    letter-spacing: 1px;
    box-shadow: var(--glow-soft);
    transform: translateY(-40px);
    opacity: 0;
}

.ui-element.active {
    transform: translateY(0);
    opacity: 1;
    transition: all 1s ease-out;
}

.top-left {
    top: 100px;
    left: 35px;
}

.top-right {
    top: 100px;
    right: 35px;
}

.data-stream span,
.connection-status span {
    display: block;
    margin-bottom: 6px;
    color: var(--gentle-teal);
    opacity: 0.8;
}

.data-stream span:last-child,
.connection-status span:last-child {
    margin-bottom: 0;
}

.signal-strength {
    display: flex;
    align-items: end;
    gap: 2px;
    margin-bottom: 10px;
}

.signal-bar {
    width: 2px;
    background: var(--gentle-teal);
    border-radius: 1px;
    box-shadow: 0 0 4px var(--gentle-teal);
}

.signal-bar:nth-child(1) { height: 6px; }
.signal-bar:nth-child(2) { height: 10px; }
.signal-bar:nth-child(3) { height: 14px; }
.signal-bar:nth-child(4) { height: 18px; }

.signal-bar {
    animation: gentleSignal 3s infinite;
}

.signal-bar:nth-child(2) { animation-delay: 0.3s; }
.signal-bar:nth-child(3) { animation-delay: 0.6s; }
.signal-bar:nth-child(4) { animation-delay: 0.9s; }

@keyframes gentleSignal {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 100px 30px 40px;
    }
    
    .data-panel {
        order: -1;
        margin-bottom: 20px;
    }
    
    .navbar {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    
    .nav-brand {
        font-size: 14px;
    }
    
    .music-card {
        padding: 35px 25px;
    }
    
    .song-title {
        font-size: 1.8rem;
    }
    
    .profile-pic {
        width: 140px;
        height: 140px;
    }
    
    .floating-ui .ui-element {
        display: none;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .play-btn {
        width: 55px;
        height: 55px;
    }
    
    .typing-container {
        width: 95%;
    }
    
    .typing-content {
        padding: 40px 30px;
    }
    
    .typing-line {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 90px 20px 30px;
    }
    
    .music-card {
        padding: 25px 20px;
    }
    
    .data-panel {
        padding: 25px 20px;
    }
    
    .typing-content {
        padding: 30px 20px;
    }
    
    .terminal-header {
        padding: 15px 20px;
    }
}

/* ============ WELCOME SCREEN STYLES ============ */
/* Add these styles to your existing styles.css file */

/* Welcome Screen */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--void-black) 100%);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 2s ease-out;
}

.welcome-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.welcome-container {
    max-width: 600px;
    width: 90%;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    box-shadow: var(--glow-soft), var(--shadow-deep);
    overflow: hidden;
    backdrop-filter: blur(30px);
    text-align: center;
    padding: 60px 40px;
    animation: welcomeGlow 3s ease-in-out infinite;
}

@keyframes welcomeGlow {
    0%, 100% { box-shadow: var(--glow-soft), var(--shadow-deep); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.5), var(--shadow-deep); }
}

.welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: iconPulse 2s ease-in-out infinite;
}

.welcome-icon::before {
    content: '💌';
    font-size: 35px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.welcome-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--soft-purple), var(--gentle-teal)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    animation: ringRotate 3s linear infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.welcome-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.3));
}

.welcome-message {
    font-size: 1.3rem;
    color: var(--gentle-teal);
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.message-notification {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.message-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    animation: notificationShimmer 3s infinite;
}

@keyframes notificationShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.notification-text {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    color: var(--soft-purple);
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.notification-subtitle {
    font-size: 0.95rem;
    color: var(--pearl-white);
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.enter-button {
    background: var(--accent-gradient);
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    letter-spacing: 1px;
}

.enter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.enter-button:hover::before {
    left: 100%;
}

.enter-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.enter-button:active {
    transform: translateY(-1px);
}

/* Update existing typing screen to be hidden initially */
.typing-screen {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* Responsive styles for welcome screen */
@media (max-width: 768px) {
    .welcome-container {
        padding: 40px 30px;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-message {
        font-size: 1.1rem;
    }
    
    .welcome-icon {
        width: 60px;
        height: 60px;
    }
    
    .welcome-icon::before {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .welcome-container {
        padding: 30px 20px;
    }
    
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .welcome-message {
        font-size: 1rem;
    }
    
    .enter-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}