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

body {
    background: #000;
    color: #fff;
    font-family: 'Space Mono', monospace;
    overflow: hidden;
    height: 100vh;
}

canvas {
    display: block;
    width: 100vw;
    height: 100vh;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.01) 0%,
        transparent 50%,
        rgba(0,0,0,0.05) 50%,
        rgba(0,0,0,0.05)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 3;
}

.vignette-subtle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 4;
}

.ui-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.status {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.5s ease;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.5);
}

.status:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    color: rgba(255, 255, 255, 0.8);
}

.status.in-call {
    color: rgba(255, 100, 100, 0.6);
    border-color: rgba(255, 100, 100, 0.2);
}

.status.in-call:hover {
    color: rgba(255, 100, 100, 0.9);
    border-color: rgba(255, 100, 100, 0.4);
    background: rgba(255, 100, 100, 0.08);
}

.status.pre-call {
    bottom: 140px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    color: rgba(80, 220, 160, 0.7);
    border-color: rgba(80, 220, 160, 0.3);
    border-width: 2px;
    padding: 16px 36px;
}

.status.pre-call:hover {
    border-color: rgba(80, 220, 160, 0.6);
    color: rgba(80, 220, 160, 0.95);
    background: rgba(80, 220, 160, 0.06);
}

.demo-notice {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.3em;
    line-height: 1.6;
    color: rgba(255, 120, 120, 0.45);
    text-align: center;
    pointer-events: none;
}

.corner-l, .corner-r {
    position: absolute;
    top: 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
}

.corner-l { left: 40px; }
.corner-r { right: 40px; text-align: right; }

.state-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    letter-spacing: 0.5em;
    color: rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.state-indicator.visible {
    opacity: 1;
}

@media (max-width: 600px) {
    .demo-notice {
        top: 10px;
        font-size: 8px;
        letter-spacing: 0.2em;
    }

    .corner-l, .corner-r {
        top: 50px;
        font-size: 11px;
        letter-spacing: 0.2em;
    }

    .corner-l { left: 20px; }
    .corner-r { right: 20px; }

    .status.pre-call {
        letter-spacing: 0.3em;
        padding: 14px 28px;
        font-size: 13px;
    }
}

