:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: rgba(15, 23, 42, 0.78);
    --panel-strong: rgba(30, 41, 59, 0.92);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --accent: #f97316;
    --accent-2: #fb923c;
    --accent-soft: rgba(249, 115, 22, 0.16);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    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;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 14% 8%, rgba(249, 115, 22, 0.18), transparent 30rem),
        radial-gradient(circle at 80% 2%, rgba(59, 130, 246, 0.10), transparent 28rem),
        linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
    color: var(--text);
    min-height: 100vh;
}

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;
    backdrop-filter: blur(18px);
    background: rgba(2, 6, 23, 0.82);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    max-width: 1320px;
    margin: 0 auto;
    height: 72px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.28);
}

.brand-text {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

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

.nav-link {
    position: relative;
    color: var(--soft);
    font-size: 15px;
    font-weight: 700;
    padding: 25px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-2);
    transition: width 0.24s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.top-search {
    margin-left: auto;
    position: relative;
    display: flex;
    align-items: center;
    width: min(340px, 32vw);
}

.top-search input,
.mobile-search input,
.page-search input {
    width: 100%;
    border: 1px solid var(--line);
    outline: none;
    color: white;
    background: rgba(30, 41, 59, 0.68);
    border-radius: 999px;
    padding: 12px 90px 12px 18px;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.page-search input:focus {
    border-color: rgba(251, 146, 60, 0.9);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
    background: rgba(15, 23, 42, 0.95);
}

.top-search button,
.mobile-search button,
.page-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border: 0;
    color: white;
    background: var(--accent);
    border-radius: 999px;
    padding: 0 16px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.75);
    padding: 9px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: white;
    border-radius: 10px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--line);
    padding: 16px 24px 20px;
    background: rgba(15, 23, 42, 0.96);
}

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

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

.mobile-panel nav {
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--soft);
    background: rgba(30, 41, 59, 0.48);
}

.mobile-link.active,
.mobile-link:hover {
    color: white;
    background: var(--accent-soft);
}

.hero {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.85s ease;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 44px;
    padding: 108px max(24px, calc((100vw - 1320px) / 2 + 24px)) 92px;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(12px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.32;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.76) 50%, rgba(2, 6, 23, 0.86) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.08) 48%, rgba(2, 6, 23, 0.82) 100%);
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 2;
}

.hero-chip,
.section-kicker,
.detail-kicker,
.page-hero span,
.spotlight-card span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(249, 115, 22, 0.34);
    border-radius: 999px;
    background: var(--accent-soft);
    color: #fed7aa;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 800;
}

.hero h1 {
    margin: 18px 0 18px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 0.98;
    max-width: 900px;
    letter-spacing: -0.06em;
}

.hero p {
    max-width: 780px;
    color: var(--soft);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.8;
}

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

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.tag-row span {
    border-radius: 999px;
    padding: 6px 10px;
    color: #fdba74;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.20);
    font-size: 12px;
    font-weight: 700;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary {
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 16px 34px rgba(249, 115, 22, 0.28);
}

.btn.ghost {
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.64);
    color: white;
}

.btn.link {
    color: #fdba74;
    padding-left: 4px;
}

.hero-poster {
    align-self: center;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    transform: rotate(2deg);
}

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

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

.hero-poster span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(0, 0, 0, 0.68);
    color: white;
    font-size: 12px;
    font-weight: 900;
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 5;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(12px);
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    background: rgba(30, 41, 59, 0.86);
    font-size: 28px;
    line-height: 1;
}

.hero-arrow:hover {
    background: var(--accent);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    padding: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
    width: 28px;
    background: var(--accent-2);
}

.home-search-panel {
    max-width: 1320px;
    margin: -34px auto 0;
    position: relative;
    z-index: 6;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
    gap: 24px;
    align-items: center;
}

.home-search-panel span {
    color: #fdba74;
    font-weight: 900;
    font-size: 13px;
}

.home-search-panel h2 {
    margin: 6px 0;
    font-size: clamp(24px, 3vw, 38px);
}

.home-search-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.home-search-panel form {
    position: relative;
}

.home-search-panel input {
    width: 100%;
    border: 1px solid var(--line);
    outline: none;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.7);
    color: white;
    padding: 17px 132px 17px 20px;
}

.home-search-panel button {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    padding: 0 22px;
    font-weight: 900;
    cursor: pointer;
}

.section,
.page-main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 70px 24px 0;
}

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

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

.section-head h2 {
    margin: 10px 0 8px;
    font-size: clamp(26px, 3.2vw, 42px);
    letter-spacing: -0.04em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    max-width: 760px;
}

.section-more {
    flex-shrink: 0;
    color: #fdba74;
    font-weight: 900;
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(249, 115, 22, 0.18);
}

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

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

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

.movie-card {
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--line);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.52);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.8);
}

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.32s ease, filter 0.32s ease;
}

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

.card-shade {
    position: absolute;
    inset: auto 0 0 0;
    height: 48%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
}

.card-year,
.card-play {
    position: absolute;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.card-year {
    top: 10px;
    right: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.55);
    padding: 5px 9px;
}

.card-play {
    left: 10px;
    bottom: 10px;
    color: white;
    background: var(--accent);
    padding: 7px 11px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.movie-card:hover .card-play {
    opacity: 1;
    transform: translateY(0);
}

.card-body {
    padding: 14px 14px 16px;
}

.card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 900;
}

.card-title:hover {
    color: #fdba74;
}

