:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111827;
    --panel-light: #1e293b;
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #06b6d4;
    --cyan-light: #67e8f9;
    --cyan-dark: #0891b2;
    --line: rgba(148, 163, 184, 0.18);
    --shadow: 0 24px 60px rgba(2, 6, 23, 0.5);
    --radius: 24px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 0%, rgba(8, 145, 178, 0.18), transparent 28rem),
        radial-gradient(circle at 82% 12%, rgba(14, 165, 233, 0.12), transparent 32rem),
        var(--bg);
    color: var(--text);
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text);
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
    color: #001018;
    box-shadow: 0 0 32px rgba(6, 182, 212, 0.42);
    font-size: 15px;
}

.brand-text {
    white-space: nowrap;
    font-size: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-right: auto;
    color: var(--muted-strong);
}

.main-nav a,
.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    min-height: 72px;
    transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.nav-dropdown:hover > a {
    color: var(--text);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    width: 190px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 180ms ease;
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-panel a {
    display: block;
    min-height: 0;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted-strong);
}

.dropdown-panel a:hover {
    background: rgba(148, 163, 184, 0.12);
    color: var(--cyan-light);
}

.search-form,
.mobile-search,
.filter-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-form input,
.mobile-search input,
.filter-box input {
    width: 240px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.84);
    color: var(--text);
    outline: none;
    padding: 10px 15px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-form input:focus,
.mobile-search input:focus,
.filter-box input:focus {
    border-color: rgba(103, 232, 249, 0.8);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.search-form button,
.mobile-search button,
.filter-box button,
.primary-button,
.ghost-button,
.section-link,
.rank-action {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.search-form button,
.mobile-search button,
.filter-box button,
.primary-button {
    padding: 10px 18px;
    background: var(--cyan-dark);
    color: white;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(6, 182, 212, 0.18);
}

.search-form button:hover,
.mobile-search button:hover,
.filter-box button:hover,
.primary-button:hover {
    background: var(--cyan);
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(6, 182, 212, 0.28);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.88);
    color: var(--text);
    padding: 9px;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--text);
}

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

.mobile-panel a {
    display: block;
    padding: 11px 0;
    color: var(--muted-strong);
}

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

.hero-slider {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    background: #020617;
}

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

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 700ms ease;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.05);
}

.hero-cover {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.72) 34%, rgba(2, 6, 23, 0.12) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.46) 48%, rgba(2, 6, 23, 0.76) 100%);
}

.hero-content {
    position: absolute;
    left: max(24px, calc((100vw - 1180px) / 2));
    bottom: 16%;
    width: min(720px, calc(100% - 48px));
    display: grid;
    gap: 22px;
}

.hero-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted-strong);
    font-size: 14px;
}

.hero-kicker span:first-child,
.card-meta span:first-child {
    color: var(--cyan-light);
    background: rgba(6, 182, 212, 0.16);
}

.hero-kicker span,
.card-meta span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.74);
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero-content p {
    max-width: 680px;
    margin: 0;
    color: var(--muted-strong);
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
}

.ghost-button {
    border: 1px solid rgba(203, 213, 225, 0.28);
    background: rgba(15, 23, 42, 0.62);
    color: var(--muted-strong);
}

.ghost-button:hover {
    border-color: rgba(103, 232, 249, 0.7);
    color: white;
    transform: translateY(-1px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.58);
    color: white;
    cursor: pointer;
    font-size: 36px;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover {
    background: rgba(6, 182, 212, 0.78);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 36px;
    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.58);
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease;
}

.hero-dot.is-active {
    width: 34px;
    background: var(--cyan);
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 72px;
}

.home-shell {
    padding-top: 72px;
}

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

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

.section-heading h2,
.page-hero h1,
.player-title-block h1,
.detail-card h2,
.sidebar-card h2,
.category-panel h3,
.category-card h2 {
    margin: 0;
    color: var(--text);
}

