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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: monospace;
}

#vds-root {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Video layer */
#gv-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

/* Canvas overlay for subliminal images */
#gv-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Metronome visual pulse */
#gv-metro-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 0, 80, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.05s ease-out;
}

#gv-metro-pulse.flash {
    opacity: 1;
}

/* Tool command overlay */
#gv-tool-command {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    font-size: 36px;
    font-weight: bold;
    color: #ff0050;
    text-shadow: 0 0 20px rgba(255, 0, 80, 0.8), 0 0 40px rgba(255, 0, 80, 0.4);
    text-align: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff0050;
    max-width: 80%;
    animation: tool-pulse 0.5s ease-in-out infinite alternate;
}

@keyframes tool-pulse {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

/* HUD */
#gv-hud {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
    font-size: 12px;
    opacity: 0.3;
}

/* Connection screen */
#connect-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    text-align: center;
}

#connect-screen h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff0050;
}

#connect-screen p {
    font-size: 16px;
    margin-bottom: 20px;
}

#connect-screen button {
    padding: 12px 32px;
    font-size: 18px;
    background: #ff0050;
    color: #fff;
    border: none;
    cursor: pointer;
    margin: 5px;
    font-family: monospace;
}

#connect-screen button:hover {
    background: #cc0040;
}

.hidden {
    display: none !important;
}
