:root {
    --white: #ffffff;
    --ice-50: #f5f9ff;
    --ice-100: #eaf2ff;
    --ice-200: #d8e8ff;
    --blue-50: #eef4ff;
    --blue-100: #dce8ff;
    --blue-400: #4b83f0;
    --blue-500: #2f6fed;
    --blue-600: #2158d1;
    --blue-700: #1a46ab;
    --blue-800: #153a8c;
    --blue-900: #0d2568;
    --navy-950: #081a4d;
    --ink: #0d1b33;
    --ink-soft: #4a5773;
    --ink-mute: #8291ad;
    --border: rgba(13, 37, 104, .10);
    --border-md: rgba(13, 37, 104, .16);
    --border-lt: rgba(255, 255, 255, .20);
    --max-w: 1600px;
    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 11px;
    --shadow-card: 0 10px 28px rgba(13, 37, 104, .08);
    --shadow-card-hover: 0 18px 44px rgba(13, 37, 104, .15);
    --shadow-blue: 0 14px 34px rgba(33, 88, 209, .28);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    line-height: 1.6;
    overflow-x: hidden;
}

.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .wrap {
        padding: 0 18px;
    }
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
}

/* ═══ ICON SPRITE ═══ */
svg.ico {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ═══ SECTION HEADING ═══ */
.sec-head {
    text-align: center;
    margin-bottom: 44px;
}

.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin-bottom: 12px;
}

.sec-eyebrow .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue-500);
}

.sec-head h2 {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

.sec-head h2 .accent {
    color: var(--blue-500);
}

.sec-head h2.on-dark {
    color: #fff;
}

.sec-head h2.on-dark .accent {
    color: #8fb4ff;
}

.sec-sub {
    font-size: 16px;
    color: var(--ink-mute);
    margin-top: 10px;
}

.sec-sub.on-dark {
    color: rgba(255, 255, 255, .65);
}

/* ═══════════════════════════════════════════
   SCREEN 1 — HERO
═══════════════════════════════════════════ */
#screen1 {
    padding-top: var(--nav-h);
    background: linear-gradient(180deg, var(--ice-50) 0%, var(--ice-50) 70%, var(--blue-50) 100%);
    position: relative;
}

/* ─ VIDEO BANNER ─
   The full 16:9 source remains intact inside the content frame.
   On ultra-wide screens a softly blurred duplicate continues the live picture
   into the side fields; the sharp source dissolves into it through a mask.
   A separate bottom veil blends the moving image into the page background. */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
    background: radial-gradient(circle at 18% 34%, rgba(255, 255, 255, .96), rgba(239, 247, 255, .82) 42%, transparent 67%),
    linear-gradient(90deg, #f5f9ff 0%, #e7f1ff 38%, #dfe9f3 58%, #e7f1ff 82%, #f5f9ff 100%);
}

/* The auxiliary video remains in the markup for compatibility, but is hidden.
   Ultra-wide side fields use the same clean ice background on both sides. */
.hero-ambient-video {
    display: none !important;
    position: absolute;
    inset: -8%;
    width: 116%;
    height: 116%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
    rgba(245, 249, 255, .66) 0%,
    rgba(245, 249, 255, .20) 18%,
    transparent 34%,
    transparent 66%,
    rgba(245, 249, 255, .20) 82%,
    rgba(245, 249, 255, .66) 100%);
}

/* Full-width lower dissolve, desktop only. */
.hero-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 15.5%;
    z-index: 5;
    pointer-events: none;
    display: none;
    background: linear-gradient(180deg,
    rgba(245, 249, 255, 0) 0%,
    rgba(245, 249, 255, .06) 24%,
    rgba(245, 249, 255, .24) 52%,
    rgba(245, 249, 255, .72) 82%,
    var(--ice-50) 100%);
}

.hero-video-frame {
    position: relative;
    z-index: 2;
    width: min(100%, var(--max-w));
    margin: 0 auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--ice-50);
}

/* Additional edge veils help hide any hard seam where the sharp source dissolves
   into the ambient continuation on ultra-wide desktops. */
.hero-video-frame::before,
.hero-video-frame::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
}

.hero-video-frame::before {
    left: -1px;
    width: 14%;
    background: linear-gradient(90deg,
    rgba(245, 249, 255, .94) 0%,
    rgba(245, 249, 255, .62) 24%,
    rgba(245, 249, 255, .18) 58%,
    rgba(245, 249, 255, 0) 100%);
}

.hero-video-frame::after {
    right: -1px;
    width: 18%;
    background: linear-gradient(90deg,
    rgba(245, 249, 255, 0) 0%,
    rgba(245, 249, 255, .12) 28%,
    rgba(245, 249, 255, .38) 52%,
    rgba(245, 249, 255, .72) 76%,
    rgba(245, 249, 255, .96) 100%);
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

/* Desktop diagonal support for the left content area. */
.hero-overlay-tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: none;
    background: linear-gradient(101deg,
    rgba(245, 249, 255, .96) 0%,
    rgba(245, 249, 255, .88) 22%,
    rgba(245, 249, 255, .48) 42%,
    rgba(245, 249, 255, .10) 59%,
    transparent 77%);
}

