:root {
    --bg: #f8fafc;
    --bg-soft: #f3f4f6;
    --panel: #ffffff;
    --ink: #111827;
    --muted: #6b7280;
    --muted-2: #9ca3af;
    --line: #e5e7eb;
    --dark: #111827;
    --dark-2: #1f2937;
    --dark-3: #334155;
    --accent: #0f172a;
    --blue-soft: #eff6ff;
    --cyan-soft: #ecfeff;
    --radius: 20px;
    --shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 26px 60px rgba(15, 23, 42, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f3f4f6 52%, #fafaf9 100%);
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.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.82);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, #111827, #334155);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

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

.brand-text strong {
    font-size: 20px;
    letter-spacing: -0.03em;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #374151;
    font-weight: 600;
}

.nav-link {
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--ink);
    transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #f3f4f6;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #374151;
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: #ffffff;
    padding: 12px 16px 18px;
}

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

.mobile-nav-link {
    padding: 11px 14px;
    border-radius: 14px;
    color: #374151;
    font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    background: #f3f4f6;
    color: var(--ink);
}

.hero-slider {
    padding: 34px 0 20px;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: 34px;
    color: #ffffff;
    background: radial-gradient(circle at top left, rgba(71, 85, 105, 0.9), transparent 36%), linear-gradient(135deg, #111827 0%, #1f2937 52%, #334155 100%);
    box-shadow: var(--shadow-hover);
}

.hero-copy {
    position: absolute;
    z-index: 4;
    left: clamp(24px, 5vw, 60px);
    top: clamp(28px, 6vw, 68px);
    width: min(560px, calc(100% - 48px));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.06;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 650px;
    margin: 0;
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 20px);
}

.hero-link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-link-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 14px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-link-cloud a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: end;
    gap: 40px;
    padding: 260px clamp(24px, 5vw, 60px) 70px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px) saturate(1.12);
    transform: scale(1.12);
    opacity: 0.34;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(17, 24, 39, 0.76) 48%, rgba(17, 24, 39, 0.46) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.hero-content h2 {
    margin: 16px 0 10px;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-content p {
    margin: 0;
    color: #e5e7eb;
    font-size: 17px;
}

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

.hero-tags {
    margin-top: 18px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    padding: 6px 10px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.14);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #111827;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(255, 255, 255, 0.12);
}

.btn.ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.ghost.dark {
    color: #111827;
    background: #ffffff;
    border-color: rgba(17, 24, 39, 0.08);
}

.hero-poster {
    position: relative;
    z-index: 3;
    align-self: center;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    transform: rotate(2deg);
}

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

.hero-dots {
    position: absolute;
    z-index: 8;
    right: clamp(24px, 5vw, 60px);
    bottom: 32px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 30px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.content-section {
    padding: 36px 0;
}

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

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

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.stack-head {
    align-items: flex-start;
}

.section-more {
    color: #475569;
    font-weight: 800;
    white-space: nowrap;
}

.section-more:hover {
    color: var(--ink);
}

.strip-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x proximity;
}

.strip-row::-webkit-scrollbar,
.side-strip::-webkit-scrollbar {
    height: 8px;
}

.strip-row::-webkit-scrollbar-thumb,
.side-strip::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.strip-card {
    min-width: 168px;
    scroll-snap-align: start;
}

.strip-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: #e5e7eb;
    box-shadow: var(--shadow);
}

.strip-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.strip-poster span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    font-size: 30px;
    transition: opacity 0.2s ease;
}

.strip-card:hover .strip-poster img {
    transform: scale(1.05);
}

.strip-card:hover .strip-poster span {
    opacity: 1;
}

.strip-card h3 {
    margin: 10px 0 2px;
    font-size: 15px;
    line-height: 1.35;
}

.strip-card h3 a:hover {
    color: #475569;
}

.strip-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 44px 58px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.rank-number {
    color: #111827;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

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

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

.rank-info strong,
.rank-info small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info small {
    color: var(--muted);
    font-size: 12px;
}

.rank-arrow {
    color: #9ca3af;
    font-size: 28px;
}

.filter-panel {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 24px;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.search-box,
.filter-selects label {
    display: grid;
    gap: 7px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
}

.search-box input,
.filter-selects select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #ffffff;
    color: var(--ink);
    padding: 0 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus,
.filter-selects select:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

.filter-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 12px;
}

.no-results {
    grid-column: 1 / -1;
    margin: 0;
    color: #b91c1c;
    font-weight: 700;
}

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e5e7eb;
}

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

.movie-card:hover .poster-link img {
    transform: scale(1.05);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.78) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.poster-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 34px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

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

.poster-year {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.72);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(6px);
}

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

.movie-card-content h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

.movie-card-content h3 a:hover {
    color: #475569;
}

