:root {
    --bg: #050505;
    --text: #ffffff;
    --accent: #00f2ff;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 4rem;
    pointer-events: none; /* Let clicks pass through to canvas where not interacting with UI */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #fff;
}

main {
    max-width: 600px;
    pointer-events: auto;
}

h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.controls {
    display: flex;
    gap: 1rem;
}

button {
    background: var(--glass);
    border: 1px solid var(--border);
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    border-radius: 4px;
}

button:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
}

button.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: bold;
}

footer {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    text-align: right;
}

@media (max-width: 768px) {
    .overlay { padding: 1.5rem; }
    h1 { font-size: 3rem; }
}