/* A subtle local fade inside the source frame supports the full-width dissolve. */
.hero-overlay-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: none;
}

/* Mobile: a compact glass panel rather than a film over the whole video. */
.hero-mobile-heading {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 16px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 16px 16px;
    pointer-events: none;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(13, 37, 104, .18), inset 0 1px 0 rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    backdrop-filter: blur(16px) saturate(1.08);
}

.hero-mobile-heading .hero-title {
    font-size: clamp(29px, 8.2vw, 37px);
    line-height: 1.02;
    margin: 0 0 5px;
    letter-spacing: -.025em;
    text-shadow: none;
}

.hero-mobile-heading .hero-sub {
    font-size: clamp(14px, 3.9vw, 17px);
    line-height: 1.3;
    margin: 0;
    max-width: 100%;
    color: #42516c;
    text-shadow: none;
}

@media (max-width: 420px) {
    .hero-mobile-heading {
        left: 12px;
        right: 12px;
        bottom: 13px;
        padding: 14px 14px 15px;
        border-radius: 16px;
    }

    .hero-mobile-heading .hero-title {
        font-size: 30px;
    }

    .hero-mobile-heading .hero-sub {
        font-size: 14px;
    }
}

@media (min-width: 960px) {
    .hero-banner {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        height: min(calc(100vw * 9 / 16), calc(var(--max-w) * 9 / 16));
    }

    .hero-video-frame {
        height: 100%;
        width: min(100%, var(--max-w));
        aspect-ratio: 16/9;
    }

    .hero-mobile-heading {
        display: none;
    }

    .hero-overlay-tint {
        display: block;
    }

    .hero-overlay-fade {
        display: none;
    }

    .hero-banner::after {
        display: block;
    }
}

.hero-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 28px 18px 0;
    display: grid;
    grid-template-columns:1fr;
    gap: 24px;
    position: relative;
    z-index: 3;
}

@media (max-width: 959px) {
    .hero-left > .hero-title,
    .hero-left > .hero-sub {
        display: none;
    }
}

@media (min-width: 960px) {
    .hero-grid {
        grid-template-columns:1.02fr .98fr;
        gap: 44px;
        align-items: start;
        padding: clamp(112px, 7.6vw, 146px) 40px 0;
        min-height: min(calc(100vw * 9 / 16), calc(var(--max-w) * 9 / 16));
    }

    .hero-left {
        max-width: 590px;
        padding-left: clamp(0px, 1.1vw, 18px);
    }

    .hero-left .hero-title {
        margin-bottom: 9px;
    }

    .hero-left .hero-sub {
        margin-bottom: 18px;
    }

    .hero-left .hero-desc {
        margin-bottom: 29px;
    }

    .hero-left .hero-btns {
        margin-bottom: 0;
    }
}

/* Ultra-wide layouts keep clean symmetric side fields and dissolve only
   the central video into the page background. */
@media (min-width: 1601px) {
    .hero-video-frame {
        -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, .16) 1.8%,
        rgba(0, 0, 0, .58) 4.8%,
        rgba(0, 0, 0, .9) 8.2%,
        #000 12.2%,
        #000 84.8%,
        rgba(0, 0, 0, .9) 88.8%,
        rgba(0, 0, 0, .58) 93.0%,
        rgba(0, 0, 0, .16) 97.0%,
        transparent 100%);
        mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, .16) 1.8%,
        rgba(0, 0, 0, .58) 4.8%,
        rgba(0, 0, 0, .9) 8.2%,
        #000 12.2%,
        #000 84.8%,
        rgba(0, 0, 0, .9) 88.8%,
        rgba(0, 0, 0, .58) 93.0%,
        rgba(0, 0, 0, .16) 97.0%,
        transparent 100%);
    }

    .hero-video-frame::before,
    .hero-video-frame::after {
        opacity: 1;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue-600);
    background: var(--white);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(13, 37, 104, .08);
}

.hero-eyebrow svg {
    width: 15px;
    height: 15px;
}

.hero-title {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.03;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.hero-title .v {
    color: var(--blue-500);
}

.hero-sub {
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: var(--ink-mute);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 34px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue-500);
    color: #fff;
    border: none;
    padding: 15px 28px;
    border-radius: 13px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .22s;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(33, 88, 209, .35);
}

.btn-primary svg {
    width: 17px;
    height: 17px;
    transition: transform .22s;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--border-md);
    padding: 14px 26px;
    border-radius: 13px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .22s;
}

.btn-secondary:hover {
    background: var(--blue-50);
    border-color: var(--blue-500);
    color: var(--blue-600);
    box-shadow: 0 8px 20px rgba(13, 37, 104, .08);
}

.btn-secondary svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* ─ HERO RIGHT — transparent spacer, background video shows through ─ */
.hero-right {
    position: relative;
    min-height: 480px;
}

@media (max-width: 960px) {
    .hero-right {
        display: none;
    }
}