.section-heading h2 {
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p,
.category-panel p,
.category-card p,
.explore-band p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.section-link {
    white-space: nowrap;
    padding: 9px 16px;
    color: var(--cyan-light);
    background: rgba(6, 182, 212, 0.12);
}

.section-link:hover {
    color: white;
    background: var(--cyan-dark);
}

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.22);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.movie-card:hover {
    border-color: rgba(103, 232, 249, 0.46);
    box-shadow: 0 24px 46px rgba(6, 182, 212, 0.16);
    transform: translateY(-6px);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #020617;
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.movie-card:hover img,
.mini-card:hover img,
.side-link:hover img,
.ranking-row:hover img {
    transform: scale(1.08);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 56%);
    opacity: 0;
    transition: opacity 220ms ease;
}

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

.play-bubble {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.9);
    color: white;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 220ms ease, transform 220ms ease;
}

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

.duration-pill {
    position: absolute;
    right: 12px;
    top: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(2, 6, 23, 0.75);
    color: white;
    font-size: 12px;
}

.card-content {
    display: grid;
    gap: 9px;
    padding: 16px;
}

.card-meta {
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.card-title {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    color: white;
    font-weight: 800;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 180ms ease;
}

.movie-card:hover .card-title {
    color: var(--cyan-light);
}

.card-desc,
.card-tags {
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-tags {
    color: #64748b;
    font-size: 12px;
    -webkit-line-clamp: 1;
}

.compact-card .poster-wrap {
    aspect-ratio: 16 / 9;
}

.compact-card .card-desc {
    -webkit-line-clamp: 1;
}

.feature-section,
.glow-section,
.explore-band,
.page-hero,
.detail-card,
.sidebar-card,
.category-panel,
.category-card {
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.92));
    box-shadow: var(--shadow);
}

.feature-section,
.glow-section {
    padding: 34px;
}

.glow-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 0%, rgba(6, 182, 212, 0.18), transparent 22rem),
        linear-gradient(145deg, rgba(8, 47, 73, 0.84), rgba(15, 23, 42, 0.96));
}

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

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

.category-panel,
.category-card {
    padding: 24px;
}

.category-panel-head,
.category-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.category-panel-head a,
.category-card-head a {
    color: var(--cyan-light);
    font-weight: 700;
    white-space: nowrap;
}

.mini-list,
.side-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.mini-card,
.side-link {
    display: flex;
    gap: 13px;
    align-items: center;
    min-width: 0;
    border-radius: 14px;
    padding: 10px;
    background: rgba(2, 6, 23, 0.38);
    transition: background 180ms ease;
}

.mini-card:hover,
.side-link:hover {
    background: rgba(6, 182, 212, 0.12);
}

.mini-card img,
.side-link img {
    width: 112px;
    height: 70px;
    flex: 0 0 auto;
    border-radius: 10px;
    object-fit: cover;
    overflow: hidden;
    transition: transform 400ms ease;
}

.mini-card span,
.side-link span {
    min-width: 0;
}

.mini-card strong,
.side-link strong {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 4px;
    color: white;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mini-card em,
.side-link em {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

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

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

.ranking-row {
    display: grid;
    grid-template-columns: 54px 126px 1fr auto;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.9);
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.ranking-row:hover {
    border-color: rgba(103, 232, 249, 0.42);
    background: rgba(15, 23, 42, 1);
    transform: translateY(-2px);
}

.rank-number {
    color: var(--cyan-light);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.rank-poster {
    display: block;
    height: 78px;
    overflow: hidden;
    border-radius: 12px;
    background: #020617;
}

.rank-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.rank-info {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.rank-title {
    overflow: hidden;
    color: white;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-desc,
.rank-meta {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-action {
    padding: 8px 14px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--cyan-light);
    font-weight: 800;
}

.ranking-row:hover .rank-action {
    background: var(--cyan-dark);
    color: white;
}

.explore-band {
    padding: 40px;
    text-align: center;
}

.explore-band h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
}

.pill-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.pill-links a,
.sidebar-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(30, 41, 59, 0.88);
    color: var(--muted-strong);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.pill-links a:hover,
.sidebar-buttons a:hover {
    background: var(--cyan-dark);
    color: white;
    transform: translateY(-1px);
}

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

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

.page-hero {
    margin-bottom: 42px;
    padding: 42px;
    background:
        radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.18), transparent 22rem),
        linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.92));
}

