/* Base Style */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* Glassmorphism Card */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Overlay Animasi */
#welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#welcome-overlay.show {
    opacity: 1;
    visibility: visible;
}

.welcome-content {
    text-align: center;
    color: white;
}

.welcome-avatar {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #059669;
    opacity: 0;
    transform: scale(0.5);
    animation: pop-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.welcome-text {
    opacity: 0;
    transform: translateY(20px);
    animation: slide-up 0.6s 0.2s ease forwards;
}

@keyframes pop-in {
    to { opacity: 1; transform: scale(1); }
}

@keyframes slide-up {
    to { opacity: 1; transform: translateY(0); }
}

/* Spinner */
.spinner {
    border-top-color: #10b981;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* PIN Input */
.pin-input {
    letter-spacing: 0.5em;
    font-size: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.pin-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    outline: none;
}

/* Animasi Shake & Blob */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.animate-shake { animation: shake 0.3s ease-in-out; }

.animate-blob { animation: blob 7s infinite; }
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animation-delay-2000 { animation-delay: 2s; }