* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: #050505;
    overflow: hidden;
    color: white;
}

#bg {
    pointer-events: none;
    position: fixed;
    width: 100%;
    height: 100%;
}

.login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    padding: 30px;
    backdrop-filter: blur(15px);
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    animation: fadeIn 1.2s ease;
}

.login-box h1 {
    margin: 0;
    font-size: 32px;
    letter-spacing: 2px;
}

.login-box p {
    opacity: 0.7;
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.15);
    color: white;
}

.login-box button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg,#6e00ff,#00c6ff);
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.login-box button:hover {
    transform: scale(1.05);
}

#error {
    margin-top: 10px;
    color: #ff4d4d;
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
