:root {
    color-scheme: light;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #fff7ed;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #dc2626;
    --brand-2: #f97316;
    --brand-3: #facc15;
    --dark: #0f172a;
    --shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
    --radius: 24px;
    --radius-small: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 0%, rgba(249, 115, 22, 0.14), transparent 28rem),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 34rem);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.32);
}

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

.site-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: #111827;
    border-radius: 14px;
    padding: 11px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 99px;
}

.hero-section {
    position: relative;
    min-height: 680px;
    color: #fff;
    background: #0f172a;
    overflow: hidden;
}

.hero-viewport {
    position: relative;
    min-height: 680px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

.hero-shade,
.detail-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 45%, rgba(249, 115, 22, 0.32), transparent 22rem),
        linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.78) 46%, rgba(15, 23, 42, 0.35) 100%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.86));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    align-items: center;
    gap: 56px;
    padding: 78px 0 146px;
}

.hero-copy h1,
.hero-copy h2,
.inner-hero h1,
.detail-copy h1 {
    margin: 0;
    font-weight: 950;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.hero-copy h1,
.hero-copy > h2:not(.hero-title) {
    font-size: clamp(42px, 6vw, 88px);
    max-width: 860px;
}

.hero-title {
    margin-top: 16px;
    font-size: clamp(30px, 4vw, 56px);
    color: #fed7aa;
}

.hero-copy p {
    max-width: 730px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(16px, 2vw, 21px);
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(220, 38, 38, 0.28);
}

.hero-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-meta span,
.detail-meta span {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 700;
}

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

.primary-btn,
.secondary-btn,
.text-link,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    min-height: 48px;
    padding: 0 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.32);
}

.primary-btn.small {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.secondary-btn {
    min-height: 48px;
    padding: 0 22px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.primary-btn:hover,
.secondary-btn:hover,
.section-more:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    aspect-ratio: 2 / 3;
    transform: rotate(2deg);
}

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

.hero-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    color: #fff;
    background: rgba(220, 38, 38, 0.88);
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 900;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 42px;
    line-height: 0;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-thumbs {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 6;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.hero-thumb {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    cursor: pointer;
    backdrop-filter: blur(18px);
    min-width: 0;
}

.hero-thumb.is-active {
    border-color: rgba(249, 115, 22, 0.8);
    background: rgba(249, 115, 22, 0.24);
}

.hero-thumb img {
    width: 46px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-thumb span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.quick-search-section {
    margin-top: 34px;
}

.search-panel {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.search-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: #fff;
    font-size: 24px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.search-panel input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 17px;
    color: var(--text);
    background: transparent;
}

.search-panel button,
.filter-row button {
    border: 0;
    cursor: pointer;
    font-weight: 900;
}

.search-panel button {
    color: #fff;
    background: #111827;
    border-radius: 16px;
    padding: 12px 18px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.filter-row button {
    color: #374151;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 15px;
}

.filter-row button.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.section-block {
    margin-top: 58px;
}

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

.section-heading.compact {
    align-items: center;
    margin-bottom: 18px;
}

.section-heading h2,
.panel-card h2,
.article-card h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-kicker {
    color: var(--brand);
    background: #fff1f2;
    box-shadow: none;
}

.section-more,
.text-link {
    color: var(--brand);
    background: #fff1f2;
    padding: 9px 14px;
}

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

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

.movie-card {
    min-width: 0;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.86);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #111827;
}

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

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(15, 23, 42, 0.78));
}

.card-badge,
.rank-number {
    position: absolute;
    z-index: 2;
    top: 12px;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
}

.card-badge {
    right: 12px;
    padding: 6px 10px;
    background: rgba(220, 38, 38, 0.92);
}

.rank-number {
    left: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.32);
}

.play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(14px);
}

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

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

.movie-card-body h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

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

