/* Estilo inspirado em Thanos (Marvel) */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top, #2e003e, #000000 80%);
    color: #f5f5f5;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Efeito de partículas cósmicas */
body::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('https://i.ibb.co/TbwccK8/thanos-fan-casting-poster-99786-large.jpg') repeat;
    animation: spaceMove 120s linear infinite;
    opacity: 0.2;
}

@keyframes spaceMove {
    from { transform: translate(0,0); }
    to { transform: translate(-500px,-500px); }
}

.login-container {
    position: relative;
    background: rgba(58, 0, 102, 0.9);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 0 25px #8a2be2, 0 0 70px #ffd700;
    width: 100%;
    max-width: 420px;
    text-align: center;
    animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.login-container h2 {
    margin-bottom: 25px;
    color: #ffd700;
    font-size: 32px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #ffd700, 0 0 25px #8a2be2;
}

/* Inputs */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    margin: 12px 0;
    border: none;
    border-radius: 10px;
    background: rgba(92, 36, 131, 0.9);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 8px #000;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: #bbb;
}

input[type="text"]:focus,
input[type="password"]:focus {
    background: rgba(113, 53, 168, 0.95);
    box-shadow: 0 0 10px #ffd700, 0 0 20px #8a2be2;
}

/* Botão */
button[type="submit"] {
    width: 100%;
    padding: 14px;
    margin-top: 18px;
    background: linear-gradient(145deg, #ffd700, #c49b00);
    color: #2e003e;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px #ffd700, 0 0 30px #8a2be2;
}

button[type="submit"]:hover {
    background: linear-gradient(145deg, #ffea4d, #d4af37);
    transform: scale(1.05);
    box-shadow: 0 0 20px #ffd700, 0 0 40px #8a2be2;
}

/* Mensagem de erro */
.erro {
    margin-bottom: 15px;
    color: #ff4c4c;
    font-weight: bold;
    text-shadow: 0 0 8px #ff0000;
}