/* format cards row */
.format-row {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 52px 40px 60px;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 2;
}

@media (max-width: 1280px) {
    .format-row {
        grid-template-columns:repeat(2, 1fr);
        padding: 40px 18px 48px;
    }
}

@media (max-width: 640px) {
    .format-row {
        grid-template-columns:1fr;
    }
}

.fmt-card {
    background: #fff;
    border-radius: var(--r-md);
    padding: 24px 22px;
    box-shadow: var(--shadow-card);
    transition: all .25s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.fmt-card:visited {
    color: inherit;
}

.fmt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.fmt-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blue-50);
    color: var(--blue-500);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fmt-ico svg {
    width: 22px;
    height: 22px;
}

.fmt-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.fmt-points {
    margin-left: auto;
    color: var(--blue-500);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}

.fmt-desc {
    font-size: 13.5px;
    color: var(--ink-mute);
    line-height: 1.55;
    flex: 1;
}

/* ═══════════════════════════════════════════
   SCREEN 2 — CALENDAR + SERIAL (deep blue bg)
═══════════════════════════════════════════ */
#screen2 {
    position: relative;
    background: linear-gradient(180deg, var(--blue-800) 0%, var(--navy-950) 45%, #143063 78%, var(--ice-50) 100%);
    padding: 80px 0 70px;
    overflow: hidden;
}

#screen2::before {
    content: '';
    position: absolute;
    top: 8%;
    left: -6%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(120, 170, 255, .16), transparent 70%);
    pointer-events: none;
}

#screen2::after {
    content: '';
    position: absolute;
    bottom: 18%;
    right: -4%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(60, 120, 230, .14), transparent 70%);
    pointer-events: none;
}

.calendar-section {
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.month-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.month-tab {
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .75);
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    transition: all .25s;
}

.month-tab svg {
    width: 17px;
    height: 17px;
}

.month-tab:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.month-tab.active {
    background: #fff;
    color: var(--blue-700);
    border-color: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
}

.cal-card {
    background: #fff;
    border-radius: var(--r-lg);
    padding: 36px;
    box-shadow: 0 30px 60px rgba(3, 12, 40, .35);
}

@media (max-width: 600px) {
    .cal-card {
        padding: 22px 18px;
    }
}

.cal-card-head {
    margin-bottom: 24px;
}

.cal-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.cal-card-sub {
    font-size: 14px;
    color: var(--ink-mute);
}

.month-content {
    display: none;
    animation: fadeSlide .35s ease;
}

.month-content.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .content-grid {
        grid-template-columns:1fr;
    }
}

.c-item {
    background: var(--ice-50);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 20px;
    display: grid;
    grid-template-columns:40px minmax(0, 1fr);
    grid-template-areas:
    "icon title"
    "desc desc"
    ". arrow";
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
    transition: all .22s;
    text-decoration: none;
}

.c-item:hover {
    background: var(--blue-50);
    border-color: var(--border-md);
    transform: translateY(-2px);
}

.c-ico {
    grid-area: icon;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    box-shadow: 0 4px 10px rgba(13, 37, 104, .06);
}

.c-ico svg {
    width: 18px;
    height: 18px;
}

.c-title {
    grid-area: title;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}

.c-desc {
    grid-area: desc;
    font-size: 13px;
    color: var(--ink-mute);
    line-height: 1.5;
    min-height: 3em;
}

.c-arrow {
    grid-area: arrow;
    justify-self: end;
    align-self: end;
    color: var(--blue-500);
}

.c-arrow svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 600px) {
    .c-item {
        padding: 18px;
        column-gap: 11px;
    }

    .c-desc {
        min-height: 0;
    }
}

/* SERIAL */
.serial-section {
    position: relative;
    z-index: 1;
}

.serial-grid {
    display: grid;
    grid-template-columns:340px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

@media (max-width: 960px) {
    .serial-grid {
        grid-template-columns:1fr;
    }
}

.serial-featured {
    background: linear-gradient(150deg, #fff, var(--ice-100));
    border-radius: var(--r-lg);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(3, 12, 40, .25);
}

.feat-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--blue-600);
    background: var(--blue-50);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    align-self: flex-start;
}

.feat-title {
    font-family: 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 12px;
}

.feat-desc {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.episodes-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 12px;
}

/* Keep video previews comfortably wide: switch to a 2×2 episode grid
   before four columns start turning into narrow vertical cards. */
@media (max-width: 1280px) {
    .episodes-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .episodes-grid {
        grid-template-columns:1fr;
    }
}

.ep-card {
    display: block;
    background: #fff;
    border-radius: var(--r-md);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    cursor: default;
    transition: all .25s;
    box-shadow: 0 14px 34px rgba(3, 12, 40, .2);
}

.episodes-grid > a.ep-card {
    cursor: pointer;
}

.ep-card:visited {
    color: inherit;
}

.ep-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(3, 12, 40, .28);
}

.ep-thumb {
    height: 118px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, var(--blue-700), var(--blue-900));
    display: flex;
    align-items: center;
    justify-content: center;
}

