/* ============================================================
   ECOSYSTEM‑G — CINEMATIC SHARDS STYLES (MASTER)
   ------------------------------------------------------------
   Floating neon shards for cinematic UI.
   Works with dynamic injection from loader.js.
   ============================================================ */

/* -----------------------------------------
   SHARD CONTAINER (channel-hero)
----------------------------------------- */
.channel-hero {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0f1116, #1a1e25, #0f1116);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(77,163,255,0.25);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
}

/* -----------------------------------------
   SHARD BASE STYLE
----------------------------------------- */
.shard {
    position: absolute;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #4da3ff, #7bd3ff);
    border-radius: 3px;
    opacity: 0.85;
    filter: blur(1px);
    transform: rotate(45deg);
    animation: shardFloat 7s linear infinite;
    box-shadow:
        0 0 12px rgba(77,163,255,0.6),
        0 0 20px rgba(77,163,255,0.3);
}

/* -----------------------------------------
   SHARD VARIANTS (optional)
----------------------------------------- */
.shard.small {
    width: 10px;
    height: 10px;
    opacity: 0.7;
}

.shard.large {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

/* -----------------------------------------
   SHARD ANIMATION
----------------------------------------- */
@keyframes shardFloat {
    0% {
        transform: translateY(0) rotate(45deg);
        opacity: 0.9;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-160px) rotate(225deg);
        opacity: 0;
    }
}

/* -----------------------------------------
   SHARD TRAILS (optional cinematic effect)
----------------------------------------- */
.shard::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 40px;
    top: 100%;
    left: 0;
    background: linear-gradient(
        to bottom,
        rgba(77,163,255,0.4),
        rgba(77,163,255,0)
    );
    filter: blur(4px);
    opacity: 0.6;
}
