:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --teal-700: #0f766e;
    --teal-600: #0d9488;
    --teal-500: #14b8a6;
    --teal-100: #ccfbf1;
    --cyan-600: #0891b2;
    --cyan-50: #ecfeff;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 30px 80px rgba(15, 23, 42, 0.25);
    --radius-large: 28px;
    --radius-medium: 18px;
    --radius-small: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--slate-800);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 32rem),
        linear-gradient(135deg, #f8fafc 0%, #f0fdfa 48%, #ecfeff 100%);
}

body.is-menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(20, 184, 166, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
    width: min(var(--container), calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
    box-shadow: 0 10px 22px rgba(20, 184, 166, 0.32);
}

.logo-mark svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.brand-text {
    font-size: 22px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--teal-700), var(--cyan-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.mobile-link {
    color: var(--slate-700);
    font-weight: 700;
    border-radius: 12px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 14px;
    font-size: 15px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--teal-700);
    background: rgba(20, 184, 166, 0.1);
}

.nav-link:hover {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(20, 184, 166, 0.1);
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    margin: 5px auto;
    border-radius: 99px;
    background: var(--teal-700);
}

.mobile-nav {
    display: none;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
}

.mobile-link {
    display: block;
    padding: 12px 14px;
}

main {
    min-height: 70vh;
}

.hero {
    position: relative;
    height: min(720px, 72vh);
    min-height: 520px;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-stage,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.56) 46%, rgba(15, 23, 42, 0.2)),
        linear-gradient(0deg, rgba(15, 23, 42, 0.95), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--container), calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding-bottom: 86px;
    color: var(--white);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    background: rgba(20, 184, 166, 0.88);
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

.primary-button,
.section-action,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    margin-top: 26px;
    min-height: 48px;
    padding: 0 24px;
    color: var(--white);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
    box-shadow: 0 18px 35px rgba(8, 145, 178, 0.3);
}

.primary-button:hover,
.section-action:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero-prev {
    left: max(18px, calc((100% - var(--container)) / 2 - 64px));
}

.hero-next {
    right: max(18px, calc((100% - var(--container)) / 2 - 64px));
}

.hero-dots {
    position: absolute;
    z-index: 4;
    bottom: 28px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 36px;
    background: var(--white);
}

.home-stack,
.listing-section,
.search-panel,
.ranking-list,
.text-page {
    padding-top: 54px;
}

.content-section {
    margin-top: 66px;
}

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

.section-head h2,
.side-card h2,
.text-panel h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.04em;
}

.section-head p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--slate-600);
    line-height: 1.8;
}

.section-action,
.text-link {
    padding: 10px 16px;
    color: var(--teal-700);
    border-radius: 12px;
    background: rgba(20, 184, 166, 0.1);
}

.stats-strip {
    margin-top: -36px;
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stats-strip div {
    padding: 24px;
    border: 1px solid rgba(20, 184, 166, 0.18);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.stats-strip strong {
    display: block;
    color: var(--teal-700);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.stats-strip span {
    display: block;
    margin-top: 8px;
    color: var(--slate-600);
    font-weight: 700;
}

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

.movie-card,
.wide-card,
.side-card,
.text-panel,
.player-card {
    border: 1px solid rgba(20, 184, 166, 0.14);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-medium);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--slate-200);
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-card:hover .card-cover img,
.wide-card:hover img,
.feature-lead:hover img {
    transform: scale(1.07);
}

.play-float {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(15, 23, 42, 0.1);
    font-size: 30px;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.movie-card:hover .play-float {
    opacity: 1;
    background: rgba(15, 23, 42, 0.28);
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.card-body {
    padding: 16px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--teal-700);
    font-size: 13px;
    font-weight: 800;
}

.card-meta span:not(:last-child)::after {
    content: "";
}

.movie-card h2,
.wide-card h2 {
    margin: 9px 0 0;
    color: var(--slate-900);
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.movie-card h2 a:hover,
.wide-card h2 a:hover {
    color: var(--teal-700);
}

.movie-card p,
.wide-card p,
.text-panel p,
.text-page p {
    color: var(--slate-600);
    line-height: 1.8;
}

.movie-card p {
    min-height: 54px;
    margin: 10px 0 0;
    font-size: 14px;
}

.tag-row,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag-row span,
.tag-cloud span {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--slate-600);
    font-size: 12px;
    font-weight: 700;
    background: var(--slate-100);
}

.movie-rail {
    display: flex;
    gap: 18px;
    padding-bottom: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.movie-rail .movie-card {
    flex: 0 0 290px;
    scroll-snap-align: start;
}

.compact-card .card-cover {
    aspect-ratio: 16 / 9;
}

.feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    gap: 24px;
}

.feature-lead {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: var(--radius-large);
    color: var(--white);
    background: var(--slate-900);
    box-shadow: var(--shadow-strong);
}

.feature-lead img,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-lead::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 58%);
}

.feature-lead div,
.feature-label {
    position: absolute;
    z-index: 2;
}

.feature-lead div {
    left: 28px;
    right: 28px;
    bottom: 28px;
}

.feature-label {
    top: 24px;
    left: 24px;
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 800;
    background: rgba(20, 184, 166, 0.9);
}

.feature-lead h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.05em;
}