.ep-thumb-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ep-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(8, 26, 77, .10) 0%, rgba(8, 26, 77, .04) 38%, rgba(8, 26, 77, .24) 100%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .14), transparent 52%);
}

.ep-thumb::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 48px;
    z-index: 0;
    background: linear-gradient(180deg, rgba(8, 26, 77, 0) 0%, rgba(8, 26, 77, .18) 100%);
}

.ep-num {
    position: absolute;
    top: 10px;
    left: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .82);
    letter-spacing: .05em;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(8, 26, 77, .25);
}

.play-ring {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1.5px solid rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 1;
    transition: all .22s;
    backdrop-filter: blur(4px);
}

.ep-card:hover .play-ring {
    background: #fff;
    color: var(--blue-600);
}

.play-ring svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.ep-body {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ep-title {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 3px;
}

.ep-meta {
    font-size: 12px;
    color: var(--ink-mute);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ep-meta svg {
    width: 12px;
    height: 12px;
}

.ep-go {
    color: var(--blue-500);
}

.ep-go svg {
    width: 15px;
    height: 15px;
}

/* ═══════════════════════════════════════════
   SCREEN 3 — FORMATS + DRUGS (white bg)
═══════════════════════════════════════════ */
#screen3 {
    background: var(--ice-50);
    padding: 80px 0 40px;
}

.formats-section {
    margin-bottom: 78px;
}

.formats-grid {
    display: grid;
    grid-template-columns:320px repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1100px) {
    .formats-grid {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 580px) {
    .formats-grid {
        grid-template-columns:1fr;
    }
}

.formats-featured {
    background: linear-gradient(150deg, var(--blue-700), var(--navy-950));
    border-radius: var(--r-lg);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 46px rgba(13, 37, 104, .22);
}

.formats-featured::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
}

.lib-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.lib-ico svg {
    width: 26px;
    height: 26px;
}

.lib-title {
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
}

.lib-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.65;
    flex: 1;
    position: relative;
    z-index: 1;
}

.f-tile {
    background: #fff;
    color: inherit;
    text-decoration: none;
    border-radius: var(--r-lg);
    padding: 26px 24px;
    display: grid;
    grid-template-columns:48px minmax(0, 1fr);
    grid-template-rows:auto 1fr auto;
    grid-template-areas:
    "icon title"
    "desc desc"
    "button button";
    align-items: center;
    column-gap: 13px;
    row-gap: 12px;
    transition: all .25s;
    box-shadow: var(--shadow-card);
}

.f-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.f-ico {
    grid-area: icon;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--blue-50);
    color: var(--blue-500);
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-ico svg {
    width: 23px;
    height: 23px;
}

.f-title {
    grid-area: title;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.f-desc {
    grid-area: desc;
    font-size: 14px;
    color: var(--ink-mute);
    line-height: 1.6;
    align-self: start;
}

.btn-go {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-600);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    align-self: flex-start;
    transition: gap .2s;
    margin-top: auto;
}

.f-tile > .btn-go {
    grid-area: button;
    justify-self: start;
}

.btn-go:hover {
    gap: 11px;
}

.btn-go svg {
    width: 15px;
    height: 15px;
}

/* DRUGS */
.drugs-section {
    padding-bottom: 20px;
}

.drugs-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 16px;
}

/* Keep future drug preview images comfortably wide: use a 2×2 grid at the
   same early breakpoint as the episode previews instead of waiting for 900px. */
@media (max-width: 1280px) {
    .drugs-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .drugs-grid {
        grid-template-columns:1fr;
    }
}

.drug-card {
    background: #fff;
    border-radius: var(--r-md);
    overflow: hidden;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    transition: all .25s;
    box-shadow: var(--shadow-card);
}

.drug-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.drug-thumb {
    height: 110px;
    background: linear-gradient(150deg, var(--ice-100), var(--blue-100));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-500);
    position: relative;
    overflow: hidden;
}

.drug-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 25%, rgba(255, 255, 255, .5), transparent 55%);
}

.drug-thumb svg {
    width: 38px;
    height: 38px;
    position: relative;
    z-index: 1;
}

.drug-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.drug-name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.drug-sub {
    font-size: 13px;
    color: var(--ink-mute);
}

/* ═══ SCROLL DOWN BUTTON ═══ */
.scroll-dn {
    text-align: center;
    padding: 36px 0 0;
    position: relative;
    z-index: 1;
}

.scroll-dn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    cursor: pointer;
    transition: all .22s;
    animation: bounce 2.2s ease-in-out infinite;
}

.scroll-dn-btn.dark {
    background: var(--white);
    border-color: var(--border);
    color: var(--blue-500);
}

.scroll-dn-btn:hover {
    background: rgba(255, 255, 255, .2);
}

.scroll-dn-btn svg {
    width: 17px;
    height: 17px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
}

/* ═══ FOOTER ═══ */
footer {
    text-align: center;
    padding: 44px 0 32px;
    margin-top: 20px;
    border-top: 1px solid var(--border);
}

