* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    text-align: center;
}
h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 600;
}
.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 4 / 3;
}
video, canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
canvas {
    pointer-events: none;
}
.controls {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 48px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn.primary {
    background: #007aff;
    color: white;
}
.btn.secondary {
    background: #3a3a3c;
    color: white;
}
.btn.install {
    background: #34c759;
    color: white;
}
.btn:active {
    opacity: 0.7;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.status {
    margin-top: 20px;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 40px;
    font-size: 0.9rem;
}
@media (max-width: 480px) {
    .btn {
        padding: 8px 16px;
        font-size: 1rem;
    }
    h1 {
        font-size: 1.4rem;
    }
}
