:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #f1f5f9;
    --text: #1f2937;
    --muted: #64748b;
    --line: #e2e8f0;
    --blue: #2563eb;
    --blue-strong: #1d4ed8;
    --cyan: #06b6d4;
    --teal: #14b8a6;
    --yellow: #fde047;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
}

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

.container.narrow {
    width: min(860px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 172px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 20px;
    font-weight: 900;
    color: #111827;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
}

.nav-link {
    position: relative;
    padding: 26px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--blue);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-search {
    color: var(--blue);
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 12px;
    background: #eef6ff;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #1e3a8a;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.mobile-panel-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 18px;
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 12px 10px;
    border-radius: 12px;
    color: #334155;
    font-weight: 700;
}

.mobile-link:hover {
    color: var(--blue);
    background: #eff6ff;
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 50%, #14b8a6 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.28), transparent 28%), radial-gradient(circle at 86% 24%, rgba(253, 224, 71, 0.2), transparent 26%), rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px), linear-gradient(60deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 56px 56px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr);
    gap: 48px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

.hero-kicker,
.section-head span,
.detail-kicker,
.story-card span,
.page-hero span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ecfeff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hero h1 {
    margin: 20px 0 20px;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.045em;
}

.hero h1 span {
    color: var(--yellow);
}

.hero p {
    max-width: 660px;
    margin: 0 0 24px;
    color: #eff6ff;
    font-size: clamp(18px, 2vw, 24px);
}

.hero-tags,
.detail-tags,
.movie-tags,
.genre-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags span,
.detail-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

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

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

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

.btn-light {
    color: var(--blue);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.btn-light:hover {
    background: #eff6ff;
}

.btn-outline-light {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.hero-media {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 80px rgba(15, 23, 42, 0.36);
    transform: rotate(2deg);
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.45));
}

.hero-media span {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
    font-size: 26px;
    box-shadow: var(--shadow);
}

.hero-media:hover img {
    transform: scale(1.06);
}

.hero-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

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

.hero-dot,
.hero-arrow {
    cursor: pointer;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.hero-dot {
    width: 36px;
    height: 8px;
    border-radius: 999px;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

.stats-section {
    position: relative;
    z-index: 3;
    margin-top: -54px;
}

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

.stat-card {
    min-height: 108px;
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.stat-card strong {
    display: block;
    color: #0f172a;
    font-size: 32px;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-weight: 700;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-dark {
    color: #ffffff;
    background: linear-gradient(135deg, #111827, #0f172a);
}

.section-head {
    margin-bottom: 38px;
}

.section-head.centered {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head.split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-head span {
    color: var(--blue);
    background: #dbeafe;
}

.section-head.light span {
    color: #ecfeff;
    background: rgba(255, 255, 255, 0.14);
}

.section-head h2,
.page-hero h1,
.detail-copy h1,
.story-card h2 {
    margin: 12px 0 8px;
    color: #0f172a;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.section-dark .section-head h2,
.section-dark .section-head p,
.section-head.light h2,
.section-head.light p {
    color: #ffffff;
}

.section-head p,
.page-hero p,
.story-card p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.text-link {
    color: var(--blue);
    font-weight: 900;
}

.text-link:hover {
    color: var(--blue-strong);
}

.section-more {
    margin-top: 36px;
    text-align: center;
}

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

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

.category-card {
    position: relative;
    min-height: 248px;
    overflow: hidden;
    padding: 28px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 950;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.category-card h2 {
    margin: 20px 0 8px;
    color: #111827;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 950;
}

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

.category-thumbs {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: end;
    gap: 0;
}

.category-thumbs img {
    width: 54px;
    height: 76px;
    margin-left: -18px;
    object-fit: cover;
    border: 3px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);
}

.category-red .category-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.category-blue .category-icon {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.category-cyan .category-icon {
    background: linear-gradient(135deg, #0891b2, #22d3ee);
}

.category-pink .category-icon {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.category-orange .category-icon {
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.category-emerald .category-icon {
    background: linear-gradient(135deg, #059669, #10b981);
}

.category-violet .category-icon {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.category-amber .category-icon {
    background: linear-gradient(135deg, #d97706, #facc15);
}

.category-sky .category-icon {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
}

.category-green .category-icon {
    background: linear-gradient(135deg, #16a34a, #4ade80);
}

.category-teal .category-icon {
    background: linear-gradient(135deg, #0f766e, #2dd4bf);
}

.category-indigo .category-icon {
    background: linear-gradient(135deg, #4f46e5, #818cf8);
}

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.section-dark .movie-card {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.movie-link {
    display: block;
    height: 100%;
}

.movie-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e2e8f0;
}

.movie-card-compact .movie-cover {
    aspect-ratio: 16 / 10;
}

.movie-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.movie-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(15, 23, 42, 0.48));
    opacity: 0;
    transition: opacity 0.24s ease;
}

.movie-card:hover .movie-cover::after {
    opacity: 1;
}

.movie-region,
.movie-year,
.rank-badge {
    position: absolute;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

.movie-region {
    top: 12px;
    right: 12px;
}

.movie-year {
    top: 12px;
    left: 12px;
}

.rank-badge {
    left: 12px;
    bottom: 12px;
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.movie-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.movie-info {
    padding: 20px;
}

.movie-info h2 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #111827;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 950;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.section-dark .movie-info h2,
.section-dark .movie-info p {
    color: #ffffff;
}

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

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

.movie-tags span,
.genre-pills span {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--blue);
    background: #eff6ff;
    font-size: 12px;
    font-weight: 800;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 90px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(135deg, #2563eb, #06b6d4 54%, #14b8a6);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.22), transparent 30%), rgba(0, 0, 0, 0.12);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: #ffffff;
}

.page-hero p {
    color: #e0f2fe;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, 0.32fr));
    gap: 14px;
    margin-bottom: 34px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.filter-panel label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    color: #111827;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.empty-state {
    margin-top: 26px;
    padding: 48px;
    border-radius: 22px;
    color: var(--muted);
    background: #ffffff;
    text-align: center;
    font-weight: 900;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0;
    color: #ffffff;
    background: #0f172a;
}

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.42;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72));
}

.detail-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 800;
}

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

.detail-copy h1 {
    color: #ffffff;
    font-size: clamp(38px, 5vw, 68px);
}

.detail-copy p {
    max-width: 760px;
    margin: 0 0 24px;
    color: #dbeafe;
    font-size: 20px;
}

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

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

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

.player-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: rgba(2, 6, 23, 0.28);
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.player-play span {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    padding-left: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    font-size: 34px;
}

.player-play:hover {
    background: rgba(2, 6, 23, 0.42);
}

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

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

.story-card {
    padding: 30px;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.story-card span {
    color: var(--blue);
    background: #dbeafe;
}

.story-card h2 {
    font-size: 28px;
}

.story-card p {
    color: #334155;
}

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

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

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

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

.meta-card dd {
    margin: 6px 0 0;
    color: #0f172a;
    font-weight: 950;
}

.cta-section {
    padding: 86px 0;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    text-align: center;
}

.cta-inner h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.12;
    font-weight: 950;
}

.cta-inner p {
    margin: 0;
    color: #e0f2fe;
    font-size: 19px;
}

.cta-actions {
    justify-content: center;
}

.site-footer {
    color: #cbd5e1;
    background: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 48px;
    padding: 58px 0 38px;
}

.footer-brand {
    display: inline-flex;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 950;
}

.footer-grid p {
    max-width: 420px;
    margin: 0;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 18px;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

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

    .mobile-toggle {
        display: block;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 44px 0;
    }

    .hero-media {
        min-height: 300px;
        max-width: 520px;
        transform: rotate(0deg);
    }

    .hero-media img {
        min-height: 300px;
    }

    .hero-slides {
        min-height: 800px;
    }

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

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

    .filter-search {
        grid-column: 1 / -1;
    }

    .detail-layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }
}

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

    .brand-copy small {
        display: none;
    }

    .hero,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        padding: 54px 0 38px;
    }

    .hero-slides {
        min-height: 760px;
    }

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

    .hero-controls {
        justify-content: center;
    }

    .stats-section {
        margin-top: 0;
        padding: 22px 0 0;
    }

    .stats-grid,
    .category-grid,
    .category-grid-wide,
    .movie-grid,
    .compact-grid,
    .ranking-grid,
    .content-grid,
    .meta-card dl,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

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

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

    .detail-hero {
        padding: 54px 0;
    }

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

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

    .detail-copy p {
        font-size: 18px;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}
