* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #00ffff;
    overflow: hidden;
    position: relative;
}

#container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

#container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Scanline effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1000;
    opacity: 0.3;
}

/* File Directory Menu (Left) */
#file-menu {
    position: fixed;
    left: 20px;
    top: 20px;
    width: 300px;
    max-height: calc(100vh - 40px);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #00ffff;
    padding: 15px;
    z-index: 200;
    pointer-events: auto;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6), inset 0 0 20px rgba(0, 255, 255, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    mix-blend-mode: normal;
}

.menu-header {
    color: #00ffff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    border-bottom: 1px solid #00ffff;
    padding-bottom: 10px;
}

#menu-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    color: #00ffff;
    font-size: 14px;
    padding: 8px 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.6);
}

.menu-item:hover {
    background: rgba(0, 255, 255, 0.1);
    text-shadow: 0 0 15px rgba(0, 255, 255, 1);
    transform: translateX(5px);
}

.menu-item.active {
    color: #ff00ff;
    text-shadow: 0 0 15px rgba(255, 0, 255, 1);
    background: rgba(255, 0, 255, 0.1);
}

.menu-item.garbage {
    color: #ff0080;
    text-shadow: 0 0 15px rgba(255, 0, 128, 1);
}

.menu-item.garbage.active {
    background: rgba(255, 0, 128, 0.2);
}

.menu-item::after {
    content: '▶';
    font-size: 10px;
    margin-left: 10px;
    opacity: 0.6;
}

/* File Details Panel (Right) */
#file-details {
    position: fixed;
    right: 20px;
    top: 20px;
    width: 350px;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #ff00ff;
    padding: 20px;
    z-index: 200;
    pointer-events: auto;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.6), inset 0 0 20px rgba(255, 0, 255, 0.1);
    mix-blend-mode: normal;
}

.details-header {
    color: #ff00ff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
    border-bottom: 1px solid #ff00ff;
    padding-bottom: 10px;
}

.warning-text {
    color: #ff00ff;
    font-size: 11px;
    margin-bottom: 20px;
    opacity: 0.7;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.6);
    line-height: 1.4;
}

#file-boxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-box {
    border: 2px solid #ff00ff;
    padding: 12px;
    background: rgba(255, 0, 255, 0.05);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.file-box-label {
    color: #ff00ff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.8);
}

.file-box-content {
    color: #ff00ff;
    font-size: 11px;
    opacity: 0.8;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.6);
}

#instructions {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #00ffff;
    padding: 10px;
    font-size: 12px;
    line-height: 1.6;
    color: #00ffff;
    z-index: 100;
    pointer-events: none;
}

/* Scrollbar styling */
#file-menu::-webkit-scrollbar {
    width: 8px;
}

#file-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

#file-menu::-webkit-scrollbar-thumb {
    background: #00ffff;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Glitch effect */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch {
    animation: glitch 0.3s infinite;
}

