:root {
    --mist-50: #f8f9fa;
    --mist-100: #f1f3f5;
    --mist-200: #e9ecef;
    --mist-300: #dee2e6;
    --mist-400: #ced4da;
    --mist-500: #adb5bd;
    --mist-600: #868e96;
    --mist-700: #495057;
    --slate-700: #334155;
    --slate-800: #1f2937;
    --slate-900: #0f172a;
    --red-50: #fef2f2;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --orange-50: #fff7ed;
    --orange-600: #ea580c;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.12), 0 4px 6px -4px rgba(15, 23, 42, 0.12);
    --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.32);
    --radius-lg: 0.5rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--slate-800);
    background: var(--mist-50);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(233, 236, 239, 0.9);
    transition: box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.94);
}

.header-inner {
    max-width: 1280px;
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand span:last-child {
    background: linear-gradient(90deg, var(--red-600), var(--orange-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red-500), var(--orange-600));
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.28);
    transition: transform 0.25s ease;
}

.brand:hover .brand-icon,
.footer-brand:hover .brand-icon {
    transform: scale(1.08);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    color: var(--slate-700);
    font-size: 14px;
    font-weight: 700;
}

.desktop-nav a,
.mobile-nav a {
    transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--red-600);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--slate-800);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 24px 18px;
    border-top: 1px solid var(--mist-200);
}

.mobile-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--slate-700);
    font-weight: 700;
}

.mobile-nav a.active,
.mobile-nav a:hover {
    color: var(--red-600);
    background: var(--red-50);
}

.page-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 88px 24px 0;
}

.home-page {
    padding-top: 92px;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    background: var(--slate-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.8s ease;
    pointer-events: none;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.08));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: clamp(24px, 6vw, 80px);
    max-width: 660px;
    transform: translateY(-50%);
    color: #ffffff;
}

.hero-kicker,
.page-hero span,
.section-heading span,
.category-overview-copy span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 8px 15px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(239, 68, 68, 0.92);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 580px;
    margin: 0 0 24px;
    color: #f1f5f9;
    font-size: 19px;
}

.hero-badges,
.detail-meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-badges span,
.detail-meta span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    color: #ffffff;
    font-size: 13px;
    font-style: normal;
    backdrop-filter: blur(8px);
}

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

.primary-button,
.ghost-button,
.text-button,
.quick-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button,
.quick-search button {
    color: #ffffff;
    background: var(--red-500);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.32);
}

.primary-button:hover,
.quick-search button:hover {
    transform: translateY(-1px) scale(1.02);
    background: var(--red-600);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(10px);
}

.ghost-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.28);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

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

.hero-prev {
    left: 18px;
}

.hero-next {
    right: 18px;
}

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

.hero-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    cursor: pointer;
}

.hero-dots button.active {
    width: 30px;
    background: #ffffff;
}

.search-band {
    margin-top: 36px;
    padding: 30px;
    border-radius: var(--radius-2xl);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(90deg, var(--red-50), var(--orange-50));
}

.search-band h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 4vw, 34px);
}

.search-band p {
    margin: 0;
    color: var(--mist-700);
}

.quick-search {
    display: flex;
    gap: 12px;
    padding: 8px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.quick-search input,
.filter-search input {
    width: 100%;
    min-height: 46px;
    border: 0;
    outline: 0;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--slate-800);
    background: var(--mist-50);
}

.section-block {
    margin-top: 64px;
}

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

.section-heading h2 {
    margin: 8px 0 0;
    color: var(--slate-800);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.section-heading span,
.page-hero span,
.category-overview-copy span {
    color: var(--red-600);
    background: var(--red-50);
}

.section-heading a,
.text-button {
    color: var(--red-600);
    font-weight: 800;
}

.section-heading.light h2,
.section-heading.light a,
.section-heading.light span {
    color: #ffffff;
}

.section-heading.light span {
    background: rgba(255, 255, 255, 0.18);
}

.horizontal-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 288px;
    gap: 20px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
}

.horizontal-row .movie-card {
    scroll-snap-align: start;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    min-width: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    display: block;
    height: 100%;
}

.poster-frame {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    background: var(--mist-200);
}

