* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #050510;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* ── Liquid Blobs ── */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #00f2fe;
    top: -10%;
    left: -5%;
    animation: morphBlob1 18s ease-in-out infinite alternate;
}

.blob-2 {
    width: 450px;
    height: 450px;
    background: #a855f7;
    bottom: -10%;
    right: -5%;
    animation: morphBlob2 22s ease-in-out infinite alternate;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #ec4899;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: morphBlob3 20s ease-in-out infinite alternate;
}

.blob-4 {
    width: 350px;
    height: 350px;
    background: #1e3a5f;
    top: 60%;
    left: 10%;
    animation: morphBlob4 25s ease-in-out infinite alternate;
}

.blob-5 {
    width: 380px;
    height: 380px;
    background: #06b6d4;
    top: 5%;
    right: 15%;
    animation: morphBlob5 19s ease-in-out infinite alternate;
}

@keyframes morphBlob1 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    25%  { transform: translate(120px, 80px) scale(1.3) rotate(45deg); }
    50%  { transform: translate(60px, 160px) scale(0.9) rotate(90deg); }
    75%  { transform: translate(180px, 40px) scale(1.4) rotate(135deg); }
    100% { transform: translate(80px, 120px) scale(1.1) rotate(180deg); }
}

@keyframes morphBlob2 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    25%  { transform: translate(-100px, -60px) scale(1.4) rotate(-45deg); }
    50%  { transform: translate(-180px, -120px) scale(0.8) rotate(-90deg); }
    75%  { transform: translate(-60px, -160px) scale(1.3) rotate(-135deg); }
    100% { transform: translate(-120px, -80px) scale(1.2) rotate(-180deg); }
}

@keyframes morphBlob3 {
    0%   { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    33%  { transform: translate(-30%, -40%) scale(1.5) rotate(120deg); }
    66%  { transform: translate(-60%, -60%) scale(0.7) rotate(240deg); }
    100% { transform: translate(-40%, -50%) scale(1.3) rotate(360deg); }
}

@keyframes morphBlob4 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    50%  { transform: translate(80px, -80px) scale(1.6) rotate(180deg); }
    100% { transform: translate(-40px, -40px) scale(0.9) rotate(360deg); }
}

@keyframes morphBlob5 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    25%  { transform: translate(-60px, 40px) scale(1.2) rotate(-90deg); }
    50%  { transform: translate(-120px, -20px) scale(0.8) rotate(-180deg); }
    75%  { transform: translate(-40px, 80px) scale(1.5) rotate(-270deg); }
    100% { transform: translate(-80px, 0) scale(1.1) rotate(-360deg); }
}

/* ── Login Card (Glassmorphism) ── */
.login-box {
    position: relative;
    z-index: 1;
    background: rgba(15, 15, 30, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 44px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 400px;
    transition: box-shadow 0.3s;
}

.login-box:hover {
    box-shadow: 0 30px 100px rgba(0, 242, 254, 0.15);
}

.login-box h1 {
    color: #ffffff;
    margin-bottom: 4px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.login-box .subtitle {
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 28px;
    font-size: 14px;
}

.login-box label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    font-size: 13px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 18px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.login-box input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.login-box input:focus {
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.login-box button {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #00f2fe, #a855f7);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    letter-spacing: 0.5px;
}

.login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.35);
}

.login-box button:active {
    transform: translateY(0);
}

.login-box .error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 13px;
}

.login-box .info {
    margin-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
}