body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    color: white;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(270deg, #0f172a, #1e293b, #020617);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
}
/* Animación del fondo */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Contenedor */
.container {
    background: rgba(30, 41, 59, 0.95);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* FORM EN LÍNEA (esto es lo que te faltaba) */
form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Input */
input {
    padding: 10px;
    border-radius: 8px;
    border: none;
    width: 200px;
    outline: none;
}

/* Botón */
button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #22c55e;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

/* Hover */
button:hover {
    background: #16a34a;
    transform: scale(1.05);
}

/* Resultado */
#resultado {
    white-space: pre-line;
    margin-top: 15px;
    font-size: 18px;
}

.container {
    margin: 0 auto;
    max-width: 400px;
}

a {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    opacity: 0.5;
}