:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-strong: rgba(15, 23, 42, 0.94);
    --line: rgba(148, 163, 184, 0.22);
    --line-strong: rgba(34, 211, 238, 0.44);
    --text: #f8fafc;
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --cyan: #22d3ee;
    --cyan-strong: #06b6d4;
    --blue: #3b82f6;
    --yellow: #facc15;
    --pink: #f472b6;
    --radius: 24px;
    --shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 34rem),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 32rem),
        linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.is-locked {
    overflow: hidden;
}

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

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

.site-header {
    position: fixed;
    z-index: 80;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.94));
    box-shadow: 0 18px 46px rgba(2, 6, 23, 0.34);
    backdrop-filter: blur(18px);
}

.nav-shell,
.footer-shell,
.section-shell,
.hero-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 20px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.36);
    border-radius: 14px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .brand-mark {
    transform: rotate(10deg) scale(1.05);
    box-shadow: 0 0 42px rgba(34, 211, 238, 0.34);
}

.brand-copy {
    display: grid;
}

.brand-copy strong,
.footer-brand strong {
    font-size: 20px;
    line-height: 1;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy em,
.footer-brand p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a,
.mobile-nav a {
    border-radius: 12px;
    color: #cbd5e1;
    font-weight: 650;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.desktop-nav a {
    padding: 10px 14px;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    background: rgba(30, 41, 59, 0.72);
    color: var(--cyan);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.72);
    color: var(--text);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--soft);
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding: 12px 16px 18px;
    background: rgba(2, 6, 23, 0.92);
}

.mobile-nav a {
    display: block;
    padding: 13px 14px;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 112px 0 44px;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.72;
    pointer-events: none;
}

.hero-orb-one {
    top: 90px;
    left: -90px;
    width: 240px;
    height: 240px;
    background: rgba(34, 211, 238, 0.16);
}

.hero-orb-two {
    right: -120px;
    bottom: 20px;
    width: 280px;
    height: 280px;
    background: rgba(59, 130, 246, 0.18);
}

.hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: stretch;
}

.hero-stage {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 34px;
    background: rgba(15, 23, 42, 0.64);
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 34%);
    align-items: center;
    gap: 32px;
    padding: 52px;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.66), rgba(2, 6, 23, 0.86)),
        var(--hero-image) center / cover no-repeat;
    filter: saturate(1.12);
}

.hero-backdrop::after,
.detail-shade::after {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 86%);
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hero-content h1,
.hero-content h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-content h1,
.hero-content h2 {
    max-width: 760px;
    font-size: clamp(38px, 5vw, 70px);
}

.hero-content h3 {
    margin: 18px 0 0;
    color: var(--yellow);
    font-size: clamp(22px, 3vw, 34px);
}

.hero-content p,
.page-hero p,
.detail-copy p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 18px;
}

.hero-tags,
.detail-meta,
.card-meta,
.tag-row,
.filter-chips,
.hero-actions,
.footer-links,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-tags,
.detail-meta {
    margin-top: 20px;
}

.hero-tags span,
.detail-meta span,
.tag-row span,
.detail-tags a {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(15, 23, 42, 0.64);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
}

.hero-actions {
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    padding: 0 20px;
    font-weight: 850;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
    color: white;
    box-shadow: 0 16px 40px rgba(34, 211, 238, 0.26);
}

.btn.ghost {
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.66);
    color: #e2e8f0;
}

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

.btn.primary:hover {
    box-shadow: 0 22px 48px rgba(34, 211, 238, 0.36);
}

.hero-poster {
    display: block;
    overflow: hidden;
    min-height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.16), rgba(59, 130, 246, 0.08));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.hero-poster:hover img,
.movie-card:hover img {
    transform: scale(1.06);
}

.hero-dots {
    position: absolute;
    z-index: 5;
    bottom: 28px;
    left: 52px;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.34);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
    width: 54px;
    background: var(--cyan);
}

