:root {
    --color-fondo: #0f172a;      /* Azul oscuro */
    --color-primario: #3b82f6;   /* Azul brillante */
    --color-texto: #f8fafc;      /* Blanco suave */
    --color-secundario: #94a3b8; /* Gris claro */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at 20% 20%, #1e293b, var(--color-fondo));
    color: var(--color-texto);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    overflow: hidden;
}

/* === ANIMACIÓN DE FONDO === */
.circulo {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    animation: mover 10s infinite alternate ease-in-out;
}

.circulo:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 15%;
}

.circulo:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 15%;
}

@keyframes mover {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.2); }
}

/* === CONTENIDO PRINCIPAL === */
.contenedor {
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.logo {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primario);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--color-secundario);
    margin-bottom: 1.5rem;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255,255,255,0.1);
    border-top-color: var(--color-primario);
    border-radius: 50%;
    animation: girar 1s linear infinite;
    margin: 0 auto;
}

@keyframes girar {
    to { transform: rotate(360deg); }
}

footer {
    position: absolute;
    bottom: 15px;
    font-size: 0.85rem;
    color: var(--color-secundario);
}

@media (max-width: 600px) {
    h1 { font-size: 1.4rem; }
    .contenedor { padding: 1.5rem; }
}