:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111c31;
    --card: #111827;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-2: #cbd5e1;
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --orange: #f97316;
    --yellow: #facc15;
    --red: #ef4444;
    --green: #22c55e;
    --pink: #ec4899;
    --purple: #a855f7;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 15% 0%, rgba(34, 211, 238, 0.16), transparent 32%),
        linear-gradient(180deg, #020617 0%, #0f172a 52%, #020617 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.nav-bar {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand {
    font-size: 24px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: white;
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.35);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted-2);
}

.main-nav a,
.nav-dropdown > button {
    position: relative;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--muted-2);
    cursor: pointer;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.nav-dropdown:hover > button {
    color: white;
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 170px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
}

.dropdown-panel a:hover {
    background: rgba(34, 211, 238, 0.12);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.hero-search input,
.filter-search input,
.filter-selects select {
    border: 1px solid rgba(148, 163, 184, 0.24);
    outline: 0;
    background: rgba(15, 23, 42, 0.9);
    color: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, width 0.2s ease;
}

.header-search input {
    width: 190px;
    padding: 10px 14px;
    border-radius: 999px;
}

.header-search input:focus {
    width: 250px;
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.header-search button,
.hero-search button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: white;
    cursor: pointer;
    font-weight: 700;
}

.header-search button {
    padding: 10px 16px;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.82);
    color: white;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: white;
    border-radius: 999px;
}

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

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

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

.hero-slide > img,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.82) 43%, rgba(15, 23, 42, 0.14) 100%),
        linear-gradient(0deg, #020617 0%, transparent 38%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(680px, 100%);
}

.eyebrow,
.hero-meta,
.movie-meta,
.breadcrumb,
.detail-meta-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.eyebrow span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.12);
    color: var(--yellow);
    font-weight: 700;
}

.hero-copy h1 {
    margin: 18px 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 640px;
    margin: 0 0 24px;
    color: var(--muted-2);
    font-size: 19px;
}

.hero-meta {
    margin-bottom: 30px;
    color: var(--muted-2);
}

.hero-meta span,
.detail-meta-list span,
.movie-meta span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
}

.hero-meta span,
.detail-meta-list span {
    padding: 7px 12px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--line);
}

.hero-actions,
.slim-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

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

.primary-btn {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: white;
    box-shadow: 0 18px 42px rgba(34, 211, 238, 0.24);
}

.primary-btn:hover,
.ghost-btn:hover,
.rank-more:hover {
    transform: translateY(-2px) scale(1.02);
}

.ghost-btn {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.58);
    color: white;
}

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

.hero-dot {
    width: 34px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
}

.hero-dot.is-active {
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.search-strip {
    margin-top: -32px;
    position: relative;
    z-index: 5;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.hero-search input {
    min-height: 54px;
    padding: 0 20px;
    border-radius: 18px;
}

.hero-search button {
    padding: 0 26px;
}

.section-block {
    padding: 70px 0 0;
}

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

.section-heading.compact {
    margin-bottom: 20px;
}

.section-heading p,
.rank-panel-head p,
.page-hero p {
    margin: 0 0 6px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2,
.rank-panel-head h2,
.story-card h2,
.info-card h2,
.review-card h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.04em;
}

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

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

.category-tile,
.category-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.75));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.category-tile {
    min-height: 170px;
    padding: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.category-card:hover,
.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, 0.5);
}

.category-tile::before,
.category-card::before,
.player-card::before,
.review-card::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.14);
    filter: blur(8px);
}

.category-icon {
    display: inline-flex;
    margin-bottom: 16px;
    font-size: 30px;
}

.category-tile strong,
.category-card h2 {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.category-tile span:last-child,
.category-card p,
.site-footer p,
.movie-card p,
.story-card p,
.review-card p,
.page-hero-text {
    color: var(--muted-2);
}

.tone-orange::before { background: rgba(249, 115, 22, 0.16); }
.tone-yellow::before { background: rgba(250, 204, 21, 0.16); }
.tone-blue::before { background: rgba(59, 130, 246, 0.16); }
.tone-purple::before { background: rgba(168, 85, 247, 0.16); }
.tone-red::before { background: rgba(239, 68, 68, 0.16); }
.tone-green::before { background: rgba(34, 197, 94, 0.16); }
.tone-pink::before { background: rgba(236, 72, 153, 0.16); }

.movie-grid {
    display: grid;
    gap: 20px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #172033, #0f172a);
}

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

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

.score-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.78);
    color: var(--yellow);
    font-weight: 800;
    font-size: 13px;
}

.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.8), transparent 48%);
    opacity: 0.82;
}

