* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0e1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Animated orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb linear infinite;
}

.orb-1 {
    width: 550px;
    height: 550px;
    background: rgba(0, 255, 136, 0.12);
    top: -180px;
    left: -120px;
    animation-duration: 20s;
    animation-delay: 0s;
}

.orb-2 {
    width: 420px;
    height: 420px;
    background: rgba(0, 200, 255, 0.08);
    bottom: -120px;
    right: -100px;
    animation-duration: 25s;
    animation-delay: -8s;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: rgba(124, 58, 237, 0.08);
    top: 50%;
    right: 8%;
    animation-duration: 17s;
    animation-delay: -4s;
}

.orb-4 {
    width: 220px;
    height: 220px;
    background: rgba(0, 255, 136, 0.07);
    bottom: 25%;
    left: 6%;
    animation-duration: 22s;
    animation-delay: -12s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(35px, -45px) scale(1.04);
    }

    50% {
        transform: translate(-25px, 28px) scale(0.96);
    }

    75% {
        transform: translate(45px, 18px) scale(1.02);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Grid overlay */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 255, 136, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Card */
.card {
    background: rgba(10, 14, 26, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 2.75rem 2.5rem;
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 1px rgba(0, 255, 136, 0.05),
        0 25px 70px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(0, 255, 136, 0.06);
    animation: slideInUp 0.6s ease-out both;
}

/* Avatar & Logo */
.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar {
    width: 72px;
    height: 72px;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
    color: #00ff88;
    margin: 0 auto 1rem;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.15);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e4e7eb;
    margin-bottom: 0.6rem;
}

.logo p {
    color: #8b92a0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 1.75rem 0;
}

/* Error */
.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-family: 'Space Mono', monospace;
}

/* Form */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8b92a0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

label .optional {
    color: #4b5260;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.7rem;
}

input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #e4e7eb;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.08);
}

input::placeholder {
    color: #4b5260;
}

/* Submit */
.btn-submit {
    width: 100%;
    background: #00ff88;
    color: #0a0e1a;
    border: none;
    border-radius: 8px;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.35);
    font-family: inherit;
    margin-top: 0.5rem;
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.55);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
    color: #4b5260;
    font-size: 0.75rem;
    line-height: 1.6;
}

.powered {
    color: #4b5260;
    font-size: 0.7rem;
    font-family: 'Space Mono', monospace;
    margin-top: 0.6rem;
}

.powered a {
    color: #00ff88;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.powered a:hover {
    opacity: 1;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .card {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media print {
    body {
        background: white;
    }

    .orb,
    .grid-bg {
        display: none;
    }

    .card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
        background: white;
    }
}