/* =========================================
   SCOPED MESH GRADIENT GALLERY
   ========================================= */

#gallery-vibrant-root {
    position: relative;
    min-height: 100vh;
    background: #0f172a; /* Deep base color */
    overflow: hidden;
}

/* Mesh Background Orbs */
.mesh-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    filter: blur(80px); /* This creates the soft gradient look */
}

.orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: orbMove 20s infinite alternate;
}

.orb-1 { width: 500px; height: 500px; background: #FF9933; top: -10%; left: -10%; }
.orb-2 { width: 600px; height: 600px; background: #128807; bottom: -10%; right: -10%; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; background: #4285F4; top: 40%; left: 30%; animation-delay: -10s; }
.orb-4 { width: 300px; height: 300px; background: #EA4335; bottom: 20%; left: 10%; animation-delay: -15s; }

@keyframes orbMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Glassmorphism Elements */
#gallery-vibrant-root .glass-header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#gallery-vibrant-root .glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 10px;
    transition: all 0.5s ease;
}

#gallery-vibrant-root .video-stack-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#gallery-vibrant-root .glass-tag {
    position: absolute;
    top: 20px; left: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 5px 15px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
}

/* Bento Sizing */
#gallery-vibrant-root .gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}
#gallery-vibrant-root .item-main { grid-column: span 2; height: 400px; }
#gallery-vibrant-root .item-side { grid-column: span 1; height: 250px; }

#gallery-vibrant-root .inner {
    border-radius: 20px;
    height: 100%;
    overflow: hidden;
}

#gallery-vibrant-root .inner img {
    width: 100%; height: 100%; object-fit: cover;
}