.foot-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

.foot-logo .lm {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    display: flex;
    align-items: center;
    justify-content: center;
}

.foot-logo .lm svg {
    width: 15px;
    height: 15px;
    color: #fff;
}

.foot-logo span {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.foot-logo span .v {
    color: var(--blue-500);
}

footer p {
    font-size: 13.5px;
    color: var(--ink-mute);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--ice-100);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-400);
    border-radius: 3px;
}


/* ═══════════════════════════════════════════
   PREMIUM POLISH PASS — presentation only
   Structure and copy intentionally unchanged.
═══════════════════════════════════════════ */
:root {
    --surface-glass: rgba(255, 255, 255, .88);
    --surface-soft: rgba(255, 255, 255, .72);
    --line-soft: rgba(13, 37, 104, .085);
    --line-blue: rgba(47, 111, 237, .18);
    --shadow-soft: 0 14px 40px rgba(13, 37, 104, .075);
    --shadow-lift: 0 24px 58px rgba(13, 37, 104, .14);
    --ease-premium: cubic-bezier(.2, .75, .25, 1);
}

html {
    scroll-padding-top: calc(var(--nav-h) + 18px);
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

button:focus-visible, a:focus-visible {
    outline: 3px solid rgba(47, 111, 237, .28);
    outline-offset: 3px;
}

/* Shared section rhythm. */
.sec-head {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 46px;
}

.sec-eyebrow {
    margin-bottom: 13px;
}

.sec-head h2 {
    letter-spacing: -.025em;
}

.sec-sub {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* Hero typography and CTA refinement. */
.hero-left {
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .18));
}

.hero-eyebrow {
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 8px 24px rgba(13, 37, 104, .085), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.hero-title {
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hero-sub {
    letter-spacing: -.018em;
}

.hero-desc {
    line-height: 1.72;
}

.hero-btns {
    align-items: center;
}

.btn-primary, .btn-secondary {
    min-height: 50px;
    transition: transform .28s var(--ease-premium), box-shadow .28s var(--ease-premium), background .28s var(--ease-premium), border-color .28s var(--ease-premium), color .28s var(--ease-premium);
}

.btn-primary {
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 14px 32px rgba(33, 88, 209, .25), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.btn-secondary {
    background: rgba(255, 255, 255, .91);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 26px rgba(13, 37, 104, .075), inset 0 1px 0 rgba(255, 255, 255, .92);
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

/* Compact format cards: icon, title and points share one row. */
.format-row {
    gap: 18px;
    padding-top: 46px;
    padding-bottom: 58px;
}

.fmt-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns:46px minmax(0, 1fr);
    grid-template-rows:auto;
    column-gap: 14px;
    row-gap: 0;
    min-height: auto;
    padding: 18px 20px;
    border: 1px solid rgba(13, 37, 104, .07);
    background: linear-gradient(155deg, rgba(255, 255, 255, .99), rgba(250, 252, 255, .94));
    box-shadow: var(--shadow-soft);
    transition: transform .32s var(--ease-premium), box-shadow .32s var(--ease-premium), border-color .32s var(--ease-premium);
}

.fmt-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    right: -46px;
    top: -58px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 111, 237, .085), transparent 68%);
    opacity: .72;
    transition: transform .4s var(--ease-premium), opacity .4s var(--ease-premium);
}

.fmt-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 111, 237, .16);
    box-shadow: var(--shadow-lift);
}

.fmt-card:hover::before {
    transform: scale(1.18);
    opacity: 1;
}

.fmt-ico {
    grid-column: 1;
    grid-row: 1;
    width: 46px;
    height: 46px;
    background: linear-gradient(145deg, #f4f8ff, #e8f0ff);
    box-shadow: inset 0 0 0 1px rgba(47, 111, 237, .055);
}

.fmt-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    font-size: 16.5px;
    letter-spacing: -.015em;
    line-height: 1.3;
}

.fmt-desc {
    grid-column: 1 / 3;
    grid-row: 2;
    align-self: start;
    line-height: 1.58;
}

/* Screen 2: deeper atmosphere with cleaner cards. */
#screen2 {
    padding-top: 92px;
    padding-bottom: 82px;
    background: radial-gradient(circle at 12% 13%, rgba(118, 166, 255, .18), transparent 31%),
    radial-gradient(circle at 86% 56%, rgba(58, 112, 230, .16), transparent 32%),
    linear-gradient(180deg, #173f92 0%, #081a4d 43%, #122f64 78%, var(--ice-50) 100%);
}

.calendar-section {
    margin-bottom: 78px;
}

.month-tabs {
    gap: 10px;
    margin-bottom: 32px;
}

.month-tab {
    min-height: 46px;
    padding: 11px 21px;
    background: rgba(255, 255, 255, .075);
    border-color: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.month-tab:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .26);
}

.month-tab.active {
    box-shadow: 0 14px 32px rgba(2, 10, 36, .22), inset 0 1px 0 rgba(255, 255, 255, .9);
    transform: translateY(-2px);
}

