:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #eef6ff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --accent: #0284c7;
    --accent-dark: #0369a1;
    --accent-soft: #e0f2fe;
    --gold: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 18px 45px rgba(15, 23, 42, .10);
    --shadow-strong: 0 24px 70px rgba(15, 23, 42, .22);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(226, 232, 240, .86);
    backdrop-filter: blur(18px);
}

.nav-shell {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #0f172a;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #38bdf8, #0284c7 45%, #0f172a);
    box-shadow: 0 14px 26px rgba(2, 132, 199, .28);
}

.brand-name {
    white-space: nowrap;
    letter-spacing: -.02em;
}

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

.site-nav a {
    padding: 10px 14px;
    color: #334155;
    border-radius: 999px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.top-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(330px, 30vw);
    padding: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.top-search input,
.large-search input,
.live-search-input {
    border: 0;
    outline: 0;
    width: 100%;
    color: #0f172a;
    background: transparent;
}

.top-search button,
.large-search button {
    border: 0;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent);
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #f1f5f9;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #0f172a;
    border-radius: 999px;
}

.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: #fff;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background-size: cover;
    background-position: center;
    transition: opacity .65s ease;
}

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

.hero-slide::after,
.detail-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 56px;
    align-items: center;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-copy .eyebrow,
.detail-copy .eyebrow,
.detail-hero .eyebrow {
    color: #7dd3fc;
}

.hero-copy h1,
.hero-copy h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -.05em;
    font-weight: 900;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    max-width: 700px;
}

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

.hero-tags,
.detail-tags {
    margin-top: 22px;
}

.hero-tags span,
.detail-tags a,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span,
.detail-tags a {
    color: #e0f2fe;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
}

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

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

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

.btn-primary {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 16px 28px rgba(2, 132, 199, .34);
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
}

.hero-poster-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
    transform: rotate(2deg);
    transition: transform .25s ease;
}

.hero-poster-card:hover {
    transform: rotate(0deg) translateY(-6px);
}

.hero-poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster-card span,
.score-badge,
.detail-poster span {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-weight: 900;
    border-radius: 999px;
    padding: 7px 10px;
    box-shadow: 0 12px 24px rgba(239, 68, 68, .24);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, .46);
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

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

.section {
    padding: 48px 0;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.03em;
}

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

.section-link {
    color: var(--accent-dark);
    font-weight: 800;
    white-space: nowrap;
}

.quick-search-block {
    margin-top: -36px;
    position: relative;
    z-index: 5;
}

.quick-search-card {
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, .8);
}

.quick-search-card h2 {
    margin: 0 0 18px;
    font-size: clamp(24px, 4vw, 40px);
    letter-spacing: -.04em;
}

.large-search {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #f8fafc;
}

.large-search input {
    padding: 0 12px;
    min-height: 48px;
}

.large-search button {
    padding: 0 22px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.quick-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    font-weight: 800;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e2e8f0;
}

.movie-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform .35s ease;
}

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

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, .82);
    font-weight: 900;
}

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

.movie-meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-card h3,
.ranking-info h2 {
    margin: 7px 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 900;
}

.movie-card p,
.ranking-info p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.tag-list {
    margin-top: 12px;
}

.tag-list span {
    color: #0369a1;
    background: #e0f2fe;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.ranking-panel {
    padding: 20px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, .86);
}

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

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.panel-title span {
    font-size: 20px;
    font-weight: 900;
}

.panel-title a {
    color: var(--accent-dark);
    font-weight: 800;
}

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

.small-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 16px;
    background: #f8fafc;
    transition: background .2s ease, transform .2s ease;
}

.small-card:hover {
    background: #e0f2fe;
    transform: translateX(3px);
}

.small-card img {
    width: 58px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    object-fit: cover;
}

.small-card-text {
    min-width: 0;
}

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

.small-card strong {
    font-weight: 900;
}

.small-card em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.small-rank {
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent);
    font-weight: 900;
    font-size: 12px;
}

.category-grid,
.category-list-grid,
.podium-grid {
    display: grid;
    gap: 20px;
}

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

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

.category-tile,
.category-card-large {
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.category-tile:hover,
.category-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-tile {
    padding: 18px;
}

.category-covers,
.category-card-art {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.category-covers img,
.category-card-art img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    object-fit: cover;
}

.category-tile strong,
.category-tile em {
    display: block;
}

.category-tile strong {
    margin-top: 14px;
    font-size: 20px;
    font-weight: 900;
}

.category-tile em,
.category-card-copy em {
    color: var(--muted);
    font-style: normal;
    font-weight: 700;
}

.category-card-large {
    display: block;
}

.category-card-art {
    grid-template-columns: repeat(4, 1fr);
    padding: 14px 14px 0;
}

.category-card-copy {
    display: block;
    padding: 16px;
}

.category-card-copy strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
}

