/* Tron Aesthetic Core Variables */
:root {
    --bg-color: #000000;
    --panel-bg: rgba(10, 10, 10, 0.85);
    --border-color: rgba(0, 229, 255, 0.2);
    --border-glow: rgba(0, 229, 255, 0.4);
    --text-primary: #00e5ff;
    --text-muted: rgba(0, 229, 255, 0.5);
    --accent: #00e5ff;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden; /* Prevent scrolling, canvas is full screen */
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: var(--panel-bg);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.brand {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-right: 32px;
}

.active-effect-title {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Layout Setup */
.layout-container {
    display: flex;
    margin-top: 60px; /* Offset for top nav */
    height: calc(100vh - 60px);
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: var(--panel-bg);
    border-right: 1px solid var(--border-color);
    padding: 24px 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.effect-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.effect-item {
    padding: 12px 24px;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--text-muted);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.effect-item:hover {
    background: rgba(0, 229, 255, 0.05);
    color: var(--text-primary);
}

.effect-item.active {
    background: rgba(0, 229, 255, 0.1);
    color: var(--text-primary);
    border-left: 3px solid var(--accent);
    box-shadow: inset 20px 0 20px -20px var(--border-glow);
}

/* Canvas Container acts as absolute background */
.canvas-container {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; 
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}
