:root {
    --red-700: #b91c1c;
    --red-600: #dc2626;
    --red-500: #ef4444;
    --red-50: #fef2f2;
    --gray-950: #030712;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--gray-50);
    color: var(--gray-900);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "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;
}

.narrow-container {
    width: min(920px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

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

.brand-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    color: var(--white);
    font-size: 14px;
    box-shadow: 0 12px 26px rgba(220, 38, 38, 0.28);
}

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

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    position: relative;
    padding: 22px 0;
    color: var(--gray-700);
    font-weight: 650;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    height: 2px;
    background: var(--red-600);
    border-radius: 999px;
    content: "";
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    border-radius: 12px;
    background: var(--gray-100);
    cursor: pointer;
}

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

.mobile-nav {
    display: none;
    padding: 10px 16px 18px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

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

.mobile-nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 650;
}

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

.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 540px;
    overflow: hidden;
    background: var(--gray-950);
}

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

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

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(239, 68, 68, 0.24), transparent 32%),
        linear-gradient(90deg, rgba(3, 7, 18, 0.88), rgba(17, 24, 39, 0.56), rgba(17, 24, 39, 0.08));
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 680px;
    padding-top: 36px;
    color: var(--white);
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--red-600);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 18px 0 14px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 620px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
}

.hero-meta,
.detail-meta,
.wide-meta,
.ranking-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero-meta span,
.detail-meta span {
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

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

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

.primary-button {
    min-height: 46px;
    padding: 0 24px;
    background: var(--red-600);
    color: var(--white);
    box-shadow: 0 16px 30px rgba(220, 38, 38, 0.34);
}

.primary-button:hover {
    background: var(--red-700);
    transform: translateY(-2px);
}

.ghost-button {
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    backdrop-filter: blur(12px);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    cursor: pointer;
    font-size: 38px;
    line-height: 1;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

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

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--white);
}

.category-strip {
    background: var(--gray-50);
    padding: 26px 0 8px;
}

.category-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.category-strip a {
    padding: 12px 24px;
    border-radius: 14px;
    background: var(--white);
    color: var(--gray-700);
    font-weight: 800;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.category-strip a:hover {
    background: var(--red-50);
    color: var(--red-600);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.section-block {
    padding-top: 64px;
    padding-bottom: 64px;
}

.light-section {
    background: var(--white);
}

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

.section-title-row h2,
.page-hero h1,
.detail-copy h1 {
    margin: 10px 0 0;
    color: var(--gray-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.section-kicker {
    background: var(--red-50);
    color: var(--red-600);
}

.section-link,
.text-button {
    color: var(--red-600);
}

.section-link:hover,
.text-button:hover {
    color: var(--red-700);
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    border-color: rgba(220, 38, 38, 0.24);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--gray-200);
}

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

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

.year-badge {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--red-600);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(3, 7, 18, 0.62));
    opacity: 0;
    transition: opacity 0.22s ease;
}

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

.card-content {
    padding: 16px;
}

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

.card-content h2 a:hover {
    color: var(--red-600);
}

.card-content p {
    display: -webkit-box;
    min-height: 46px;
    margin: 8px 0 13px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    justify-content: space-between;
    color: var(--gray-500);
    font-size: 12px;
}

.card-meta span:last-child {
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
}

.compact-card .card-content h2 {
    font-size: 15px;
}

.compact-card .card-content p {
    font-size: 13px;
}

.horizontal-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 0 18px;
    scroll-snap-type: x mandatory;
}

.scroll-item {
    width: 248px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.wide-list {
    display: grid;
    gap: 18px;
}

.wide-movie-row,
.ranking-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wide-movie-row:hover,
.ranking-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.wide-poster,
.ranking-poster {
    display: block;
    min-height: 170px;
    overflow: hidden;
    background: var(--gray-200);
}

.wide-poster img,
.ranking-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wide-content,
.ranking-content {
    padding: 18px 18px 18px 0;
}

.wide-title,
.ranking-content h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 850;
    line-height: 1.3;
}

.wide-title:hover,
.ranking-content h2 a:hover {
    color: var(--red-600);
}

.wide-content p,
.ranking-content p {
    margin: 10px 0 16px;
    color: var(--gray-600);
}

.wide-meta,
.ranking-meta {
    color: var(--gray-500);
    font-size: 13px;
}

.wide-meta span,
.ranking-meta span {
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--gray-100);
}

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