.movie-card-small .poster-frame {
    height: 150px;
}

.movie-card-large .poster-frame {
    height: 300px;
}

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

.movie-card:hover .poster-frame img {
    transform: scale(1.1);
}

.poster-mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68));
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-mask {
    opacity: 1;
}

.play-mark {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-900);
    background: rgba(255, 255, 255, 0.9);
    font-size: 28px;
    transform: scale(0.82);
    transition: transform 0.25s ease;
}

.movie-card:hover .play-mark {
    transform: scale(1);
}

.poster-type {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 7px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.72);
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.movie-info {
    display: block;
    padding: 16px;
}

.movie-info strong {
    display: -webkit-box;
    min-height: 48px;
    color: var(--slate-800);
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
}

.movie-card:hover .movie-info strong {
    color: var(--red-600);
}

.movie-info em {
    display: -webkit-box;
    min-height: 42px;
    margin: 8px 0;
    color: var(--mist-600);
    font-size: 13px;
    font-style: normal;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--mist-600);
    font-size: 12px;
}

.movie-card .tag-row {
    margin-top: 10px;
    gap: 6px;
}

.movie-card .tag-row span {
    min-height: 24px;
    padding: 3px 8px;
    color: var(--mist-700);
    background: var(--mist-100);
    font-size: 11px;
}

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

.category-card {
    min-height: 250px;
    padding: 16px;
    border-radius: var(--radius-2xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    height: 118px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 14px;
}

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

.category-card strong {
    display: block;
    color: var(--slate-800);
    font-size: 20px;
    font-weight: 800;
}

.category-card em {
    display: block;
    margin-top: 8px;
    color: var(--mist-600);
    font-size: 14px;
    font-style: normal;
}

.ranking-panel {
    margin-top: 64px;
    padding: 32px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--slate-900), #2b1111 60%, #431407);
    box-shadow: var(--shadow-2xl);
}

.rank-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

.rank-item a {
    display: grid;
    grid-template-columns: 42px 86px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 112px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-list.full .rank-item a {
    background: #ffffff;
    color: var(--slate-800);
    box-shadow: var(--shadow-sm);
}

.rank-item a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}

.rank-list.full .rank-item a:hover {
    background: var(--red-50);
}

.rank-num {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red-500), var(--orange-600));
    font-weight: 900;
}

.rank-item img {
    width: 86px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-copy {
    min-width: 0;
}

.rank-copy strong,
.rank-copy em,
.rank-copy small {
    display: block;
}

.rank-copy strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
}

.rank-copy em {
    display: -webkit-box;
    margin: 5px 0;
    color: inherit;
    opacity: 0.76;
    font-size: 13px;
    font-style: normal;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-copy small {
    color: inherit;
    opacity: 0.68;
}

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

.latest-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 18px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.latest-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.latest-item img {
    width: 190px;
    height: 112px;
    border-radius: 12px;
    object-fit: cover;
}

.latest-item strong,
.latest-item em,
.latest-item small {
    display: block;
}

.latest-item strong {
    font-size: 18px;
    color: var(--slate-800);
}

.latest-item em {
    margin: 8px 0;
    color: var(--mist-600);
    font-style: normal;
}

.latest-item small {
    color: var(--mist-600);
}

.inner-page {
    padding-top: 96px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    color: var(--mist-600);
    font-size: 14px;
}

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

.page-hero {
    padding: clamp(32px, 6vw, 54px);
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, #ffffff, var(--red-50), var(--orange-50));
    box-shadow: var(--shadow-sm);
}

.page-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.12;
}

.page-hero p {
    max-width: 860px;
    margin: 0;
    color: var(--mist-700);
    font-size: 17px;
}

