:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --red: #dc2626;
    --pink: #db2777;
    --dark: #111827;
    --gray: #4b5563;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f9fafb;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--dark);
    background: var(--soft);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    min-height: 72px;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
}

.brand-name {
    font-size: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--orange-dark), var(--red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link {
    position: relative;
    color: #374151;
    font-weight: 650;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 2px;
    background: var(--orange);
    transition: right 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
    right: 0;
}

.nav-search {
    position: relative;
    width: 260px;
}

.nav-search input,
.mobile-search input,
.wide-search input,
.page-search {
    width: 100%;
    border: 1px solid transparent;
    outline: none;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 12px 46px 12px 18px;
    color: var(--dark);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.wide-search input:focus,
.page-search:focus {
    background: #fff;
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.nav-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--dark);
    font-size: 28px;
    cursor: pointer;
}

.mobile-panel {
    display: none;
    padding: 16px;
    border-top: 1px solid var(--line);
    background: #fff;
}

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

.mobile-search {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.mobile-search input {
    padding-right: 16px;
}

.mobile-search button,
.wide-search button {
    border: 0;
    border-radius: 999px;
    padding: 0 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    cursor: pointer;
    font-weight: 700;
}

.mobile-link {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #374151;
    font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
    background: #fff7ed;
    color: var(--orange-dark);
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: linear-gradient(120deg, var(--orange), var(--red), var(--pink));
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.42), rgba(17, 24, 39, 0.76)), var(--hero-image);
    background-position: center;
    background-size: cover;
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.22), transparent 26%), radial-gradient(circle at 82% 18%, rgba(249, 115, 22, 0.35), transparent 30%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 64px;
    min-height: 620px;
    color: #fff;
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffedd5;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.hero p {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(18px, 2vw, 24px);
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.tag-row span {
    background: #fff7ed;
    color: var(--orange-dark);
}

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

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

.btn:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-light {
    color: var(--orange-dark);
    background: #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.3);
}

.btn.full {
    width: 100%;
}

.hero-poster-card {
    position: relative;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.35);
    transform: rotate(3deg);
    transition: transform 0.35s ease;
}

.hero-poster-card:hover {
    transform: rotate(0) translateY(-8px);
}

.hero-poster-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster-card span {
    position: absolute;
    right: 18px;
    top: 18px;
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(249, 115, 22, 0.92);
    font-weight: 800;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

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

.section-pad {
    padding: 64px 0;
}

.intro-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
    align-items: center;
}

.intro-search h2,
.section-title h2,
.panel-head h2,
.filter-panel h2,
.story-card h2,
.side-card h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.intro-search p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.wide-search {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow);
}

.wide-search input {
    background: transparent;
    padding-right: 18px;
}

.wide-search button {
    min-width: 96px;
}

.section-title,
.panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.section-title.compact {
    align-items: center;
    margin-bottom: 18px;
}

.section-title a,
.panel-head a,
.text-link {
    color: var(--orange-dark);
    font-weight: 800;
}

.card-grid {
    display: grid;
    gap: 24px;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 35px rgba(17, 24, 39, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(17, 24, 39, 0.16);
}

.movie-card-link {
    display: block;
    height: 100%;
}

.movie-poster {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #111827, #374151);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.movie-card:hover .movie-poster img,
.related-card:hover img,
.mini-card:hover img {
    transform: scale(1.08);
}

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.74), transparent 56%);
}

.movie-badge,
.rank-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    border-radius: 999px;
    padding: 6px 10px;
    color: #fff;
    background: rgba(249, 115, 22, 0.94);
    font-size: 12px;
    font-weight: 800;
}

.rank-badge {
    left: 14px;
    right: auto;
    background: rgba(220, 38, 38, 0.94);
}

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

.movie-card-body h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--dark);
    font-size: 19px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.25s ease;
}

.movie-card:hover h3 {
    color: var(--orange-dark);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 13px;
}

.movie-meta span {
    display: inline-flex;
    border-radius: 999px;
    padding: 3px 8px;
    background: #f3f4f6;
}

.movie-card-compact .movie-card-body h3 {
    min-height: 44px;
    font-size: 16px;
}

.movie-card-compact .movie-card-body p {
    min-height: 42px;
    font-size: 13px;
}

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

.category-tile,
.category-cover,
.top-rank-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: end;
    border-radius: var(--radius);
    padding: 20px;
    color: #fff;
    background-image: linear-gradient(to top, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.12)), var(--tile-image);
    background-position: center;
    background-size: cover;
    box-shadow: 0 14px 35px rgba(17, 24, 39, 0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-tile:hover,
.category-cover:hover,
.top-rank-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(17, 24, 39, 0.2);
}

.category-tile span,
.category-cover span {
    font-size: 22px;
    font-weight: 850;
}

.category-tile small {
    color: rgba(255, 255, 255, 0.86);
}

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

.rank-panel,
.filter-panel,
.story-card,
.side-card {
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 35px rgba(17, 24, 39, 0.08);
}

.rank-panel,
.filter-panel,
.side-card {
    padding: 24px;
}

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

.rank-list a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border-radius: 14px;
    padding: 10px;
    background: #f9fafb;
    transition: background 0.25s ease, transform 0.25s ease;
}

