:root {
    --red-950: #450a0a;
    --red-900: #7f1d1d;
    --red-800: #991b1b;
    --red-700: #b91c1c;
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-500: #f59e0b;
    --cream: #fffbeb;
    --paper: #fff7ed;
    --ink: #111827;
    --muted: #6b7280;
    --line: #f1d6b8;
    --shadow: 0 18px 45px rgba(69, 10, 10, .16);
    --soft-shadow: 0 10px 24px rgba(127, 29, 29, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 36%, #fff7ed 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(255, 251, 235, .94), rgba(254, 242, 242, .96), rgba(255, 251, 235, .94));
    border-bottom: 4px solid var(--red-800);
    box-shadow: 0 12px 32px rgba(69, 10, 10, .12);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark,
.footer-brand span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--red-800), var(--amber-700));
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(153, 27, 27, .28);
    font-weight: 900;
    font-size: 22px;
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .02em;
    background: linear-gradient(90deg, var(--red-900), var(--amber-800));
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.brand-subtitle {
    margin-top: 4px;
    color: #6b4b36;
    font-size: 12px;
}

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

.nav-link {
    padding: 9px 12px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 700;
    transition: .2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--red-800);
    background: rgba(254, 226, 226, .86);
}

.nav-soft {
    color: #7c5b3f;
    font-weight: 600;
}

.header-search {
    position: relative;
    width: 230px;
    flex: 0 0 230px;
}

.site-search-input,
.filter-input,
.filter-select,
.wide-search input,
.search-page-form input {
    width: 100%;
    height: 42px;
    border: 1px solid #f0c9a4;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--ink);
    outline: none;
    padding: 0 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.site-search-input:focus,
.filter-input:focus,
.filter-select:focus,
.wide-search input:focus {
    border-color: var(--red-700);
    box-shadow: 0 0 0 4px rgba(185, 28, 28, .10);
}

.search-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, 88vw);
    display: none;
    padding: 12px;
    border: 1px solid #f1d6b8;
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
}

.search-panel.is-open {
    display: grid;
    gap: 8px;
}

.search-hit {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 14px;
    transition: .2s ease;
}

.search-hit:hover {
    background: #fff1f2;
}

.search-hit img {
    width: 50px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
}

.search-hit strong {
    display: block;
    color: #111827;
    line-height: 1.3;
}

.search-hit small,
.search-empty {
    color: var(--muted);
    font-size: 12px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(254, 226, 226, .84);
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--red-900);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding-top: 12px;
    border-top: 1px solid #f1d6b8;
}

.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 700;
}

.mobile-nav a:hover {
    background: #fee2e2;
    color: var(--red-800);
}

.mobile-search {
    position: relative;
    margin-bottom: 10px;
}

.hero-slider {
    position: relative;
    min-height: 650px;
    color: #fff;
    overflow: hidden;
    background: radial-gradient(circle at 15% 18%, rgba(245, 158, 11, .38), transparent 26%), linear-gradient(115deg, var(--red-950), var(--red-900) 48%, var(--amber-900));
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255, 255, 255, .18) 49px), repeating-linear-gradient(90deg, transparent, transparent 78px, rgba(255, 255, 255, .09) 79px);
}

.hero-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: .28;
}

.hero-orb.one {
    right: 8%;
    top: 12%;
    background: #f59e0b;
}

.hero-orb.two {
    left: -80px;
    bottom: -90px;
    background: #ef4444;
}

.hero-stage {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    align-items: center;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
    gap: clamp(30px, 6vw, 78px);
    align-items: center;
    padding: 76px 0 90px;
}

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

@keyframes heroFade {
    from {
        opacity: .25;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .06em;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: .02em;
    text-shadow: 0 16px 38px rgba(0, 0, 0, .36);
}

.hero-copy p {
    max-width: 760px;
    color: #fee2e2;
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.8;
}

.hero-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #7f1d1d;
    background: #fff7ed;
    border: 1px solid rgba(251, 191, 36, .42);
    font-size: 13px;
    font-weight: 800;
}

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

.btn,
.wide-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: 0;
    font-weight: 900;
    transition: .22s ease;
    cursor: pointer;
}

.btn.primary,
.wide-search button {
    color: #fff;
    background: linear-gradient(135deg, var(--red-700), var(--amber-700));
    box-shadow: 0 14px 30px rgba(127, 29, 29, .24);
}

.btn.primary:hover,
.wide-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(127, 29, 29, .30);
}

