
:root {
    color-scheme: light;
    --bg: #fff7ed;
    --bg-soft: #fffbeb;
    --panel: #ffffff;
    --panel-dark: #1c1208;
    --text: #24160b;
    --muted: #7c5b41;
    --line: rgba(120, 53, 15, 0.14);
    --amber: #f59e0b;
    --orange: #ea580c;
    --red: #dc2626;
    --shadow: 0 24px 70px rgba(120, 53, 15, 0.14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: min(1180px, calc(100vw - 32px));
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 4%, rgba(251, 146, 60, 0.22), transparent 28rem),
        radial-gradient(circle at 92% 12%, rgba(245, 158, 11, 0.18), transparent 30rem),
        linear-gradient(180deg, #fff7ed 0%, #ffffff 44%, #fff7ed 100%);
    min-height: 100vh;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 247, 237, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: var(--container);
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #431407;
    white-space: nowrap;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), var(--orange) 50%, var(--amber));
    box-shadow: 0 14px 34px rgba(234, 88, 12, 0.36);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #6b3a16;
    font-size: 14px;
    font-weight: 700;
}

.desktop-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
    color: #9a3412;
    background: rgba(251, 146, 60, 0.15);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(120, 53, 15, 0.12);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #7c2d12;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: var(--container);
    margin: 0 auto 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #6b3a16;
    font-weight: 800;
}

.mobile-nav a:hover {
    background: #ffedd5;
}

.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(115deg, #431407 0%, #7c2d12 48%, #92400e 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.35;
    pointer-events: none;
}

.hero-orb-one {
    width: 340px;
    height: 340px;
    left: -90px;
    top: 80px;
    background: #f97316;
}

.hero-orb-two {
    width: 420px;
    height: 420px;
    right: -140px;
    bottom: -150px;
    background: #facc15;
}