.movie-card-content p {
    min-height: 42px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.card-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f4f6;
}

.tag-row span {
    padding: 4px 8px;
    color: #64748b;
    background: #f8fafc;
}

.page-hero {
    margin: 34px auto 10px;
    color: #ffffff;
    border-radius: 34px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 54%, #334155 100%);
    box-shadow: var(--shadow-hover);
}

.page-hero .container {
    padding: 58px 0;
}

.slim-hero,
.category-hero {
    width: min(1180px, calc(100% - 32px));
}

.slim-hero .container,
.category-hero .container {
    width: calc(100% - 48px);
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
}

.page-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.category-block {
    padding: 22px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.category-block-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.category-block-head > span {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #334155);
    font-weight: 900;
}

.category-block h2 {
    margin: 0 0 4px;
    font-size: 22px;
}

.category-block p {
    margin: 0;
    color: var(--muted);
}

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

.category-samples .strip-card {
    min-width: 0;
}

.category-samples .strip-card h3 {
    font-size: 13px;
}

.category-enter {
    display: inline-flex;
    margin-top: 18px;
    color: #111827;
    font-weight: 900;
}

.rank-page-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.detail-shell {
    padding: 28px 0 40px;
}

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

.breadcrumbs a:hover {
    color: var(--ink);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
}

.detail-main,
.side-card {
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-main {
    overflow: hidden;
}

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

.movie-video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: #000000;
}

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

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

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

.player-start {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(10px);
    font-size: 32px;
}

.player-message {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    padding: 12px 18px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.84);
    font-weight: 800;
}

.detail-content {
    padding: clamp(22px, 4vw, 34px);
}

.detail-content h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.detail-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    color: #475569;
    background: #f3f4f6;
    font-size: 13px;
    font-weight: 800;
}

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

.detail-tags span {
    padding: 7px 10px;
    color: #374151;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.text-panel {
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    margin-top: 18px;
}

.text-panel.blue-panel {
    background: linear-gradient(135deg, var(--blue-soft), var(--cyan-soft));
}

.text-panel h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.text-panel p {
    margin: 0;
    color: #374151;
    white-space: pre-line;
}

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

.side-card {
    position: sticky;
    top: 92px;
    padding: 20px;
}

.side-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.side-strip {
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 160px);
    overflow: auto;
    padding-right: 2px;
}

.side-strip .strip-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.side-strip .strip-poster {
    border-radius: 14px;
}

.side-strip .strip-card h3,
.side-strip .strip-card p {
    grid-column: 2;
}

.side-strip .strip-card h3 {
    margin-top: 0;
}

.site-footer {
    margin-top: 54px;
    color: #cbd5e1;
    background: linear-gradient(135deg, #111827, #1f2937 58%, #0f172a);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
    gap: 34px;
    padding: 46px 0;
}

.footer-brand .brand-mark {
    background: rgba(255, 255, 255, 0.14);
}

.footer-brand .brand-text strong {
    color: #ffffff;
}

.footer-brand .brand-text small {
    color: #94a3b8;
}

.site-footer p {
    max-width: 480px;
    color: #94a3b8;
}

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

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

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

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

.footer-bottom {
    display: flex;
    justify-content: center;
    padding: 16px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

    .side-card {
        position: static;
    }

    .side-strip {
        display: flex;
        overflow-x: auto;
        max-height: none;
        padding-bottom: 12px;
    }

    .side-strip .strip-card {
        display: block;
        min-width: 150px;
    }
}

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

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

    .hero-shell {
        min-height: 780px;
    }

    .hero-copy {
        position: relative;
        left: auto;
        top: auto;
        padding: 34px 24px 0;
        width: 100%;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 360px 24px 82px;
    }

    .hero-content {
        max-width: none;
    }

    .hero-poster {
        display: none;
    }

    .hero-dots {
        left: 24px;
        right: auto;
    }

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

    .rank-grid,
    .rank-page-list,
    .category-overview,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

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

    .header-inner {
        height: 62px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .hero-slider {
        padding-top: 18px;
    }

    .hero-shell,
    .page-hero {
        border-radius: 24px;
    }

    .hero-shell {
        min-height: 830px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-slide {
        padding-top: 410px;
    }

    .hero-content h2 {
        font-size: 34px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

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

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

    .movie-card-content {
        padding: 12px;
    }

    .movie-card-content h3 {
        font-size: 15px;
    }

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

    .rank-item {
        grid-template-columns: 36px 52px minmax(0, 1fr) 20px;
        gap: 10px;
        padding: 10px;
    }

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

    .page-hero .container {
        padding: 40px 0;
    }

    .page-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-shell {
        padding-top: 16px;
    }

    .detail-content {
        padding: 18px;
    }

    .text-panel {
        padding: 18px;
    }
}
