:root {
    color-scheme: light;
    --rose: #f43f5e;
    --rose-dark: #e11d48;
    --rose-soft: #fff1f2;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f9fafb;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 36%, #f9fafb 100%);
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
    min-height: 60vh;
}

img {
    background: linear-gradient(135deg, #111827, #f43f5e);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(16px);
}

.site-header-inner {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo span {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rose), #db2777);
    box-shadow: 0 10px 24px rgba(244, 63, 94, 0.28);
}

.site-logo strong {
    font-size: 19px;
    letter-spacing: -0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.site-nav > a,
.nav-dropdown > button {
    padding: 8px 14px;
    border-radius: 999px;
    color: #374151;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a.is-active,
.nav-dropdown:hover > button {
    color: var(--rose-dark);
    background: var(--rose-soft);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 180px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: grid;
    gap: 4px;
}

.nav-dropdown-menu a {
    padding: 9px 12px;
    border-radius: 12px;
    color: #374151;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--rose-soft);
    color: var(--rose-dark);
}

.header-search {
    width: 260px;
    height: 42px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    overflow: hidden;
}

.header-search input {
    width: 100%;
    padding: 0 14px;
    outline: none;
    color: var(--ink);
}

.header-search button {
    height: 100%;
    padding: 0 16px;
    background: var(--rose);
    color: #ffffff;
    font-weight: 700;
}

.mobile-nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: #ffffff;
}

.mobile-nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--ink);
}

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

.mobile-nav-panel a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 600;
    color: #374151;
}

.mobile-nav-panel a.is-active,
.mobile-nav-panel a:hover {
    color: var(--rose-dark);
    background: var(--rose-soft);
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #111827;
}

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

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 6s ease;
}

.hero-slide.is-active > img {
    transform: scale(1.1);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 700px;
    color: #ffffff;
}

.hero-tags,
.detail-tags,
.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero-tags a,
.hero-tags span,
.detail-tags span,
.hero-keywords span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.82);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero-tags span:nth-child(2),
.detail-tags span:nth-child(2) {
    background: rgba(59, 130, 246, 0.82);
}

.hero-tags span:nth-child(3),
.detail-tags span:nth-child(3) {
    background: rgba(17, 24, 39, 0.72);
}

.hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 620px;
    margin-top: 22px;
    color: #e5e7eb;
    font-size: 19px;
    line-height: 1.8;
}

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

.hero-keywords span {
    background: rgba(255, 255, 255, 0.16);
}

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

.primary-action,
.ghost-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-action {
    color: #ffffff;
    background: var(--rose);
    box-shadow: 0 18px 40px rgba(244, 63, 94, 0.34);
}

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

.primary-action:hover {
    background: var(--rose-dark);
}

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

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.48);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translateY(-50%) scale(1.06);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.25s ease, background 0.25s ease;
}

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

.quick-panel,
.content-section,
.filter-bar,
.detail-layout {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.quick-panel {
    display: grid;
    grid-template-columns: minmax(280px, 460px) 1fr;
    gap: 24px;
    align-items: stretch;
    margin-top: -50px;
    position: relative;
    z-index: 8;
}

.quick-search-card,
.category-chips,
.filter-bar,
.detail-card,
.info-panel,
.category-tile,
.movie-card,
.compact-rank-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(229, 231, 235, 0.92);
    box-shadow: var(--shadow);
}

.quick-search-card {
    padding: 26px;
    border-radius: 26px;
}

