:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111827;
    --card: #1e293b;
    --card-hover: #334155;
    --text: #ffffff;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --line: rgba(148, 163, 184, 0.18);
    --brand: #2563eb;
    --brand-hover: #1d4ed8;
    --cyan: #22d3ee;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34rem), var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
}

.nav-container {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), #06b6d4);
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.42);
    font-size: 15px;
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link {
    color: var(--muted-strong);
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #ffffff;
}

.nav-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search input,
.mobile-search input,
.big-search input,
.filter-bar input,
.filter-bar select,
.home-search input {
    border: 1px solid rgba(148, 163, 184, 0.18);
    outline: none;
    background: rgba(30, 41, 59, 0.92);
    color: #ffffff;
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
    width: 250px;
    padding: 10px 14px;
}

.nav-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.home-search input:focus {
    border-color: rgba(34, 211, 238, 0.65);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08);
}

.nav-search button,
.mobile-search button,
.big-search button,
.home-search button {
    border: none;
    color: #ffffff;
    border-radius: 12px;
    background: var(--brand);
    padding: 10px 16px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.home-search button:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
}

.mobile-menu-button {
    display: none;
    margin-left: auto;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 28px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.98);
    padding: 16px 24px 22px;
}

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

.mobile-search {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.mobile-search input {
    min-width: 0;
    flex: 1;
    padding: 12px 14px;
}

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

.mobile-link {
    color: var(--muted-strong);
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
}

.mobile-link:hover,
.mobile-link.is-active {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.42);
}

.hero {
    position: relative;
    height: 640px;
    overflow: hidden;
    background: #000000;
}

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

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08) brightness(0.72);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.16)), linear-gradient(0deg, var(--bg), transparent 34%);
}

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

.hero-copy {
    max-width: 720px;
}

.hero-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand);
    color: #ffffff;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.05em;
    font-weight: 900;
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.42);
}

.hero-one {
    margin: 0 0 10px;
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.6;
    max-width: 680px;
}

.hero-summary {
    margin: 0 0 24px;
    color: var(--muted-strong);
    line-height: 1.8;
    max-width: 680px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-actions,
.tag-row,
.footer-links,
.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    background: var(--brand);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.38);
}

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

.ghost-button {
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.16);
    color: #ffffff;
}

.ghost-button:hover {
    background: rgba(51, 65, 85, 0.86);
    transform: translateY(-2px);
}

.hero-poster {
    width: min(30vw, 300px);
    aspect-ratio: 2 / 3;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform: rotate(2deg);
    flex-shrink: 0;
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-tags {
    margin-bottom: 26px;
}

.tag-row span {
    color: #dbeafe;
    border: 1px solid rgba(96, 165, 250, 0.28);
    background: rgba(37, 99, 235, 0.17);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.48);
    color: #ffffff;
    font-size: 34px;
    z-index: 5;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.74);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 18px;
    height: 5px;
    border: none;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.72);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.home-search {
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.75));
}

.home-search-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.home-search h2 {
    margin: 0 0 6px;
    font-size: 24px;
}

.home-search p {
    margin: 0;
    color: var(--muted);
}

.home-search form,
.big-search {
    display: flex;
    gap: 10px;
}

.home-search input,
.big-search input {
    width: min(58vw, 480px);
    padding: 14px 16px;
}

.content-section,
.page-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px;
}

.content-section + .content-section {
    padding-top: 14px;
}

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

.section-heading h2,
.rank-title-block h2,
.info-panel h2,
.detail-card h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
}

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

.section-more,
.rank-title-block a {
    color: #93c5fd;
    font-weight: 700;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-chips a {
    padding: 14px 22px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.92);
    color: #ffffff;
    border: 1px solid var(--line);
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.category-chips a:hover {
    transform: translateY(-2px);
    background: var(--brand);
}

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

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

.movie-link,
.wide-link,
.ranking-card a {
    display: block;
    height: 100%;
}

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 18px;
    background: #1e293b;
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.28);
}

.poster-frame img,
.wide-image img,
.category-card img,
.ranking-card img,
.side-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover .poster-frame img,
.wide-card:hover .wide-image img,
.category-card:hover img,
.ranking-card:hover img {
    transform: scale(1.08);
}

.poster-mask {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2));
    transition: opacity 0.25s ease;
}

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

.poster-mask span {
    background: var(--brand);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 800;
}

.card-badge,
.card-year {
    position: absolute;
    top: 10px;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.card-badge {
    left: 10px;
    background: var(--brand);
    color: #ffffff;
}

.card-year {
    right: 10px;
    background: rgba(0, 0, 0, 0.62);
    color: #ffffff;
}

.movie-info {
    padding: 12px 2px 0;
}

.card-meta {
    color: #60a5fa;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.movie-info h3,
.wide-info h3 {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.45;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.movie-link:hover h3,
.wide-link:hover h3,
.ranking-card:hover h2 {
    color: #60a5fa;
}

.movie-info p,
.wide-info p,
.ranking-card p,
.detail-card p,
.info-panel dd,
.page-hero p {
    color: var(--muted-strong);
    line-height: 1.75;
}

.movie-info p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.rank-panel,
.detail-card,
.info-panel,
.player-card {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.rank-panel {
    padding: 24px;
    position: sticky;
    top: 96px;
}

.rank-title-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.rank-list {
    display: grid;
    gap: 10px;
}

.rank-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.76);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    background: rgba(37, 99, 235, 0.32);
    transform: translateX(3px);
}

.rank-no {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(37, 99, 235, 0.26);
    color: #bfdbfe;
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-score {
    color: #fbbf24;
    font-weight: 900;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.88);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    font-size: 22px;
    font-weight: 900;
}

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

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

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

.page-shell {
    min-height: 68vh;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 56px;
    background: radial-gradient(circle at 90% 20%, rgba(34, 211, 238, 0.2), transparent 30%), linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(15, 23, 42, 0.96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.small-hero {
    margin-bottom: 20px;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 900;
}

.page-hero p {
    max-width: 780px;
    margin: 0;
    font-size: 18px;
}

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

.category-card {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow);
}

.category-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.24));
}

