:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.78);
    --bg-card-strong: rgba(15, 23, 42, 0.94);
    --line: rgba(148, 163, 184, 0.18);
    --line-bright: rgba(96, 165, 250, 0.42);
    --text: #ffffff;
    --text-soft: #cbd5e1;
    --text-muted: #94a3b8;
    --blue: #3b82f6;
    --blue-deep: #1d4ed8;
    --purple: #a855f7;
    --yellow: #facc15;
    --green: #22c55e;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 25px 80px rgba(0, 0, 0, 0.38);
    --max: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), transparent 34rem),
        radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 30rem),
        linear-gradient(135deg, #020617 0%, #0f172a 45%, #172554 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(18px);
}

.nav-bar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.brand__mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 0 26px rgba(59, 130, 246, 0.56);
    font-size: 15px;
    color: #fff;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
}

.brand__text strong {
    font-size: 22px;
    letter-spacing: 0.02em;
}

.brand__text em {
    margin-top: 4px;
    color: #93c5fd;
    font-size: 13px;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.desktop-nav a,
.mobile-nav a {
    color: rgba(255, 255, 255, 0.86);
    padding: 10px 14px;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

.mobile-nav {
    display: none;
    width: min(100% - 32px, var(--max));
    margin: 0 auto 14px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.mobile-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hero {
    position: relative;
    min-height: 740px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 1.1s ease;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 78% 28%, rgba(59, 130, 246, 0.24), transparent 22rem),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.86) 46%, rgba(2, 6, 23, 0.42) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.hero-slide__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, #020617 0%, transparent 32%),
        radial-gradient(circle at 22% 70%, rgba(168, 85, 247, 0.2), transparent 23rem);
}

.hero-slide__inner {
    position: relative;
    min-height: 740px;
    padding-top: 138px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
    align-items: center;
    gap: 56px;
}

.hero-copy {
    max-width: 760px;
    animation: fadeUp 0.8s ease both;
}

.hero-kicker,
.page-hero span,
.section-heading span,
.player-heading span,
.detail-kicker,
.rank-panel__head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yellow);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    color: #60a5fa;
}

.hero-copy p {
    max-width: 700px;
    margin: 0 0 28px;
    color: var(--text-soft);
    font-size: 20px;
    line-height: 1.8;
}

.hero-tags,
.detail-tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
}

.hero-tags span,
.detail-tags span,
.tag-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.hero-actions,
.detail-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 16px 44px rgba(59, 130, 246, 0.38);
}

.btn--primary:hover {
    box-shadow: 0 18px 56px rgba(59, 130, 246, 0.52);
}

.btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-poster {
    position: relative;
    justify-self: center;
    width: min(100%, 410px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transform: rotate(2deg);
    transition: transform 0.35s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-8px);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.76);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 14px;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 38px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.hero-controls button {
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-controls > button {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 26px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    opacity: 0.5;
    transition: width 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 30px;
    opacity: 1;
    background: var(--blue);
}

.content-section {
    padding: 76px 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(15, 23, 42, 0.52));
}

.content-section--blue {
    background: linear-gradient(180deg, #0f172a, #172554);
}

.content-section--alt {
    background: linear-gradient(180deg, #172554, #0f172a);
}

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

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.03em;
}

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

.section-heading__link {
    color: #93c5fd;
    font-weight: 700;
    white-space: nowrap;
}

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

.movie-grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--line);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: var(--line-bright);
    box-shadow: 0 22px 60px rgba(37, 99, 235, 0.22);
}

.movie-card__poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.movie-card__poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.movie-card:hover .movie-card__poster img {
    transform: scale(1.07);
    filter: saturate(1.15) brightness(1.08);
}

.movie-card__year,
.movie-card__play {
    position: absolute;
    top: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.78);
    color: #fff;
    font-size: 12px;
    backdrop-filter: blur(10px);
}

.movie-card__year {
    left: 12px;
}

.movie-card__play {
    right: 12px;
    background: rgba(37, 99, 235, 0.86);
}

.movie-card__body {
    padding: 18px;
}

.movie-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.movie-card h3 {
    margin: 10px 0 10px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #93c5fd;
}

