:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --cyan-600: #0891b2;
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --amber-400: #fbbf24;
    --text-main: #0f172a;
    --text-soft: #64748b;
    --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.14);
    --shadow-card: 0 14px 36px rgba(15, 23, 42, 0.10);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--slate-50);
    color: var(--text-main);
    min-height: 100vh;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.96);
    color: #fff;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(16px);
}

.nav-shell {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 66px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
    color: #fff;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(6, 182, 212, 0.34);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link,
.nav-drop-button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    color: #cbd5e1;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 0.22s ease, background 0.22s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-drop-button:hover {
    color: #fff;
    background: rgba(14, 165, 233, 0.16);
}

.nav-dropdown {
    position: relative;
}

.nav-drop-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 180px;
    padding: 10px;
    background: #fff;
    color: var(--text-main);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.nav-drop-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--slate-700);
}

.nav-drop-panel a:hover {
    color: var(--cyan-600);
    background: #ecfeff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 999px;
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--slate-950);
}

.hero-track,
.hero-slide,
.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.62) 46%, rgba(15, 23, 42, 0.08) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
}

.hero-content h1 {
    max-width: 760px;
    margin: 16px 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-content p {
    max-width: 690px;
    margin: 0 0 24px;
    color: #e2e8f0;
    font-size: 19px;
    line-height: 1.8;
}

.hero-kickers,
.hero-meta,
.hero-actions,
.small-actions,
.movie-badges,
.card-meta,
.tag-row,
.genre-row,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-kickers span,
.movie-badges span,
.genre-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    backdrop-filter: blur(10px);
}

.hero-kickers span:first-child,
.badge-primary {
    background: var(--cyan-500) !important;
    color: #fff !important;
    font-weight: 700;
}

.hero-meta {
    margin-bottom: 32px;
    color: #dbeafe;
    font-weight: 600;
}

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

.btn-primary,
.home-search button {
    background: var(--cyan-500);
    color: #fff;
    border: 0;
    box-shadow: 0 14px 28px rgba(6, 182, 212, 0.28);
}

.btn-primary:hover,
.home-search button:hover {
    background: var(--cyan-600);
    transform: translateY(-1px);
}

.btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-ghost.dark {
    color: var(--slate-800);
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: 22px;
    transform: translateY(-50%);
}

.hero-next {
    right: 22px;
    transform: translateY(-50%);
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: #fff;
}

.search-band {
    background: var(--slate-900);
    color: #fff;
}

.search-band-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 22px;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 520px);
    gap: 28px;
    align-items: center;
}

.search-band h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.search-band p {
    margin: 0;
    color: #cbd5e1;
}

.home-search {
    display: flex;
    gap: 12px;
}

.home-search input,
.filter-panel input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    outline: none;
    color: var(--slate-800);
    background: #fff;
}

.home-search input:focus,
.filter-panel input:focus {
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.category-strip,
.page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.category-strip {
    padding-top: 32px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.category-card,
.category-overview-card {
    position: relative;
    min-height: 144px;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    box-shadow: var(--shadow-card);
    background: var(--slate-900);
}

.category-card img,
.category-overview-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.category-card::after,
.category-overview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.82));
}

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

.category-card strong,
.category-card em {
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 16px;
}

.category-card strong {
    margin-top: 72px;
    font-size: 18px;
}

.category-card em {
    margin-top: 6px;
    font-size: 13px;
    color: #e2e8f0;
    font-style: normal;
    line-height: 1.4;
}

.page-container {
    padding-top: 44px;
    padding-bottom: 64px;
}

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

.content-section {
    margin-bottom: 44px;
}

.content-section.elevated {
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

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

.section-head h2,
.sidebar-panel h2,
.rank-board h2,
.text-block h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: 30px;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--text-soft);
    line-height: 1.7;
}

.section-more,
.wide-link {
    min-height: 40px;
    padding: 0 18px;
    color: var(--cyan-600);
    background: #ecfeff;
}

.section-more:hover,
.wide-link:hover {
    color: #fff;
    background: var(--cyan-500);
}

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--slate-800);
}

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

.movie-card:hover .poster-wrap img {
    transform: scale(1.09);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.72));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.play-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cyan-500);
    color: #fff;
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.38);
}

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

.duration-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.74);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.movie-card-body {
    display: block;
    padding: 16px;
}

.movie-card-body strong {
    display: -webkit-box;
    min-height: 50px;
    margin: 12px 0 8px;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.36;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover strong {
    color: var(--cyan-600);
}

.movie-badges span,
.card-meta span,
.tag-row span,
.tag-cloud a {
    min-height: 24px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--slate-700);
}

.card-desc {
    display: -webkit-box;
    min-height: 44px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.55;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    margin-top: 12px;
    color: var(--text-soft);
}

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

.tag-row span,
.tag-cloud a {
    background: #ecfeff;
    color: var(--cyan-600);
}

