:root {
    --bg: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.28);
    --card: #ffffff;
    --cyan: #22d3ee;
    --blue: #2563eb;
    --deep: #0f172a;
    --orange: #f97316;
    --red: #ef4444;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #eef6ff 100%);
}

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

img {
    display: block;
    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: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(16px);
}

.nav-wrapper {
    width: min(1180px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #22d3ee, #2563eb);
    box-shadow: 0 12px 30px rgba(34, 211, 238, 0.32);
    font-size: 17px;
}

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

.brand-copy strong {
    font-size: 21px;
    letter-spacing: 0.02em;
}

.brand-copy em {
    margin-top: 4px;
    font-size: 12px;
    font-style: normal;
    color: #67e8f9;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: rgba(226, 232, 240, 0.9);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #67e8f9;
    transform: translateY(-1px);
}

.nav-link-soft {
    color: rgba(203, 213, 225, 0.76);
}

.menu-button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mobile-link {
    color: #e2e8f0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-link.is-active,
.mobile-link:hover {
    color: #67e8f9;
    background: rgba(34, 211, 238, 0.12);
}

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.22), transparent 34%), linear-gradient(135deg, #0f172a, #1e3a8a 54%, #0e7490);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.22), rgba(37, 99, 235, 0.18));
    opacity: 0.7;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero-track {
    position: relative;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s ease, transform 0.75s ease;
    transform: scale(1.02);
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 420px;
}

.hero-label,
.page-kicker,
.section-kicker {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 14px;
    color: #cffafe;
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(103, 232, 249, 0.28);
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    margin: 24px 0 20px;
    color: #ffffff;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    max-width: 780px;
}

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

.hero-meta,
.detail-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.hero-meta span,
.detail-meta-pills span {
    padding: 9px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    font-weight: 700;
    font-size: 13px;
}

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

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

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.28);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: absolute;
    z-index: 3;
    right: max(32px, calc((100vw - 1180px) / 2));
    top: 50%;
    width: 330px;
    aspect-ratio: 2 / 3;
    border-radius: 30px;
    overflow: hidden;
    transform: translateY(-50%) rotate(2deg);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.hero-control {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(-50%);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.54);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.hero-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 28px;
    line-height: 1;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
    width: 28px;
    background: #67e8f9;
}

.home-search {
    margin-top: -38px;
    position: relative;
    z-index: 6;
}

.home-search-box,
.filter-panel {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 28px;
    padding: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.home-search-box {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px) auto;
    gap: 18px;
    align-items: center;
}

.home-search-box span,
.filter-head p {
    color: var(--muted);
    font-size: 14px;
}

.home-search-box h2,
.filter-head h2 {
    margin: 4px 0 0;
    font-size: 24px;
}

.home-search input,
.filter-controls input,
.filter-controls select {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 16px;
    padding: 0 16px;
    background: #ffffff;
    color: var(--text);
    outline: none;
}

.home-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.14);
}

.content-section,
.channel-panel,
.channel-stack,
.two-column-block {
    margin-top: 72px;
}

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

.section-head h2 {
    margin: 10px 0 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
}

.section-head.mini h2 {
    font-size: 28px;
}

.section-more {
    color: #2563eb;
    font-weight: 800;
}

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

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

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

.movie-card {
    background: var(--card);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

.movie-card.is-hidden,
.ranking-card.is-hidden {
    display: none;
}

.movie-card-link {
    display: grid;
    height: 100%;
    color: inherit;
}

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

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.58));
    opacity: 0.75;
}

.play-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 30px;
    opacity: 0;
    transform: scale(0.72);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.movie-card:hover .play-icon {
    opacity: 1;
    transform: scale(1);
}

.rank-badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    min-width: 36px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-weight: 900;
}

.movie-body {
    padding: 14px;
    display: grid;
    gap: 8px;
}

.movie-channel {
    margin: 0;
    color: #0ea5e9;
    font-size: 12px;
    font-weight: 800;
}

