:root {
    --bg-dark: #0f0f13;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-primary: #00f2ff;
    --neon-secondary: #ff0055;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.background-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(120deg, var(--neon-primary), var(--neon-secondary));
    filter: blur(150px);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 5s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    width: 380px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

h2 { text-align: center; margin-bottom: 5px; }
p { text-align: center; color: var(--text-gray); margin-bottom: 25px; font-size: 0.9rem; }

.form-group { margin-bottom: 18px; }
label { display: block; font-size: 0.85rem; color: var(--text-gray); margin-bottom: 5px; }
input {
    width: 100%; padding: 12px; background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border); border-radius: 8px;
    color: white; outline: none; transition: 0.3s;
}
input:focus { border-color: var(--neon-primary); box-shadow: 0 0 10px rgba(0, 242, 255, 0.1); }

.neon-btn {
    width: 100%; padding: 14px; background: linear-gradient(90deg, var(--neon-primary), #00c3ff);
    border: none; border-radius: 8px; font-weight: bold; cursor: pointer;
    margin-top: 10px; transition: 0.3s;
}
.neon-btn:hover { transform: translateY(-2px); box-shadow: 0 0 20px rgba(0, 242, 255, 0.4); }

.auth-footer { text-align: center; margin-top: 20px; font-size: 0.9rem; }
.auth-footer a { color: var(--neon-primary); text-decoration: none; transition: 0.3s; }
.auth-footer a:hover { color: #fff; }

.alert { padding: 10px; border-radius: 5px; margin-bottom: 15px; font-size: 0.85rem; text-align: center; }
.alert.error { background: rgba(255, 0, 85, 0.2); border: 1px solid var(--neon-secondary); color: #ffadb6; }