:root {
    --site-blue: #2563eb;
    --site-cyan: #0891b2;
    --site-teal: #0f766e;
    --site-slate: #0f172a;
    --site-muted: #64748b;
    --site-bg: #f8fafc;
    --site-card: #ffffff;
    --site-border: rgba(15, 23, 42, 0.08);
    --site-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --site-radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--site-slate);
    background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 42%, #f8fafc 100%);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, #2563eb, #0891b2, #0f766e);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
}

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

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.site-logo {
    font-size: 24px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
    transition: transform 0.25s ease;
}

.site-logo:hover .logo-mark {
    transform: scale(1.08) rotate(-4deg);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.desktop-nav > a,
.nav-dropdown > button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: #ffffff;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown:hover > button {
    background: rgba(255, 255, 255, 0.16);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 180px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--site-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

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

.nav-dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #0f172a;
}

.nav-dropdown-panel a:hover {
    background: #e0f2fe;
    color: #0369a1;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

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

.mobile-nav {
    display: none;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

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

.mobile-nav a {
    padding: 10px 12px;
    color: #ffffff;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

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

.hero-track,
.hero-slide,
.hero-bg,
.hero-shade {
    position: absolute;
    inset: 0;
}

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

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

.hero-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    filter: saturate(1.08);
}

.hero-shade {
    background:
        radial-gradient(circle at 75% 35%, rgba(34, 211, 238, 0.22), transparent 26%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(15, 23, 42, 0.72) 45%, rgba(8, 145, 178, 0.30) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 32px));
    min-height: 630px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.48fr);
    align-items: center;
    gap: 48px;
    padding: 72px 0 110px;
}

.hero-copy {
    color: #ffffff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #bae6fd;
    font-size: 14px;
    font-weight: 700;
}

.hero-copy h1,
.detail-info h1,
.sub-hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy p,
.detail-info p,
.sub-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

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

.hero-tags,
.detail-tags {
    margin: 24px 0;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.13);
    color: #0284c7;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 9px;
}

.hero-tags span,
.detail-tags span {
    background: rgba(255, 255, 255, 0.15);
    color: #e0f2fe;
}

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

.primary-btn,
.ghost-btn,
.section-action,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    min-height: 48px;
    padding: 0 22px;
    color: #ffffff;
    background: linear-gradient(90deg, #0891b2, #2563eb);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.ghost-btn {
    min-height: 48px;
    padding: 0 22px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

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

.hero-poster {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.40);
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 9px 13px;
    color: #ffffff;
    border-radius: 999px;
    background: rgba(8, 145, 178, 0.88);
    font-size: 14px;
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 38px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-controls > button,
.hero-dots button {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
}

.hero-dots button.active {
    width: 28px;
    background: #22d3ee;
}

.hero-search,
.sub-search {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: -32px;
    width: min(760px, calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--site-shadow);
}

.hero-search input,
.sub-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--site-border);
    border-radius: 15px;
    padding: 0 14px;
    color: #0f172a;
    background: #ffffff;
    outline: none;
}

.hero-search input:focus,
.sub-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: rgba(8, 145, 178, 0.5);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.hero-search button,
.sub-search button {
    min-width: 120px;
    border: 0;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(90deg, #0891b2, #2563eb);
    font-weight: 800;
}

.page-section {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 76px 0 0;
}

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

.section-heading p,
.ranking-title p,
.sub-hero span {
    margin: 0 0 4px;
    color: #0891b2;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2,
.ranking-title h2,
.content-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading span {
    display: block;
    margin-top: 8px;
    color: var(--site-muted);
}

.section-action,
.text-link {
    min-height: 42px;
    padding: 0 16px;
    color: #0369a1;
    background: #e0f2fe;
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: var(--site-radius);
    padding: 18px;
    color: #ffffff;
    box-shadow: var(--site-shadow);
    isolation: isolate;
}

.category-tile img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.20), rgba(15, 23, 42, 0.86));
}

.category-tile:hover img {
    transform: scale(1.08);
}

.category-tile span,
.category-tile strong,
.category-tile em {
    display: block;
}

.category-tile span {
    margin-top: 82px;
    font-size: 22px;
    font-weight: 900;
}

.category-tile strong {
    margin-top: 6px;
    color: #bae6fd;
}

.category-tile em {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.80);
    font-style: normal;
    font-size: 13px;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--site-radius);
    background: var(--site-card);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

