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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    background: #121212;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0f0f0f;
}

.login-container {
    position: relative;
    z-index: 10;
}

.login-box {
    background: rgba(19, 19, 24, 0.95);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    width: 380px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #fff;
}

input {
    width: 100%;
    padding: 16px 20px;
    margin: 12px 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #bbbbbb;
    opacity: 1;
    text-align: center;
    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: #32a86d;
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

button {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    background: #32a86d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #32a86d;
    transform: translateY(-2px);
}

.error {
    background: #f44336;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 14px;
}

.success {
    background: #32a86d;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 14px;
}

.footer-text {
    margin-top: 25px;
    font-size: 13px;
    color: #888;
}

.footer-text a {
    color: #32a86d;
    text-decoration: none;
}