.movie-body h3 {
    margin: 0;
    min-height: 46px;
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-line {
    margin: 0;
    min-height: 40px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta,
.movie-score {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #64748b;
    font-size: 12px;
}

.movie-meta span,
.movie-score span {
    border-radius: 999px;
    padding: 4px 8px;
    background: #f1f5f9;
}

.movie-score {
    justify-content: space-between;
    color: #1d4ed8;
    font-weight: 800;
}

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

.channel-card,
.category-overview-card {
    position: relative;
    min-height: 170px;
    border-radius: 24px;
    padding: 22px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
    background: linear-gradient(135deg, #1e3a8a, #0891b2);
}

.channel-card::after,
.category-overview-card::after,
.channel-showcase::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -54px;
    bottom: -64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.channel-card span,
.category-overview-card span {
    position: relative;
    z-index: 2;
    display: block;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
}

.channel-card strong,
.category-overview-card h2 {
    position: relative;
    z-index: 2;
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.84);
}

.channel-orange,
.channel-amber {
    background: linear-gradient(135deg, #f97316, #dc2626);
}

.channel-cyan,
.channel-blue {
    background: linear-gradient(135deg, #0891b2, #2563eb);
}

.channel-purple,
.channel-indigo {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.channel-pink {
    background: linear-gradient(135deg, #ec4899, #f97316);
}

.channel-red {
    background: linear-gradient(135deg, #ef4444, #991b1b);
}

.channel-green {
    background: linear-gradient(135deg, #16a34a, #0f766e);
}

.channel-slate {
    background: linear-gradient(135deg, #334155, #0f172a);
}

.two-column-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.rank-aside {
    position: sticky;
    top: 104px;
    padding: 24px;
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(180deg, #0f172a, #1e3a8a);
    box-shadow: var(--shadow);
}

.rank-aside-head span {
    color: #67e8f9;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.rank-aside-head h2 {
    margin: 8px 0 12px;
    font-size: 26px;
}

.rank-aside-head a {
    color: #bae6fd;
    font-weight: 800;
}

.rank-aside ol {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 10px;
}

.rank-aside li a {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-aside li span {
    color: #67e8f9;
    font-weight: 900;
}

.rank-aside li strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-aside li em {
    font-style: normal;
    color: #fbbf24;
    font-weight: 900;
}

.channel-showcase {
    position: relative;
    padding: 28px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.channel-showcase .section-head,
.channel-showcase .movie-grid {
    position: relative;
    z-index: 2;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    color: #ffffff;
    background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.22), transparent 28%), linear-gradient(135deg, #0f172a, #1e3a8a 55%, #0e7490);
}

.compact-hero {
    padding: 72px 0;
}

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

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

.filter-panel {
    margin: 36px 0 30px;
}

.filter-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.filter-head p {
    max-width: 520px;
    margin: 0;
}

.filter-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 190px 220px;
    gap: 14px;
}

.filter-controls label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.list-section {
    margin-top: 0;
}

.category-overview-grid {
    margin-top: 56px;
}

.category-overview-card {
    min-height: 240px;
}

.category-overview-card > a {
    display: block;
    position: relative;
    z-index: 2;
}

.category-samples {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.category-samples a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ranking-list {
    display: grid;
    gap: 14px;
    margin: 34px 0 72px;
}

.ranking-card {
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.ranking-card a {
    display: grid;
    grid-template-columns: 70px 120px minmax(0, 1fr) 70px;
    gap: 18px;
    align-items: center;
    padding: 14px 20px 14px 14px;
}

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

.ranking-card img {
    width: 120px;
    height: 86px;
    border-radius: 14px;
    object-fit: cover;
}

.ranking-card h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.ranking-card p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.6;
}

.ranking-card strong {
    color: #f59e0b;
    font-size: 22px;
    justify-self: end;
}

.detail-hero {
    min-height: 520px;
    padding: 0;
    background: #0f172a;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
    color: #cbd5e1;
    font-size: 14px;
}

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

.detail-hero-copy {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
}

.detail-cover {
    width: 230px;
    aspect-ratio: 2 / 3;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.detail-hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
}

.detail-hero p {
    max-width: 760px;
    margin: 0;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.8;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    margin-top: 46px;
    margin-bottom: 80px;
}

.player-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    overflow: hidden;
    background: #020617;
    box-shadow: var(--shadow);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 14px;
    padding: 24px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.76));
    cursor: pointer;
    text-align: center;
}

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

.player-play {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.42);
    font-size: 28px;
}

.player-overlay strong {
    max-width: 760px;
    font-size: clamp(22px, 4vw, 38px);
    line-height: 1.25;
}

.detail-article,
.side-card {
    margin-top: 28px;
    padding: 28px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.detail-article h2,
.side-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

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

.detail-tags div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-tags span {
    border-radius: 999px;
    padding: 8px 12px;
    color: #0f172a;
    background: #e0f2fe;
    font-weight: 800;
    font-size: 13px;
}

.detail-side {
    min-width: 0;
}

.side-card {
    margin-top: 0;
    margin-bottom: 24px;
}

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

.side-card dt {
    color: var(--muted);
    font-weight: 800;
}

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

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

.related-card a {
    display: grid;
    gap: 8px;
}

.related-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    object-fit: cover;
}

.related-card span {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-footer {
    margin-top: 80px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 34px;
    padding: 54px 0 34px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    padding: 18px 16px 24px;
    color: #64748b;
    text-align: center;
    font-size: 14px;
}

@keyframes glowPulse {
    from {
        transform: scale(1);
        opacity: 0.45;
    }
    to {
        transform: scale(1.08);
        opacity: 0.75;
    }
}

@media (max-width: 1100px) {
    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .hero-content {
        padding-right: 300px;
    }

    .hero-poster {
        width: 260px;
    }

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

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

    .two-column-block,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .rank-aside {
        position: static;
    }
}

@media (max-width: 780px) {
    .nav-wrapper {
        height: 68px;
    }

    .brand-copy strong {
        font-size: 18px;
    }

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

    .hero-content {
        justify-content: flex-start;
        padding: 78px 0 280px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-poster {
        top: auto;
        right: 50%;
        bottom: 100px;
        width: min(240px, 68vw);
        transform: translateX(50%) rotate(1deg);
    }

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

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

    .filter-controls {
        grid-template-columns: 1fr;
    }

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

    .movie-body {
        padding: 12px;
    }

    .movie-line {
        display: none;
    }

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

    .ranking-card a {
        grid-template-columns: 46px 82px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .ranking-card strong {
        grid-column: 3;
        justify-self: start;
        font-size: 16px;
    }

    .ranking-card img {
        width: 82px;
        height: 70px;
    }

    .ranking-card p {
        display: none;
    }

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

    .detail-cover {
        width: 180px;
    }

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

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

@media (max-width: 480px) {
    .container,
    .nav-wrapper,
    .mobile-nav,
    .hero-content {
        width: min(100% - 22px, 1180px);
    }

    .movie-grid,
    .library-grid,
    .movie-grid-six {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .movie-body h3 {
        min-height: auto;
        font-size: 15px;
    }

    .movie-meta,
    .movie-score {
        font-size: 11px;
    }

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

    .detail-article,
    .side-card {
        padding: 20px;
        border-radius: 22px;
    }
}
