:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-700: #c2410c;
    --rose-700: #be123c;
    --rose-900: #881337;
    --teal-600: #0d9488;
    --cyan-600: #0891b2;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.14);
    --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.25);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, var(--slate-50), var(--amber-50));
    color: var(--slate-800);
    min-height: 100vh;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    display: block;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(15, 23, 42, 0.1));
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: linear-gradient(90deg, rgba(120, 53, 15, 0.86), rgba(124, 45, 18, 0.86));
    backdrop-filter: blur(16px);
    transition: box-shadow 0.28s ease, background 0.28s ease;
}

.site-header.is-scrolled {
    background: linear-gradient(90deg, rgba(120, 53, 15, 0.97), rgba(124, 45, 18, 0.97));
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff7ed;
    font-weight: 900;
    white-space: nowrap;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b 60%, #b45309);
    color: white;
    box-shadow: 0 0 26px rgba(251, 191, 36, 0.5);
    font-size: 14px;
}

.brand-name {
    font-size: 25px;
    background: linear-gradient(90deg, #fde68a, #ffffff);
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    color: #fff7ed;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--amber-300);
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--amber-200);
}

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

.nav-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.nav-search input {
    width: 170px;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    padding: 8px 6px 8px 12px;
}

.nav-search input::placeholder {
    color: rgba(255, 247, 237, 0.74);
}

.nav-search button,
.primary-btn,
.ghost-btn,
.text-link,
.ranking-action {
    cursor: pointer;
}

.nav-search button {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    color: white;
    font-weight: 800;
    background: var(--amber-500);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: white;
    border-radius: 4px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    color: white;
    background:
        radial-gradient(circle at 18% 22%, rgba(252, 211, 77, 0.34), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(244, 63, 94, 0.28), transparent 35%),
        linear-gradient(135deg, #78350f, #9a3412 45%, #881337);
}

.hero-sparks {
    position: absolute;
    inset: 0;
    opacity: 0.75;
    pointer-events: none;
}

.hero-sparks span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(253, 230, 138, 0.72);
    box-shadow: 0 0 20px rgba(253, 230, 138, 0.95);
    animation: pulse-star 3.2s ease-in-out infinite;
}

@keyframes pulse-star {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.28;
    }
    50% {
        transform: scale(1.6);
        opacity: 0.95;
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 74px 0 88px;
}

.hero-heading {
    width: min(840px, 100%);
    margin: 0 auto 34px;
    text-align: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--amber-200);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--amber-600);
}

.eyebrow.light {
    color: var(--amber-200);
}

.hero-heading h1,
.page-hero h1,
.movie-head h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-heading p:last-child,
.page-hero p,
.movie-head .detail-copy > p {
    margin: 18px auto 0;
    max-width: 740px;
    color: rgba(255, 247, 237, 0.86);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

.hero-carousel {
    position: relative;
    min-height: 452px;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 42px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(12px);
}

.hero-slide.is-active {
    display: grid;
    animation: fade-slide 0.45s ease both;
}

@keyframes fade-slide {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy {
    padding: 24px;
}

.hero-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4.5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hero-copy p:not(.eyebrow) {
    margin: 0;
    color: rgba(255, 247, 237, 0.88);
    font-size: 18px;
    line-height: 1.85;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff7ed;
    font-size: 12px;
    font-weight: 800;
}

.tag-row span {
    background: var(--amber-50);
    color: var(--amber-700, #92400e);
}

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

.primary-btn,
.ghost-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;
}

.primary-btn {
    color: white;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-700));
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.34);
}

.primary-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 38px rgba(217, 119, 6, 0.44);
}

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

.ghost-btn {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.16);
}

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

.hero-poster {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.42);
}

.hero-poster img,
.poster-link img,
.ranking-cover img,
.detail-poster img,
.player-cover img,
.category-thumb-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    font-size: 34px;
    line-height: 1;
    transform: translateY(-50%);
}

.hero-prev {
    left: -4px;
}

.hero-next {
    right: -4px;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.hero-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: var(--amber-300);
}

.feature-strip {
    color: white;
    background: linear-gradient(90deg, var(--teal-600), var(--cyan-600));
}

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

