:root {
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111827;
    --panel-light: #1e293b;
    --line: rgba(148, 163, 184, 0.16);
    --text: #f8fafc;
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --cyan: #06b6d4;
    --cyan-deep: #0891b2;
    --blue: #3b82f6;
    --green: #10b981;
    --orange: #f97316;
    --red: #ef4444;
    --radius: 18px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(8, 145, 178, 0.2), transparent 30%), var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(30, 41, 59, 0.9);
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    gap: 20px;
}

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

.brand-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.12);
    box-shadow: 0 0 34px rgba(6, 182, 212, 0.26);
}

.brand-mark svg {
    width: 22px;
    height: 22px;
}

.brand-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1 1 auto;
    justify-content: center;
}

.nav-link {
    color: #cbd5e1;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

.header-search,
.mobile-search,
.hero-search {
    position: relative;
}

.header-search {
    width: 260px;
    flex: 0 0 auto;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-row input {
    width: 100%;
    height: 42px;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.85);
    outline: none;
    padding: 0 14px 0 42px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.filter-row input {
    padding-left: 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-row input:focus {
    border-color: rgba(34, 211, 238, 0.8);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
    background: rgba(15, 23, 42, 0.98);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
}

.search-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 120;
    display: none;
    max-height: 430px;
    overflow: auto;
    border: 1px solid rgba(51, 65, 85, 0.88);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
    padding: 8px;
}

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

.search-result {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.search-result:hover {
    background: rgba(30, 41, 59, 0.9);
}

.search-result img {
    width: 44px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
    background: #0f172a;
}

.search-result strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

.search-result span {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.4;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #e2e8f0;
    background: #0f172a;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(30, 41, 59, 0.9);
    background: rgba(15, 23, 42, 0.98);
}

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

.mobile-panel-inner {
    padding: 14px 0 18px;
}

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

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.5);
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #0f172a;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

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

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

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

.hero-layer-left {
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.9) 45%, rgba(15, 23, 42, 0.12) 100%);
}

.hero-layer-bottom {
    background: linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.35) 42%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(680px, 100%);
    padding-bottom: 64px;
}

.eyebrow,
.hero-tags,
.detail-meta,
.detail-tags,
.card-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.eyebrow {
    margin-bottom: 18px;
    color: #67e8f9;
    font-size: 14px;
}

.eyebrow span,
.hero-tags span,
.detail-tags span,
.card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 999px;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.14);
    backdrop-filter: blur(8px);
}

.eyebrow b {
    font-weight: 500;
    color: #cbd5e1;
}

.hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 650px;
    margin: 20px 0 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

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

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

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 16px 36px rgba(6, 182, 212, 0.24);
}

.primary-button svg {
    fill: currentColor;
    stroke-width: 0;
}

.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.ghost-button {
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(15, 23, 42, 0.86);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

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

.hero-dot.active {
    width: 34px;
    background: #06b6d4;
}

.hero-thumbs {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    transform: translateX(-50%);
}

.hero-thumb {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 60px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.hero-thumb img {
    width: 42px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.hero-thumb span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.home-search-section {
    position: relative;
    z-index: 8;
    margin-top: -36px;
}

.home-search-card {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px);
    gap: 22px;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92));
    box-shadow: var(--shadow);
    padding: 26px;
}

.home-search-card h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1,
.detail-article h2,
.detail-aside h2 {
    margin: 0;
}

.home-search-card h2 {
    font-size: clamp(24px, 4vw, 34px);
}

.home-search-card p {
    margin: 10px 0 0;
    color: var(--muted);
}

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

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

.section-heading h2 {
    color: #ffffff;
    font-size: clamp(26px, 4vw, 36px);
    letter-spacing: -0.02em;
}

.section-heading a {
    color: #67e8f9;
    font-weight: 700;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: #67e8f9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-kicker.cyan {
    color: #67e8f9;
}

.section-kicker.orange {
    color: #fb923c;
}

.section-kicker.green {
    color: #34d399;
}

.hot-panel {
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9));
    padding: 34px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.76);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.42);
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.13);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0f172a;
}

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

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.08) 55%, rgba(15, 23, 42, 0));
}

.year-badge,
.rank-badge {
    position: absolute;
    top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
}

.year-badge {
    right: 10px;
}

.rank-badge {
    left: 10px;
    background: rgba(249, 115, 22, 0.86);
}

.play-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(6, 182, 212, 0.9);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.play-hover svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke-width: 0;
}

.movie-card:hover .play-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-card-body {
    display: block;
    padding: 14px;
}

.movie-card-body strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-card-body em {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 13px;
    font-style: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-tags {
    margin-top: 8px;
}

.card-tags span {
    min-height: 22px;
    padding: 2px 8px;
    font-size: 12px;
}

.movie-card-body small {
    display: -webkit-box;
    margin-top: 9px;
    overflow: hidden;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.category-tile {
    position: relative;
    display: flex;
    min-height: 220px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 22px;
    background: #0f172a;
    padding: 20px;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.category-tile img,
.category-shade {
    position: absolute;
    inset: 0;
}

.category-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.35s ease;
}

.category-tile:hover img {
    transform: scale(1.12);
}

.category-shade {
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.28));
}

.category-tile strong,
.category-tile small {
    position: relative;
    z-index: 1;
}

.category-tile strong {
    color: #fff;
    font-size: 22px;
}

