/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');

/* ── Reset & Loader Container ── */
#vcd-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #06080f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#vcd-loader.vcd-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ── Neural canvas ── */
#vcdNeuralBg {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
}

/* ── Orb ── */
.vcd-orb-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 36px;
    z-index: 2;
}
.vcd-orb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 35%, #8b5cf6 0%, #6366f1 40%, #312e81 80%, #06080f 100%);
    box-shadow:
        0 0 40px rgba(99, 102, 241, 0.6),
        0 0 80px rgba(99, 102, 241, 0.3);
    animation: vcdOrbPulse 2.4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
@keyframes vcdOrbPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 40px rgba(99,102,241,0.6), 0 0 80px rgba(99,102,241,0.3);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 60px rgba(99,102,241,0.85), 0 0 130px rgba(99,102,241,0.4);
    }
}

/* ── Rings ── */
.vcd-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid transparent;
}
.vcd-ring1 {
    inset: -12px;
    border-top-color: rgba(99, 102, 241, 0.85);
    border-right-color: rgba(139, 92, 246, 0.4);
    animation: vcdSpin 1.8s linear infinite;
}
.vcd-ring2 {
    inset: -24px;
    border-width: 1px;
    border-bottom-color: rgba(99, 102, 241, 0.5);
    border-left-color: rgba(139, 92, 246, 0.25);
    animation: vcdSpin 3.2s linear infinite reverse;
}
@keyframes vcdSpin { to { transform: rotate(360deg); } }

/* ── Logo ── */
.vcd-logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f1f5f9;
    z-index: 2;
    margin-bottom: 8px;
    animation: vcdFadeUp 0.7s ease 0.15s both;
}
.vcd-grad {
    background: linear-gradient(135deg, #a5b4fc, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Tagline ── */
.vcd-tagline {
    font-size: 0.8rem;
    color: #475569;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 400;
    z-index: 2;
    margin-bottom: 44px;
    animation: vcdFadeUp 0.7s ease 0.3s both;
}

/* ── Progress ── */
.vcd-progress-wrap {
    width: 220px;
    z-index: 2;
    animation: vcdFadeUp 0.7s ease 0.45s both;
}
.vcd-progress-bar {
    height: 2px;
    background: rgba(99, 102, 241, 0.14);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 10px;
}
.vcd-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a5b4fc);
    border-radius: 99px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.65);
    transition: width 0.18s linear;
}
.vcd-progress-label {
    text-align: center;
    font-size: 0.72rem;
    color: #475569;
    letter-spacing: 0.04em;
    min-height: 18px;
}

/* ── Dots ── */
.vcd-dots {
    display: flex;
    gap: 6px;
    margin-top: 26px;
    z-index: 2;
    animation: vcdFadeUp 0.7s ease 0.6s both;
}
.vcd-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.4);
    display: inline-block;
    animation: vcdDotBounce 1.4s ease-in-out infinite;
}
.vcd-dot:nth-child(2) { animation-delay: 0.18s; }
.vcd-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes vcdDotBounce {
    0%, 80%, 100% { transform: scale(0.7); background: rgba(99,102,241,0.35); }
    40% { transform: scale(1.25); background: rgba(139,92,246,0.95); }
}

/* ── FadeUp keyframe ── */
@keyframes vcdFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