.cal-card {
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: linear-gradient(155deg, rgba(255, 255, 255, .99), rgba(247, 250, 255, .97));
    box-shadow: 0 34px 76px rgba(3, 12, 40, .31), inset 0 1px 0 rgba(255, 255, 255, .92);
}

.cal-card-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.cal-card-title {
    font-size: 20px;
    letter-spacing: -.02em;
}

.content-grid {
    gap: 16px;
}

.c-item {
    position: relative;
    min-height: 196px;
    padding: 21px;
    border-color: rgba(13, 37, 104, .07);
    background: linear-gradient(155deg, #f8fbff, #f2f7ff);
    transition: transform .3s var(--ease-premium), box-shadow .3s var(--ease-premium), border-color .3s var(--ease-premium), background .3s var(--ease-premium);
}

.c-item:hover {
    transform: translateY(-5px);
    border-color: rgba(47, 111, 237, .17);
    background: #fff;
    box-shadow: 0 18px 38px rgba(13, 37, 104, .11);
}

.c-ico {
    width: 40px;
    height: 40px;
}

.c-title {
    font-size: 15px;
    letter-spacing: -.012em;
}

.c-desc {
    line-height: 1.58;
}

.c-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 111, 237, .08);
    transition: transform .25s var(--ease-premium), background .25s, color .25s;
}

.c-item:hover .c-arrow {
    transform: translateX(3px);
    background: var(--blue-500);
    color: #fff;
}

.serial-grid {
    gap: 18px;
}

.serial-featured {
    padding: 32px 29px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: linear-gradient(150deg, #fff 0%, #edf4ff 100%);
    box-shadow: 0 26px 58px rgba(3, 12, 40, .23), inset 0 1px 0 rgba(255, 255, 255, .95);
}

.feat-title {
    font-size: 22px;
    letter-spacing: -.025em;
}

.feat-desc {
    line-height: 1.68;
}

.episodes-grid {
    gap: 14px;
}

.ep-card {
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 16px 38px rgba(3, 12, 40, .18);
    transition: transform .32s var(--ease-premium), box-shadow .32s var(--ease-premium);
}

.ep-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 54px rgba(3, 12, 40, .27);
}

.ep-thumb {
    height: 124px;
    background: linear-gradient(145deg, #2d69df, #102d70);
}

.ep-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(3, 15, 51, .18));
}

.play-ring {
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 22px rgba(3, 12, 40, .2);
}

.ep-body {
    padding: 16px 17px;
}

/* Screen 3: stronger hierarchy and less template-like repetition. */
#screen3 {
    padding-top: 94px;
    padding-bottom: 0;
    background: linear-gradient(180deg, var(--ice-50), #fff 46%, #f8fbff 100%);
}

.formats-section {
    margin-bottom: 92px;
}

/* Library heading stays on one line while the viewport has enough room.
   Below the breakpoint it returns to natural wrapping. */
.formats-heading {
    max-width: none;
}

.formats-heading h2 {
    white-space: nowrap;
}

.formats-grid {
    gap: 18px;
}

.formats-featured {
    padding: 32px 28px;
    background: linear-gradient(145deg, #245fd3 0%, #153a8c 48%, #081a4d 100%);
    box-shadow: 0 26px 58px rgba(13, 37, 104, .23), inset 0 1px 0 rgba(255, 255, 255, .13);
}

.formats-featured::after {
    content: '';
    position: absolute;
    left: -20%;
    bottom: -44%;
    width: 320px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(83, 146, 255, .25), transparent 68%);
}

.lib-title {
    font-size: 20px;
    letter-spacing: -.02em;
}

.lib-desc {
    line-height: 1.7;
}

.f-tile {
    min-height: 286px;
    padding: 28px 25px;
    border: 1px solid rgba(13, 37, 104, .07);
    background: linear-gradient(155deg, #fff, #fbfdff);
    box-shadow: var(--shadow-soft);
    transition: transform .32s var(--ease-premium), box-shadow .32s var(--ease-premium), border-color .32s var(--ease-premium);
}

.f-tile:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(47, 111, 237, .15);
}

.f-title {
    font-size: 16.5px;
    letter-spacing: -.015em;
}

.f-desc {
    line-height: 1.65;
}

.btn-go {
    position: relative;
    min-height: 28px;
}

.btn-go::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transition: right .28s var(--ease-premium);
}

.btn-go:hover::after {
    right: 0;
}

.drugs-section {
    padding-bottom: 34px;
}

.drugs-grid {
    gap: 18px;
}

.drug-card {
    border: 1px solid rgba(13, 37, 104, .07);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(160deg, #fff, #fbfdff);
    transition: transform .32s var(--ease-premium), box-shadow .32s var(--ease-premium), border-color .32s var(--ease-premium);
}

.drug-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(47, 111, 237, .15);
}

.drug-thumb {
    height: 126px;
    background: radial-gradient(circle at 72% 18%, rgba(255, 255, 255, .9), transparent 35%),
    linear-gradient(145deg, #edf4ff, #dce9ff);
}

.drug-thumb svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 8px 16px rgba(47, 111, 237, .16));
}

