:root {
    --page: #121e2b;
    --white: #f7f8fb;
    --muted: #aeb7c3;
    --blue: #1590f7;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--page);
}

body {
    min-width: 320px;
    height: 100dvh;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 28%, rgba(42, 63, 84, .16), transparent 36rem),
        var(--page);
    color: var(--white);
    font-family: "Outfit", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.page-shell {
    display: flex;
    height: 100dvh;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 1160px);
    height: 100%;
    text-align: center;
}

.brand-logo {
    display: block;
    width: clamp(190px, 25vw, 290px);
    height: auto;
    margin: 0 auto min(2dvh, 1.7rem);
    flex-shrink: 0;
}

h1 {
    max-width: 54rem;
    padding-top: min(3dvh, 2rem);
    margin: 0 auto;
    color: var(--white);
    flex-shrink: 0;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.18;
    text-wrap: balance;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.text-gradient {
    background: linear-gradient(135deg, #1590f7 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.episode-prompt {
    margin: min(4dvh, 3.35rem) 0 min(1dvh, .55rem);
    color: var(--blue);
    flex-shrink: 0;
    font-size: clamp(1.1rem, 1.7vw, 1.38rem);
    font-weight: 700;
    line-height: 1.3;
}

.episode-prompt a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.video-frame {
    container-type: inline-size;
    scroll-margin-top: 1rem;
    position: relative;
    width: 100%;
    max-width: 735px;
    max-height: calc(100dvh - 350px);
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #050608;
    flex-shrink: 1;
    min-height: 0;
    min-width: 0;
}

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

.video-fullscreen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.video-fullscreen:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: -3px;
}

.primary-btn {
    display: inline-block;
    margin: min(4dvh, 2.5rem) auto 0;
    padding: 1rem 2.5rem;
    background: var(--blue);
    color: white;
    font-size: clamp(1rem, 1.8dvh, 1.1rem);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(21, 144, 247, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.primary-btn:hover,
.primary-btn:focus-visible {
    background: #0d7ce0;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(21, 144, 247, 0.4);
}

.disclaimer {
    margin: min(4dvh, 4.9rem) auto 0;
    color: var(--muted);
    font-size: clamp(.77rem, 1.1vw, .93rem);
    font-weight: 400;
    line-height: 1.3;
    flex-shrink: 0;
}

.disclaimer strong {
    color: var(--white);
    font-weight: 700;
}

@media (max-width: 600px) {
    .page-shell {
        width: 100%;
        padding: min(2.2dvh, 2.2rem) 1rem min(2.5dvh, 2.5rem);
    }

    .brand-logo {
        width: min(72vw, 250px);
        margin-bottom: min(2dvh, 1.1rem);
    }

    h1 {
        max-width: 23rem;
        padding-top: min(2dvh, 1.35rem);
        font-size: clamp(2rem, 9.5vw, 3rem);
        line-height: 1.05;
        text-wrap: balance;
    }

    .episode-prompt {
        max-width: 22rem;
        margin: min(4dvh, 2.15rem) auto min(1.5dvh, .7rem);
        font-size: clamp(.9rem, 4vw, 1.05rem);
        line-height: 1.35;
    }

    .video-frame {
        width: 100%;
        max-width: 23rem;
    }

    .primary-btn {
        margin-top: min(3dvh, 1.5rem);
        padding: .85rem 2rem;
        font-size: clamp(.85rem, 1.6dvh, .95rem);
    }


    .disclaimer {
        width: min(100%, 22rem);
        margin-top: min(4dvh, 2.4rem);
        font-size: .75rem;
        line-height: 1.35;
    }

    .desktop-break {
        display: none;
    }
}