.category-card-body {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
}

.category-card span {
    color: var(--cyan);
    font-weight: 900;
}

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

.category-card p {
    margin: 0;
    color: var(--muted-strong);
    line-height: 1.6;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    margin-bottom: 22px;
}

.breadcrumb a {
    color: #93c5fd;
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-bar input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
}

.filter-bar select {
    padding: 14px 16px;
}

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

.wide-card {
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.wide-card:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.48);
}

.wide-link {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
}

.wide-image {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--card);
}

.wide-info {
    padding: 18px;
}

.wide-info h3 {
    font-size: 20px;
    min-height: auto;
}

.wide-info p {
    margin: 10px 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.empty-state {
    display: none;
    color: var(--muted);
    text-align: center;
    padding: 48px 0;
    font-size: 18px;
}

.empty-state.is-visible {
    display: block;
}

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

.ranking-card {
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}

.ranking-card a {
    display: grid;
    grid-template-columns: 74px 104px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 18px;
    padding: 14px;
}

.ranking-number {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.22);
    color: #bfdbfe;
    font-size: 20px;
    font-weight: 900;
}

.ranking-card img {
    width: 104px;
    height: 140px;
    border-radius: 14px;
    background: var(--card);
}

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

.ranking-card p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ranking-card strong {
    color: #fbbf24;
    font-size: 24px;
}

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

.movie-main {
    display: grid;
    gap: 24px;
}

.player-card {
    overflow: hidden;
}

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

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

.player-start {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), rgba(0, 0, 0, 0.48));
    color: #ffffff;
    display: grid;
    place-items: center;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-start span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.48);
    font-size: 34px;
    padding-left: 5px;
}

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

.detail-card {
    padding: 28px;
}

.detail-card h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4.4vw, 48px);
    line-height: 1.15;
}

.detail-meta {
    color: var(--muted);
    margin-bottom: 18px;
}

.detail-meta span,
.detail-meta strong {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 12px;
}

.detail-meta strong {
    color: #fbbf24;
}

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

.detail-card section {
    margin-top: 26px;
}

.detail-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.detail-card p {
    margin: 0;
}

.movie-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 96px;
}

.side-poster {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--card);
    box-shadow: var(--shadow);
}

.info-panel {
    padding: 24px;
}

.info-panel dl {
    display: grid;
    gap: 16px;
    margin: 18px 0 0;
}

.info-panel dt {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.info-panel dd {
    margin: 0;
    font-weight: 700;
}

.info-panel a {
    color: #93c5fd;
}

.related-section {
    padding-left: 0;
    padding-right: 0;
}

.search-card.is-hidden {
    display: none;
}

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

    .mobile-menu-button {
        display: block;
    }

    .nav-search {
        margin-left: auto;
    }

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

    .two-column,
    .movie-layout {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .movie-side {
        position: static;
    }

    .movie-side {
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

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

    .hero {
        height: 720px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        padding-top: 40px;
        padding-bottom: 78px;
    }

    .hero-poster {
        width: 190px;
        transform: none;
    }

    .hero-arrow {
        display: none;
    }

    .home-search-inner,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .home-search form,
    .big-search {
        flex-direction: column;
    }

    .home-search input,
    .big-search input {
        width: 100%;
    }

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

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

    .page-hero {
        padding: 36px 24px;
    }

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

    .ranking-card strong {
        grid-column: 3;
    }

    .ranking-card img {
        width: 82px;
        height: 110px;
    }

    .movie-side {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 620px) {
    .nav-container {
        padding: 0 16px;
    }

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

    .hero {
        height: 660px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-one {
        font-size: 17px;
    }

    .hero-summary {
        -webkit-line-clamp: 2;
    }

    .hero-poster {
        display: none;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 260px;
    }

    .content-section,
    .page-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-heading,
    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

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

    .wide-link {
        grid-template-columns: 116px minmax(0, 1fr);
    }

    .wide-info {
        padding: 14px;
    }

    .wide-info h3 {
        font-size: 17px;
    }

    .wide-info p {
        -webkit-line-clamp: 2;
    }

    .ranking-card a {
        grid-template-columns: 42px 72px minmax(0, 1fr);
        gap: 12px;
    }

    .ranking-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .ranking-card img {
        width: 72px;
        height: 98px;
    }

    .ranking-card h2 {
        font-size: 18px;
    }

    .footer-links {
        align-items: flex-start;
        flex-direction: column;
    }
}