.drug-body {
    padding: 20px 20px 21px;
    gap: 10px;
}

.drug-name {
    font-size: 16px;
    letter-spacing: -.012em;
}

footer {
    margin-top: 40px;
    padding-top: 50px;
    padding-bottom: 38px;
    background: rgba(255, 255, 255, .62);
}

/* Responsive polish without changing content order or structure. */
@media (max-width: 1100px) {
    .formats-heading {
        max-width: 820px;
    }

    .formats-heading h2 {
        white-space: normal;
    }

    .f-tile {
        min-height: 250px;
    }

    .cal-card-head {
        display: block;
    }
}

@media (max-width: 959px) {
    #screen1 {
        background: linear-gradient(180deg, #f5f9ff 0%, #f3f7fe 62%, #eef4ff 100%);
    }

    .hero-grid {
        padding-top: 30px;
    }

    .hero-desc {
        font-size: 15.5px;
        line-height: 1.72;
        margin-bottom: 28px;
    }

    .format-row {
        padding-top: 34px;
    }

    #screen2, #screen3 {
        padding-top: 72px;
    }
}

@media (max-width: 768px) {
    .sec-head {
        margin-bottom: 34px;
    }

    .sec-head h2 {
        font-size: 30px;
    }

    .hero-mobile-heading {
        box-shadow: 0 16px 42px rgba(13, 37, 104, .2), inset 0 1px 0 rgba(255, 255, 255, .96);
        background: rgba(255, 255, 255, .9);
    }

    .hero-btns {
        gap: 11px;
    }

    .btn-primary, .btn-secondary {
        padding-left: 22px;
        padding-right: 22px;
    }

    .format-row, .content-grid, .episodes-grid, .formats-grid, .drugs-grid {
        gap: 14px;
    }

    .cal-card {
        padding: 24px 20px;
    }

    .serial-featured {
        padding: 27px 23px;
    }

    .formats-featured, .f-tile {
        padding: 25px 22px;
    }

    .f-tile {
        min-height: 230px;
    }
}

@media (max-width: 580px) {
    .hero-grid {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .hero-btns {
        display: grid;
        grid-template-columns:1fr;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .format-row {
        padding-left: 18px;
        padding-right: 18px;
        padding-bottom: 52px;
    }

    .fmt-card {
        grid-template-columns:44px minmax(0, 1fr);
        grid-template-rows:auto;
        min-height: auto;
        padding: 17px 18px;
        column-gap: 12px;
        row-gap: 0;
    }

    .fmt-ico {
        width: 44px;
        height: 44px;
    }

    .month-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 2px 12px;
        scrollbar-width: none;
    }

    .month-tabs::-webkit-scrollbar {
        display: none;
    }

    .month-tab {
        flex: 0 0 auto;
    }

    .c-item {
        min-height: auto;
    }

    #screen2 {
        padding-bottom: 68px;
    }

    #screen3 {
        padding-top: 70px;
    }

    .formats-section {
        margin-bottom: 70px;
    }

    .drug-thumb {
        height: 112px;
    }

}

@media (max-width: 420px) {
    .hero-mobile-heading {
        left: 10px;
        right: 10px;
        bottom: 9px;
    }

    .hero-mobile-heading .hero-title {
        font-size: 29px;
    }

    .sec-head h2 {
        font-size: 27px;
    }

    .sec-eyebrow {
        font-size: 11.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══ CALENDAR MONTH TABS — IMAGE ICON EDITION ═══ */
.month-tabs {
    width: max-content;
    max-width: 100%;
    margin: 0 auto 38px;
    padding: 8px;
    gap: 8px;
    flex-wrap: nowrap;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 26px;
    background: rgba(4, 20, 61, .22);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    backdrop-filter: blur(16px) saturate(1.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 38px rgba(2, 10, 36, .12);
}

.month-tab {
    position: relative;
    display: grid;
    grid-template-columns:52px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-width: 176px;
    min-height: 68px;
    padding: 8px 18px 8px 8px;
    border-radius: 19px;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, .78);
    background: transparent;
    box-shadow: none;
    transform: none;
    isolation: isolate;
    overflow: hidden;
}

.month-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .025));
    opacity: .55;
    transition: opacity .28s ease, background .28s ease;
}

.month-tab::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
    opacity: 0;
    transform: scaleX(.55);
    transition: opacity .28s ease, transform .28s ease;
}

.month-tab-icon {
    width: 52px;
    height: 52px;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 18px rgba(2, 12, 42, .18), inset 0 0 0 1px rgba(255, 255, 255, .75);
    transition: transform .3s var(--ease-premium), box-shadow .3s var(--ease-premium);
}

.month-tab-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.month-tab-label {
    display: block;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-align: left;
}

.month-tab:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .18);
    background: transparent;
    transform: translateY(-2px);
}

.month-tab:hover::before {
    opacity: 1;
}

