/* ═══════════════════════════════════════════════════
   VOLL Dashboard — Premium Login Design
   ═══════════════════════════════════════════════════ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(20, 20, 32, 0.7);
    --border: rgba(255, 255, 255, 0.08);
    --text-primary: #e4e4e7;
    --text-secondary: #a1a1aa;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --discord-blue: #5865F2;
    --discord-hover: #4752c4;
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    overflow: hidden;
}

/* ─── Animated Background ─────────────────────────── */
.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
    animation: blobFloat 20s infinite alternate;
}

.blob-1 {
    top: -100px;
    left: -100px;
    background: rgba(99, 102, 241, 0.15);
}

.blob-2 {
    bottom: -100px;
    right: -100px;
    background: rgba(139, 92, 246, 0.15);
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* ─── Login Card ──────────────────────────────────── */
.login-screen {
    position: relative;
    z-index: 10;
}

.login-card {
    background: var(--bg-card);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px 40px;
    width: 420px;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    margin-bottom: 40px;
}

.login-logo {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 38px;
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    transform: rotate(-5deg);
}

.login-header h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ─── Discord Button ──────────────────────────────── */
.btn-login {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    font-family: inherit;
    color: white;
    background: var(--discord-blue);
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    background: var(--discord-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.35);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    font-size: 20px;
}

.login-error {
    margin-top: 20px;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    color: #fca5a5;
    font-size: 13px;
    line-height: 1.5;
}

/* ─── Responsive Scaling Layer ─── */
@media (max-width: 2500px) { body { zoom: 0.94; } }
@media (max-width: 2000px) { body { zoom: 0.82; } }
@media (max-width: 1600px) { body { zoom: 0.75; } }
@media (max-width: 1400px) { body { zoom: 0.70; } }