.feature-grid a {
    display: block;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, background 0.2s ease;
}

.feature-grid a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-grid strong,
.feature-grid span {
    display: block;
}

.feature-grid strong {
    margin-bottom: 6px;
    font-size: 20px;
}

.feature-grid span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.section-block {
    padding: 74px 0;
}

.soft-bg {
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.9), rgba(241, 245, 249, 0.95));
}

.rose-bg {
    background: linear-gradient(135deg, #fff1f2, #fce7f3);
}

.dark-block {
    color: white;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800), #111827);
}

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

.section-title-row.compact {
    margin-bottom: 22px;
}

.section-title-row h2,
.category-overview-card h2,
.story-card h2,
.info-card h2,
.site-footer h2 {
    margin: 0;
}

.section-title-row h2 {
    color: inherit;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -0.035em;
}

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

.text-link:hover {
    color: var(--orange-700);
}

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

.category-card,
.category-overview-card,
.story-card,
.info-card,
.spotlight-panel,
.filter-panel {
    border: 1px solid rgba(226, 232, 240, 0.72);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
}

.category-card {
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover,
.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.category-card h3 {
    margin: 0 0 10px;
    font-size: 23px;
}

.category-card p,
.category-overview-card p,
.story-card p,
.info-card dd,
.spotlight-panel p {
    color: var(--slate-600);
    line-height: 1.75;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}

.mini-links a {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--slate-700);
    background: var(--slate-100);
    font-size: 12px;
    font-weight: 800;
}

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

.compact-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.11);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--slate-900);
}

.poster-link img {
    transition: transform 0.3s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.72));
    transition: opacity 0.22s ease;
}

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

.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: white;
    font-size: 12px;
    font-weight: 900;
}

.year-badge {
    right: 12px;
    bottom: 12px;
    background: rgba(15, 23, 42, 0.78);
}

.rank-badge {
    left: 12px;
    top: 12px;
    background: linear-gradient(135deg, var(--rose-700), var(--amber-500));
}

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

.movie-meta {
    margin: 0 0 7px;
    color: var(--teal-600);
    font-size: 13px;
    font-weight: 900;
}

.movie-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.35;
}

.movie-card h3 a:hover,
.ranking-content h3 a:hover {
    color: var(--amber-600);
}

.line-clamp {
    display: -webkit-box;
    min-height: 46px;
    margin: 0;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 34px;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 54px 116px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.dark-list .ranking-row {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.ranking-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--rose-700), var(--amber-500));
    font-weight: 900;
}

.ranking-cover {
    width: 116px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: var(--slate-900);
}

.ranking-content p,
.ranking-content span {
    margin: 0;
    color: var(--slate-500);
    font-size: 13px;
}

.dark-list .ranking-content p,
.dark-list .ranking-content span {
    color: var(--slate-300);
}

.ranking-content h3 {
    margin: 4px 0 6px;
    font-size: 19px;
}

.ranking-action {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    color: white;
    background: var(--amber-500);
    font-weight: 900;
}

.spotlight-panel {
    align-self: start;
    padding: 30px;
    color: white;
    border: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(253, 230, 138, 0.24), transparent 35%),
        linear-gradient(135deg, var(--slate-900), var(--rose-900));
}

.spotlight-panel h2 {
    margin: 0 0 14px;
    font-size: 32px;
}

.spotlight-panel p {
    color: rgba(255, 255, 255, 0.82);
}

.inner-page {
    min-height: 70vh;
}

.page-hero,
.movie-head {
    color: white;
    background:
        radial-gradient(circle at 20% 20%, rgba(253, 230, 138, 0.24), transparent 32%),
        linear-gradient(135deg, #78350f, #9a3412 44%, #881337);
}

.page-hero .container {
    padding: 76px 0 84px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: rgba(255, 247, 237, 0.8);
    font-size: 14px;
    font-weight: 800;
}

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

.category-overview-grid {
    display: grid;
    gap: 24px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    overflow: hidden;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-thumb-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category-thumb-row a {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    background: var(--slate-900);
}

.category-overview-card h2 {
    font-size: 32px;
}

.filter-zone {
    position: relative;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 28px;
    padding: 18px;
}

.filter-panel.wide {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
}

.filter-panel input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    padding: 0 18px;
    outline: none;
    color: var(--slate-800);
    background: var(--slate-50);
    font-size: 15px;
}

.filter-panel input:focus {
    border-color: var(--amber-400);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

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

.filter-chip {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    color: var(--slate-700);
    background: var(--slate-100);
    font-weight: 900;
    cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: white;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-700));
}

