:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --blue-950: #172554;
    --blue-900: #1e3a8a;
    --amber-500: #f59e0b;
    --orange-500: #f97316;
    --red-500: #ef4444;
    --text-main: #111827;
    --text-muted: #64748b;
    --page-bg: #f8fafc;
    --card-bg: #ffffff;
    --line: rgba(148, 163, 184, 0.28);
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-deep: 0 28px 70px rgba(2, 6, 23, 0.32);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-main);
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 48%, #f8fafc 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 58, 138, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.25);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: 1280px;
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand span:last-child,
.footer-brand {
    background: linear-gradient(90deg, #fcd34d, #fb923c, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-mark,
.footer-brand span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.35);
}

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

.desktop-nav a {
    position: relative;
    color: #dbeafe;
    font-weight: 650;
    font-size: 15px;
    transition: color 0.2s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    border-radius: 999px;
    background: var(--amber-500);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
    color: #fcd34d;
}

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

.header-search {
    display: flex;
    align-items: center;
    width: min(320px, 28vw);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.header-search input {
    width: 100%;
    min-width: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    outline: 0;
    padding: 11px 14px;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.header-search button,
.hero-button,
.primary-button,
.filter-panel button {
    border: 0;
    cursor: pointer;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 18px 35px rgba(245, 158, 11, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
    align-self: stretch;
    padding: 0 16px;
}

.header-search button:hover,
.hero-button:hover,
.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 45px rgba(245, 158, 11, 0.38);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    padding: 10px;
}

.menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px 18px;
}

.mobile-nav a {
    display: block;
    color: #dbeafe;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav form {
    display: flex;
    gap: 10px;
    padding-top: 12px;
}

.mobile-nav input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px;
}

.mobile-nav button {
    border: 0;
    border-radius: 12px;
    padding: 0 16px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

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

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

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
}

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

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 36%, rgba(245, 158, 11, 0.18), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(15, 23, 42, 0.82) 44%, rgba(15, 23, 42, 0.28) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    min-height: 660px;
    margin: 0 auto;
    padding: 96px 22px 82px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
    gap: 52px;
    align-items: center;
}

.hero-copy {
    max-width: 720px;
    color: #ffffff;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(251, 191, 36, 0.34);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 900;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.hero-copy p {
    margin: 22px 0 0;
    color: #dbeafe;
    font-size: clamp(18px, 2vw, 22px);
    max-width: 700px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.secondary-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
}

.hero-cover-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    transform: rotate(1deg);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-cover-card img {
    width: 100%;
    aspect-ratio: 3 / 4.05;
    object-fit: cover;
}

.hero-cover-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.72));
}

.hero-cover-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    color: #ffffff;
}

.hero-cover-caption strong {
    display: block;
    font-size: 22px;
}

.hero-cover-caption span {
    color: #fde68a;
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-size: 24px;
    background: rgba(2, 6, 23, 0.52);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-control:hover {
    background: rgba(2, 6, 23, 0.72);
}

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

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

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 5;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 34px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.35);
}

.hero-dots button.is-active {
    background: #fbbf24;
}

.section,
.detail-section,
.category-page,
.search-page,
.rank-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 22px;
}

.section-title,
.page-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b45309;
    font-weight: 900;
    margin-bottom: 8px;
}

.section h2,
.page-title-row h1,
.category-hero h1,
.detail-copy h1,
.rank-hero h1,
.search-hero h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.14;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.section-title p,
.category-hero p,
.rank-hero p,
.search-hero p {
    margin: 8px 0 0;
    color: var(--text-muted);
    max-width: 720px;
}

.view-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b45309;
    font-weight: 850;
}

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

.movie-card {
    min-width: 0;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(245, 158, 11, 0.38);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #0f172a;
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 2.95;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

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

.poster-mask {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(2, 6, 23, 0.45);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.poster-mask span {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 18px 45px rgba(245, 158, 11, 0.38);
}

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

.card-badge,
.rank-mark {
    position: absolute;
    top: 12px;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    font-size: 12px;
    line-height: 1;
}

.card-badge {
    right: 12px;
    padding: 7px 10px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}

.rank-mark {
    left: 12px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

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

.card-body h3 {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    min-height: 42px;
    margin: 10px 0 0;
    color: #475569;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    color: #92400e;
    background: #fffbeb;
    font-size: 12px;
    font-weight: 800;
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 24px;
    min-height: 180px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1e3a8a 56%, #f59e0b 160%);
    box-shadow: var(--shadow-soft);
}

.category-tile::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.18);
}

.category-tile strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 900;
}

.category-tile p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #dbeafe;
}

.category-tile span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-top: 22px;
    color: #fef3c7;
    font-weight: 900;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 22px 0;
    color: #64748b;
    font-size: 14px;
}

