:root {
    --bg-dark: #0f0c29;       
    --neon-purple: #b92b27;   
    --neon-blue: #1565C0;    
    --text-main: #ffffff;   
    --text-muted: #a0a5b1;   
    --glass-bg: rgba(255, 255, 255, 0.05); 
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.background-shapes {
    position: fixed; 
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 4s infinite alternate;
}

.shape-1 {
    width: 300px; height: 300px;
    background: var(--neon-purple);
    top: 10%; left: 15%;
}
.shape-2 {
    width: 400px; height: 400px;
    background: var(--neon-blue);
    bottom: 10%; right: 10%;
    animation-delay: -2s;
}
.shape-3 {
    width: 250px; height: 250px;
    background: #00d2ff;
    top: 40%; left: 50%;
    animation-duration: 6s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.1); }
}

.loading-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.loader-box {
    width: 100%;
    max-width: 350px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px 30px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1); 
    border-top: 4px solid #00d2ff; 
    border-radius: 50%;
    margin-bottom: 25px;
    animation: spin 1s linear infinite; 
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2); 
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #ffffff;
    animation: pulse 2s ease-in-out infinite; 
}

.sub-text {
    font-size: 13px;
    color: var(--text-muted);
}

@keyframes pulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(0, 210, 255, 0.5); }
    50% { opacity: 0.5; text-shadow: none; }
}