.quick-search-card h2 {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.quick-search-form {
    margin-top: 16px;
    display: flex;
    min-height: 50px;
    overflow: hidden;
    border: 2px solid #f3f4f6;
    border-radius: 999px;
    background: #ffffff;
}

.quick-search-form input {
    flex: 1;
    min-width: 0;
    padding: 0 18px;
    outline: none;
}

.quick-search-form button {
    padding: 0 22px;
    color: #ffffff;
    background: var(--rose);
    font-weight: 800;
}

.category-chips {
    padding: 22px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.category-chips a,
.tag-cloud a,
.filter-actions button,
.filter-actions select {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 15px;
    border-radius: 999px;
    color: #374151;
    background: #f3f4f6;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-chips a:hover,
.tag-cloud a:hover,
.filter-actions button:hover,
.filter-actions button.is-active {
    color: #ffffff;
    background: var(--rose);
    transform: translateY(-1px);
}

.content-section {
    padding-top: 72px;
    padding-bottom: 28px;
}

.soft-section {
    max-width: none;
    padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
}

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

.section-heading p {
    margin-bottom: 4px;
    color: var(--rose);
    font-weight: 800;
}

.section-heading h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-heading > a {
    color: var(--rose-dark);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111827;
}

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

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

.poster-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
    opacity: 0.75;
}

.movie-year,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 3px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.movie-year {
    right: 10px;
    top: 10px;
    background: rgba(17, 24, 39, 0.72);
}

.rank-badge {
    left: 10px;
    top: 10px;
    background: linear-gradient(135deg, var(--rose), #db2777);
}

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

.movie-card-body h3 {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.movie-card-body h3 a:hover {
    color: var(--rose-dark);
}

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

.movie-card-meta {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.movie-card-meta a {
    color: var(--rose-dark);
}

.rank-section {
    padding-bottom: 64px;
}

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

.compact-rank-card {
    min-height: 86px;
    padding: 10px 14px;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 34px 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.compact-rank-card:hover {
    transform: translateY(-3px);
    border-color: rgba(244, 63, 94, 0.45);
}

.compact-rank-card > span {
    grid-row: 1 / 3;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--rose);
    font-weight: 900;
}

.compact-rank-card img {
    grid-row: 1 / 3;
    width: 52px;
    height: 66px;
    border-radius: 10px;
    object-fit: cover;
}

.compact-rank-card strong {
    align-self: end;
    font-weight: 900;
    line-height: 1.35;
}

.compact-rank-card em {
    align-self: start;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.page-hero {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 24px;
    text-align: center;
}

.page-hero > div {
    max-width: 850px;
}

.page-hero p:first-child {
    margin-bottom: 10px;
    color: var(--rose);
    font-weight: 900;
}

.page-hero h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.page-hero p:last-child {
    margin-top: 18px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.8;
}

.gradient-hero {
    background: radial-gradient(circle at top left, rgba(244, 63, 94, 0.22), transparent 30%), linear-gradient(135deg, #fff1f2 0%, #ffffff 65%);
}

.dark-hero {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
}

.dark-hero p:last-child {
    color: #d1d5db;
}

.light-hero {
    background: linear-gradient(180deg, #ffffff, #f9fafb);
}

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

.category-tile {
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.18);
}

.category-preview {
    height: 150px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    overflow: hidden;
    background: #111827;
}

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

.category-tile-body {
    padding: 18px;
}

.category-tile-body h2 {
    font-size: 20px;
    font-weight: 900;
}

.category-tile-body p {
    margin-top: 9px;
    min-height: 72px;
    color: var(--muted);
    line-height: 1.65;
}

.category-tile-body span {
    display: inline-flex;
    margin-top: 14px;
    color: var(--rose-dark);
    font-weight: 900;
}

.filter-bar {
    margin-top: 34px;
    padding-top: 0;
    padding-bottom: 0;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.filter-search input {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: 2px solid #f3f4f6;
    border-radius: 999px;
    background: #ffffff;
    outline: none;
}

.filter-search input:focus {
    border-color: var(--rose);
}

.large-search input {
    min-height: 58px;
    font-size: 17px;
}

.filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-actions select {
    appearance: none;
    border: 0;
    outline: 0;
    color: #374151;
    cursor: pointer;
}

.empty-result {
    margin-top: 24px;
    padding: 32px;
    border-radius: 18px;
    text-align: center;
    background: #ffffff;
    color: var(--muted);
    border: 1px solid var(--line);
}

.detail-hero {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: #111827;
}

.detail-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) saturate(1.05);
    transform: scale(1.05);
}

.detail-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.12));
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    min-height: 440px;
    margin: 0 auto;
    padding: 60px 24px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    color: #d1d5db;
    font-weight: 700;
}

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

.detail-hero-content h1 {
    max-width: 900px;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.detail-hero-content p {
    max-width: 760px;
    margin-top: 20px;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.8;
}

.detail-tags {
    margin-top: 24px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 28px;
    padding-top: 42px;
    align-items: start;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.player-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-icon {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    background: var(--rose);
    box-shadow: 0 18px 50px rgba(244, 63, 94, 0.48);
    font-size: 34px;
}

.player-overlay strong {
    font-size: 18px;
    letter-spacing: 0.08em;
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 6;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    pointer-events: none;
}

.detail-card,
.info-panel {
    margin-top: 24px;
    padding: 26px;
    border-radius: 24px;
}

.detail-card h2,
.info-panel h2 {
    margin-bottom: 14px;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.detail-card p {
    color: #374151;
    font-size: 16px;
    line-height: 2;
}

.detail-aside {
    position: sticky;
    top: 96px;
}

.info-panel {
    margin-top: 0;
}

.info-panel dl {
    display: grid;
    gap: 12px;
}

.info-panel dl > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.info-panel dt {
    color: var(--muted);
}

.info-panel dd {
    text-align: right;
    font-weight: 800;
}

.info-panel dd a {
    color: var(--rose-dark);
}

.tag-cloud {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.neighbor-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.neighbor-links a {
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    color: #374151;
    font-weight: 800;
}

.neighbor-links a:hover {
    color: var(--rose-dark);
    border-color: rgba(244, 63, 94, 0.4);
}

.related-section {
    margin-top: 42px;
}

.site-footer {
    margin-top: 70px;
    padding: 52px 24px 24px;
    background: #111827;
    color: #e5e7eb;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 36px;
}

.footer-logo {
    color: #ffffff;
}

.site-footer p {
    max-width: 520px;
    margin-top: 16px;
    color: #9ca3af;
    line-height: 1.8;
}

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

.site-footer a:not(.site-logo) {
    display: inline-flex;
    margin: 0 14px 10px 0;
    color: #d1d5db;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 36px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9ca3af;
    font-size: 14px;
}

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

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

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

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

    .detail-aside {
        position: static;
    }
}

@media (max-width: 920px) {
    .site-nav,
    .header-search {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
        margin-left: auto;
    }

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

    .hero-slider {
        height: 560px;
    }

    .hero-content {
        align-items: flex-end;
        padding-bottom: 82px;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 12vw, 56px);
    }

    .hero-control {
        display: none;
    }

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

    .filter-actions {
        justify-content: flex-start;
    }

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

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

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

@media (max-width: 640px) {
    .site-header-inner {
        height: 64px;
        padding: 0 16px;
    }

    .site-logo strong {
        font-size: 17px;
    }

    .hero-slider {
        height: 520px;
    }

    .hero-content,
    .detail-hero-content,
    .quick-panel,
    .content-section,
    .filter-bar,
    .detail-layout {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-copy p {
        font-size: 16px;
        line-height: 1.7;
    }

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

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

    .movie-card-body p {
        display: none;
    }

    .category-grid,
    .rank-grid,
    .neighbor-links {
        grid-template-columns: 1fr;
    }

    .compact-rank-card {
        grid-template-columns: 32px 48px 1fr;
    }

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

    .detail-card,
    .info-panel {
        padding: 20px;
    }

    .chip-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .filter-actions select {
        flex: 0 0 auto;
    }
}