.empty-state {
    display: none;
    margin: 28px 0 0;
    padding: 24px;
    border-radius: var(--radius-lg);
    color: var(--slate-600);
    background: white;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

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

.full-ranking {
    gap: 10px;
}

.movie-head {
    overflow: hidden;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
    align-items: center;
    padding: 72px 0 70px;
}

.detail-copy .primary-btn {
    margin-top: 26px;
}

.detail-tags span {
    background: rgba(255, 255, 255, 0.16);
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.22);
    box-shadow: var(--shadow-strong);
}

.player-block {
    padding-bottom: 40px;
    background: #050816;
}

.player-shell {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: #000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.player-shell video {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: #000;
    cursor: pointer;
}

.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.62));
}

.player-shell.is-playing .player-cover {
    opacity: 0;
    pointer-events: none;
}

.play-circle {
    position: relative;
    z-index: 3;
    display: inline-flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--amber-500), var(--rose-700));
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.16), 0 20px 48px rgba(0, 0, 0, 0.38);
    font-size: 34px;
}

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

.story-card,
.info-card {
    padding: 30px;
}

.story-card h2,
.info-card h2 {
    margin-bottom: 14px;
    font-size: 26px;
}

.story-card p + h2 {
    margin-top: 28px;
}

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

.info-card dt {
    color: var(--slate-500);
    font-weight: 900;
}

.info-card dd {
    margin: 0;
}

.site-footer {
    color: var(--slate-300);
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

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

.site-footer h2 {
    color: var(--amber-300);
    font-size: 20px;
}

.site-footer p,
.site-footer li {
    color: var(--slate-300);
    line-height: 1.75;
}

.site-footer ul {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.site-footer a:hover {
    color: var(--amber-300);
}

.footer-bottom {
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--slate-400);
    text-align: center;
}

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

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

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

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

    .hero-slide,
    .detail-grid,
    .detail-content-grid,
    .two-column,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(360px, 100%);
        margin: 0 auto;
    }
}

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

    .top-nav {
        min-height: 66px;
    }

    .brand-name {
        font-size: 21px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        inset: 66px 12px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        margin: 0;
        padding: 16px;
        border-radius: 20px;
        background: rgba(120, 53, 15, 0.98);
        box-shadow: var(--shadow-strong);
    }

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

    .nav-link {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .nav-link:hover,
    .nav-link.is-active {
        background: rgba(255, 255, 255, 0.12);
    }

    .nav-link::after {
        display: none;
    }

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

    .hero-inner {
        padding: 44px 0 58px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-slide {
        padding: 16px;
        border-radius: 26px;
    }

    .hero-copy {
        padding: 10px;
    }

    .hero-poster {
        min-height: 260px;
    }

    .hero-control {
        top: auto;
        bottom: 54px;
        transform: none;
    }

    .hero-prev {
        left: 18px;
    }

    .hero-next {
        right: 18px;
    }

    .section-block {
        padding: 52px 0;
    }

    .section-title-row {
        display: block;
    }

    .section-title-row .text-link,
    .section-title-row .ghost-btn {
        margin-top: 14px;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .feature-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .ranking-row {
        grid-template-columns: 42px 86px minmax(0, 1fr);
    }

    .ranking-action {
        grid-column: 2 / -1;
        justify-content: center;
    }

    .ranking-cover {
        width: 86px;
    }

    .page-hero .container,
    .detail-grid {
        padding: 48px 0 56px;
    }

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

    .play-circle {
        width: 68px;
        height: 68px;
        font-size: 27px;
    }

    .story-card,
    .info-card {
        padding: 22px;
    }
}
