:root {
    --ink-900: #3d3d3d;
    --ink-700: #4f4f4f;
    --ink-600: #5d5d5d;
    --mist-50: #f8f9fa;
    --mist-100: #f1f3f5;
    --mist-200: #e9ecef;
    --mist-300: #dee2e6;
    --mist-500: #adb5bd;
    --mist-600: #868e96;
    --mountain-50: #e8f4f8;
    --mountain-100: #d1e9f1;
    --mountain-400: #47a7c7;
    --mountain-500: #2c8aa8;
    --mountain-600: #236e86;
    --mountain-700: #1a5264;
    --mountain-800: #123642;
    --paper: #ffffff;
    --shadow-soft: 0 18px 45px rgba(18, 54, 66, 0.12);
    --shadow-card: 0 12px 28px rgba(18, 54, 66, 0.1);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--ink-900);
    background: linear-gradient(180deg, #ffffff 0%, var(--mist-50) 38%, #ffffff 100%);
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(222, 226, 230, 0.8);
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 74px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--mountain-500), var(--mountain-800));
    box-shadow: 0 10px 22px rgba(35, 110, 134, 0.24);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1.22rem;
    letter-spacing: 0.03em;
}

.brand-copy em {
    color: var(--mist-600);
    font-style: normal;
    font-size: 0.75rem;
    margin-top: 4px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    color: var(--ink-700);
    font-weight: 650;
}

.desktop-nav a,
.nav-dropdown > button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown:hover > button {
    color: var(--mountain-600);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 186px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--mist-200);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-panel a {
    padding: 9px 12px;
    border-radius: 10px;
}

.nav-dropdown-panel a:hover {
    background: var(--mountain-50);
}

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid var(--mist-300);
    border-radius: 999px;
    background: var(--mist-50);
}

.nav-search input {
    width: 180px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 8px 4px 8px 12px;
}

.nav-search button,
.btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    transition: 0.2s ease;
}

.nav-search button,
.btn.primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--mountain-500), var(--mountain-700));
    box-shadow: 0 12px 28px rgba(35, 110, 134, 0.25);
}

.btn.primary:hover,
.nav-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(35, 110, 134, 0.32);
}

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

.btn.text {
    color: var(--mountain-700);
    padding-left: 0;
    background: transparent;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--mist-100);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink-700);
}

.mobile-menu {
    display: none;
    padding: 0 16px 18px;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid var(--mist-200);
}

.mobile-menu a {
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--mist-50);
}

.mobile-menu.is-open {
    display: flex;
}

.hero-carousel {
    position: relative;
    min-height: 670px;
    overflow: hidden;
    background: var(--mountain-800);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

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

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.02) contrast(1.02);
}

.hero-overlay,
.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 28%, rgba(71, 167, 199, 0.34), transparent 30%),
        linear-gradient(90deg, rgba(18, 54, 66, 0.94) 0%, rgba(18, 54, 66, 0.76) 42%, rgba(18, 54, 66, 0.2) 100%),
        linear-gradient(0deg, rgba(18, 54, 66, 0.78), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 670px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 56px;
    color: #ffffff;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mountain-100);
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(2.35rem, 5vw, 5.2rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero-copy h2 {
    margin: 22px 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.hero-copy p,
.page-hero p,
.detail-one-line {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.9;
}

.hero-tags,
.tag-row,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.hero-tags span,
.tag-row span,
.detail-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    font-size: 0.86rem;
    font-weight: 700;
}

.movie-card .tag-row span,
.detail-tags span {
    color: var(--mountain-700);
    background: var(--mountain-50);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-poster-card {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.34);
    transform: rotate(2deg);
}

.hero-poster-card img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

.hero-poster-card span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    color: #ffffff;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(18, 54, 66, 0.76);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

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

.hero-dot {
    width: 38px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.36);
}

.hero-dot.is-active {
    background: #ffffff;
}

.quick-cats {
    position: relative;
    z-index: 6;
    margin-top: -32px;
}

.quick-cats-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--mist-200);
}

