*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(
        135deg,
        #0f172a,
        #1e293b,
        #0f172a
    );
    padding:20px;
}

.container{
    width:100%;
    max-width:900px;
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:20px;
    padding:30px;
    text-align:center;
    color:white;
    box-shadow:0 20px 40px rgba(0,0,0,.3);
}

h1{
    font-size:2.5rem;
    margin-bottom:10px;
}

.subtitle{
    color:#cbd5e1;
    margin-bottom:25px;
}

.status{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 20px;
    border-radius:30px;
    background:rgba(255,255,255,0.08);
    margin-bottom:25px;
}

.dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#22c55e;
}

.controls{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:25px;
}

button{
    border:none;
    cursor:pointer;
    padding:14px 25px;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    transition:0.3s;
}

button:hover{
    transform:translateY(-3px);
}

button:disabled{
    opacity:0.6;
    cursor:not-allowed;
}

#startBtn{
    background:#22c55e;
    color:white;
}

#pauseBtn{
    background:#f59e0b;
    color:white;
}

#stopBtn{
    background:#ef4444;
    color:white;
}

#downloadBtn{
    background:#3b82f6;
    color:white;
    display:none;
}

video{
    width:100%;
    border-radius:15px;
    background:black;
    margin-top:15px;
}

.footer{
    margin-top:20px;
    color:#94a3b8;
    font-size:14px;
}

@media(max-width:768px){

    h1{
        font-size:2rem;
    }

    .controls{
        flex-direction:column;
    }

    button{
        width:100%;
    }
}