* {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.66);
    --bg-card-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(148, 163, 184, 0.18);
    --line-strong: rgba(245, 158, 11, 0.46);
    --text: #f8fafc;
    --muted: #94a3b8;
    --subtle: #cbd5e1;
    --accent: #fbbf24;
    --accent-dark: #d97706;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.3));
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(2, 6, 23, 0.94);
    border-bottom-color: var(--line);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: #0f172a;
    box-shadow: 0 12px 30px rgba(251, 191, 36, 0.34);
    transition: transform 0.25s ease;
}

.logo-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.brand:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
}

.brand-text {
    font-size: 24px;
    color: #ffffff;
}

.brand-text span {
    color: var(--accent);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--subtle);
}

.desktop-nav > a,
.nav-menu > a {
    padding: 22px 0;
    transition: color 0.2s ease;
}

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

.nav-menu {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: -18px;
    width: 190px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

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

.nav-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--subtle);
}

.nav-dropdown a:hover {
    color: var(--accent);
    background: rgba(148, 163, 184, 0.1);
}

.nav-search {
    position: relative;
    width: min(260px, 26vw);
}

.nav-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
    padding: 10px 42px 10px 16px;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.14);
}

.nav-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.nav-search button:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 999px;
}

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

.mobile-panel.is-open {
    display: grid;
    gap: 10px;
}

.mobile-panel a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--subtle);
}

.mobile-panel a:hover {
    background: rgba(148, 163, 184, 0.1);
    color: var(--accent);
}

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 6px;
}

.mobile-search input {
    padding: 10px 14px;
}

.mobile-search button,
.primary-btn,
.ghost-btn,
.text-link,
.watch-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
}

.mobile-search button,
.primary-btn {
    border: 0;
    background: var(--accent);
    color: #111827;
    box-shadow: 0 16px 40px rgba(251, 191, 36, 0.28);
}

.mobile-search button {
    padding: 0 16px;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg);
}

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

.hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s 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;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.55), rgba(2, 6, 23, 0.95)),
        linear-gradient(0deg, var(--bg), rgba(2, 6, 23, 0.15) 40%, rgba(2, 6, 23, 0.84));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(980px, calc(100% - 32px));
    padding-top: 80px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.12);
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.hero h1,
.hero h2 {
    margin: 0 auto 20px;
    max-width: 900px;
    color: #ffffff;
    font-size: clamp(44px, 7vw, 86px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 20px 70px rgba(0, 0, 0, 0.65);
}

.hero p {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #dbeafe;
    font-size: clamp(18px, 2.4vw, 25px);
}

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

.hero-tags {
    justify-content: center;
    margin-bottom: 30px;
}

.hero-tags span,
.tag-row span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--subtle);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span:first-child,
.tag-row span:first-child {
    color: #111827;
    background: rgba(251, 191, 36, 0.92);
    border-color: transparent;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.primary-btn,
.ghost-btn {
    min-height: 52px;
    padding: 0 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.03);
    background: #f59e0b;
    box-shadow: 0 20px 50px rgba(251, 191, 36, 0.36);
}

.ghost-btn {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text);
}

.ghost-btn:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
    color: var(--accent);
}

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

.hero-dots button {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.38);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 54px;
    background: var(--accent);
}

.section {
    padding: 72px 0;
}

.section-dark {
    background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}

.section-mid {
    background: #111827;
}

.section-head {
    margin-bottom: 30px;
}

.section-head h2,
.page-hero h1,
.content-block h2,
.side-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.section-head p,
.page-hero p,
.content-block p,
.site-footer p,
.category-feature-body p,
.ranking-body p {
    margin: 10px 0 0;
    color: var(--muted);
}

.split-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.compact-head h2 {
    font-size: 30px;
}

.text-link {
    color: var(--accent);
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card a {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.movie-card a:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    background: rgba(30, 41, 59, 0.92);
    box-shadow: 0 20px 52px rgba(251, 191, 36, 0.14);
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111827;
}

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

.movie-card a:hover .card-image img {
    transform: scale(1.08);
}

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent 58%);
}

.card-badges {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.card-badges span {
    max-width: 58%;
    overflow: hidden;
    padding: 5px 9px;
    border-radius: 999px;
    color: #111827;
    background: rgba(251, 191, 36, 0.9);
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-badges span:last-child {
    color: #ffffff;
    background: rgba(15, 23, 42, 0.82);
}

.card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.88);
    color: #111827;
    font-size: 24px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.movie-card a:hover .card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-body {
    padding: 18px;
}

.card-body h3,
.card-body h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 850;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.category-card {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    transition: transform 0.24s ease, border-color 0.24s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.54;
    transition: transform 0.55s ease;
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.16));
}