.sidebar-panel {
    position: sticky;
    top: 88px;
    padding: 24px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

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

.rank-item {
    display: grid;
    grid-template-columns: 36px 96px 1fr;
    gap: 12px;
    align-items: center;
    padding: 9px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.rank-item:hover {
    background: #f8fafc;
}

.rank-no {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
    color: #fff;
    font-weight: 800;
    font-size: 12px;
}

.rank-item img {
    width: 96px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-item strong {
    display: -webkit-box;
    color: var(--slate-900);
    line-height: 1.35;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-item em {
    display: block;
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 12px;
    font-style: normal;
}

.wide-link {
    width: 100%;
    margin-top: 20px;
}

.stacked-sections .content-section {
    margin-bottom: 34px;
}

.stacked-sections .content-section:last-child {
    margin-bottom: 0;
}

.page-hero {
    min-height: 310px;
    display: flex;
    align-items: center;
    color: #fff;
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.36), transparent 34%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero > div {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 64px 22px;
}

.page-hero h1 {
    max-width: 860px;
    margin: 12px 0;
    font-size: clamp(36px, 6vw, 60px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

.eyebrow {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.18);
    color: var(--cyan-400);
    font-weight: 800;
}

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

.category-overview-card {
    min-height: 220px;
}

.category-overview-content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 220px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-overview-content strong {
    font-size: 26px;
}

.category-overview-content em {
    margin: 10px 0 18px;
    color: #e2e8f0;
    font-style: normal;
    line-height: 1.6;
}

.category-overview-content span {
    width: max-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 800;
}

.filter-panel {
    margin-bottom: 28px;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.sticky-filter {
    position: sticky;
    top: 82px;
    z-index: 20;
}

.filter-panel label {
    display: grid;
    gap: 9px;
    margin-bottom: 16px;
    color: var(--slate-700);
    font-weight: 800;
}

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

.filter-buttons button {
    min-height: 34px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    color: var(--slate-700);
    background: #f1f5f9;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.filter-buttons button:hover,
.filter-buttons button.is-active {
    color: #fff;
    background: var(--cyan-500);
}

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

.top-three-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 34px;
}

.spotlight-card {
    border: 1px solid rgba(6, 182, 212, 0.18);
}

.rank-board {
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

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

.player-stage {
    background: #000;
}

.player-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

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

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

.player-shell.is-playing .player-overlay,
.player-shell.is-started .player-overlay {
    opacity: 0;
    pointer-events: none;
}

.overlay-play-icon {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    border-radius: 50%;
    color: #fff;
    background: var(--cyan-500);
    font-size: 32px;
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.42);
}

.player-overlay span:last-child {
    font-size: 18px;
    font-weight: 800;
}

.player-message {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 4;
    color: #fff;
    text-align: center;
    pointer-events: none;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--text-soft);
    font-size: 14px;
}

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

.detail-main {
    min-width: 0;
}

.detail-card,
.text-block {
    padding: 26px;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.detail-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 24px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 10;
    background: var(--slate-800);
}

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

.large-badges span {
    min-height: 30px;
    padding: 0 12px;
}

.detail-info h1 {
    margin: 18px 0 12px;
    color: var(--slate-900);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.detail-one-line {
    margin: 0 0 18px;
    color: var(--slate-700);
    font-size: 18px;
    line-height: 1.75;
}

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

.detail-meta-grid span {
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--slate-900);
    font-weight: 800;
}

.detail-meta-grid em {
    display: block;
    margin-bottom: 3px;
    color: var(--text-soft);
    font-size: 12px;
    font-style: normal;
}

.genre-row {
    margin-bottom: 22px;
}

.genre-row span {
    background: #ecfeff;
    color: var(--cyan-600);
}

.text-block {
    margin-bottom: 24px;
}

.text-block p {
    margin: 14px 0 0;
    color: var(--slate-700);
    font-size: 17px;
    line-height: 1.9;
    text-align: justify;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.related-section {
    margin-bottom: 0;
}

.detail-sidebar {
    top: 88px;
}

.site-footer {
    background: var(--slate-900);
    color: #cbd5e1;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 22px 36px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.8;
}

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

.footer-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-group a {
    color: #cbd5e1;
}

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    text-align: center;
    padding: 18px 22px 24px;
    color: #94a3b8;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1180px) {
    .category-strip {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

@media (max-width: 960px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: var(--slate-800);
        border-radius: 22px;
        box-shadow: var(--shadow-soft);
    }

    body.nav-open .nav-menu {
        display: flex;
    }

    .nav-link,
    .nav-drop-button {
        justify-content: flex-start;
        border-radius: 14px;
    }

    .nav-dropdown:hover .nav-drop-panel,
    .nav-dropdown:focus-within .nav-drop-panel {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-drop-panel {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        min-width: 0;
        margin-top: 8px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
    }

    .hero-slider {
        height: 540px;
    }

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

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

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

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

    .sidebar-panel {
        position: static;
    }

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

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

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .nav-shell,
    .hero-content,
    .search-band-inner,
    .category-strip,
    .page-container,
    .page-hero > div,
    .footer-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .logo-mark {
        width: 32px;
        height: 32px;
    }

    .hero-slider {
        height: 560px;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.72));
    }

    .hero-content {
        justify-content: flex-end;
        padding-bottom: 86px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-arrow {
        top: auto;
        bottom: 24px;
        width: 44px;
        height: 44px;
        font-size: 34px;
    }

    .hero-prev,
    .hero-next {
        transform: none;
    }

    .hero-prev {
        left: 16px;
    }

    .hero-next {
        right: 16px;
    }

    .hero-dots {
        bottom: 38px;
    }

    .home-search {
        flex-direction: column;
    }

    .category-strip,
    .movie-grid,
    .wide-grid,
    .top-three-grid,
    .category-overview-grid,
    .tall-list {
        grid-template-columns: 1fr;
    }

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

    .content-section.elevated,
    .detail-card,
    .text-block,
    .rank-board,
    .sidebar-panel,
    .filter-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .detail-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .player-shell {
        aspect-ratio: 16 / 10;
    }

    .overlay-play-icon {
        width: 72px;
        height: 72px;
    }

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