.quick-cats-inner > span {
    flex: 0 0 auto;
    color: var(--mountain-700);
    font-weight: 900;
}

.quick-cats nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.quick-cats a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--mist-50);
    color: var(--ink-700);
    font-weight: 750;
}

.quick-cats a:hover {
    color: #ffffff;
    background: var(--mountain-600);
}

.section-block {
    padding: 72px 0;
}

.soft-bg {
    background: var(--mist-50);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.section-heading > span {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mountain-500), var(--mountain-700));
    box-shadow: 0 12px 24px rgba(35, 110, 134, 0.22);
    font-weight: 900;
}

.section-heading h2,
.side-panel h2,
.related-panel h2,
.content-card h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.3vw, 2.35rem);
    line-height: 1.1;
}

.section-heading p {
    margin: 6px 0 0;
    color: var(--mist-600);
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--mist-200);
    box-shadow: var(--shadow-card);
    transition: 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(18, 54, 66, 0.16);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--mist-100);
}

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

.movie-card:hover .movie-poster img,
.rank-item:hover img,
.compact-card:hover img {
    transform: scale(1.04);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(18, 54, 66, 0.82));
}

.poster-badge,
.poster-play {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.poster-badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(18, 54, 66, 0.72);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 800;
}

.poster-play {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    color: var(--mountain-700);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

.movie-card-body {
    padding: 18px;
}

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--mist-600);
    font-size: 0.84rem;
    font-weight: 760;
}

.movie-meta-line span + span::before {
    content: "·";
    margin-right: 8px;
    color: var(--mist-500);
}

.movie-card h2 {
    margin: 10px 0 8px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.movie-card h2 a:hover,
.rank-copy h2 a:hover,
.compact-card:hover strong {
    color: var(--mountain-600);
}

.movie-card p {
    margin: 0;
    color: var(--ink-600);
    line-height: 1.75;
    font-size: 0.94rem;
}

.horizontal-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
}

.horizontal-scroll .movie-card {
    width: 280px;
    flex: 0 0 280px;
    scroll-snap-align: start;
}

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

.side-panel,
.related-panel,
.content-card,
.player-card {
    border: 1px solid var(--mist-200);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.side-panel,
.related-panel {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.compact-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.compact-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 16px;
    background: var(--mist-50);
}

.compact-card img {
    width: 72px;
    height: 96px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.25s ease;
}

.compact-card strong {
    display: block;
    line-height: 1.35;
}

.compact-card em {
    display: block;
    margin-top: 5px;
    color: var(--mist-600);
    font-style: normal;
    font-size: 0.84rem;
    line-height: 1.4;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 58px 92px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--mist-200);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(18, 54, 66, 0.07);
}

.rank-number {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--mountain-400), var(--mountain-700));
    font-weight: 900;
}

.rank-cover {
    overflow: hidden;
    border-radius: 14px;
    background: var(--mist-100);
}

.rank-cover img {
    width: 92px;
    height: 122px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.rank-copy h2 {
    margin: 6px 0;
    font-size: 1.1rem;
}

.rank-copy p {
    margin: 0;
    color: var(--ink-600);
    line-height: 1.65;
}

.text-link,
.more-link {
    color: var(--mountain-700);
    font-weight: 850;
}

.more-link {
    display: inline-flex;
    margin-top: 24px;
}

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

.category-tile {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid var(--mist-200);
    box-shadow: var(--shadow-card);
    transition: 0.2s ease;
}

.category-tile:hover,
.category-card-page:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(18, 54, 66, 0.15);
}

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

.category-thumbs img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}

.category-tile strong {
    font-size: 1.08rem;
}

.category-tile em,
.category-card-page p {
    color: var(--ink-600);
    font-style: normal;
    line-height: 1.7;
    font-size: 0.92rem;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 18%, rgba(71, 167, 199, 0.42), transparent 28%),
        linear-gradient(135deg, var(--mountain-800), var(--mountain-600));
}

.slim-hero {
    padding: 76px 0;
}

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

.page-filter,
.search-page-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin-top: 28px;
}

