*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --panel: rgba(15, 23, 42, 0.86);
    --panel-solid: #111827;
    --panel-light: rgba(30, 41, 59, 0.78);
    --border: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --accent: #38bdf8;
    --accent-deep: #0284c7;
    --danger: #fb7185;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow: 0 24px 70px rgba(2, 6, 23, 0.42);
    --max: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 34rem),
        linear-gradient(135deg, #020617 0%, #0f172a 45%, #020617 100%);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.68));
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(100% - 32px, var(--max));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #0ea5e9 46%, #0369a1);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35);
    color: white;
    font-size: 13px;
    flex: 0 0 auto;
}

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

.brand-copy strong {
    font-size: 18px;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

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

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted-strong);
    font-weight: 600;
    font-size: 15px;
}

.desktop-nav a,
.mobile-panel a,
.footer-links a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover,
.footer-links a:hover {
    color: var(--accent);
}

.search-box {
    position: relative;
    min-width: 230px;
}

.header-search {
    width: 270px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    z-index: 1;
}

.search-box input,
.page-search-panel input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--text);
    outline: none;
    padding: 11px 16px 11px 40px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.page-search-panel input {
    border-radius: 16px;
    padding-left: 16px;
}

.search-box input:focus,
.page-search-panel input:focus {
    border-color: rgba(56, 189, 248, 0.72);
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
    z-index: 80;
}

.search-results.is-open {
    display: block;
}

.search-results a {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.search-results a:last-child {
    border-bottom: 0;
}

.search-results strong {
    display: block;
    color: white;
    font-size: 14px;
}

.search-results span,
.search-results small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

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

.mobile-panel {
    display: none;
    padding: 18px 20px 24px;
    border-top: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.98);
}

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

.mobile-panel nav {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    color: var(--muted-strong);
    font-weight: 600;
}

main {
    min-height: 70vh;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    padding-top: 72px;
    overflow: hidden;
    background: #020617;
}

.hero-stage,
.hero-slide {
    position: absolute;
    inset: 0;
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.97), rgba(2, 6, 23, 0.68) 44%, rgba(2, 6, 23, 0.22)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0) 42%, rgba(2, 6, 23, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding-top: 132px;
}

.hero-kicker,
.card-meta,
.rank-meta,
.page-kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-kicker span,
.card-meta span,
.tag-row span,
.page-kicker,
.rank-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #dbeafe;
    font-size: 12px;
    line-height: 1;
}

.hero-kicker span:first-child,
.page-kicker {
    background: rgba(14, 165, 233, 0.84);
    border-color: rgba(125, 211, 252, 0.2);
    color: white;
}

.hero-content h1 {
    width: min(760px, 100%);
    margin: 22px 0 0;
    color: white;
    font-size: clamp(34px, 5vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-content h2 {
    margin: 18px 0 0;
    color: var(--accent);
    font-size: clamp(24px, 3.2vw, 42px);
    letter-spacing: -0.04em;
}

.hero-content p {
    width: min(660px, 100%);
    margin: 18px 0 0;
    color: var(--muted-strong);
    font-size: 18px;
    line-height: 1.8;
}

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

.hero-tags {
    margin-top: 20px;
}

.hero-tags span {
    padding: 7px 11px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.78);
    color: var(--muted-strong);
    font-size: 13px;
}

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

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

.primary-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: white;
    box-shadow: 0 18px 45px rgba(14, 165, 233, 0.28);
}

.ghost-btn {
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(15, 23, 42, 0.55);
    color: var(--muted-strong);
}

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

.ghost-btn:hover {
    border-color: rgba(56, 189, 248, 0.5);
    color: white;
}

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-arrow,
.hero-dot {
    border: 0;
    color: white;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
}

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

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    opacity: 0.5;
}

.hero-dot.is-active {
    width: 32px;
    background: var(--accent);
    opacity: 1;
}

.category-strip {
    background: linear-gradient(180deg, #020617, #0f172a);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.category-strip-inner {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-strip-inner > span {
    color: white;
    font-weight: 800;
    white-space: nowrap;
}

.category-strip-inner div {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-strip-inner div::-webkit-scrollbar,
.scroll-row::-webkit-scrollbar {
    display: none;
}

.category-strip a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid var(--border);
    color: var(--muted-strong);
    font-size: 14px;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.category-strip a:hover {
    color: white;
    border-color: rgba(56, 189, 248, 0.48);
    transform: translateY(-1px);
}

.content-section {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 58px 0;
}

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

.section-head h2,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    color: white;
    font-size: clamp(26px, 3vw, 40px);
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.section-head p,
.page-hero p,
.feature-panel p,
.detail-one-line,
.detail-copy p,
.category-card-body p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
}

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

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

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

.scroll-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scrollbar-width: none;
}

.movie-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 16px 50px rgba(2, 6, 23, 0.18);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.36);
    background: rgba(15, 23, 42, 0.94);
    box-shadow: var(--shadow);
}

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

.poster-link img,
.category-visual img,
.rank-cover img,
.detail-poster img,
.horizontal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, opacity 0.25s ease;
}

.movie-card:hover .poster-link img,
.category-card:hover .category-visual img,
.rank-item:hover .rank-cover img {
    transform: scale(1.08);
}

.poster-link::after,
.category-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.76), transparent 48%);
}

.poster-year,
.poster-play {
    position: absolute;
    z-index: 2;
}