.page-hero > span,
.player-title-block > span {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    padding: 7px 13px;
    background: rgba(6, 182, 212, 0.14);
    color: var(--cyan-light);
    font-weight: 800;
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.04em;
}

.filter-box {
    margin-top: 28px;
}

.filter-box input {
    width: min(480px, 100%);
    border-radius: 16px;
}

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

.category-preview a {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
}

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

.detail-shell {
    padding-top: 26px;
}

.player-hero {
    display: grid;
    gap: 24px;
    margin-bottom: 36px;
}

.player-title-block h1 {
    font-size: clamp(34px, 5vw, 60px);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.player-title-block p {
    max-width: 860px;
    color: var(--muted-strong);
    font-size: 18px;
    line-height: 1.75;
}

.video-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.24);
    border-radius: 26px;
    background: black;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.video-frame video,
.player-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-frame video {
    object-fit: contain;
    z-index: 1;
}

.player-poster {
    z-index: 3;
    overflow: hidden;
    border: 0;
    background: black;
    cursor: pointer;
    padding: 0;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.player-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transform: scale(1.02);
}

.player-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.12));
}

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

.player-button {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.92);
    color: white;
    font-size: 34px;
    box-shadow: 0 0 0 16px rgba(6, 182, 212, 0.12), 0 24px 50px rgba(0, 0, 0, 0.36);
    transform: translate(-50%, -50%);
}

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

.detail-main {
    display: grid;
    gap: 28px;
}

.detail-card,
.sidebar-card {
    padding: 28px;
}

.intro-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
}

.detail-cover {
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 2 / 3;
    background: #020617;
}

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

.detail-info p,
.detail-card p {
    color: var(--muted-strong);
    line-height: 1.85;
}

.lead-text {
    color: var(--cyan-light) !important;
    font-weight: 800;
}

.fact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: 18px 0;
    list-style: none;
}

.fact-list li {
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    padding: 12px;
    background: rgba(2, 6, 23, 0.32);
}

.fact-list span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
}

.fact-list strong {
    color: white;
    font-size: 14px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tag-list span {
    color: var(--cyan-light);
    font-size: 13px;
}

.detail-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 20px;
}

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

.empty-state {
    margin: 28px 0 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    background: rgba(15, 23, 42, 0.88);
    color: var(--muted-strong);
    text-align: center;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.94);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 32px;
}

.footer-grid p {
    max-width: 430px;
    color: var(--muted);
    line-height: 1.7;
}

.footer-grid h2 {
    margin: 0 0 16px;
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--cyan-light);
}

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

@media (max-width: 1080px) {
    .search-form {
        display: none;
    }

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

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

    .detail-sidebar {
        position: static;
    }

    .slim-ranking {
        grid-template-columns: 1fr;
    }
}

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

    .mobile-toggle {
        display: block;
        margin-left: auto;
    }

    .header-inner {
        height: 64px;
    }

    .hero-slider {
        min-height: 72vh;
    }

    .hero-content {
        bottom: 12%;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        left: 24px;
        right: auto;
        bottom: 24px;
    }

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

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

    .detail-cover {
        max-width: 320px;
    }

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

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 24px, 1180px);
        padding-bottom: 46px;
    }

    .brand-text {
        font-size: 18px;
    }

    .hero-kicker span:nth-child(n + 3) {
        display: none;
    }

    .hero-content {
        width: calc(100% - 32px);
        left: 16px;
    }

    .hero-actions {
        align-items: stretch;
    }

    .primary-button,
    .ghost-button {
        flex: 1 1 140px;
    }

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

    .feature-section,
    .glow-section,
    .explore-band,
    .page-hero,
    .detail-card,
    .sidebar-card,
    .category-panel,
    .category-card {
        padding: 20px;
        border-radius: 18px;
    }

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

    .ranking-row {
        grid-template-columns: 42px 88px 1fr;
        gap: 11px;
        padding: 10px;
    }

    .rank-action {
        display: none;
    }

    .rank-poster {
        height: 60px;
    }

    .rank-desc {
        display: none;
    }

    .filter-box {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-box button {
        width: 100%;
    }
}
