* {
    font-family: "DM Sans", sans-serif;
}
.brand {
    font-family: "Sora", sans-serif;
}

body {
    background: #e8f4fd;
    min-height: 100vh;
    overflow: hidden;
}

/* Animated background blobs */
.blob {
    position: fixed;
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.45;
    animation: floatBlob 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.blob-1 {
    width: 520px;
    height: 520px;
    background: #bae6fd;
    top: -160px;
    left: -120px;
    animation-delay: 0s;
}
.blob-2 {
    width: 400px;
    height: 400px;
    background: #93c5fd;
    bottom: -100px;
    right: -80px;
    animation-delay: -3s;
}
.blob-3 {
    width: 280px;
    height: 280px;
    background: #a5f3fc;
    top: 40%;
    left: 55%;
    animation-delay: -5s;
}

@keyframes floatBlob {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-15px, 20px) scale(0.97);
    }
}

/* Decorative grid pattern */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(186, 230, 253, 0.6);
    box-shadow:
        0 8px 32px rgba(56, 189, 248, 0.12),
        0 1.5px 0 rgba(255, 255, 255, 0.8) inset;
}

/* Input focus */
.input-field {
    background: rgba(255, 255, 255, 0.55);
    border: 1.5px solid rgba(147, 197, 253, 0.5);
    transition: all 0.2s ease;
    outline: none;
}
.input-field:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

/* Button */
.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    box-shadow:
        0 4px 18px rgba(14, 165, 233, 0.35),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 24px rgba(14, 165, 233, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.btn-primary:active {
    transform: translateY(0);
}

/* Social buttons */
.btn-social {
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid rgba(147, 197, 253, 0.45);
    transition: all 0.18s ease;
}
.btn-social:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #93c5fd;
    transform: translateY(-1px);
}

/* Animated logo icon */
.logo-ring {
    animation: spinSlow 12s linear infinite;
}
@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Fade-up entrance */
.fade-up {
    animation: fadeUp 0.6s ease both;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.delay-1 {
    animation-delay: 0.1s;
}
.delay-2 {
    animation-delay: 0.2s;
}
.delay-3 {
    animation-delay: 0.3s;
}
.delay-4 {
    animation-delay: 0.4s;
}

/* Toggle password */
.toggle-pw {
    cursor: pointer;
    color: #7dd3fc;
}
.toggle-pw:hover {
    color: #0ea5e9;
}

/* Floating label ornament */
.ornament {
    position: fixed;
    border-radius: 50%;
    border: 1.5px solid rgba(56, 189, 248, 0.18);
    pointer-events: none;
}
.ornament-1 {
    width: 180px;
    height: 180px;
    top: 12%;
    right: 8%;
}
.ornament-2 {
    width: 90px;
    height: 90px;
    bottom: 18%;
    left: 6%;
    border-color: rgba(56, 189, 248, 0.12);
}