.rank-list a:hover {
    transform: translateX(4px);
    background: #fff7ed;
}

.rank-list strong {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
}

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

.rank-list em {
    grid-column: 2;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background-image: linear-gradient(100deg, rgba(249, 115, 22, 0.96), rgba(220, 38, 38, 0.9), rgba(219, 39, 119, 0.78)), var(--tile-image);
    background-position: center;
    background-size: cover;
}

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

.page-hero h1 {
    margin: 12px 0;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 740px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    border-radius: 28px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.09);
}

.category-cover {
    min-height: 260px;
}

.category-overview-body h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.category-overview-body p {
    margin: 0 0 18px;
    color: var(--muted);
}

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

.mini-card {
    overflow: hidden;
    display: block;
    border-radius: 16px;
    background: #f9fafb;
}

.mini-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mini-card span {
    display: block;
    overflow: hidden;
    padding: 9px;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 800;
}

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

.filter-panel {
    position: sticky;
    top: 96px;
}

.filter-panel h2 {
    margin-bottom: 16px;
    font-size: 22px;
}

.page-search {
    margin-bottom: 18px;
    padding-right: 18px;
}

.filter-group {
    display: grid;
    gap: 10px;
}

.filter-chip {
    border: 0;
    border-radius: 14px;
    padding: 11px 14px;
    text-align: left;
    color: #374151;
    background: #f3f4f6;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--red));
    transform: translateX(2px);
}

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

.top-rank-card {
    min-height: 190px;
}

.top-rank-card strong {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(249, 115, 22, 0.95);
    font-size: 24px;
}

.top-rank-card span {
    font-size: 24px;
    font-weight: 900;
}

.top-rank-card small {
    color: rgba(255, 255, 255, 0.88);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.58), rgba(17, 24, 39, 0.9)), var(--detail-image);
    background-position: center;
    background-size: cover;
}

.detail-hero-inner {
    padding: 70px 0 90px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 42px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb em {
    overflow: hidden;
    max-width: 420px;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-style: normal;
}

.detail-copy {
    max-width: 820px;
}

.detail-copy h1 {
    margin: 14px 0 18px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

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

.player-box {
    margin-top: -110px;
}

.movie-player {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: #000;
    box-shadow: 0 38px 80px rgba(17, 24, 39, 0.3);
}

.movie-player video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.74)), var(--detail-image);
    background-position: center;
    background-size: cover;
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 18px 46px rgba(249, 115, 22, 0.48);
    font-size: 34px;
}

.player-cover strong {
    font-size: clamp(22px, 3vw, 36px);
}

.player-cover small {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
}

.story-card {
    margin-top: 28px;
    padding: 30px;
}

.story-card h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.story-card h2:not(:first-child) {
    margin-top: 28px;
}

.story-card p {
    margin: 0;
    color: #374151;
    font-size: 17px;
    white-space: pre-wrap;
}

.detail-side {
    display: grid;
    gap: 22px;
}

.side-card {
    position: sticky;
    top: 96px;
}

.side-card + .side-card {
    position: static;
}

.cover-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 18px;
}

.cover-card h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.cover-card dl {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

.cover-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 10px;
}

.cover-card dt {
    color: var(--muted);
}

.cover-card dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.related-list {
    display: grid;
    gap: 12px;
}

.related-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.related-card img {
    grid-row: span 2;
    width: 88px;
    height: 66px;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.related-card small {
    color: var(--muted);
}

.site-footer {
    margin-top: 42px;
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 32px;
    padding: 48px 0;
}

.footer-brand {
    margin-bottom: 14px;
    color: #fff;
    font-size: 22px;
}

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

.site-footer p {
    margin: 0;
    color: #9ca3af;
}

.site-footer a:not(.footer-brand) {
    display: block;
    margin-bottom: 8px;
    color: #d1d5db;
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: #fb923c;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px;
    text-align: center;
    color: #9ca3af;
}

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

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

    .hero-content,
    .intro-search,
    .split-section,
    .detail-layout,
    .page-layout,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 28px;
        padding: 72px 0 86px;
    }

    .hero-poster-card {
        display: none;
    }

    .filter-panel,
    .side-card {
        position: static;
    }

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

    .player-box {
        margin-top: -70px;
    }
}

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

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

    .card-grid.three-cols,
    .card-grid.four-cols,
    .category-grid,
    .top-rank-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .header-inner {
        min-height: 64px;
    }

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

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

    .hero,
    .hero-content {
        min-height: 560px;
    }

    .hero-actions,
    .wide-search,
    .mobile-search {
        flex-direction: column;
    }

    .wide-search {
        border-radius: 24px;
    }

    .wide-search button,
    .mobile-search button {
        min-height: 44px;
    }

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

    .card-grid.three-cols,
    .card-grid.four-cols,
    .category-grid,
    .top-rank-grid,
    .footer-grid,
    .filter-group {
        grid-template-columns: 1fr;
    }

    .category-overview-card {
        padding: 12px;
    }

    .category-cover {
        min-height: 210px;
    }

    .detail-hero-inner {
        padding: 46px 0 78px;
    }

    .player-box {
        margin-top: -52px;
    }

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

    .story-card,
    .side-card,
    .rank-panel,
    .filter-panel {
        padding: 18px;
    }
}