.feature-lead p {
    max-width: 760px;
    margin: 12px 0 0;
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.8;
}

.feature-side {
    display: grid;
    gap: 14px;
}

.wide-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius-medium);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.wide-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.wide-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: var(--slate-200);
}

.wide-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.wide-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.wide-content {
    min-width: 0;
    padding: 3px 0;
}

.wide-card p {
    margin: 8px 0 0;
    font-size: 14px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.26), transparent 32rem),
        linear-gradient(135deg, var(--slate-950), #123c45 58%, var(--teal-700));
}

.page-hero {
    padding: 96px 0 84px;
}

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

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--teal-100);
    font-size: 13px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.12);
}

.page-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.8;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 46px;
}

.pagination a {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--slate-700);
    font-weight: 800;
    background: var(--white);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.pagination a.is-current,
.pagination a:hover {
    color: var(--white);
    background: var(--teal-600);
}

.ranking-list {
    display: grid;
    gap: 16px;
}

.search-panel {
    padding-bottom: 40px;
}

.filters {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.filters label {
    display: grid;
    gap: 8px;
    color: var(--slate-700);
    font-weight: 800;
}

.filters input,
.filters select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid rgba(20, 184, 166, 0.24);
    border-radius: 12px;
    color: var(--slate-800);
    background: var(--white);
    outline: none;
}

.filters input:focus,
.filters select:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.result-count {
    margin: 0 0 20px;
    color: var(--slate-600);
    font-weight: 800;
}

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

.detail-hero {
    min-height: 620px;
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.35)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96), transparent 54%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: end;
    gap: 42px;
    padding: 84px 0 70px;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-strong);
}

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

.detail-info h1 {
    max-width: 820px;
    margin: 0;
    color: var(--white);
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.06;
    letter-spacing: -0.06em;
}

.detail-info p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(226, 232, 240, 0.93);
    font-size: 18px;
    line-height: 1.9;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding-top: 56px;
}

.detail-main {
    min-width: 0;
}

.player-card,
.text-panel,
.side-card {
    border-radius: var(--radius-medium);
}

.player-card {
    overflow: hidden;
    background: var(--slate-950);
}

.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--slate-950);
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--slate-950);
}

.play-layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: var(--white);
    background:
        radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 24rem),
        rgba(2, 6, 23, 0.34);
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-layer span {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
    box-shadow: 0 22px 46px rgba(8, 145, 178, 0.35);
    font-size: 36px;
    text-indent: 4px;
}

.play-layer strong {
    font-size: 18px;
}

.play-layer.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.text-panel {
    margin-top: 24px;
    padding: 26px;
}

.text-panel p {
    margin: 14px 0 0;
    font-size: 16px;
}

.detail-side {
    display: grid;
    align-content: start;
    gap: 18px;
}

.side-card {
    padding: 22px;
}

.side-card h2 {
    font-size: 22px;
}

.side-card dl {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 14px;
    margin: 18px 0 0;
}

.side-card dt {
    color: var(--slate-500);
    font-weight: 800;
}

.side-card dd {
    margin: 0;
    color: var(--slate-800);
    line-height: 1.6;
}

.related-section {
    margin-top: 36px;
}

.text-page {
    max-width: 880px;
    padding-bottom: 40px;
}

.text-page p {
    margin: 0 0 18px;
    padding: 22px 24px;
    border: 1px solid rgba(20, 184, 166, 0.14);
    border-radius: var(--radius-medium);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
}

.site-footer {
    margin-top: 86px;
    color: rgba(226, 232, 240, 0.9);
    background: linear-gradient(135deg, var(--slate-950), #123c45 58%, #064e5c);
}

.footer-inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 34px;
}

.footer-brand {
    color: var(--white);
    font-size: 22px;
}

.footer-about p {
    max-width: 430px;
    margin: 18px 0 0;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 17px;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 10px;
}

.site-footer a {
    color: rgba(226, 232, 240, 0.78);
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--teal-100);
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(204, 251, 241, 0.16);
    color: rgba(226, 232, 240, 0.62);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1080px) {
    .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 560px;
        height: 74vh;
    }

    .hero-content {
        padding-bottom: 78px;
    }

    .hero-arrow {
        display: none;
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -28px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .feature-lead {
        min-height: 420px;
    }

    .wide-card {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .detail-hero-inner {
        grid-template-columns: 1fr;
        align-items: end;
    }

    .detail-poster {
        width: min(280px, 78vw);
    }

    .detail-side,
    .filters,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container,
    .header-inner,
    .mobile-nav,
    .footer-inner {
        width: min(100% - 24px, var(--container));
    }

    .brand-text {
        font-size: 19px;
    }

    .hero-content h1,
    .detail-info h1,
    .page-hero h1 {
        letter-spacing: -0.04em;
    }

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

    .movie-rail .movie-card {
        flex-basis: 245px;
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 74px 0 64px;
    }

    .detail-hero,
    .detail-hero-inner {
        min-height: 560px;
    }

    .wide-card {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
    }

    .wide-card p,
    .wide-card .tag-row {
        display: none;
    }
}