.category-card-copy p {
    margin: 8px 0 0;
    color: var(--muted);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 64px;
    color: #fff;
    background: radial-gradient(circle at 14% 0%, rgba(56, 189, 248, .42), transparent 34%), linear-gradient(135deg, #020617, #0f172a 62%, #075985);
}

.page-hero p {
    color: rgba(255, 255, 255, .82);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
}

.breadcrumbs a:hover {
    color: #fff;
}

.toolbar {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
    padding: 16px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
    border: 1px solid rgba(226, 232, 240, .9);
}

.live-search-input {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f1f5f9;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-filter-btn {
    border: 0;
    padding: 8px 12px;
    border-radius: 999px;
    color: #334155;
    background: #f1f5f9;
    cursor: pointer;
    font-weight: 800;
}

.tag-filter-btn.active,
.tag-filter-btn:hover {
    color: #fff;
    background: var(--accent);
}

.empty-state {
    display: none;
    padding: 32px;
    text-align: center;
    border-radius: var(--radius);
    background: #fff;
    color: var(--muted);
    font-weight: 800;
}

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

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

.podium-card {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: #fff;
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

.podium-card img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.podium-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(2, 6, 23, .92), rgba(2, 6, 23, .08));
}

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

.podium-card span,
.podium-card strong,
.podium-card em {
    position: relative;
    z-index: 2;
}

.podium-card span {
    width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--gold);
    font-weight: 900;
}

.podium-card strong {
    margin-top: 12px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
}

.podium-card em {
    margin-top: 8px;
    color: rgba(255, 255, 255, .78);
    font-style: normal;
    font-weight: 700;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 54px 92px minmax(0, 1fr) 90px;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.ranking-num {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    background: #0f172a;
    font-weight: 900;
}

.ranking-thumb img {
    width: 92px;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    object-fit: cover;
}

.ranking-score {
    text-align: right;
}

.ranking-score strong,
.ranking-score span {
    display: block;
}

.ranking-score strong {
    color: var(--danger);
    font-size: 24px;
    font-weight: 900;
}

.ranking-score span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 74px 0 86px;
}

.detail-main {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

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

.detail-copy {
    max-width: 780px;
}

.watch-card {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, .88);
}

.player-shell {
    position: relative;
    background: #020617;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    background: radial-gradient(circle, rgba(2, 132, 199, .16), rgba(2, 6, 23, .54));
    cursor: pointer;
}

.play-overlay span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 18px 40px rgba(2, 132, 199, .36);
    font-size: 34px;
}

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

.watch-copy {
    padding: 24px;
}

.watch-copy h2,
.content-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 900;
}

.watch-copy p,
.content-card p {
    margin: 0;
    color: var(--muted);
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.content-card {
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.meta-card {
    grid-column: 1 / -1;
}

.meta-card dl {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.meta-card div {
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
}

.meta-card dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.meta-card dd {
    margin: 4px 0 0;
    font-weight: 900;
}

.site-footer {
    margin-top: 50px;
    padding: 44px 0;
    color: #cbd5e1;
    background: #020617;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 32px;
}

.footer-brand {
    color: #fff;
    font-size: 22px;
}

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

.site-footer strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: #cbd5e1;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
}

.footer-links a:hover {
    color: #fff;
    background: rgba(14, 165, 233, .35);
}

@media (min-width: 640px) {
    .hero-slider {
        height: 600px;
    }
}

@media (min-width: 1024px) {
    .hero-slider {
        height: 700px;
    }
}

@media (max-width: 1080px) {
    .movie-grid,
    .compact-grid,
    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split-section,
    .category-layout {
        grid-template-columns: 1fr;
    }

    .sticky-panel {
        position: static;
    }

    .top-search {
        display: none;
    }
}

@media (max-width: 820px) {
    .nav-shell {
        min-height: 64px;
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 20px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 14px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        align-content: center;
    }

    .hero-poster-card {
        display: none;
    }

    .hero-arrow {
        display: none;
    }

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

    .movie-grid,
    .movie-grid.two-col,
    .compact-grid,
    .category-grid,
    .category-list-grid,
    .podium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-main {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 20px;
    }

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

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

    .ranking-row {
        grid-template-columns: 42px 70px minmax(0, 1fr);
    }

    .ranking-score {
        grid-column: 2 / -1;
        text-align: left;
    }

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

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

    .hero-slider {
        height: 560px;
    }

    .hero-copy h1,
    .hero-copy h2,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 34px;
    }

    .large-search,
    .hero-actions,
    .detail-actions {
        flex-direction: column;
    }

    .movie-grid,
    .movie-grid.two-col,
    .compact-grid,
    .category-grid,
    .category-list-grid,
    .podium-grid {
        grid-template-columns: 1fr;
    }

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

    .detail-poster {
        width: min(230px, 70vw);
    }

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

    .play-overlay span {
        width: 68px;
        height: 68px;
        font-size: 26px;
    }
}