.movie-meta,
.movie-line {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.movie-line {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.tag-row span {
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 9px;
}

.tag-row.large span {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.7fr);
    gap: 22px;
}

.panel-card {
    background: var(--surface);
    border: 1px solid rgba(229, 231, 235, 0.86);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

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

.category-card {
    position: relative;
    min-height: 170px;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    background: #111827;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    isolation: isolate;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.92));
}

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

.category-card:hover img {
    transform: scale(1.08);
}

.category-card span {
    font-size: 22px;
    font-weight: 950;
}

.category-card em {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-size: 13px;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 34px 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    background: #f9fafb;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-item:hover {
    transform: translateX(4px);
    background: #fff7ed;
}

.ranking-index {
    color: var(--brand);
    font-weight: 950;
    font-size: 18px;
    text-align: center;
}

.ranking-item img {
    width: 54px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-info {
    min-width: 0;
}

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

.ranking-info strong {
    font-weight: 900;
}

.ranking-info em,
.ranking-score {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.ranking-score {
    color: var(--brand-2);
    font-weight: 950;
}

.inner-hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.42), transparent 25rem),
        linear-gradient(135deg, #111827 0%, #1f2937 52%, #7f1d1d 100%);
    padding: 86px 0;
    overflow: hidden;
}

.inner-hero h1 {
    margin-top: 18px;
    font-size: clamp(42px, 6vw, 78px);
}

.inner-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 32px;
    align-items: center;
}

.mini-ranking.panel-card {
    color: var(--text);
    background: rgba(255, 255, 255, 0.94);
}

.category-overview-grid {
    display: grid;
    gap: 24px;
    margin-top: 46px;
    margin-bottom: 60px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid rgba(229, 231, 235, 0.86);
    box-shadow: var(--shadow);
}

.category-cover {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 10;
    background: #111827;
}

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

.category-overview-card h2 {
    margin: 0 0 8px;
}

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

.compact-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0;
}

.compact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 14px;
    background: #f9fafb;
    padding: 10px 12px;
}

.compact-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

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

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

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

.detail-poster {
    overflow: hidden;
    border-radius: 30px;
    aspect-ratio: 2 / 3;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}

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

.detail-copy h1 {
    font-size: clamp(42px, 7vw, 84px);
}

.detail-line {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.player-section {
    margin-top: 46px;
}

.player-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #020617;
}

.player-cover {
    position: absolute;
    inset: 0;
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.72));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-cover span {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 18px 42px rgba(220, 38, 38, 0.36);
    font-size: 30px;
}

.player-cover strong {
    font-size: 20px;
}

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

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

.article-card p {
    color: #374151;
    font-size: 17px;
}

.side-info dl {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
}

.side-info dt {
    color: var(--muted);
    font-weight: 800;
}

.side-info dd {
    margin: 0;
    font-weight: 800;
}

.site-footer {
    margin-top: 76px;
    padding: 36px 0;
    color: #d1d5db;
    background: #111827;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    color: #fff;
}

.site-footer p {
    margin: 8px 0 0;
    color: #9ca3af;
}

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

.footer-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 9px 14px;
}

.is-hidden-by-search,
.is-hidden-by-filter {
    display: none !important;
}

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

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

    .hero-poster,
    .detail-poster {
        max-width: 320px;
    }

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

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

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

    .menu-toggle {
        display: inline-block;
    }

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

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

    .site-nav a {
        border-radius: 14px;
    }

    .hero-section,
    .hero-viewport,
    .hero-content {
        min-height: 620px;
    }

    .hero-content {
        padding: 52px 0 150px;
    }

    .hero-poster {
        display: none;
    }

    .hero-control {
        display: none;
    }

    .hero-thumbs {
        display: flex;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .hero-thumb {
        min-width: 190px;
    }

    .search-panel {
        grid-template-columns: 44px 1fr;
    }

    .search-panel button {
        grid-column: 1 / -1;
    }

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

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

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

    .movie-card-body h3 {
        font-size: 16px;
    }

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

    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        gap: 24px;
    }

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

    .player-frame {
        border-radius: 18px;
    }

    .panel-card {
        padding: 18px;
    }
}

@media (max-width: 460px) {
    .movie-grid,
    .movie-grid.dense {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .hero-copy > h2:not(.hero-title),
    .inner-hero h1,
    .detail-copy h1 {
        font-size: 40px;
    }

    .hero-title {
        font-size: 28px;
    }
}