.breadcrumb a {
    color: #b45309;
    font-weight: 800;
}

.category-hero,
.rank-hero,
.search-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 62px 22px 36px;
}

.category-hero-card,
.rank-hero-card,
.search-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: clamp(30px, 5vw, 54px);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 58, 138, 0.92)), radial-gradient(circle at 90% 10%, rgba(251, 191, 36, 0.35), transparent 26%);
    box-shadow: var(--shadow-deep);
}

.category-hero-card h1,
.rank-hero-card h1,
.search-hero-card h1 {
    color: #ffffff;
}

.category-hero-card p,
.rank-hero-card p,
.search-hero-card p {
    color: #dbeafe;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(130px, 0.65fr));
    gap: 14px;
    margin: 28px 0;
    padding: 18px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    outline: 0;
    padding: 12px 13px;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(245, 158, 11, 0.72);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.filter-empty {
    display: none;
    margin: 32px 0;
    padding: 22px;
    text-align: center;
    color: #64748b;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(148, 163, 184, 0.4);
}

.detail-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 22px 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
    gap: 32px;
    align-items: start;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: var(--shadow-deep);
    border: 1px solid rgba(15, 23, 42, 0.22);
}

.player-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
    object-fit: cover;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.12), rgba(2, 6, 23, 0.58));
}

.player-overlay.is-hidden {
    display: none;
}

.player-overlay span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 25px 70px rgba(245, 158, 11, 0.45);
    font-size: 34px;
}

.player-overlay strong {
    display: block;
    margin-top: 14px;
    font-size: 20px;
    letter-spacing: 0.03em;
}

.detail-copy {
    padding: 26px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.detail-copy h1 {
    margin-bottom: 16px;
}

.detail-intro {
    color: #475569;
    font-size: 17px;
    margin: 18px 0 0;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.detail-meta span {
    padding: 13px 14px;
    border-radius: 15px;
    background: #f8fafc;
    color: #334155;
    font-weight: 850;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.detail-section {
    padding-top: 0;
}

.content-card {
    margin-bottom: 24px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 28px;
}

.content-card h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 25px;
    font-weight: 900;
}

.content-card p {
    margin: 0;
    color: #475569;
    font-size: 16px;
}

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

.rank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 48px 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 13px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-item:hover {
    transform: translateX(6px);
    border-color: rgba(245, 158, 11, 0.5);
}

.ranking-no {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.ranking-item img {
    width: 72px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-copy {
    min-width: 0;
}

.ranking-copy strong {
    display: block;
    color: #0f172a;
    font-size: 17px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-copy em {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-style: normal;
}

.side-card {
    position: sticky;
    top: 92px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 22px;
}

.side-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 900;
}

.side-card a {
    display: block;
    padding: 12px 0;
    color: #334155;
    font-weight: 800;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.site-footer {
    margin-top: 40px;
    color: #cbd5e1;
    background: linear-gradient(135deg, #020617, #0f172a 52%, #1e3a8a);
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 46px 22px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 34px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
}

.site-footer p {
    max-width: 420px;
    color: #94a3b8;
}

.site-footer a:not(.footer-brand) {
    display: block;
    color: #cbd5e1;
    margin: 7px 0;
}

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

.footer-links {
    columns: 2;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 22px 26px;
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

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

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

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

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

    .hero-content,
    .detail-hero,
    .rank-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-cover-card {
        max-width: 360px;
        transform: none;
    }

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

    .side-card {
        position: static;
    }
}

@media (max-width: 700px) {
    .header-inner {
        height: 62px;
        padding: 0 16px;
    }

    .brand span:last-child {
        font-size: 17px;
    }

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

    .hero-content {
        padding: 62px 16px 92px;
        gap: 30px;
    }

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

    .hero-control {
        top: auto;
        bottom: 28px;
        transform: none;
        width: 42px;
        height: 42px;
    }

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

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

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

    .card-body {
        padding: 13px;
    }

    .card-desc,
    .tag-row {
        display: none;
    }

    .category-strip,
    .filter-panel,
    .detail-meta {
        grid-template-columns: 1fr;
    }

    .section,
    .detail-section,
    .category-page,
    .search-page,
    .rank-page {
        padding: 38px 16px;
    }

    .category-hero,
    .rank-hero,
    .search-hero,
    .breadcrumb,
    .detail-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-title,
    .page-title-row {
        align-items: start;
        flex-direction: column;
    }

    .ranking-item {
        grid-template-columns: 40px 58px minmax(0, 1fr);
    }

    .ranking-item img {
        width: 58px;
        height: 78px;
    }

    .footer-links {
        columns: 1;
    }
}