.month-tab:hover .month-tab-icon {
    transform: translateY(-1px) rotate(-1deg) scale(1.035);
    box-shadow: 0 11px 24px rgba(2, 12, 42, .24), inset 0 0 0 1px rgba(255, 255, 255, .85);
}

.month-tab.active {
    color: var(--blue-800);
    border-color: rgba(255, 255, 255, .96);
    background: linear-gradient(145deg, #fff 0%, #f4f8ff 100%);
    box-shadow: 0 16px 34px rgba(2, 10, 36, .23), inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.month-tab.active::before {
    opacity: 0;
}

.month-tab.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.month-tab.active .month-tab-icon {
    transform: translateY(-1px) scale(1.04);
    box-shadow: 0 10px 24px rgba(33, 88, 209, .20), inset 0 0 0 1px rgba(47, 111, 237, .08);
}

.month-tab:focus-visible {
    outline: 3px solid rgba(143, 180, 255, .72);
    outline-offset: 3px;
}

@media (max-width: 820px) {
    .month-tabs {
        justify-content: flex-start;
        width: auto;
        max-width: none;
        margin-left: -2px;
        margin-right: -2px;
        padding: 7px 7px 13px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        border-radius: 22px;
    }

    .month-tabs::-webkit-scrollbar {
        display: none;
    }

    .month-tab {
        flex: 0 0 auto;
        min-width: 168px;
        min-height: 64px;
        grid-template-columns:48px minmax(0, 1fr);
        padding: 8px 16px 8px 8px;
        border-radius: 17px;
        scroll-snap-align: start;
    }

    .month-tab-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .month-tabs {
        margin-bottom: 28px;
        padding: 6px 6px 11px;
        gap: 7px;
        background: rgba(4, 20, 61, .18);
    }

    .month-tab {
        min-width: 154px;
        min-height: 60px;
        grid-template-columns:44px minmax(0, 1fr);
        gap: 9px;
        padding: 8px 14px 8px 8px;
    }

    .month-tab-icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .month-tab-label {
        font-size: 14px;
    }
}


/* ═══ CONNECTED PNG ICONS — FORMATS + MONTHS ═══ */
.fmt-ico img,
.c-ico img,
.f-ico img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(47, 111, 237, .14));
}

.fmt-ico {
    padding: 4px;
}

.fmt-ico img {
    transform: scale(1.16);
}

.c-ico {
    padding: 3px;
}

.c-ico img {
    transform: scale(1.18);
}

.f-ico {
    padding: 4px;
}

.f-ico img {
    transform: scale(1.16);
}

.month-tab-icon img {
    object-fit: cover;
}

@media (max-width: 580px) {
    .fmt-ico img, .c-ico img, .f-ico img {
        filter: drop-shadow(0 6px 12px rgba(47, 111, 237, .12));
    }
}

@media (max-width: 580px) {
    .f-tile {
        grid-template-columns:44px minmax(0, 1fr);
        column-gap: 11px;
    }

    .f-ico {
        width: 44px;
        height: 44px;
    }
}


/* ═══ EPISODES — DEFAULT 2×2 LAYOUT + FULL UNCROPPED PREVIEWS ═══ */
.episodes-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ep-thumb {
    height: auto;
    aspect-ratio: 1271 / 570;
    background: #eef4ff;
}

.ep-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.ep-thumb::before {
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 26, 77, .10) 0%, rgba(8, 26, 77, 0) 36%, rgba(8, 26, 77, .08) 100%);
}

.ep-thumb::after {
    inset: 0;
    height: auto;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(8, 26, 77, .08));
    pointer-events: none;
}

.ep-num {
    z-index: 2;
    color: #fff;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(8, 26, 77, .42);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(3, 12, 40, .14);
    text-shadow: none;
}

.play-ring {
    z-index: 2;
    background: rgba(8, 26, 77, .28);
    border-color: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 24px rgba(3, 12, 40, .22);
}

.ep-card:hover .play-ring {
    background: #fff;
    color: var(--blue-600);
}

@media (max-width: 600px) {
    .episodes-grid {
        grid-template-columns:1fr;
    }
}


/* ===== v15: library featured card without icon + drug previews ===== */
.formats-featured {
    justify-content: center;
}

.drug-card {
    display: flex;
    flex-direction: column;
}

.drug-thumb {
    height: auto;
    aspect-ratio: 1271 / 570;
    background: linear-gradient(145deg, #edf4ff, #dce9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.drug-thumb-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.drug-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle at 72% 18%, rgba(255, 255, 255, .22), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, .04) 0%, rgba(255, 255, 255, .00) 100%);
}

.drug-body {
    padding: 18px 18px 19px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.drug-name {
    font-size: 16px;
    letter-spacing: -.012em;
}

.drug-sub {
    font-size: 13px;
    color: var(--ink-mute);
}

.drug-card .btn-go {
    margin-top: auto;
}

@media (max-width: 1280px) {
    .drug-thumb {
        aspect-ratio: 1271 / 570;
    }
}

@media (max-width: 480px) {
    .drug-body {
        padding: 17px 17px 18px;
    }
}