.category-overview {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 28px;
    align-items: center;
    margin-top: 34px;
    padding: 22px;
    border-radius: var(--radius-2xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.category-overview-copy h2 {
    margin: 12px 0 8px;
    font-size: 28px;
}

.category-overview-copy p {
    margin: 0 0 18px;
    color: var(--mist-600);
}

.small-grid .movie-card:nth-child(n + 7) {
    display: none;
}

.filter-panel {
    margin-top: 32px;
}

.filter-search {
    margin-bottom: 16px;
    padding: 10px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.filter-search.large input {
    min-height: 54px;
    font-size: 16px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-row button {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--mist-200);
    border-radius: 999px;
    color: var(--mist-700);
    background: #ffffff;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.filter-row button:hover,
.filter-row button.active {
    color: #ffffff;
    border-color: var(--red-500);
    background: var(--red-500);
}

.no-results {
    display: none;
    margin: 40px 0;
    padding: 24px;
    border-radius: 18px;
    color: var(--mist-600);
    background: #ffffff;
    text-align: center;
}

.no-results.show {
    display: block;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 30px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: #000000;
    box-shadow: var(--shadow-2xl);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.72));
}

.big-play {
    position: relative;
    z-index: 2;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--red-600);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-2xl);
    font-size: 44px;
    padding-left: 6px;
    transition: transform 0.2s ease;
}

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

.detail-copy {
    margin-top: 28px;
    padding: clamp(22px, 4vw, 34px);
    border-radius: var(--radius-2xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.detail-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.16;
}

.detail-one-line {
    margin: 0 0 20px;
    color: var(--mist-700);
    font-size: 18px;
}

.detail-meta {
    margin-bottom: 16px;
}

.detail-meta span,
.detail-tags span {
    color: var(--mist-700);
    background: var(--mist-100);
}

.detail-copy h2 {
    margin: 26px 0 10px;
    font-size: 22px;
}

.detail-copy p {
    margin: 0 0 12px;
    color: var(--mist-700);
    font-size: 16px;
}

.watch-side {
    position: sticky;
    top: 88px;
    align-self: start;
}

.detail-poster {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--mist-200);
}

.side-card {
    margin-top: 18px;
    padding: 20px;
    border-radius: var(--radius-2xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.side-card h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

.side-card dl {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    margin: 0;
    color: var(--mist-700);
}

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

.side-card dd {
    margin: 0;
}

.related-block {
    margin-top: 40px;
}

.ranking-page-panel {
    margin-top: 32px;
}

.site-footer {
    margin-top: 84px;
    color: var(--mist-300);
    background: var(--slate-900);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
}

.footer-brand {
    color: #ffffff;
}

.footer-main p {
    max-width: 520px;
    color: var(--mist-400);
}

.footer-links h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

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

.footer-links li + li {
    margin-top: 8px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--mist-500);
    text-align: center;
    font-size: 14px;
}

[hidden],
.movie-card.is-hidden {
    display: none !important;
}

@media (max-width: 1120px) {
    .grid-5,
    .grid-6 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .watch-layout {
        grid-template-columns: 1fr;
    }

    .watch-side {
        position: static;
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 20px;
    }
}

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

    .menu-button {
        display: block;
    }

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

    .hero {
        height: 520px;
    }

    .hero-content {
        right: 24px;
    }

    .search-band,
    .category-overview,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .grid-4,
    .grid-5,
    .grid-6,
    .rank-list.compact,
    .rank-list.full {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .header-inner,
    .page-shell,
    .footer-inner,
    .footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-shell {
        padding-top: 82px;
    }

    .hero {
        height: 510px;
        border-radius: 18px;
    }

    .hero-content {
        left: 18px;
        right: 18px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-arrow {
        display: none;
    }

    .search-band,
    .ranking-panel,
    .page-hero,
    .detail-copy {
        padding: 20px;
        border-radius: 18px;
    }

    .quick-search {
        flex-direction: column;
        border-radius: 18px;
    }

    .quick-search button {
        width: 100%;
    }

    .grid-4,
    .grid-5,
    .grid-6,
    .category-grid,
    .rank-list.compact,
    .rank-list.full {
        grid-template-columns: 1fr;
    }

    .horizontal-row {
        grid-auto-columns: 82%;
    }

    .latest-item,
    .rank-item a,
    .watch-side {
        grid-template-columns: 1fr;
    }

    .latest-item img,
    .rank-item img {
        width: 100%;
        height: 180px;
    }

    .watch-side {
        display: block;
    }

    .detail-poster {
        max-width: 280px;
        margin: 0 auto;
    }
}
