 :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;
        }

        /* Scanline Animation Effect */
        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(600px, 1fr)); 
    gap: 30px; 
    padding: 20px;
    max-width: 1400px; 
    margin: 0 auto;
}

.art-card {
    height: 220px; 
    border: 1px solid var(--uv-green);
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease; 
}

        .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.9);
    backdrop-filter: blur(10px);
    overflow-y: auto; 
    padding: 20px 0; 
}

.modal-content {
    margin: 40px auto; 
    width: 90%;
    max-width: 1200px;
    background: #0a0a0a;
    border: 1px solid var(--uv-green);
    padding: 30px;
    position: relative;
    height: auto; 
}

.modal-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start; 
}


.media-viewer {
    flex: 2;
    height: auto; 
}


.tab-content img {
    width: 100%;
    height: auto;
    display: block;
}


.stop-scrolling {
    height: 100%;
    overflow: hidden;
}



.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 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    background: #000;
    border: 1px solid var(--uv-green);
    overflow: hidden;
}


.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.browser-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 20; 
}

.ctrl-btn {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--uv-green);
    color: var(--uv-green);
    padding: 5px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    cursor: pointer;
}

.ctrl-btn:hover {
    background: var(--uv-green);
    color: black;
}

.media-info {
    padding: 20px;
    background: rgba(20, 255, 157, 0.05); 
    border-left: 1px solid var(--uv-green);
    overflow-y: auto;
}

.info-block h3 {
    font-size: 14px;
    color: var(--uv-green);
    border-bottom: 1px solid var(--uv-green);
    padding-bottom: 5px;
    margin-top: 20px;
}

.launch-btn {
    display: block;
    margin-top: 30px;
    padding: 15px;
    text-align: center;
    border: 1px solid var(--uv-green);
    color: var(--uv-green);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.launch-btn:hover {
    background: var(--uv-green);
    color: black;
    box-shadow: 0 0 15px var(--uv-green);
}

.close-btn {
    background: transparent;
    border: 1px solid #ff7b00; 
    color: #ff9900;
    padding: 8px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-btn:hover {
    background: #ff7b00;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
    text-shadow: none;
}


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--uv-green);
    padding-bottom: 10px;
}

.wip-tray {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--uv-green);
}

.tray-label {
    font-size: 12px;
    color: var(--uv-green);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.wip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); 
    max-height: 300px; 
    overflow-y: auto; 
    padding-right: 10px;
}

.wip-grid img {
    width: 100%;      
    height: 80px;      
    object-fit: cover; 
}

.wip-grid img:hover {
    transform: scale(1.05);
    border-color: var(--uv-green);
}


.wip-grid::-webkit-scrollbar {
    height: 4px; 
}

.wip-grid::-webkit-scrollbar-track {
    background: rgba(0, 255, 65, 0.05);
    border-radius: 10px;
}

.wip-grid::-webkit-scrollbar-thumb {
    background: var(--uv-green);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--uv-green);
}


.wip-grid {
    scrollbar-width: thin;
    scrollbar-color: var(--uv-green) #000;
}

.diagnostics-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 15;
    font-family: 'JetBrains Mono', monospace;
    color: var(--uv-green);
    text-shadow: 0 0 5px var(--uv-green);
}

.flicker-text {
    animation: flicker 0.1s infinite;
}

@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

