/* === Fondo con animación suave tipo gradiente en movimiento === */
body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(120deg, #e0eafc, #cfdef3);
    background-size: 200% 200%;
    animation: moveGradient 10s ease-in-out infinite;
    color: #222;
}

/* === Animación del gradiente === */
@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* === Contenedor centrado === */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

/* === Botones modernos con animación === */
a.button {
    display: inline-block;
    position: relative;
    padding: 15px 35px;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 8px 20px rgba(78, 84, 200, 0.3);
}

/* === Brillo animado al pasar el mouse === */
a.button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: all 0.6s ease;
}

a.button:hover::before {
    left: 100%;
}

/* === Efecto de hover dinámico === */
a.button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 24px rgba(78, 84, 200, 0.4);
}

/* === Variante clara === */
a.button.light {
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    color: #333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

a.button.light:hover {
    background: linear-gradient(135deg, #f5f5f5, #e9e9e9);
    transform: translateY(-4px);
}