.poster-year {
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.78);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    transform: translate(-50%, -50%) scale(0.85);
    background: rgba(14, 165, 233, 0.84);
    color: white;
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.card-body {
    padding: 16px;
}

.card-meta {
    margin-bottom: 10px;
}

.card-meta span {
    min-height: 22px;
    padding: 4px 8px;
    color: var(--muted-strong);
}

.movie-card h3,
.rank-item h3,
.category-card h2 {
    margin: 0;
    color: white;
    font-size: 16px;
    line-height: 1.35;
}

.movie-card h3 a,
.rank-item h3 a,
.category-card h2 a {
    transition: color 0.2s ease;
}

.movie-card:hover h3 a,
.rank-item:hover h3 a,
.category-card:hover h2 a {
    color: var(--accent);
}

.movie-card p,
.rank-item p {
    margin: 10px 0 0;
    min-height: 44px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.tag-row span {
    border-radius: 8px;
    color: var(--muted-strong);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: 28px;
    align-items: start;
}

.rank-list {
    display: grid;
    gap: 14px;
}

.rank-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.72);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rank-item:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.34);
    background: rgba(15, 23, 42, 0.94);
}

.rank-cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
}

.rank-content {
    min-width: 0;
}

.rank-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.18);
    color: var(--accent);
    font-weight: 900;
}

.rank-meta {
    margin-top: 10px;
}

.feature-panel {
    position: sticky;
    top: 96px;
    padding: 28px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.25), transparent 16rem),
        rgba(15, 23, 42, 0.78);
    box-shadow: var(--shadow);
}

.feature-panel h2 {
    margin: 0;
    color: white;
    font-size: 28px;
    line-height: 1.2;
}

.feature-panel .primary-btn {
    margin-top: 22px;
}

.page-main {
    padding-top: 100px;
}

.page-hero {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: center;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.24), transparent 20rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.84));
    box-shadow: var(--shadow);
}

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

.page-search-panel {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.36);
}

.page-search-panel label {
    display: block;
    margin-bottom: 10px;
    color: white;
    font-weight: 800;
}

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

.category-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.74);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.34);
}

.category-visual {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    background: #0f172a;
}

.category-visual span {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: white;
    font-size: 22px;
    font-weight: 900;
}

.category-card-body {
    padding: 24px;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.category-samples a {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.78);
    color: var(--muted-strong);
    font-size: 13px;
}

.horizontal-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
}

.horizontal-cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.horizontal-body {
    padding: 16px 16px 16px 0;
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 22px;
    color: var(--muted);
    font-size: 14px;
}

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

.detail-hero {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.2), transparent 18rem),
        rgba(15, 23, 42, 0.76);
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: 24px;
    aspect-ratio: 3 / 4;
    background: #0f172a;
}

.detail-info h1 {
    margin-top: 18px;
}

.detail-tags {
    margin: 18px 0 24px;
}

.player-section {
    padding: 34px 0 0;
}

.video-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 28px;
    background: #000;
    box-shadow: var(--shadow);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.22));
    color: white;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    display: grid;
    place-items: center;
    width: clamp(72px, 10vw, 108px);
    height: clamp(72px, 10vw, 108px);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 24px 70px rgba(14, 165, 233, 0.35);
    font-size: 34px;
    padding-left: 5px;
}

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

.detail-copy {
    width: 100%;
    padding-bottom: 20px;
}

.detail-copy h2 {
    margin: 0 0 14px;
    color: white;
    font-size: 26px;
}

.detail-copy h2 + p {
    margin-bottom: 28px;
}

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

.empty-state {
    display: none;
    margin: 24px 0 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.72);
    color: var(--muted);
    text-align: center;
}

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

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.88);
}

.footer-inner {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 34px;
}

.footer-brand {
    color: white;
    font-size: 18px;
    font-weight: 900;
}

.footer-inner p {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.footer-inner h2 {
    margin: 0 0 16px;
    color: white;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.footer-bottom {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--muted);
    font-size: 14px;
}

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

    .header-search {
        margin-left: auto;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

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

    .category-grid,
    .extended-rank-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .header-inner {
        height: 66px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .header-search {
        display: none;
    }

    .hero-carousel {
        min-height: 720px;
        padding-top: 66px;
    }

    .hero-shade {
        background:
            linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.58) 44%, rgba(2, 6, 23, 0.9) 100%),
            linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.4));
    }

    .hero-content {
        padding-top: 112px;
    }

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

    .section-head,
    .category-strip-inner {
        align-items: start;
        flex-direction: column;
    }

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

    .split-section,
    .page-hero,
    .detail-hero,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .feature-panel {
        position: static;
    }

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

    .horizontal-body {
        padding: 16px;
    }

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

    .page-hero {
        padding: 32px;
    }
}

@media (max-width: 560px) {
    .brand-copy small {
        display: none;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
    }

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

    .hero-carousel {
        min-height: 670px;
    }

    .hero-content {
        padding-top: 92px;
    }

    .hero-actions {
        display: grid;
    }

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

    .hero-controls {
        bottom: 20px;
    }

    .movie-grid,
    .wide-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .scroll-row {
        grid-auto-columns: 78%;
    }

    .rank-item {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .page-main {
        padding-top: 86px;
    }

    .page-hero,
    .detail-hero {
        padding: 24px;
        border-radius: 22px;
    }

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