.btn.ghost {
    color: #fff7ed;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, .20);
}

.btn.full {
    width: 100%;
}

.hero-rank {
    color: #fde68a;
    font-weight: 900;
}

.hero-poster {
    position: relative;
    min-height: 510px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(0, 0, 0, .45);
    transform: perspective(1100px) rotateY(-5deg);
    isolation: isolate;
}

.hero-poster img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
    transition: transform .55s ease;
}

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

.poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .78));
}

.poster-title {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 3;
    font-size: 24px;
    font-weight: 900;
    text-shadow: 0 8px 24px rgba(0, 0, 0, .55);
}

.hero-mini-dots {
    display: flex;
    gap: 8px;
    margin-top: 26px;
}

.mini-dot {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
}

.mini-dot.is-active {
    background: #fbbf24;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    font-size: 34px;
    line-height: 1;
}

.hero-control.prev {
    left: -10px;
}

.hero-control.next {
    right: -10px;
}

.home-search-strip {
    margin-top: -34px;
    position: relative;
    z-index: 5;
}

.strip-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 520px);
    gap: 22px;
    align-items: center;
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #f6d7bc;
    box-shadow: var(--shadow);
}

.strip-inner strong {
    display: block;
    color: var(--red-900);
    font-size: 24px;
    font-weight: 900;
}

.strip-inner span {
    color: var(--muted);
}

.wide-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.content-section {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
}

.content-section.tinted {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - 1280px) / 2));
    padding-right: max(16px, calc((100% - 1280px) / 2));
    background: linear-gradient(90deg, #fff7ed, #fef2f2, #fffbeb);
}

.section-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
    font-weight: 950;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

.heading-line {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red-700), transparent);
}

.section-link {
    color: var(--red-800);
    font-weight: 900;
}

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

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

.movie-card {
    display: grid;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #f5dfc8;
    box-shadow: var(--soft-shadow);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: #fca5a5;
    box-shadow: var(--shadow);
}

.poster-wrap {
    position: relative;
    aspect-ratio: 4 / 5.2;
    overflow: hidden;
    background: #fee2e2;
}

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

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

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .64));
}

.poster-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(185, 28, 28, .92);
    font-size: 12px;
    font-weight: 800;
}

.card-body {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.card-body strong {
    color: #111827;
    font-size: 18px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta,
.card-foot {
    color: #7c5b3f;
    font-size: 13px;
    font-weight: 800;
}

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

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

.category-tile,
.category-overview-head {
    display: grid;
    gap: 10px;
    min-height: 145px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff, #fff7ed);
    border: 1px solid #f6d7bc;
    box-shadow: var(--soft-shadow);
    transition: .24s ease;
}

.category-tile:hover,
.category-overview-card:hover .category-overview-head {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #fca5a5;
}

.category-tile span,
.category-overview-head span {
    color: var(--red-900);
    font-size: 24px;
    font-weight: 950;
}

.category-tile small,
.category-overview-head small {
    color: var(--muted);
    font-size: 14px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 44px 82px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #f5dfc8;
    box-shadow: 0 8px 20px rgba(127, 29, 29, .08);
    transition: .22s ease;
}

.rank-row:hover {
    transform: translateY(-4px);
    border-color: #fca5a5;
    box-shadow: var(--soft-shadow);
}

.rank-num {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--red-700), var(--amber-700));
    font-weight: 950;
}

.rank-row img {
    width: 82px;
    height: 106px;
    border-radius: 14px;
    object-fit: cover;
}

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

.rank-info strong {
    color: #111827;
    font-size: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-info em,
.rank-info small {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.rank-info small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at right top, rgba(245, 158, 11, .34), transparent 28%), linear-gradient(115deg, var(--red-950), var(--red-900), var(--amber-900));
}

.page-hero > div {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 84px 0;
}

.slim-hero > div,
.category-hero > div,
.ranking-hero > div,
.search-hero > div {
    min-height: 300px;
    display: grid;
    align-content: center;
}

.page-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 780px;
    color: #fee2e2;
    font-size: 19px;
}

.compact-actions {
    margin-top: 24px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 220px;
    gap: 14px;
    margin-bottom: 26px;
    padding: 16px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #f6d7bc;
    box-shadow: var(--soft-shadow);
}

.filter-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #991b1b 50%), linear-gradient(135deg, #991b1b 50%, transparent 50%);
    background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

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

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

.category-samples {
    display: grid;
    gap: 8px;
    padding: 0 10px;
}