.movie-card:hover .poster-link img {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.poster-year,
.poster-play,
.rank-badge {
    position: absolute;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    font-size: 12px;
}

.poster-year {
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    background: rgba(2, 6, 23, 0.70);
}

.poster-play {
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    background: rgba(8, 145, 178, 0.88);
    transform: translateY(8px);
    opacity: 0;
    transition: all 0.2s ease;
}

.movie-card:hover .poster-play {
    transform: translateY(0);
    opacity: 1;
}

.rank-badge {
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    background: linear-gradient(90deg, #f97316, #ef4444);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #0891b2;
    font-size: 12px;
    font-weight: 800;
}

.movie-meta-line span,
.movie-meta-line a {
    display: inline-flex;
    align-items: center;
}

.movie-meta-line span::before {
    content: "·";
    margin-right: 7px;
    color: #94a3b8;
}

.movie-card h3 {
    margin: 8px 0 8px;
    color: #0f172a;
    font-size: 19px;
    line-height: 1.32;
}

.movie-card h3 a:hover {
    color: #0891b2;
}

.movie-card p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
}

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

.movie-card-compact h3 {
    font-size: 17px;
}

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

.ranking-panel {
    position: sticky;
    top: 92px;
    border-radius: 28px;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff, #ecfeff);
    box-shadow: var(--site-shadow);
}

.ranking-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.ranking-title a {
    color: #0891b2;
    font-weight: 800;
}

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

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

.ranking-list .poster-link img {
    height: 100%;
}

.sub-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 20%, rgba(34, 211, 238, 0.28), transparent 28%),
        linear-gradient(90deg, #0f172a, #075985 58%, #0f766e);
}

.sub-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 64px max(16px, calc((100% - 1200px) / 2)) 76px;
}

.sub-hero > div,
.sub-hero > a {
    position: relative;
    z-index: 2;
}

.sub-hero h1 {
    margin-bottom: 10px;
}

.sub-search {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(480px, 100%);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 18px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.category-cover-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    overflow: hidden;
    border-radius: 20px;
}

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

.category-overview-card p {
    margin: 0;
    color: #0891b2;
    font-weight: 900;
}

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

.category-overview-card span {
    display: block;
    margin-bottom: 16px;
    color: #64748b;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 160px;
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.full-filter-bar {
    grid-template-columns: minmax(260px, 1fr) 180px 160px 160px;
}

.result-note {
    margin: 0 0 18px;
    color: #64748b;
    font-weight: 700;
}

.empty-result {
    padding: 30px;
    border-radius: 20px;
    color: #64748b;
    background: #ffffff;
    text-align: center;
}

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

.detail-bg,
.detail-overlay {
    position: absolute;
    inset: 0;
}

.detail-bg {
    background-size: cover;
    background-position: center;
    filter: blur(4px) saturate(1.05);
    transform: scale(1.04);
    opacity: 0.5;
}

.detail-overlay {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.76), rgba(8, 145, 178, 0.30));
}

.detail-shell {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    margin-top: 42px;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

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

.detail-poster span {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(8, 145, 178, 0.88);
    color: #ffffff;
    text-align: center;
    font-weight: 900;
}

.detail-info h1 {
    color: #ffffff;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000000;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.movie-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.34), rgba(0, 0, 0, 0.58));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(90deg, #0891b2, #2563eb);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.36);
    font-size: 34px;
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 4;
    margin: 0;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(2, 6, 23, 0.72);
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.player-status:not(:empty) {
    opacity: 1;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px;
    gap: 20px;
    margin-top: 24px;
}

.content-card {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.content-card h2 {
    margin-bottom: 14px;
    font-size: 24px;
}

.content-card p {
    margin: 0;
    color: #475569;
}

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

.meta-card li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.meta-card span {
    color: #64748b;
}

.meta-card strong {
    text-align: right;
}

.site-footer {
    margin-top: 86px;
    color: #e2e8f0;
    background: linear-gradient(180deg, #1e293b, #0f172a);
}

.footer-grid {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 32px;
}

.footer-logo {
    margin-bottom: 12px;
    font-size: 24px;
}

.footer-grid p {
    max-width: 520px;
    margin: 0;
    color: #cbd5e1;
}

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

.footer-grid a {
    display: block;
    margin: 7px 0;
    color: #cbd5e1;
}

.footer-grid a:hover {
    color: #67e8f9;
}

.footer-link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-link-cloud a {
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0 28px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

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

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

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

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

    .ranking-panel {
        position: static;
    }

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

@media (max-width: 760px) {
    .site-logo {
        font-size: 19px;
    }

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

    .hero-content {
        padding-top: 42px;
        gap: 26px;
    }

    .hero-copy h1,
    .detail-info h1,
    .sub-hero h1 {
        font-size: 38px;
    }

    .hero-copy p,
    .detail-info p,
    .sub-hero p {
        font-size: 16px;
    }

    .hero-poster,
    .detail-poster {
        max-width: 240px;
    }

    .hero-search,
    .sub-search,
    .filter-bar,
    .full-filter-bar {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .hero-search,
    .sub-search {
        display: grid;
    }

    .page-section {
        padding-top: 58px;
    }

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

    .sub-hero {
        min-height: 360px;
        align-items: start;
        flex-direction: column;
        padding-top: 48px;
    }

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

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

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

    .content-card {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .movie-grid,
    .compact-grid,
    .ranking-grid {
        grid-template-columns: 1fr;
    }

    .mobile-nav.open {
        grid-template-columns: 1fr;
    }
}
