 :root {
            --uv-green: #0DD99F;
            --deep-purple: #1a0b2e;
            --grid-color: rgba(57, 255, 20, 0.1);
        }

        body {
            background-color: #050505;
            background-size: 30px 30px;
            color: var(--uv-green);
            font-family: 'JetBrains Mono', monospace;
            margin: 0;
            padding: 20px;
            overflow-x: hidden;
        }

        
        body::after {
            content: "";
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
            background-size: 100% 4px, 3px 100%;
            pointer-events: none;
            z-index: 10;
        }

        header {
            border-bottom: 2px solid var(--uv-green);
            margin-bottom: 40px;
            padding: 10px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            padding: 20px;
        }

        .art-card {
            position: relative;
            border: 1px solid var(--uv-green);
            height: 500px;
            background: rgba(0, 0, 0, 0.8);
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            overflow: hidden;
            cursor: crosshair;
        }

        .art-card:hover {
            box-shadow: 0 0 15px var(--uv-green);
            transform: scale(1.02);
        }

        .art-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            filter: grayscale(0.5) contrast(1.2);
            transition: filter 0.3s;
        }

        .art-card:hover img {
            filter: grayscale(0) contrast(1);
        }

        
        .metadata {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: #0DD99F;
            color: black;
            padding: 10px;
            font-size: 15px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .art-card:hover .metadata {
            transform: translateY(0);
        }

        .folder-tab {
            display: inline-block;
            background: var(--uv-green);
            color: black;
            padding: 5px 15px;
            font-weight: bold;
            text-transform: uppercase;
        }

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    overflow-y: auto; 
    padding: 40px 0;
}

.modal-content {
    margin: 0 auto; 
    width: 90%;
    max-width: 1200px;
    border: 1px solid var(--uv-green);
    background: #0a0a0a;
    padding: 20px;
    position: relative;
    min-height: min-content; 
}


.tab-content img {
    width: 100%;
    height: auto;
    display: block;
}


.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

.modal-layout {
    display: flex;
    gap: 20px;
}

.media-viewer { flex: 2; border: 1px solid #333; min-height: 500px; }
.media-info { flex: 1; display: flex; flex-direction: column; gap: 20px; }

.tab-btn {
    background: transparent;
    border: 1px solid var(--uv-green);
    color: var(--uv-green);
    padding: 10px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 5px;
    text-align: left;
}

.tab-btn.active {
    background: var(--uv-green);
    color: black;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-content img { width: 100%; height: auto; }


#webCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none; 
    opacity: 0.3; 
}

.video-container video {
    max-height: 70vh;
    outline: none;
    display: block;
    margin: 0 auto;
}


video::-webkit-media-controls-panel {
    background-color: rgba(10, 10, 10, 0.9);
}