.category-samples a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
    color: #4b5563;
    font-weight: 700;
}

.category-samples span {
    color: #9a3412;
    font-size: 12px;
}

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

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.1);
}

.detail-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
    align-items: center;
    padding: 70px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    color: #fde68a;
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb em {
    color: #fff7ed;
    font-style: normal;
}

.detail-copy h1 {
    margin: 18px 0;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.04;
}

.detail-copy p {
    max-width: 820px;
    color: #fee2e2;
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 12px;
    color: #fff7ed;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .20);
    font-weight: 800;
}

.detail-cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .44);
}

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

.detail-cover span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    min-height: 46px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--red-700), var(--amber-700));
    font-weight: 950;
}

.watch-section {
    width: min(1180px, calc(100% - 32px));
    margin: -70px auto 0;
    position: relative;
    z-index: 6;
}

.watch-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #050505;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .32);
    border: 1px solid rgba(255, 255, 255, .16);
    aspect-ratio: 16 / 9;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 14px;
    color: #fff;
    background: radial-gradient(circle at center, rgba(127, 29, 29, .34), rgba(0, 0, 0, .46));
    border: 0;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 5;
}

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

.play-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-700), var(--amber-700));
    box-shadow: 0 22px 50px rgba(127, 29, 29, .45);
}

.play-icon::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 7px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 28px solid #fff;
}

.play-overlay strong {
    font-size: 22px;
    letter-spacing: .08em;
}

.detail-content {
    padding-top: 48px;
}

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

.article-card,
.side-card {
    border-radius: 24px;
    background: #fff;
    border: 1px solid #f5dfc8;
    box-shadow: var(--soft-shadow);
    padding: 28px;
}

.article-card h2,
.side-card h2 {
    margin: 0 0 14px;
    color: var(--red-900);
    font-size: 24px;
}

.article-card p {
    margin: 0 0 24px;
    color: #374151;
    font-size: 17px;
    line-height: 1.9;
}

.side-card dl {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px 14px;
    margin: 0 0 24px;
}

.side-card dt {
    color: #9a3412;
    font-weight: 900;
}

.side-card dd {
    margin: 0;
    color: #374151;
}

.compact-card .card-desc {
    min-height: auto;
}

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

.site-footer {
    margin-top: 50px;
    color: #d1d5db;
    background: linear-gradient(180deg, #111827, #030712);
    border-top: 4px solid var(--red-800);
}

.footer-grid {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 36px;
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 34px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand strong {
    color: #fff;
    font-size: 22px;
}

.footer-grid p {
    max-width: 420px;
    color: #9ca3af;
    margin: 0;
}

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

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

.footer-links.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a {
    color: #d1d5db;
    font-size: 14px;
}

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

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #6b7280;
    font-size: 14px;
}

.is-filter-hidden {
    display: none !important;
}

@media (max-width: 1180px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

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

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

@media (max-width: 980px) {
    .hero-slide,
    .detail-inner,
    .detail-layout,
    .strip-inner {
        grid-template-columns: 1fr;
    }

    .hero-stage,
    .hero-slider {
        min-height: auto;
    }

    .hero-poster {
        min-height: 360px;
        transform: none;
    }

    .hero-poster img {
        min-height: 360px;
    }

    .movie-grid,
    .featured-grid,
    .category-grid,
    .overview-grid,
    .rank-grid,
    .ranking-list,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .watch-section {
        margin-top: -40px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        min-height: 68px;
    }

    .brand-title {
        font-size: 20px;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-slide {
        padding: 48px 0 70px;
    }

    .hero-copy h1,
    .hero-copy h2,
    .detail-copy h1 {
        font-size: 38px;
    }

    .hero-control {
        display: none;
    }

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

    .home-search-strip {
        margin-top: -20px;
    }

    .strip-inner {
        padding: 18px;
    }

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

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

    .section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .heading-line {
        width: 110px;
    }

    .movie-grid,
    .featured-grid,
    .category-grid,
    .overview-grid,
    .rank-grid,
    .ranking-list,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .rank-row {
        grid-template-columns: 38px 72px 1fr;
    }

    .rank-row img {
        width: 72px;
        height: 94px;
    }

    .page-hero > div {
        padding: 58px 0;
    }

    .detail-inner {
        min-height: auto;
        padding: 46px 0 78px;
    }

    .watch-card {
        border-radius: 18px;
    }

    .article-card,
    .side-card {
        padding: 22px;
    }

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

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