:root {
    --bg-top: #f4efe2;
    --bg-bottom: #d8e7f5;
    --ink: #132033;
    --muted: rgba(19, 32, 51, 0.72);
    --panel: rgba(255, 250, 244, 0.82);
    --frame: #0c1422;
    --accent: #ff6f3c;
    --shadow: 0 30px 80px rgba(19, 32, 51, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Avenir Next", "Futura", "Trebuchet MS", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 111, 60, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(26, 112, 255, 0.24), transparent 32%),
        linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
}

.shell {
    width: min(1080px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 40px 0 56px;
}

.hero {
    margin-bottom: 28px;
}

.eyebrow {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--muted);
}

h1 {
    margin: 0;
    max-width: 10ch;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.intro {
    margin: 16px 0 0;
    max-width: 42rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.55;
    color: var(--muted);
}

.player-panel {
    padding: 22px;
    border: 1px solid rgba(12, 20, 34, 0.08);
    border-radius: 28px;
    background: var(--panel);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.screen-frame {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
        var(--frame);
    aspect-ratio: 1 / 1;
}

.screen-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    pointer-events: none;
}

video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 16px;
}

#stream-state {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(12, 20, 34, 0.08);
    font-size: 0.95rem;
    color: var(--ink);
}

#stream-state::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(255, 111, 60, 0.12);
}

@media (max-width: 720px) {
    .shell {
        width: min(100vw - 20px, 720px);
        padding: 24px 0 40px;
    }

    .player-panel {
        padding: 14px;
        border-radius: 20px;
    }

    .screen-frame,
    .screen-frame::after {
        border-radius: 18px;
    }
}
