@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

body {
    font-family: 'Outfit', sans-serif;
    background-color: #020617;
    overflow: hidden;
}

/* Enhanced glassmorphism */
.glass {
    background: rgba(10, 18, 36, 0.72);
    backdrop-filter: blur(32px) saturate(1.5);
    -webkit-backdrop-filter: blur(32px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Stronger emerald glow */
.glow-emerald {
    box-shadow:
        0 0 60px -12px rgba(16, 185, 129, 0.3),
        0 0 120px -24px rgba(16, 185, 129, 0.12);
}

/* Dot grid background */
.grid-bg {
    background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 28px 28px;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

.auth-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium input fields */
.auth-input {
    background: rgba(2, 6, 23, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
}
.auth-input:focus {
    background: rgba(2, 6, 23, 0.8) !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1), 0 0 20px rgba(16, 185, 129, 0.06) !important;
}

/* Animated gradient top border on card */
@keyframes authBorderSlide {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}
.auth-top-border {
    background: linear-gradient(90deg, transparent, #10b981, #22d3ee, #10b981, transparent);
    background-size: 300% 100%;
    animation: authBorderSlide 4s ease infinite;
    opacity: 0.7;
}

/* Subtle orb blurs */
.auth-orb-1 {
    position: fixed;
    top: -15%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: gsl-orbFloat 9s ease-in-out infinite;
}
.auth-orb-2 {
    position: fixed;
    bottom: -15%;
    right: -10%;
    width: 45%;
    height: 45%;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: gsl-orbFloat 12s ease-in-out infinite reverse;
}
@keyframes gsl-orbFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%       { transform: translate(20px,-20px) scale(1.04); }
    66%       { transform: translate(-15px,15px) scale(0.97); }
}