/* Global Styles */
body { 
    background: linear-gradient(to bottom right, #0f172a, #1e1b4b, #312e81); 
    min-height: 100vh; 
    color: white; 
    font-family: 'Inter', sans-serif;
}

.glass { 
    background: rgba(255,255,255,0.03); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255,255,255,0.05); 
}

.glass-nav { 
    background: rgba(15, 23, 42, 0.8); 
    backdrop-filter: blur(20px); 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}

/* 404 Page Specific */
.body-404 {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow { 
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.3); 
}

/* Loading Screen */
#loadingScreen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1e1b4b, #0f172a);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#loadingScreen.hidden-load {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 150px;
    height: auto;
    animation: pulse-heartbeat 2s ease-in-out infinite;
}

@keyframes pulse-heartbeat {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(139, 92, 246, 0)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4)); }
}

.loading-dots::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

@keyframes loading-bar {
    0% { width: 0; transform: translateX(-100%); }
    50% { width: 100%; transform: translateX(0); }
    100% { width: 0; transform: translateX(100%); }
}