.hero-side,
.info-panel,
.category-card-large,
.hero-card-panel,
.filter-panel,
.ranking-board {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-side {
    padding: 28px;
}

.hero-side h2 {
    margin: 0;
    font-size: 28px;
}

.hero-side p {
    color: var(--muted);
}

.hero-mini-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.hero-mini,
.hero-card-panel a {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    padding: 10px;
    background: rgba(30, 41, 59, 0.46);
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.hero-mini:hover,
.hero-card-panel a:hover,
.ranking-row:hover,
.category-tile:hover,
.category-card-large:hover {
    border-color: rgba(34, 211, 238, 0.42);
    background: rgba(30, 41, 59, 0.72);
    transform: translateY(-2px);
}

.hero-mini img,
.hero-card-panel img,
.ranking-row img {
    width: 72px;
    height: 88px;
    border-radius: 12px;
    object-fit: cover;
}

.hero-mini strong,
.hero-card-panel span {
    display: -webkit-box;
    overflow: hidden;
    color: white;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
}

.hero-mini em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.side-link,
.text-link {
    display: inline-flex;
    color: var(--cyan);
    font-weight: 800;
}

.content-section {
    padding: 64px 0;
}

.content-section.alt {
    background: rgba(2, 6, 23, 0.26);
}

.section-heading {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

.section-heading span {
    color: var(--cyan);
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
}

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

.category-tile {
    min-height: 146px;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.14), transparent 48%),
        rgba(15, 23, 42, 0.72);
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.category-tile span {
    color: var(--cyan);
    font-weight: 900;
}

.category-tile strong {
    display: block;
    margin-top: 26px;
    color: #e2e8f0;
}

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

.compact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.28);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.movie-card.is-hidden {
    display: none;
}

.movie-card:hover {
    border-color: rgba(34, 211, 238, 0.42);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
    transform: translateY(-6px);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.14), rgba(59, 130, 246, 0.1));
}

.poster-link::after {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.84));
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.poster-type,
.rank-badge,
.poster-play {
    position: absolute;
    z-index: 2;
}

.poster-type {
    top: 12px;
    right: 12px;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(2, 6, 23, 0.72);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.rank-badge {
    top: 12px;
    left: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--yellow), #fb923c);
    color: #111827;
    font-weight: 950;
}

.poster-play {
    right: 14px;
    bottom: 14px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.88);
    color: #001018;
    box-shadow: 0 14px 30px rgba(34, 211, 238, 0.28);
}

.card-body {
    padding: 16px;
}

.card-meta {
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.card-body h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    margin: 10px 0 8px;
    color: white;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 18px;
    line-height: 1.34;
}

.card-body h3 a:hover {
    color: var(--cyan);
}

.card-body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 66px;
    margin: 0 0 12px;
    color: #94a3b8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 14px;
}

.tag-row span {
    padding: 4px 8px;
    font-size: 11px;
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.filter-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px;
}

.search-box {
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    padding: 0 14px;
    background: rgba(2, 6, 23, 0.44);
}

.search-box span {
    color: var(--cyan);
    font-size: 22px;
}

.search-box input {
    width: 100%;
    min-height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
}

.search-box input::placeholder {
    color: #64748b;
}

.filter-chip {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(30, 41, 59, 0.6);
    color: #cbd5e1;
    cursor: pointer;
    font-weight: 760;
    transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    border-color: rgba(34, 211, 238, 0.48);
    background: rgba(34, 211, 238, 0.15);
    color: white;
}

.page-main {
    padding-top: 68px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 72px;
    background:
        radial-gradient(circle at 16% 10%, rgba(34, 211, 238, 0.16), transparent 30rem),
        radial-gradient(circle at 82% 0%, rgba(59, 130, 246, 0.16), transparent 32rem),
        rgba(2, 6, 23, 0.34);
}

.page-hero h1 {
    max-width: 850px;
    font-size: clamp(42px, 7vw, 78px);
}

.two-col-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 28px;
    align-items: center;
}

.hero-card-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.category-list-large {
    display: grid;
    gap: 20px;
}

.category-card-large {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 20px;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 190px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(34, 211, 238, 0.08);
}

.category-cover-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-large h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.category-card-large p {
    max-width: 760px;
    color: var(--muted);
}

