* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #0f0f0f 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 24px;
    text-align: center;
}

/* Brand */
.brand {
    margin-bottom: 40px;
}

.logo {
    font-size: 48px;
    font-weight: 700;
    color: #ff4444;
    letter-spacing: -1px;
}

.tagline {
    color: #888;
    font-size: 16px;
    margin-top: 8px;
}

/* Login Card */
.login-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 32px;
    text-align: left;
}

.login-card h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 28px;
    color: #eee;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #0f0f0f;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: #3ea6ff;
}

.input-group input::placeholder {
    color: #555;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #3ea6ff;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: #65b8ff;
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-msg {
    color: #ff4444;
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    display: none;
}

.register-hint {
    text-align: center;
    color: #666;
    font-size: 13px;
    margin-top: 20px;
}

/* Footer */
footer {
    margin-top: 40px;
    color: #444;
    font-size: 12px;
}
