:root {
    --bg: #090b10;
    --surface: #11151d;
    --surface-2: #171c26;
    --surface-3: #202633;
    --text: #f6f7fb;
    --muted: #a8b0bf;
    --line: rgba(255,255,255,.09);
    --accent: #e50914;
    --accent-soft: rgba(229,9,20,.15);
    --max: 1200px;
    --radius: 18px;
    --shadow: 0 22px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 0%, rgba(255,255,255,.035), transparent 32%),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

.narrow { max-width: 820px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(9,11,16,.86);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    font-weight: 900;
    letter-spacing: -.04em;
    font-size: 1.4rem;
}

.brand-mark { letter-spacing: -.06em; }
.brand-tv {
    background: var(--accent);
    padding: 2px 7px 3px;
    border-radius: 6px;
    font-size: .9rem;
    letter-spacing: .04em;
}

.site-nav {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.site-nav a {
    color: var(--muted);
    padding: 9px 13px;
    border-radius: 10px;
    font-weight: 650;
    font-size: .94rem;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
    background: rgba(255,255,255,.06);
}

.header-status,
.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.header-status {
    padding-left: 10px;
    min-width: 78px;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #7f8794;
    box-shadow: 0 0 0 4px rgba(127,135,148,.12);
}

.stream-online .status-dot {
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft), 0 0 18px rgba(229,9,20,.6);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 10px;
    padding: 8px 11px;
}

.hero {
    padding: 46px 0 24px;
}

.hero-topline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.hero h1,
.page-hero h1,
.show-detail h1 {
    margin: 3px 0 0;
    font-size: clamp(2.5rem, 6vw, 5.2rem);
    line-height: .95;
    letter-spacing: -.065em;
}

.eyebrow,
.section-kicker {
    color: var(--muted);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.live-pill {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 10px 14px;
}

.player-shell {
    background: #000;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.player-frame {
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.now-playing-card {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.now-playing-card h2 {
    margin: 4px 0 2px;
    font-size: clamp(1.3rem, 3vw, 2rem);
}

.now-playing-card p { margin: 0; color: var(--muted); }

.section {
    padding: 58px 0;
}

.section-muted {
    background: rgba(255,255,255,.018);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.section-heading h2,
.schedule-day h2,
.prose h2 {
    margin: 4px 0 0;
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    letter-spacing: -.04em;
}

.text-link { color: var(--muted); font-weight: 700; }
.text-link:hover { color: var(--text); }

.show-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
}

.show-card {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease;
}

.show-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,.18);
}

.show-art {
    aspect-ratio: 16/10;
    background: var(--surface-3);
    overflow: hidden;
}

.show-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-placeholder {
    width: 100%;
    height: 100%;
    min-height: 190px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 30px;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -.04em;
    background:
        linear-gradient(135deg, rgba(255,255,255,.05), transparent),
        var(--surface-3);
}

.show-placeholder.large { min-height: 420px; }

.show-card-body { padding: 18px; }
.show-card-body span { color: var(--muted); font-size: .8rem; }
.show-card-body h2,
.show-card-body h3 { margin: 4px 0 6px; letter-spacing: -.03em; }
.show-card-body p { margin: 0; color: var(--muted); font-size: .93rem; }

.schedule-preview,
.schedule-page {
    display: grid;
    gap: 12px;
}

.schedule-row {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 22px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.schedule-row h3 { margin: 0 0 2px; }
.schedule-row p { margin: 0; color: var(--muted); }
.schedule-time { display: flex; flex-direction: column; }
.schedule-time span { color: var(--muted); font-size: .84rem; }

.schedule-day { margin-bottom: 32px; }
.schedule-day > h2 { margin-bottom: 14px; }

.page-hero {
    padding: 80px 0 46px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.045), transparent 45%);
}

.page-hero p,
.lead,
.prose p {
    color: var(--muted);
    font-size: 1.08rem;
}

.show-detail {
    padding: 70px 0;
}

.show-detail-grid {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 55px;
    align-items: center;
}

.show-detail-art {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
}

.show-detail-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.host-line { font-weight: 700; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--text);
    color: #090b10;
    font-weight: 800;
}

.button-secondary {
    background: var(--surface-3);
    color: var(--text);
    border: 1px solid var(--line);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 42px 0 25px;
    background: #07090d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
}

.footer-brand { font-size: 1.3rem; font-weight: 900; }
.site-footer p { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); }
.footer-bottom { color: #6f7784; font-size: .83rem; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
    .show-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .show-detail-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 680px) {
    .shell { width: min(calc(100% - 26px), var(--max)); }
    .nav-wrap { min-height: 64px; }
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .header-status { display: none; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 13px;
        right: 13px;
        flex-direction: column;
        padding: 10px;
        background: rgba(17,21,29,.98);
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }

    .hero { padding-top: 30px; }
    .hero-topline { align-items: flex-start; }
    .now-playing-card { align-items: flex-start; flex-direction: column; }
    .show-grid { grid-template-columns: 1fr; }
    .schedule-row { grid-template-columns: 90px 1fr; gap: 14px; padding: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 8px; }
    .section { padding: 42px 0; }
    .page-hero { padding: 55px 0 35px; }
}