.play-chip {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.84);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-chip {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-content {
    padding: 16px;
}

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

.movie-meta span {
    padding: 3px 8px;
    background: rgba(148, 163, 184, 0.1);
}

.movie-card h3 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

.movie-card h3 a:hover {
    color: var(--cyan);
}

.movie-card p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    color: #a5f3fc;
    font-size: 12px;
}

.large-tags span {
    padding: 7px 12px;
    font-size: 13px;
}

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

.rank-panel,
.story-card,
.info-card,
.review-card,
.player-card,
.filter-panel {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.76);
    box-shadow: var(--shadow);
}

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

.rank-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.rank-panel-head > span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(249, 115, 22, 0.14);
    font-size: 22px;
}

.rank-row {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    color: var(--cyan);
    font-weight: 900;
}

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

.rank-score {
    color: var(--yellow);
    font-weight: 800;
}

.rank-more {
    width: 100%;
    margin-top: 18px;
    background: rgba(34, 211, 238, 0.12);
    color: var(--cyan);
}

.inner-page {
    min-height: 60vh;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: radial-gradient(circle at 18% 10%, rgba(34, 211, 238, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
    border-bottom: 1px solid var(--line);
}

.compact-hero {
    padding: 80px 0;
}

.ranking-hero {
    background: radial-gradient(circle at 22% 5%, rgba(249, 115, 22, 0.22), transparent 30%),
        linear-gradient(135deg, #0f172a, #020617);
}

.page-hero h1 {
    max-width: 780px;
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.page-hero-text {
    max-width: 720px;
    font-size: 18px;
}

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

.category-card {
    padding: 26px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.sample-links a {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.11);
    color: var(--muted-2);
    font-size: 13px;
}

.filter-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 26px;
    padding: 16px;
}

.filter-search input,
.filter-selects select {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
}

.filter-selects {
    display: flex;
    gap: 10px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
}

.detail-bg {
    z-index: 0;
    filter: blur(3px) saturate(1.1);
    transform: scale(1.04);
}

.detail-bg-mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.36)),
        linear-gradient(0deg, #020617 0%, transparent 42%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 560px;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    padding: 56px 0;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

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

.breadcrumb {
    margin-bottom: 18px;
    color: var(--muted-2);
    font-size: 14px;
}

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

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 20px;
    color: var(--muted-2);
    font-size: 20px;
}

.detail-meta-list {
    margin-bottom: 16px;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: black;
    aspect-ratio: 16 / 9;
}

.video-shell video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: black;
}

.player-card {
    padding: 12px;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.35));
    color: white;
    cursor: pointer;
    font-weight: 800;
    text-align: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.big-play {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 38px rgba(34, 211, 238, 0.36);
    font-size: 32px;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    padding-top: 48px;
}

.story-card,
.info-card,
.review-card {
    padding: 28px;
}

.story-card p,
.review-card p {
    margin: 16px 0 0;
    font-size: 16px;
}

.info-card dl {
    margin: 0;
}

.info-card div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

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

.info-card dd {
    margin: 0;
    color: white;
}

.site-footer {
    margin-top: 80px;
    padding: 48px 0 24px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-brand {
    margin-bottom: 14px;
    font-size: 22px;
}

.site-footer h3 {
    margin: 0 0 14px;
    font-size: 16px;
}

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

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

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

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

video::-webkit-media-controls-panel {
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

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

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

    .rank-panel {
        position: relative;
        top: auto;
    }
}

@media (max-width: 860px) {
    .nav-bar {
        flex-wrap: wrap;
        min-height: auto;
        padding: 14px 0;
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(15, 23, 42, 0.96);
    }

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

    .nav-dropdown {
        display: none;
    }

    .header-search {
        order: 4;
        width: 100%;
    }

    .header-search input {
        width: 100%;
    }

    .header-search input:focus {
        width: 100%;
    }

    .hero-slider {
        height: 650px;
    }

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

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

    .category-grid,
    .category-overview-grid,
    .movie-grid.four-col,
    .movie-grid.five-col,
    .movie-grid.six-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-selects {
        flex-direction: column;
    }

    .detail-hero-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

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

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

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

    .brand {
        font-size: 20px;
    }

    .hero-slider {
        height: 680px;
    }

    .hero-copy h1,
    .detail-copy h1,
    .page-hero h1 {
        letter-spacing: -0.04em;
    }

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

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

    .category-grid,
    .category-overview-grid,
    .movie-grid.four-col,
    .movie-grid.five-col,
    .movie-grid.six-col {
        grid-template-columns: 1fr;
    }

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

    .movie-card.small .poster-link {
        aspect-ratio: 16 / 10;
    }

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