
:root {
    --bg: #0f172a;
    --panel: #111827;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --accent: #22c55e;
    --danger: #ef4444;
    --sari: #fecc00;
}
*{box-sizing:border-box}
body{margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji"; background:var(--bg); color:var(--text);}
.container{max-width:900px; margin: 40px auto; padding:24px;}
.card{background:linear-gradient(180deg, #0b1220, #0a0f1a); border:1px solid #1f2937; border-radius:16px; padding:20px; box-shadow: 0 10px 30px rgba(0,0,0,.3);}
h1{font-size:22px; margin:0 0 10px 0}
h2{font-size:16px; color:var(--muted); margin:0 0 20px 0}
.controls{display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin: 50px 0 16px 0}
button{border:none; border-radius:12px; padding:12px 16px; font-weight:600; cursor:pointer}
button.primary{background:var(--accent); color:#052e17}
button.stop{background:var(--danger); color:white}
button.secondary{background:#1f2937; color:#d1d5db; border:1px solid #374151}
input[type="text"]{flex:1; min-width:260px; padding:12px 14px; background:#0b1220; color:#e5e7eb; border:1px solid #1f2937; border-radius:12px}
.status {
    font-size: clamp(12px, 1.6vh, 14px);
    color: #fecc00;
    height: 18px
}
.row{display:flex; gap:16px; flex-wrap:wrap}
.col{flex:1 1 380px}
pre{white-space:pre-wrap; word-break:break-word; background:#0b1220; border:1px solid #1f2937; padding:12px; border-radius:12px; min-height:60px}
small.code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; color:#93c5fd}
audio{width:100%; margin-top:8px}
.badge{display:inline-block; padding:2px 8px; border:1px solid #374151; border-radius:999px; font-size:12px; color:#a5b4fc; margin-left:8px}
.footer{margin-top:30px; font-size:12px; color:#94a3b8}
.link{color:#93c5fd; text-decoration:none}
.link:hover{text-decoration:underline}
.intro-text {
    text-align: center;
    padding: 1.5vh 2vw;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    /*background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(67, 56, 202, 0.05));*/
}

    .intro-text img {
        width: min(150px, 10vw);
        height: auto;
        margin-bottom: 1vh;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .intro-text h2 {
        margin: 0;
        font-size: clamp(16px, 2.2vh, 20px);
        line-height: 1.3;
        font-weight: 600;
        /*background: linear-gradient(135deg, #fff, #e2e8f0);*/

        color: rgba(255, 255, 255, 0.8);
    }

    .intro-text p {
        margin: 1vh 0 1.5vh;
        font-size: clamp(12px, 1.6vh, 14px);
        color: rgba(255, 255, 255, 0.8);
        font-weight: 400;
    }

#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}
