/* Fondo gradiente animado de negro a morado */
body {
    background: linear-gradient(-45deg, #000000, #1f002e, #000000, #2e003e);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Animación del gradiente */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Patrón tipo red estilo "conexiones" */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* Aseguramos que el contenido esté por encima */
main, .content, .container, .stats-container {
    position: relative;
    z-index: 1;
}

/* Estadísticas (como antes) */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.stat-box {
    text-align: center;
    margin: 20px;
    padding: 30px;
    border-radius: 15px;
    background: rgba(15, 0, 30, 0.5);
    box-shadow: 0 0 15px rgba(144, 0, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 180px;
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(200, 0, 255, 0.6);
}

.stat-number {
    font-size: 3rem;
    color: #c982ff;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    color: #cccccc;
    margin-top: 8px;
    letter-spacing: 1px;
}