/* ===================================
   PREMIUM EFFECTS - VISUAL DETAILS
   Sombras multicapa, gradientes, glow
   =================================== */

/* === SOMBRAS MULTICAPA === */
.stat-card {
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 1px 2px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(217, 119, 6, 0.3);
}

.chart-card {
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.03);
}

.chart-card:hover {
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(217, 119, 6, 0.2);
}

/* === GRADIENTES ANIMADOS === */
.stat-icon {
    background: linear-gradient(135deg,
            var(--secondary) 0%,
            #f59e0b 50%,
            var(--secondary) 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* === BORDES LUMINOSOS === */
.card-premium {
    position: relative;
}

.card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(217, 119, 6, 0.5),
            transparent 50%,
            rgba(217, 119, 6, 0.3));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-premium:hover::before {
    opacity: 1;
}

/* === GLOW EFFECTS === */
.glow-primary {
    box-shadow: 0 0 20px rgba(30, 64, 175, 0.3);
}

.glow-secondary {
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
}

.glow-success {
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.3);
}

/* === INNER SHADOWS === */
.inset-shadow {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* === GRADIENTE DE FONDO SUTIL === */
.gradient-bg {
    background: linear-gradient(135deg,
            var(--bg-primary) 0%,
            var(--bg-secondary) 100%);
}

/* === GLASSMORPHISM MEJORADO === */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .glass {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* === SHIMMER EFFECT === */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

/* === DEPTH LAYERS === */
.layer-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.layer-2 {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.layer-3 {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19);
}

.layer-4 {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

/* === NEON GLOW === */
.neon-glow {
    text-shadow:
        0 0 10px rgba(217, 119, 6, 0.5),
        0 0 20px rgba(217, 119, 6, 0.3),
        0 0 30px rgba(217, 119, 6, 0.2);
}

/* === FLOATING ANIMATION === */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}