.category-tile small {
    display: -webkit-box;
    margin-top: 10px;
    overflow: hidden;
    color: #cbd5e1;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.page-shell {
    padding: 58px 0 84px;
}

.page-hero {
    margin-bottom: 38px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.82));
    padding: clamp(30px, 5vw, 54px);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 54px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.8;
}

.filter-row {
    width: min(420px, 100%);
    margin-top: 24px;
}

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

.category-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.78);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.38);
}

.category-card-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 10px 10px 0;
}

.category-card-images img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    object-fit: cover;
    background: #0f172a;
}

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

.category-card-body strong {
    display: block;
    color: #fff;
    font-size: 22px;
}

.category-card-body p {
    margin: 10px 0 14px;
    color: #94a3b8;
    line-height: 1.7;
}

.category-card-body div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.category-card-body span {
    max-width: 100%;
    overflow: hidden;
    padding: 5px 9px;
    border-radius: 999px;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.9);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 24px;
    margin-bottom: 34px;
}

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

.detail-page {
    background: var(--bg);
}

.detail-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #0f172a;
}

.detail-bg,
.detail-bg-mask {
    position: absolute;
    inset: 0;
}

.detail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    transform: scale(1.05);
    opacity: 0.55;
}

.detail-bg-mask {
    background: linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.88) 54%, rgba(2, 6, 23, 0.56)), linear-gradient(0deg, #020617 0%, transparent 62%);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    padding: 34px 0 70px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
    color: #94a3b8;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #67e8f9;
}

.breadcrumb b {
    color: #e2e8f0;
    font-weight: 600;
}

.detail-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 42px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #0f172a;
}

.detail-copy h1 {
    max-width: 850px;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 820px;
    margin: 18px 0 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.85;
}

.detail-meta {
    margin-top: 20px;
    color: #94a3b8;
}

.detail-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
}

.detail-copy .hero-tags {
    margin-bottom: 28px;
}

.player-section {
    margin-top: -52px;
    position: relative;
    z-index: 4;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 26px;
    background: #000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

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

.player-start {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.16), rgba(2, 6, 23, 0.52));
}

.player-start.hidden {
    display: none;
}

.player-start span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.92);
    box-shadow: 0 18px 45px rgba(6, 182, 212, 0.32);
    transition: transform 0.2s ease;
}

.player-start:hover span {
    transform: scale(1.06);
}

.player-start svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
    stroke-width: 0;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    padding: 42px 0 86px;
}

.detail-article,
.detail-aside {
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.74);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.detail-article {
    padding: clamp(24px, 4vw, 38px);
}

.detail-article h2,
.detail-aside h2 {
    color: #ffffff;
    font-size: 24px;
}

.detail-article h2:not(:first-child) {
    margin-top: 34px;
}

.detail-article p {
    margin: 14px 0 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.9;
}

.detail-tags {
    margin-top: 14px;
}

.detail-aside {
    padding: 22px;
    align-self: start;
    position: sticky;
    top: 92px;
}

.aside-recommend {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.aside-recommend .movie-card {
    display: grid;
    grid-template-columns: 86px 1fr;
}

.aside-recommend .poster-frame {
    aspect-ratio: 3 / 4;
}

.aside-recommend .movie-card-body small,
.aside-recommend .card-tags {
    display: none;
}

.site-footer {
    border-top: 1px solid rgba(30, 41, 59, 0.9);
    background: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    padding: 48px 0;
}

.footer-brand p {
    max-width: 520px;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-logo {
    margin-bottom: 14px;
}

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

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(30, 41, 59, 0.9);
    color: #64748b;
    text-align: center;
    padding: 18px;
    font-size: 14px;
}

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

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

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

    .hero-thumbs {
        display: none;
    }

    .hero-dots {
        bottom: 32px;
    }

    .detail-content-grid {
        grid-template-columns: 1fr;
    }

    .detail-aside {
        position: static;
    }

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

    .aside-recommend .movie-card {
        display: block;
    }

    .aside-recommend .card-tags {
        display: flex;
    }
}

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

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        height: 560px;
    }

    .hero-layer-left {
        background: linear-gradient(0deg, #0f172a 0%, rgba(15, 23, 42, 0.92) 48%, rgba(15, 23, 42, 0.24) 100%);
    }

    .hero-content {
        align-items: flex-end;
        padding-bottom: 74px;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .hero-arrow {
        display: none;
    }

    .home-search-card {
        grid-template-columns: 1fr;
    }

    .four-cols,
    .six-cols,
    .category-grid,
    .category-card-grid,
    .ranking-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ranking-layout,
    .detail-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(280px, 72vw);
    }
}

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

    .brand-text {
        font-size: 17px;
    }

    .hero {
        height: 620px;
    }

    .hero h1,
    .detail-copy h1,
    .page-hero h1 {
        font-size: 34px;
    }

    .hero p,
    .detail-one-line {
        font-size: 15px;
    }

    .home-search-card,
    .hot-panel,
    .page-hero,
    .detail-article,
    .detail-aside {
        border-radius: 20px;
        padding: 20px;
    }

    .section-block {
        padding-top: 50px;
    }

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

    .four-cols,
    .six-cols,
    .category-grid,
    .category-card-grid,
    .ranking-side,
    .aside-recommend {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

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

    .movie-card-body strong {
        font-size: 14px;
    }

    .movie-card-body small,
    .card-tags {
        display: none;
    }

    .detail-hero-inner {
        padding-bottom: 82px;
    }

    .player-section {
        margin-top: -44px;
    }

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