.category-card div {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.category-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.category-card p {
    margin: 0;
    color: var(--subtle);
    font-size: 14px;
}

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

.ranking-panel,
.side-card {
    position: sticky;
    top: 92px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card-strong);
    box-shadow: var(--shadow);
}

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

.rank-item {
    display: grid;
    grid-template-columns: 42px 70px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
    border-color: var(--line-strong);
    background: rgba(30, 41, 59, 0.9);
}

.rank-number {
    color: var(--accent);
    font-weight: 900;
    font-size: 22px;
    text-align: center;
}

.rank-item img {
    width: 70px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
    background: #111827;
}

.rank-title {
    color: #ffffff;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-meta {
    grid-column: 3;
    margin-top: -12px;
    color: var(--muted);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-shell {
    padding-top: 68px;
    min-height: 80vh;
    background: linear-gradient(180deg, #020617, #0f172a 48%, #020617);
}

.page-hero {
    position: relative;
    padding: 88px 0 54px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 0%, rgba(251, 191, 36, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.98));
}

.small-hero h1 {
    max-width: 880px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 14px;
    margin-bottom: 28px;
}

.filter-panel input,
.filter-panel select {
    height: 48px;
    padding: 0 16px;
}

.search-panel {
    grid-template-columns: 1fr;
}

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

.category-feature a {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.category-feature a:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
}

.category-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 150px;
    overflow: hidden;
}

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

.category-feature-body {
    padding: 22px;
}

.category-feature-body span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 850;
}

.category-feature-body h2 {
    margin: 8px 0 0;
    font-size: 28px;
}

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

.ranking-card a {
    display: grid;
    grid-template-columns: 70px 160px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.ranking-card a:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    background: rgba(30, 41, 59, 0.9);
}

.ranking-number {
    color: var(--accent);
    font-size: 34px;
    font-weight: 950;
    text-align: center;
}

.ranking-card img {
    width: 160px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    background: #111827;
}

.ranking-body h2 {
    margin: 0;
    font-size: 24px;
}

.watch-pill {
    min-width: 76px;
    height: 38px;
    color: #111827;
    background: var(--accent);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: 112px 0 54px;
}

.detail-bg-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.92)),
        linear-gradient(0deg, #020617, rgba(2, 6, 23, 0.32));
}

.detail-head {
    position: relative;
    z-index: 2;
}

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

.detail-poster {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 28px;
    background: #111827;
    box-shadow: var(--shadow);
}

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

.detail-info h1 {
    margin: 0 0 16px;
    max-width: 820px;
    font-size: clamp(36px, 6vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.lead {
    max-width: 850px;
    margin: 0 0 20px;
    color: #dbeafe;
    font-size: 20px;
}

.detail-tags {
    margin-bottom: 22px;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 780px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.detail-meta li {
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.66);
}

.detail-meta span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.detail-meta strong {
    display: block;
    margin-top: 2px;
    color: #ffffff;
}

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

.player-box {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #000000;
    box-shadow: var(--shadow);
}

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

.player-poster {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1), rgba(0, 0, 0, 0.42));
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-button {
    width: 88px;
    height: 88px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #111827;
    font-size: 38px;
    cursor: pointer;
    box-shadow: 0 20px 58px rgba(251, 191, 36, 0.38);
    transition: transform 0.2s ease, background 0.2s ease;
}

.player-button:hover {
    transform: scale(1.06);
    background: #f59e0b;
}

.content-block {
    margin-top: 24px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.content-block h2,
.side-card h2 {
    font-size: 28px;
}

.content-block p {
    color: var(--subtle);
    font-size: 17px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
    padding: 54px 0;
}

.footer-brand {
    margin-bottom: 16px;
}

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

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

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

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

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

.footer-bottom {
    padding: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

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

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

    .nav-toggle {
        display: block;
    }

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

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

    .ranking-panel,
    .side-card {
        position: static;
    }

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

    .detail-head-grid {
        grid-template-columns: 220px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .nav-wrap {
        height: 62px;
    }

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

    .hero-content {
        text-align: left;
    }

    .hero-tags,
    .hero-actions {
        justify-content: flex-start;
    }

    .section {
        padding: 52px 0;
    }

    .split-head {
        display: block;
    }

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

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .ranking-card a {
        grid-template-columns: 48px 100px minmax(0, 1fr);
    }

    .ranking-card img {
        width: 100px;
    }

    .watch-pill {
        grid-column: 2 / 4;
        width: fit-content;
    }

    .detail-hero {
        padding-top: 94px;
    }

    .detail-head-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-meta {
        grid-template-columns: 1fr;
    }

    .player-button {
        width: 72px;
        height: 72px;
        font-size: 32px;
    }

    .footer-grid {
        padding: 40px 0;
    }
}