.movie-card p {
    min-height: 3.2em;
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card__category {
    color: #93c5fd;
    font-size: 13px;
    font-weight: 700;
}

.movie-card--large {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 290px;
}

.movie-card--large .movie-card__poster img {
    height: 100%;
    aspect-ratio: auto;
}

.movie-card--large .movie-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.movie-card--large h3 {
    font-size: 23px;
}

.movie-card--large p {
    -webkit-line-clamp: 4;
    min-height: auto;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 34px;
    align-items: start;
}

.rank-panel,
.detail-side-list,
.detail-meta-card,
.category-overview-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.rank-panel {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.rank-panel--wide {
    position: static;
}

.rank-panel__head {
    margin-bottom: 18px;
}

.rank-panel__head h2,
.detail-side-list h2,
.detail-meta-card h2 {
    margin: 6px 0 0;
    font-size: 24px;
}

.rank-list {
    display: grid;
    gap: 12px;
}

.row-card {
    display: grid;
    grid-template-columns: auto 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.row-card:hover {
    transform: translateX(3px);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(96, 165, 250, 0.32);
}

.row-card__rank {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #020617;
    background: var(--yellow);
    font-weight: 900;
}

.row-card__poster img {
    width: 74px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.row-card__meta {
    color: var(--text-muted);
    font-size: 12px;
}

.row-card h3 {
    margin: 5px 0;
    font-size: 16px;
    line-height: 1.35;
}

.row-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.category-tile {
    padding: 22px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(168, 85, 247, 0.12));
    border: 1px solid var(--line);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    border-color: var(--line-bright);
}

.category-tile span {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.category-tile strong {
    display: block;
    min-height: 4.6em;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.65;
}

.category-tile div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.category-tile div a {
    color: #93c5fd;
    font-size: 12px;
}

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

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 64px;
    background:
        radial-gradient(circle at 18% 0%, rgba(59, 130, 246, 0.22), transparent 34rem),
        linear-gradient(135deg, #0f172a, #172554 64%, #0f172a);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    background: linear-gradient(0deg, var(--bg), transparent);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 920px;
    margin: 14px 0 18px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.8;
}

.page-search {
    max-width: 760px;
    margin-top: 28px;
}

.page-search input {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    outline: 0;
    color: #fff;
    background: rgba(15, 23, 42, 0.76);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.page-search input:focus {
    border-color: var(--line-bright);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.pill-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.pill-nav a {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
}

.pill-nav a:hover {
    color: #fff;
    border-color: var(--line-bright);
    background: rgba(59, 130, 246, 0.14);
}

.category-overview-grid {
    display: grid;
    gap: 26px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 26px;
    padding: 24px;
}

.category-overview-card__head span {
    display: block;
    font-size: 28px;
    font-weight: 900;
}

.category-overview-card__head p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 12px 0 22px;
}

.category-overview-card__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 34px;
    align-items: start;
}

.empty-state {
    display: none;
    margin: 30px 0 0;
    padding: 24px;
    text-align: center;
    border-radius: var(--radius);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
}

.empty-state.is-visible {
    display: block;
}

.detail-main {
    padding-top: 76px;
}

.detail-hero {
    padding: 38px 0 70px;
    background:
        radial-gradient(circle at 82% 12%, rgba(168, 85, 247, 0.2), transparent 28rem),
        linear-gradient(135deg, #0f172a, #172554 58%, #020617);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 30px;
    color: var(--text-muted);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #93c5fd;
}

.detail-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.detail-cover {
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

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

.detail-copy h1 {
    margin: 14px 0 18px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.detail-one-line {
    margin: 0 0 24px;
    color: var(--text-soft);
    font-size: 19px;
    line-height: 1.85;
}

.detail-side-list {
    padding: 20px;
}

.player-section {
    padding: 70px 0;
    background: #020617;
}

.player-heading {
    margin-bottom: 22px;
}

.player-heading h2 {
    margin: 10px 0 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.player-heading p {
    max-width: 900px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 100px rgba(0, 0, 0, 0.45);
}

.movie-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    object-fit: contain;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 12px;
    align-content: center;
    color: #fff;
    border: 0;
    background:
        radial-gradient(circle at center, rgba(37, 99, 235, 0.26), transparent 24rem),
        rgba(2, 6, 23, 0.48);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-start {
    width: 92px;
    height: 92px;
    display: inline-grid;
    place-items: center;
    padding-left: 6px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.42);
    font-size: 36px;
}

.player-overlay strong {
    font-size: 20px;
}

.detail-content-section {
    background: linear-gradient(180deg, #020617, #0f172a);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: start;
}

.detail-article {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid var(--line);
}

.detail-article h2 {
    margin: 0 0 14px;
    font-size: 28px;
}

.detail-article h2:not(:first-child) {
    margin-top: 30px;
}

.detail-article p {
    margin: 0;
    color: var(--text-soft);
    line-height: 2;
    text-align: justify;
}

.detail-meta-card {
    padding: 24px;
    position: sticky;
    top: 96px;
}

.detail-meta-card dl {
    margin: 18px 0 0;
}

.detail-meta-card div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.detail-meta-card dt {
    color: var(--text-muted);
}

.detail-meta-card dd {
    margin: 0;
    color: #fff;
}

.site-footer {
    padding: 56px 0 24px;
    background: #020617;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(160px, 0.6fr));
    gap: 38px;
}

.footer-brand {
    font-size: 22px;
    font-weight: 900;
}

.site-footer p {
    color: var(--text-muted);
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 16px;
    font-size: 18px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.site-footer a {
    color: var(--text-muted);
}

.site-footer a:hover {
    color: #93c5fd;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom button {
    border: 0;
    color: #93c5fd;
    background: transparent;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .mobile-toggle {
        display: inline-flex;
    }

    .hero-slide__inner,
    .detail-layout,
    .split-layout,
    .ranking-layout {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .rank-panel,
    .detail-meta-card {
        position: static;
    }

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

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

@media (max-width: 860px) {
    .container {
        width: min(100% - 24px, var(--max));
    }

    .nav-bar {
        min-height: 68px;
    }

    .brand__text strong {
        font-size: 18px;
    }

    .hero,
    .hero-slide__inner {
        min-height: 780px;
    }

    .hero-slide__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 112px;
        padding-bottom: 120px;
    }

    .hero-copy p {
        font-size: 17px;
    }

    .hero-poster {
        width: min(76vw, 310px);
    }

    .section-heading,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .movie-card--large {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .category-overview-card,
    .category-overview-card__list,
    .detail-content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-layout {
        gap: 24px;
    }

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

@media (max-width: 560px) {
    .mobile-nav.is-open {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 38px;
    }

    .hero-controls {
        bottom: 22px;
    }

    .movie-grid,
    .movie-grid--featured,
    .movie-grid--compact {
        grid-template-columns: 1fr;
    }

    .row-card {
        grid-template-columns: auto 62px minmax(0, 1fr);
    }

    .row-card__poster img {
        width: 62px;
    }

    .detail-cover {
        max-width: 100%;
    }

    .detail-article,
    .detail-meta-card,
    .rank-panel,
    .detail-side-list {
        padding: 20px;
    }

    .player-start {
        width: 74px;
        height: 74px;
        font-size: 28px;
    }
}
