:root {
    --neon: #00f2ff;
    --danger: #ff0055;
    --bg: #020617;
    --glass: rgba(255, 255, 255, 0.03);
}

body {
    background-color: var(--bg);
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.container { width: 95%; max-width: 1100px; padding: 40px 0; }

header { text-align: center; margin-bottom: 30px; }
.neon-text { 
    font-weight: 800; font-size: 3rem; margin: 0; color: var(--neon);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
    letter-spacing: -2px;
}
.version { font-size: 14px; vertical-align: top; background: var(--neon); color: #000; padding: 2px 8px; border-radius: 5px; }
.subtitle { color: #64748b; font-size: 14px; margin-top: 5px; }

.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 25px;
}

.panel-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #475569; }

.main-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

.video-container {
    position: relative; width: 100%; border-radius: 15px; overflow: hidden;
    background: #000; border: 1px solid rgba(0, 242, 255, 0.3);
}

video, canvas { width: 100%; height: auto; display: block; }
canvas { position: absolute; top: 0; left: 0; }

.live-dashboard {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 20px; padding: 15px; background: rgba(0,0,0,0.3); border-radius: 15px;
}

.stat-group { text-align: center; }
.label { font-size: 10px; color: #64748b; font-weight: 800; letter-spacing: 2px; }
.counter { font-size: 5rem; font-weight: 800; color: #fff; text-shadow: 0 0 20px var(--neon); line-height: 1; }

.pill-container { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; width: 60%; }
.pill { 
    padding: 6px 12px; font-size: 9px; border-radius: 20px; 
    border: 1px solid rgba(255,255,255,0.1); color: #64748b; font-weight: bold;
}
.pill.active { background: var(--neon); color: #000; border-color: #fff; opacity: 1; }

.action-btns { margin-top: 20px; display: flex; gap: 10px; }
button { 
    flex: 1; padding: 15px; border-radius: 14px; border: none; 
    font-weight: 800; cursor: pointer; transition: 0.3s;
}

.btn-primary { background: var(--neon); color: #000; box-shadow: 0 0 15px rgba(0, 242, 255, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 25px var(--neon); }
.btn-danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }

/* Voice Panel */
.voice-panel h3 { font-size: 14px; letter-spacing: 2px; color: #64748b; text-align: center; }
.voice-visualizer {
    width: 90px; height: 90px; background: rgba(255,255,255,0.05); 
    border: 2px solid var(--neon); border-radius: 50%;
    margin: 30px auto; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 32px; transition: 0.3s;
}
.transcript-box {
    height: 250px; overflow-y: auto; background: rgba(0,0,0,0.3);
    border-radius: 15px; padding: 15px; font-size: 13px; color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.05);
}
.transcript-box p { margin: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 5px; }

@media (max-width: 768px) {
    .main-layout { grid-template-columns: 1fr; }
    .neon-text { font-size: 2rem; }
}