.ranking-shell {
    max-width: 980px;
}

.ranking-board {
    overflow: hidden;
    padding: 12px;
}

.ranking-row {
    display: grid;
    grid-template-columns: 48px 72px 1fr minmax(160px, 240px) 120px;
    align-items: center;
    gap: 14px;
    border: 1px solid transparent;
    border-radius: 18px;
    padding: 10px 12px;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.ranking-row span {
    color: var(--yellow);
    font-size: 22px;
    font-weight: 950;
    text-align: center;
}

.ranking-row strong {
    color: white;
}

.ranking-row em {
    overflow: hidden;
    color: var(--muted);
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-row b {
    color: var(--cyan);
    font-size: 13px;
    text-align: right;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    padding: 112px 0 70px;
}

.detail-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.68), rgba(2, 6, 23, 0.94)),
        var(--detail-image) center / cover no-repeat;
    filter: saturate(1.1);
}

.detail-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 999px;
    background: var(--cyan);
    color: #001018;
    font-weight: 900;
}

.detail-copy h1 {
    font-size: clamp(36px, 5vw, 66px);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--cyan);
}

.breadcrumb em {
    color: #e2e8f0;
    font-style: normal;
}

.watch-section {
    padding: 54px 0 24px;
    background: rgba(2, 6, 23, 0.46);
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.26);
    border-radius: 28px;
    background: #000;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.play-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.42), rgba(2, 6, 23, 0.86));
    color: white;
    cursor: pointer;
}

.play-cover.is-hidden {
    display: none;
}

.play-cover strong,
.play-cover em {
    display: block;
    text-align: center;
}

.play-cover strong {
    max-width: min(80vw, 760px);
    margin-top: 18px;
    font-size: clamp(24px, 4vw, 44px);
}

.play-cover em {
    color: var(--cyan);
    font-style: normal;
    font-weight: 900;
}

.play-circle {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: white;
    box-shadow: 0 20px 52px rgba(34, 211, 238, 0.34);
    font-size: 34px;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.info-panel {
    padding: 26px;
}

.info-panel h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.info-panel p {
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
}

.detail-tags {
    margin-bottom: 28px;
}

.detail-tags a:hover {
    border-color: rgba(34, 211, 238, 0.48);
    color: white;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.98));
}

.footer-shell {
    display: grid;
    gap: 22px;
    padding: 42px 0;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--cyan);
}

.copyright {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 1120px) {
    .desktop-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .mobile-nav.is-open {
        display: block;
    }

    .hero-shell,
    .two-col-hero {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 660px;
    }

    .hero-side {
        display: none;
    }

    .rank-strip,
    .movie-grid,
    .compact-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .brand-copy em {
        display: none;
    }

    .hero-section {
        padding-top: 96px;
    }

    .hero-stage {
        min-height: 760px;
        border-radius: 24px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 28px;
    }

    .hero-poster {
        min-height: 280px;
        max-height: 340px;
    }

    .hero-poster img {
        min-height: 280px;
    }

    .hero-dots {
        left: 28px;
    }

    .rank-strip,
    .movie-grid,
    .compact-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card-large,
    .detail-layout,
    .detail-info-grid {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        max-width: 320px;
    }

    .ranking-row {
        grid-template-columns: 38px 58px 1fr;
    }

    .ranking-row em,
    .ranking-row b {
        display: none;
    }
}

@media (max-width: 540px) {
    .nav-shell,
    .footer-shell,
    .section-shell,
    .hero-shell {
        width: min(100% - 22px, 1180px);
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

    .hero-stage {
        min-height: 790px;
    }

    .hero-content p,
    .page-hero p,
    .detail-copy p {
        font-size: 16px;
    }

    .content-section {
        padding: 46px 0;
    }

    .rank-strip,
    .movie-grid,
    .compact-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-cover-stack {
        min-height: 150px;
    }

    .page-hero,
    .detail-hero {
        padding-top: 86px;
    }

    .play-circle {
        width: 66px;
        height: 66px;
        font-size: 26px;
    }
}
