* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Roboto', sans-serif;
    background: #141414;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(229,9,20,0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.login-container {
    background: rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(229,9,20,0.3);
    border-radius: 10px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}
.logo {
    text-align: center;
    margin-bottom: 30px;
}
.logo h1 {
    font-family: 'Bebas Neue', cursive;
    color: #E50914;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(229,9,20,0.5);
}
.logo p {
    color: #999;
    font-size: 1rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}
.form-group input {
    width: 100%;
    padding: 15px;
    background: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.form-group input::placeholder {
    color: #999;
}
.password-wrapper {
    position: relative;
}
.password-wrapper input {
    padding-right: 45px;
}
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}
.toggle-password:hover {
    color: #E50914;
}
.form-group input:focus {
    outline: none;
    border-color: #E50914;
    background: #222;
}
.btn-login {
    width: 100%;
    background: #E50914;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-login:hover {
    background: #f40612;
    box-shadow: 0 8px 25px rgba(229,9,20,0.5);
}
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}
.alert-error {
    background: rgba(229,9,20,0.2);
    color: #fff;
    border: 1px solid #E50914;
}
.alert-success {
    background: rgba(76,175,80,0.2);
    color: #fff;
    border: 1px solid #4CAF50;
}
.register-link {
    text-align: center;
    margin-top: 20px;
    color: #999;
}
.register-link a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background: rgba(229,9,20,0.2);
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    margin: 5px;
    border: 1px solid rgba(229,9,20,0.3);
    transition: all 0.3s ease;
}
.register-link a:hover {
    background: rgba(229,9,20,0.3);
    border-color: #E50914;
}
.back-home {
    text-align: center;
    margin-top: 15px;
}
.back-home a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
}
.back-home a:hover {
    color: #E50914;
}