.ranking-panel {
    position: sticky;
    top: 92px;
    border-radius: var(--radius-lg);
    background: var(--white);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.compact-title {
    margin-bottom: 16px;
}

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

.ranking-item {
    position: relative;
    grid-template-columns: 70px 118px 1fr;
    align-items: stretch;
}

.compact-ranking .ranking-item {
    grid-template-columns: 46px 84px 1fr;
    gap: 12px;
    border-radius: 14px;
}

.rank-number {
    display: grid;
    place-items: center;
    color: var(--red-600);
    font-size: 24px;
    font-weight: 900;
}

.compact-ranking .rank-number {
    font-size: 17px;
}

.ranking-poster {
    min-height: 132px;
}

.compact-ranking .ranking-poster {
    min-height: 106px;
}

.compact-ranking .ranking-content {
    padding: 12px 12px 12px 0;
}

.compact-ranking .ranking-content h2 {
    font-size: 15px;
}

.compact-ranking .ranking-content p {
    display: -webkit-box;
    margin: 6px 0 8px;
    overflow: hidden;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.compact-ranking .ranking-meta {
    gap: 5px;
    font-size: 11px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(239, 68, 68, 0.18), transparent 26%),
        linear-gradient(135deg, var(--gray-950), var(--gray-800));
    color: var(--white);
}

.red-hero {
    background:
        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(135deg, var(--red-700), var(--red-600));
}

.search-hero {
    background:
        radial-gradient(circle at 72% 24%, rgba(239, 68, 68, 0.25), transparent 30%),
        linear-gradient(135deg, #111827, #7f1d1d);
}

.category-hero {
    background:
        radial-gradient(circle at 80% 30%, rgba(239, 68, 68, 0.25), transparent 28%),
        linear-gradient(135deg, #1f2937, #991b1b);
}

.page-hero-content h1,
.page-hero-content p {
    color: var(--white);
}

.page-hero-content p {
    max-width: 720px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

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

.category-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-cover-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 180px;
    overflow: hidden;
    background: var(--gray-200);
}

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

.category-card-body {
    padding: 20px;
}

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

.category-card-body p {
    margin: 0 0 16px;
    color: var(--gray-600);
}

.filter-section {
    position: sticky;
    top: 69px;
    z-index: 50;
    padding: 18px 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.82);
    background: rgba(249, 250, 251, 0.92);
    backdrop-filter: blur(16px);
}

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

.wide-filter {
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, 180px);
}

.search-input,
.filter-select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
    color: var(--gray-800);
    outline: none;
    padding: 0 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.search-input:focus,
.filter-select:focus {
    border-color: rgba(220, 38, 38, 0.42);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.detail-hero {
    position: relative;
    padding: 62px 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(239, 68, 68, 0.22), transparent 28%),
        linear-gradient(135deg, #030712, #111827 54%, #7f1d1d);
    color: var(--white);
}

.detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 38px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    background: var(--gray-800);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.36);
}

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

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

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

.detail-copy h1 {
    color: var(--white);
    font-size: clamp(38px, 5vw, 62px);
}

.detail-one-line {
    max-width: 760px;
    margin: 18px 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 20px 0 28px;
}

.tag-list span {
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

.player-section {
    padding: 42px 0 12px;
    background: var(--gray-950);
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.18), rgba(3, 7, 18, 0.46));
    color: var(--white);
    cursor: pointer;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

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

.play-circle {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 50%;
    background: var(--red-600);
    box-shadow: 0 18px 45px rgba(220, 38, 38, 0.42);
    font-size: 32px;
    transform: translateX(3px);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.detail-article,
.detail-side-card {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.detail-article {
    padding: 30px;
}

.detail-article h2,
.detail-side-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.detail-article h2:not(:first-child) {
    margin-top: 26px;
}

.detail-article p {
    margin: 0;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.9;
}

.detail-side-card {
    padding: 24px;
}

.detail-side-card dl {
    margin: 0;
}

.detail-side-card dt {
    margin-top: 14px;
    color: var(--gray-500);
    font-size: 13px;
}

.detail-side-card dd {
    margin: 4px 0 0;
    color: var(--gray-900);
    font-weight: 750;
}

.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    margin-top: 30px;
    padding: 54px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
}

.footer-brand {
    color: var(--white);
    font-size: 22px;
}

.footer-main p {
    max-width: 520px;
    margin: 14px 0 0;
    color: var(--gray-300);
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 17px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--red-500);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-500);
    font-size: 13px;
    text-align: center;
}

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

    .menu-button {
        display: block;
    }

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

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

    .ranking-panel {
        position: static;
    }

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

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

    .hero-slider {
        height: 78vh;
        min-height: 560px;
    }

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

    .hero-arrow {
        display: none;
    }

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

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

    .card-content {
        padding: 12px;
    }

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

    .card-meta {
        gap: 6px;
    }

    .wide-movie-row,
    .ranking-item,
    .compact-ranking .ranking-item {
        grid-template-columns: 94px 1fr;
        gap: 12px;
    }

    .rank-number {
        position: absolute;
        top: 8px;
        left: 8px;
        z-index: 2;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.92);
        font-size: 14px;
    }

    .wide-content,
    .ranking-content,
    .compact-ranking .ranking-content {
        padding: 12px 12px 12px 0;
    }

    .wide-title,
    .ranking-content h2 {
        font-size: 16px;
    }

    .wide-content p,
    .ranking-content p {
        display: -webkit-box;
        margin: 6px 0 10px;
        overflow: hidden;
        font-size: 13px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .wide-poster,
    .ranking-poster,
    .compact-ranking .ranking-poster {
        min-height: 128px;
    }

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

    .filter-section {
        position: static;
    }

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

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

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

@media (max-width: 460px) {
    .mobile-nav.is-open {
        grid-template-columns: 1fr;
    }

    .movie-grid,
    .small-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

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

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

    .primary-button,
    .ghost-button {
        width: 100%;
    }
}