.hero-slides {
    position: relative;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 48px;
    width: 100%;
    padding: 80px max(32px, calc((100vw - 1180px) / 2)) 96px;
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
    background-image:
        linear-gradient(90deg, rgba(67, 20, 7, 0.95) 0%, rgba(124, 45, 18, 0.88) 46%, rgba(124, 45, 18, 0.42) 100%),
        var(--hero-bg);
    background-size: cover;
    background-position: center;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.hero-copy {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-kicker,
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #fed7aa;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 247, 237, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.primary-button,
.ghost-button,
.reset-button,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 0;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #f97316 48%, #f59e0b);
    box-shadow: 0 16px 34px rgba(248, 113, 22, 0.38);
}

.ghost-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.primary-button:hover,
.ghost-button:hover,
.reset-button:hover,
.section-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    z-index: 2;
    aspect-ratio: 2 / 3;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(145deg, #7c2d12, #f59e0b);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.poster-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.25), transparent 12rem),
        linear-gradient(145deg, #7c2d12, #ea580c 55%, #f59e0b);
}

.hero-poster img,
.poster-frame img,
.detail-poster img {
    position: relative;
    z-index: 1;
}

img.is-missing {
    display: none;
}

.hero-rating,
.rating-chip,
.rank-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.hero-rating {
    right: 18px;
    bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #431407;
    background: #fef3c7;
}

.hero-bottom-bar {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 6;
    width: var(--container);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #ffedd5;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats strong {
    color: #ffffff;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 36px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.32);
    cursor: pointer;
}

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

.content-section {
    width: var(--container);
    margin: 0 auto;
    padding: 58px 0;
}

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

.section-heading .kicker,
.page-hero .kicker,
.article-card .kicker {
    color: #ea580c;
}

.section-heading h2,
.article-card h2 {
    margin: 0;
    color: #431407;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

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

.section-link {
    color: #9a3412;
    background: #ffedd5;
}

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

.category-card,
.category-detail-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 24px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    background: linear-gradient(135deg, #7c2d12, #ea580c);
    box-shadow: var(--shadow);
}

.category-card::after,
.category-detail-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -62px;
    bottom: -62px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.from-red { background: linear-gradient(135deg, #7f1d1d, #ef4444, #f97316); }
.from-amber { background: linear-gradient(135deg, #78350f, #d97706, #f59e0b); }
.from-orange { background: linear-gradient(135deg, #7c2d12, #ea580c, #fb923c); }
.from-stone { background: linear-gradient(135deg, #1c1917, #57534e, #f97316); }
.from-pink { background: linear-gradient(135deg, #831843, #db2777, #fb7185); }
.from-violet { background: linear-gradient(135deg, #4c1d95, #7c3aed, #f97316); }
.from-emerald { background: linear-gradient(135deg, #064e3b, #059669, #f59e0b); }
.from-blue { background: linear-gradient(135deg, #172554, #2563eb, #f97316); }

.category-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    font-size: 32px;
}

.category-card strong,
.category-detail-card h2,
.category-detail-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 14px;
    font-size: 24px;
}

.category-card p,
.category-detail-card p {
    position: relative;
    z-index: 1;
    min-height: 58px;
    margin: 10px 0 14px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.category-card em {
    position: relative;
    z-index: 1;
    font-style: normal;
    font-weight: 900;
}

.category-detail-card {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-detail-main {
    position: relative;
    z-index: 1;
}

.category-detail-main span {
    font-size: 38px;
}

.category-sample-links {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.category-sample-links a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    box-shadow: 0 18px 54px rgba(120, 53, 15, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.32);
    box-shadow: 0 28px 72px rgba(120, 53, 15, 0.18);
}

.poster-link {
    display: block;
}

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #7c2d12, #f59e0b);
}

.poster-frame img {
    transition: transform 0.4s ease;
}

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

.rating-chip {
    right: 12px;
    top: 12px;
    min-width: 48px;
    height: 32px;
    border-radius: 999px;
    color: #431407;
    background: #fef3c7;
    font-size: 14px;
}

.big-rating {
    width: 62px;
    height: 42px;
    font-size: 18px;
}

.play-chip {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%) scale(0.84);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(234, 88, 12, 0.92);
    opacity: 0;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.rank-badge {
    left: 12px;
    top: 12px;
    min-width: 58px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #dc2626, #f97316);
    font-size: 12px;
    font-style: normal;
}

.movie-info {
    padding: 18px;
}

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #9a3412;
    font-size: 12px;
    font-weight: 900;
}

.movie-meta-line a,
.movie-meta-line span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: #ffedd5;
}

.movie-info h3 {
    margin: 13px 0 8px;
    color: #431407;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.movie-info h3 a:hover {
    color: #ea580c;
}

.movie-info p {
    min-height: 66px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.compact-card .movie-info p {
    min-height: 48px;
}

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

.tag-row span,
.tag-cloud a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #7c2d12;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    font-size: 12px;
    font-weight: 800;
}

.filter-panel {
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 46px rgba(120, 53, 15, 0.08);
}

.search-label {
    display: grid;
    gap: 8px;
}

.search-label span,
.filter-controls span {
    color: #9a3412;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-label input,
.filter-controls select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 0 15px;
    color: #431407;
    background: #fffaf0;
    outline: none;
}

.search-label input:focus,
.filter-controls select:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18);
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
    align-items: end;
}

.filter-controls label {
    display: grid;
    gap: 8px;
}

.reset-button {
    color: #ffffff;
    background: #7c2d12;
}

.filter-status {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
}

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

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(115deg, #431407 0%, #7c2d12 48%, #92400e 100%);
}

.page-hero {
    width: var(--container);
    margin: 28px auto 0;
    padding: 58px;
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.small-hero,
.ranking-hero {
    min-height: 280px;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 68px);
}

.page-stats {
    margin-top: 28px;
}

.large-icon {
    display: inline-flex;
    margin-bottom: 10px;
    font-size: 54px;
}

.breadcrumb {
    margin-bottom: 22px;
    color: #9a3412;
    font-weight: 800;
}

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

.pager-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
}

.pager-links a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    padding: 0 18px;
    border-radius: 999px;
    color: #9a3412;
    background: #ffedd5;
    font-weight: 900;
}

.detail-hero {
    padding: 34px max(32px, calc((100vw - 1180px) / 2)) 74px;
    background-image:
        linear-gradient(90deg, rgba(67, 20, 7, 0.96), rgba(124, 45, 18, 0.9), rgba(124, 45, 18, 0.54)),
        var(--detail-bg);
    background-size: cover;
    background-position: center;
}

.detail-breadcrumb {
    color: #fed7aa;
}

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

.detail-hero-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    width: var(--container);
    margin: 0 auto;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 30px;
    background: linear-gradient(145deg, #7c2d12, #f59e0b);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 34px 86px rgba(0, 0, 0, 0.32);
}

.detail-copy h1 {
    font-size: clamp(38px, 6vw, 70px);
}

.detail-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.detail-meta-list span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.player-section {
    padding-top: 38px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: #09090b;
    box-shadow: 0 34px 86px rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(124, 45, 18, 0.18);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 50% 42%, rgba(249, 115, 22, 0.26), transparent 16rem),
        rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.player-overlay span {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #dc2626, #f97316);
    box-shadow: 0 18px 44px rgba(248, 113, 22, 0.38);
    font-size: 30px;
}

.player-overlay strong {
    font-size: 24px;
}

.player-overlay em {
    color: #fed7aa;
    font-style: normal;
}

.player-shell.is-playing .player-overlay {
    display: none;
}

.player-status {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 4;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 9px 12px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(0, 0, 0, 0.52);
    font-size: 13px;
}

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

.article-card {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 18px 54px rgba(120, 53, 15, 0.08);
}

.article-card p {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.9;
}

.tag-card {
    align-self: start;
}

.site-footer {
    margin-top: 42px;
    padding: 44px 0;
    color: #fed7aa;
    background: #1c1208;
}

.footer-inner {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 34px;
}

.footer-logo {
    color: #ffffff;
}

.site-footer p {
    max-width: 520px;
    color: rgba(255, 237, 213, 0.75);
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    justify-content: end;
    gap: 10px;
}

.footer-links a {
    padding: 9px 12px;
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(255, 255, 255, 0.08);
}

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

    .menu-toggle {
        display: block;
    }

    body.menu-open .mobile-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 32px;
    }

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

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

@media (max-width: 760px) {
    :root {
        --container: min(100vw - 20px, 1180px);
    }

    .header-inner {
        height: 66px;
    }

    .site-logo {
        font-size: 15px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    body.menu-open .mobile-nav {
        grid-template-columns: 1fr;
    }

    .hero-section,
    .hero-slides {
        min-height: 720px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: start;
        padding: 54px 18px 108px;
    }

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

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

    .hero-poster {
        width: min(260px, 78vw);
        justify-self: center;
    }

    .hero-bottom-bar {
        flex-direction: column;
        align-items: start;
    }

    .section-heading {
        display: block;
    }

    .section-link {
        margin-top: 16px;
    }

    .content-section {
        padding: 42px 0;
    }

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

    .movie-info {
        padding: 14px;
    }

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

    .movie-info p {
        min-height: auto;
        font-size: 13px;
    }

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

    .page-hero {
        padding: 34px 24px;
        border-radius: 26px;
    }

    .detail-hero {
        padding: 24px 12px 46px;
    }

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

    .detail-poster {
        width: min(260px, 72vw);
    }

    .player-shell {
        border-radius: 24px;
    }

    .player-overlay span {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }

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

    .footer-links {
        justify-content: start;
    }
}

@media (max-width: 480px) {
    .full-grid,
    .compact-grid,
    .category-grid,
    .category-detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .detail-actions,
    .pager-links {
        flex-direction: column;
        align-items: stretch;
    }

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