.card-meta,
.card-desc {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.card-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 40px;
}

.card-body .tag-row {
    margin-top: 12px;
}

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

.category-card {
    position: relative;
    min-height: 220px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.category-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.34s ease;
}

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

.category-mask {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.15)),
        linear-gradient(135deg, rgba(249, 115, 22, 0.34), transparent 55%);
}

.category-name,
.category-intro {
    position: absolute;
    left: 18px;
    right: 18px;
}

.category-name {
    bottom: 56px;
    font-size: 22px;
    font-weight: 950;
}

.category-intro {
    bottom: 18px;
    color: var(--soft);
    font-size: 13px;
    line-height: 1.55;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
    gap: 28px;
    align-items: start;
}

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

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

.rank-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--line);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.rank-item:hover {
    border-color: rgba(249, 115, 22, 0.42);
    background: rgba(30, 41, 59, 0.78);
}

.rank-cover {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 14px;
}

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

.rank-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rank-line {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.rank-line a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 900;
}

.rank-line a:hover {
    color: #fdba74;
}

.rank-num,
.rank-dot {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rank-num {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    font-weight: 950;
    font-size: 12px;
}

.rank-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.rank-info p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.spotlight-card {
    position: sticky;
    top: 96px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.82);
    box-shadow: var(--shadow);
}

.spotlight-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.spotlight-card div {
    padding: 24px;
}

.spotlight-card h2 {
    margin: 14px 0 10px;
    font-size: 28px;
}

.spotlight-card p {
    margin: 0 0 20px;
    color: var(--soft);
    line-height: 1.8;
}

.page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 52px;
    min-height: 260px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 76% 18%, rgba(249, 115, 22, 0.24), transparent 24rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.92));
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 16px 0 14px;
    font-size: clamp(32px, 4.2vw, 56px);
    letter-spacing: -0.05em;
}

.page-hero p {
    margin: 0;
    max-width: 820px;
    color: var(--soft);
    line-height: 1.8;
    font-size: 17px;
}

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

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

.link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.link-cloud a {
    padding: 13px 17px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.76);
    color: var(--soft);
    font-weight: 800;
}

.link-cloud a:hover {
    color: white;
    border-color: rgba(249, 115, 22, 0.46);
    background: var(--accent-soft);
}

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

.page-search {
    position: relative;
    max-width: 620px;
    margin-top: 28px;
}

.empty-state {
    padding: 34px;
    border-radius: 22px;
    text-align: center;
    color: var(--soft);
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.78);
    margin-bottom: 24px;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 28px;
    align-items: stretch;
}

.player-shell {
    position: relative;
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    background: black;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.movie-video {
    width: 100%;
    height: 100%;
    min-height: 360px;
    aspect-ratio: 16 / 9;
    background: black;
    object-fit: contain;
    cursor: pointer;
}

.player-action {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.92);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.player-action span {
    display: block;
    margin-left: 33px;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 26px solid white;
}

.player-action:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

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

.player-status {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    border-radius: 999px;
    color: white;
    background: rgba(0, 0, 0, 0.66);
    padding: 9px 14px;
    font-size: 13px;
}

.detail-panel {
    border-radius: 28px;
    padding: 30px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.detail-panel h1 {
    margin: 18px 0 14px;
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: -0.05em;
    line-height: 1.08;
}

.detail-one {
    color: var(--soft);
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

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

.detail-meta span {
    border-radius: 14px;
    color: var(--soft);
    background: rgba(30, 41, 59, 0.68);
    border: 1px solid var(--line);
    padding: 9px 11px;
    font-size: 13px;
    font-weight: 800;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.content-card {
    padding: 28px;
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid var(--line);
}

.content-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.content-card p {
    margin: 0;
    color: var(--soft);
    line-height: 2;
    white-space: pre-line;
}

.site-footer {
    margin-top: 86px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.88);
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 46px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(180px, 0.55fr));
    gap: 34px;
}

.footer-brand p {
    max-width: 500px;
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

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

.footer-links h2 {
    margin: 0 0 6px;
    font-size: 16px;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
}

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

.footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 24px 28px;
    color: #64748b;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

@media (max-width: 1180px) {
    .movie-grid,
    .featured-grid,
    .library-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

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

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

    .nav-wrap {
        height: 66px;
        padding: 0 18px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 92px 20px 96px;
        gap: 26px;
    }

    .hero-poster {
        width: min(260px, 66vw);
        justify-self: center;
        transform: none;
    }

    .home-search-panel,
    .split-section,
    .detail-hero,
    .detail-content,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .spotlight-card {
        position: relative;
        top: auto;
    }

    .home-rank,
    .full-rank {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .brand-text {
        font-size: 16px;
    }

    .section,
    .page-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .movie-grid,
    .featured-grid,
    .library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

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

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

    .home-search-panel {
        margin-left: 16px;
        margin-right: 16px;
        padding: 20px;
    }

    .home-search-panel input {
        padding-right: 120px;
    }

    .page-hero {
        border-radius: 24px;
        padding: 32px 22px;
    }

    .rank-item {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .detail-panel,
    .content-card {
        padding: 22px;
    }

    .player-shell,
    .movie-video {
        min-height: 230px;
    }

    .player-action {
        width: 70px;
        height: 70px;
    }

    .player-action span {
        margin-left: 27px;
        border-top-width: 14px;
        border-bottom-width: 14px;
        border-left-width: 22px;
    }
}
