* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    height: 100vh;
    overflow: hidden;
    background: #030303;
    position: relative;
}

/* FONDO REAL */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at top, #0f0f0f, #010122);
}

/* PARTÍCULAS */
#particles-js {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* CONTENEDOR LOGIN */
.background {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CARD */
.card {
    width: 380px;
    background: rgba(17, 21, 28, 0.9);
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.35);
    backdrop-filter: blur(8px);
    animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LOGO */
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.logo img {
    width: 70px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* TEXTO */
h1 {
    color: #fff;
    text-align: center;
    font-size: 22px;
}

.subtitle {
    text-align: center;
    color: #9aa3b2;
    font-size: 13px;
    margin-bottom: 25px;
}

/* INPUTS */
.field {
    margin-bottom: 15px;
}

.field input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #2a2f3a;
    background: #0c1016;
    color: #fff;
}

.field input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59,130,246,0.4);
}

/* BOTONES */
.btn-primary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(59,130,246,0.8);
}

.or {
    display: block;
    text-align: center;
    color: #8b94a3;
    margin: 15px 0;
    font-size: 13px;
}

.btn-discord {
    width: 100%;
    padding: 12px;
    background: #5865f2;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.btn-discord:hover {
    box-shadow: 0 0 20px rgba(88,101,242,0.6);
}

/* FOOTER */
.small {
    text-align: center;
    font-size: 12px;
    color: #9aa3b2;
    margin-top: 10px;
}

.contact {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}
