* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Efeito de partículas no fundo */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(106, 13, 173, 0.3);
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    z-index: 1;
}

.login-box {
    background: rgba(15, 15, 20, 0.9);
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(106, 13, 173, 0.2),
        0 0 50px rgba(106, 13, 173, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(106, 13, 173, 0.3),
        0 0 60px rgba(106, 13, 173, 0.2);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 42px;
    color: #6a0dad;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(106, 13, 173, 0.7);
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 14px 45px 14px 16px;
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    color: #f0f0f0;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #6a0dad;
    box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.3);
    background: rgba(40, 40, 50, 0.9);
}

.input-group i {
    position: absolute;
    right: 16px;
    top: 40px;
    color: #6a0dad;
    font-size: 18px;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
}

.remember input {
    margin-right: 8px;
    accent-color: #6a0dad;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #6a0dad, #8a2be2);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: linear-gradient(to right, #5a0ca5, #7a1bd2);
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.4);
    transform: translateY(-2px);
}

.login-btn:active {
    transform: translateY(0);
}

.register {
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

.register a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

.register a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    .login-box {
        padding: 30px 25px;
    }
}

/* Animação de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-box {
    animation: fadeIn 0.8s ease-out;
}