#maps-lectores {
    height: 600px;
}

.card-estadistica-lectores {
    background: linear-gradient(180deg, #A5F3FC 0%, #FCE7F3 100%);
    color: #333;
    overflow: hidden;
    position: relative;
    /*min-height: 100vh;*/
}

.card-estadistica-lectores .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.card-estadistica-lectores .card:hover {
    transform: scale(1.07);
    box-shadow: 0 0 25px rgba(255, 213, 128, 0.6);
}

.icono {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    animation: saltito 2s infinite ease-in-out;
}

@keyframes saltito {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.numero {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.descripcion {
    font-size: 1.1rem;
    color: #555;
}

/* Fondo animado con nubes */
.fondo-cielo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.nube {
    position: absolute;
    width: 140px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.8;
    top: 0;
    left: -200px; /* POSICIÓN INICIAL */
    animation: moverNubes 40s linear infinite;
}

.nube::before, .nube::after {
    content: "";
    position: absolute;
    background: #fff;
    width: 100px;
    height: 80px;
    border-radius: 50%;
}

.nube::before { top: -20px; left: 30px; }
.nube::after { top: 10px; left: -40px; }

@keyframes moverNubes {
    0% { left: -200px; }
    100% { left: 110%; }
}

/* 🌞 SOL ANIMADO */
.sol {
    position: absolute;
    top: 10px;
    right: 60px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at center, #FFD700 40%, #FFA500 70%, rgba(255,165,0,0.3) 100%);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255, 223, 0, 0.6);
    z-index: 1;
}

/* Rayos del sol */
.sol::before, .sol::after {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(
            from 0deg,
            rgba(255, 200, 0, 0.8) 0deg,
            transparent 20deg,
            rgba(255, 200, 0, 0.8) 40deg,
            transparent 60deg,
            rgba(255, 200, 0, 0.8) 80deg,
            transparent 100deg
    );
    animation: girarRayos 12s linear infinite;
}

.sol::after {
    width: 180px;
    height: 180px;
    top: -30px;
    left: -30px;
    opacity: 0.5;
    animation-duration: 20s;
}

@keyframes girarRayos {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}