.page-filter input,
.search-page-form input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 14px 18px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    outline: 0;
    backdrop-filter: blur(12px);
}

.page-filter input::placeholder,
.search-page-form input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.category-page-grid {
    display: grid;
    gap: 22px;
}

.category-card-page {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--mist-200);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: 0.2s ease;
}

.category-cover-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-cover-wall img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.category-card-page h2 {
    margin: 0 0 10px;
    font-size: 1.55rem;
}

.mini-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.mini-link-row a {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--mountain-700);
    background: var(--mountain-50);
    font-weight: 750;
    font-size: 0.88rem;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 610px;
    background: var(--mountain-800);
}

.detail-head-grid {
    position: relative;
    z-index: 2;
    min-height: 610px;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    color: #ffffff;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.34);
    aspect-ratio: 2 / 3;
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mountain-700);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--mountain-100);
    margin-bottom: 18px;
    font-weight: 750;
}

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

.player-card {
    padding: 22px;
    margin-bottom: 24px;
}

.small-heading {
    margin-bottom: 18px;
}

.small-heading h2 {
    font-size: 1.45rem;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    aspect-ratio: 16 / 9;
}

.movie-player,
.player-cover,
.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-player {
    object-fit: contain;
    background: #000000;
}

.player-cover {
    z-index: 4;
    border: 0;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: #000000;
}

.player-cover img {
    object-fit: cover;
    opacity: 0.82;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 0, rgba(0, 0, 0, 0.22) 34%, rgba(0, 0, 0, 0.64) 100%);
}

.player-button {
    position: relative;
    z-index: 2;
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--mountain-700);
    background: rgba(255, 255, 255, 0.94);
    font-size: 2rem;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    transition: 0.2s ease;
}

.player-cover:hover .player-button {
    transform: scale(1.08);
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.content-card {
    padding: 28px;
}

.movie-text h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.42rem;
}

.movie-text h2 + p {
    margin-top: 0;
}

.movie-text p {
    color: var(--ink-600);
    line-height: 2;
    font-size: 1.02rem;
}

.related-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.related-list .movie-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    box-shadow: none;
}

.related-list .movie-poster {
    aspect-ratio: 2 / 3;
}

.related-list .movie-card-body {
    padding: 12px;
}

.related-list .movie-card p,
.related-list .tag-row {
    display: none;
}

.site-footer {
    color: var(--mist-200);
    background: var(--ink-900);
    padding: 54px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 34px;
}

.footer-brand {
    color: #ffffff;
    font-weight: 900;
    font-size: 1.2rem;
}

.site-footer p {
    max-width: 520px;
    color: var(--mist-300);
    line-height: 1.8;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 1rem;
}

.footer-links {
    display: grid;
    gap: 9px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 36px;
    padding-top: 20px;
    color: var(--mist-500);
}

.hidden-by-filter {
    display: none !important;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--mist-200);
    color: var(--mist-600);
}

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

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .hero-content,
    .detail-head-grid,
    .two-column-layout,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster-card {
        display: none;
    }

    .side-panel,
    .related-panel {
        position: static;
    }

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

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

    .hero-carousel,
    .hero-content {
        min-height: 610px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: clamp(2.1rem, 12vw, 3.2rem);
    }

    .section-block {
        padding: 52px 0;
    }

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

    .movie-card-body {
        padding: 14px;
    }

    .rank-item {
        grid-template-columns: 42px 74px minmax(0, 1fr);
    }

    .rank-item .text-link {
        grid-column: 2 / -1;
    }

    .rank-number {
        width: 38px;
        height: 38px;
        font-size: 0.88rem;
    }

    .rank-cover img {
        width: 74px;
        height: 100px;
    }

    .category-card-page {
        grid-template-columns: 1fr;
    }

    .detail-head-grid {
        padding: 42px 0;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

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

    .hero-actions,
    .page-filter,
    .search-page-form {
        flex-direction: column;
        align-items: stretch;
    }

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

    .quick-cats-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .related-list .movie-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }
}
