:root {
    --bg: #f7f7f4;
    --card: #ffffff;
    --text: #111111;
    --muted: #6f6f66;
    --line: #e8e5dc;
    --dark: #171717;
    --accent: #d42121;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(20, 20, 20, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at top left, #fff 0, var(--bg) 38%, #efeee9 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-header {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: var(--dark);
    color: #fff;
    font-size: 14px;
    letter-spacing: .02em;
}

.top-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.top-nav a {
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
}

.top-nav a:hover {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, .65);
}

main {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 150px);
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 42px;
    padding: 42px 0 64px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: .93;
    letter-spacing: -.07em;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -.05em;
}

.intro {
    max-width: 460px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.watch-button,
.small-button,
.channel-button {
    border: 0;
    cursor: pointer;
}

.watch-button {
    min-width: 160px;
    padding: 16px 24px;
    border-radius: 999px;
    background: var(--dark);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(17, 17, 17, .20);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.watch-button:hover {
    transform: translateY(-2px);
    background: #000;
    box-shadow: 0 22px 48px rgba(17, 17, 17, .28);
}

.player-card {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.player-topbar {
    height: 62px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.player-topbar > div {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(212, 33, 33, .12);
}

.small-button {
    padding: 9px 13px;
    border-radius: 999px;
    background: #efeee9;
    color: #222;
    font-size: 13px;
    font-weight: 700;
}

.small-button:hover {
    background: #e3e1d8;
}

.player-shell {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0b0b0b;
}

.player-shell iframe,
.player-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-shell iframe {
    display: none;
    border: 0;
    background: #000;
}

.player-shell.is-loaded iframe {
    display: block;
}

.player-shell.is-loaded .player-placeholder {
    display: none;
}

.player-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
}

.player-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .56;
    filter: saturate(.9);
}

.placeholder-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, .14));
}

.placeholder-layer span {
    font-weight: 850;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -.05em;
}

.placeholder-layer p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .76);
}

.channels {
    padding: 10px 0 70px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.channel-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.channel-button {
    min-height: 92px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .70);
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.channel-button span,
.channel-button small {
    display: block;
}

.channel-button span {
    margin-bottom: 7px;
    font-weight: 850;
    font-size: 18px;
    letter-spacing: -.03em;
}

.channel-button small {
    color: var(--muted);
    font-size: 13px;
}

.channel-button:hover,
.channel-button.active {
    transform: translateY(-2px);
    border-color: rgba(17, 17, 17, .18);
    background: #fff;
}

.channel-button.active {
    box-shadow: 0 16px 38px rgba(17, 17, 17, .09);
}

.site-footer {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 36px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.site-footer p {
    margin: 0;
    color: var(--text);
    font-weight: 800;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 20px;
    }

    .hero-copy {
        text-align: left;
    }
}

@media (max-width: 580px) {
    .site-header,
    .site-footer {
        width: min(100% - 22px, 1160px);
    }

    main {
        width: min(100% - 22px, 1160px);
    }

    .top-nav {
        display: none;
    }

    h1 {
        font-size: 44px;
    }

    .player-topbar {
        height: auto;
        padding: 14px;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer {
        flex-direction: column;
    }
}
