* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
    overflow: hidden;
}

/* 🌑 fundo animado */
body::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #FE0000 0%, transparent 60%);
    top: -200px;
    left: -200px;
    opacity: 0.25;
    filter: blur(120px);
    animation: moveGlow 8s ease-in-out infinite alternate;
}

body::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    opacity: 0.05;
    filter: blur(140px);
    animation: moveGlow2 10s ease-in-out infinite alternate;
}

@keyframes moveGlow {
    from { transform: translate(0,0); }
    to { transform: translate(80px, 40px); }
}

@keyframes moveGlow2 {
    from { transform: translate(0,0); }
    to { transform: translate(-60px, -30px); }
}

/* header mais clean */
header {
    width: 100%;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 10;
}

/* central */
.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 🔥 login card premium */
.login-box {
    width: 380px;
    padding: 40px;
    border-radius: 18px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255,255,255,0.05);

    animation: fadeIn 0.8s ease;
    z-index: 2;
}

/* entrada suave */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo {
    display: block;
    margin: 0 auto 25px auto;
    width: 180px;
    filter: brightness(1.2);
}

/* título mais premium */
h1 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
}

h1 span {
    color: #FE0000;
}

/* inputs estilo glass */
input {
    width: 100%;
    padding: 13px;
    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3);

    color: #fff;
    outline: none;

    transition: 0.3s;
}

input::placeholder {
    color: rgba(255,255,255,0.4);
}

input:focus {
    border-color: #FE0000;
    box-shadow: 0 0 0 2px rgba(254,0,0,0.2);
}

/* botão mais agressivo */
button {
    width: 100%;
    padding: 14px;
    border-radius: 10px;

    background: linear-gradient(135deg, #FE0000, #b30000);
    border: none;

    color: #fff;
    font-weight: bold;
    cursor: pointer;

    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

/* brilho no hover */
button::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 100%;
    top: 0;
    left: -120%;
    background: rgba(255,255,255,0.15);
    transform: skewX(-20deg);
    transition: 0.5s;
}

button:hover::after {
    left: 120%;
}

button:hover {
    transform: translateY(-2px);
}

/* mensagem erro */
.msg {
    margin-bottom: 15px;
    font-size: 14px;
    color: #ff4d4d;
    text-align: center;
}

/* footer dark */
footer {
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    background: transparent;
}

footer a {
    color: #FE0000;
    text-decoration: none;
    font-weight: bold;
}