:root {
    --bg: #020617;
    --panel: #0f172a;
    --panel-soft: #111827;
    --panel-card: #1e293b;
    --line: #334155;
    --line-soft: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --subtle: #64748b;
    --cyan: #06b6d4;
    --cyan-strong: #0891b2;
    --blue: #2563eb;
    --yellow: #eab308;
    --orange: #f97316;
    --danger: #ef4444;
    --radius: 1rem;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 30rem),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 32rem),
        var(--bg);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    flex: 0 0 auto;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #fff;
    box-shadow: 0 14px 28px rgba(6, 182, 212, 0.28);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.07) rotate(-2deg);
}

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

.brand-copy strong {
    font-size: 1.28rem;
    letter-spacing: -0.02em;
}

.brand-copy em {
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-style: normal;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    flex: 0 0 auto;
    padding: 0.65rem 0.9rem;
    border-radius: 0.7rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff;
    background: rgba(51, 65, 85, 0.82);
    transform: translateY(-1px);
}

.header-search,
.mobile-search,
.hero-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-panel input {
    width: 100%;
    color: var(--text);
    background: rgba(51, 65, 85, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 0.8rem;
    outline: none;
    padding: 0.78rem 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
    width: 260px;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-panel input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16);
    background: rgba(15, 23, 42, 0.98);
}

.header-search button,
.mobile-search button,
.hero-search button {
    border: 0;
    border-radius: 0.8rem;
    padding: 0.78rem 1rem;
    color: #fff;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    font-weight: 700;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.8rem;
    background: rgba(51, 65, 85, 0.84);
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

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

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

.mobile-panel nav {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.mobile-link {
    padding: 0.8rem 0.9rem;
    border-radius: 0.75rem;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.62);
}

.hero {
    position: relative;
    min-height: 620px;
    height: 72vh;
    overflow: hidden;
    background: #000;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    filter: saturate(1.05);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.08)),
        linear-gradient(0deg, var(--bg), rgba(2, 6, 23, 0.08) 45%);
}

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

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin-bottom: 1.2rem;
    padding: 0.5rem 0.9rem;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(103, 232, 249, 0.26);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.hero h1,
.page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 7vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.hero p,
.page-hero p {
    max-width: 720px;
    margin: 1.25rem 0 0;
    color: #cbd5e1;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-meta span,
.detail-meta span,
.hero-tags span,
.detail-tags span,
.card-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(51, 65, 85, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    backdrop-filter: blur(8px);
}

.hero-meta span:first-child,
.rating-pill {
    color: #111827;
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    border-color: transparent;
    font-weight: 900;
}

.hero-tags,
.detail-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.card-tags {
    gap: 0.35rem;
}

.card-tags span {
    min-height: auto;
    padding: 0.18rem 0.45rem;
    color: #bae6fd;
    font-size: 0.72rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.btn-primary,
.btn-ghost,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    min-height: 48px;
    padding: 0.78rem 1.25rem;
    color: #fff;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 18px 35px rgba(6, 182, 212, 0.22);
}

.btn-primary.small {
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    font-size: 0.92rem;
}

.btn-ghost {
    min-height: 48px;
    padding: 0.78rem 1.1rem;
    color: #cffafe;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(103, 232, 249, 0.28);
}

.btn-primary:hover,
.btn-ghost:hover,
.section-more:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 2;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-dots,
.hero-rank-link {
    pointer-events: auto;
}

.hero-dots {
    display: flex;
    gap: 0.55rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #475569;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 38px;
    background: var(--cyan);
}

.hero-rank-link {
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    color: #cffafe;
    background: rgba(15, 23, 42, 0.64);
    border: 1px solid rgba(103, 232, 249, 0.22);
}

.quick-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: -58px;
    position: relative;
    z-index: 3;
}

.category-tile,
.category-card-large,
.detail-card,
.side-card,
.filter-panel,
.panel-section,
.page-hero {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.86));
    border: 1px solid var(--line-soft);
    border-radius: calc(var(--radius) + 0.35rem);
    box-shadow: var(--shadow);
}

.category-tile {
    display: grid;
    gap: 0.8rem;
    min-height: 190px;
    padding: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.48);
}

.category-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.3rem;
    min-height: 96px;
}

.category-images img {
    width: 100%;
    height: 100%;
    min-height: 96px;
    object-fit: cover;
    border-radius: 0.65rem;
    background: #0f172a;
}

.category-tile strong {
    color: #fff;
    font-size: 1.1rem;
}

.category-tile em,
.category-card-copy p,
.footer-inner p {
    color: var(--muted);
    font-style: normal;
    font-size: 0.92rem;
}

.content-section {
    padding: 4rem 0 0;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.section-heading h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2rem);
    letter-spacing: -0.03em;
}

.section-heading h2 span,
.text-block h2::before,
.side-card h2::before {
    display: inline-block;
    width: 8px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    content: "";
}

.section-more {
    padding: 0.55rem 0.9rem;
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.1);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    gap: 1.25rem;
}

.small-grid {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 1rem;
}

.movie-card {
    min-width: 0;
}

.movie-link {
    display: grid;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
    background: #1e293b;
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-link:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(6, 182, 212, 0.55);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.32);
}

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

.is-compact .poster-wrap {
    aspect-ratio: 3 / 4;
}

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

.movie-link:hover .poster-wrap img {
    transform: scale(1.1);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.06));
}

.score-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.48rem;
    border-radius: 0.45rem;
    color: #111827;
    background: var(--yellow);
    font-size: 0.76rem;
    font-weight: 900;
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    color: #fff;
    background: var(--cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.75);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.movie-body {
    display: grid;
    align-content: start;
    gap: 0.38rem;
    padding: 0.85rem;
}

.movie-body strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.9em;
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-body small {
    color: var(--muted);
}

.category-rows {
    display: grid;
    gap: 2rem;
}

.home-category-row {
    padding: 1.25rem;
    border-radius: 1.2rem;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.row-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.row-title h3 {
    margin: 0;
    font-size: 1.2rem;
}

.row-title a {
    color: #67e8f9;
    font-size: 0.92rem;
}

.two-column-section {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    align-items: start;
}

.rank-list {
    display: grid;
    gap: 0.85rem;
}

.rank-item a {
    display: grid;
    grid-template-columns: 48px 104px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem;
    border-radius: 1rem;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.compact-rank-list .rank-item a {
    grid-template-columns: 42px 76px 1fr;
}

.rank-item a:hover {
    transform: translateX(4px);
    background: rgba(51, 65, 85, 0.92);
    border-color: rgba(6, 182, 212, 0.36);
}

.rank-number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    font-weight: 900;
}

.rank-item img {
    width: 104px;
    height: 66px;
    object-fit: cover;
    border-radius: 0.75rem;
    background: #0f172a;
}

.compact-rank-list .rank-item img {
    width: 76px;
    height: 54px;
}

.rank-copy {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.rank-copy strong,
.rank-copy em,
.rank-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy strong {
    color: #fff;
}

.rank-copy em,
.rank-copy small {
    color: var(--muted);
    font-style: normal;
    font-size: 0.86rem;
}

.rank-score {
    color: var(--yellow);
    font-weight: 900;
}

.page-main {
    padding-bottom: 3rem;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
    padding: clamp(1.4rem, 4vw, 3rem);
    overflow: hidden;
}

.simple-hero,
.category-hero {
    position: relative;
}

.simple-hero::after,
.category-hero::after {
    position: absolute;
    inset: auto -10% -42% auto;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.24), transparent 68%);
    content: "";
}

.hero-search {
    position: relative;
    z-index: 1;
}

.category-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.category-card-large {
    display: grid;
    grid-template-columns: 148px 1fr;
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;
}

.category-art {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
}

.category-art img {
    width: 100%;
    height: 96px;
    object-fit: cover;
    border-radius: 0.65rem;
    background: #0f172a;
}

.category-card-copy {
    display: grid;
    align-content: center;
    gap: 0.55rem;
}

.category-card-copy h2,
.category-card-copy p {
    margin: 0;
}

.sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sample-links a {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    color: #bae6fd;
    background: rgba(6, 182, 212, 0.1);
    font-size: 0.84rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.6rem;
    color: var(--muted);
    font-size: 0.92rem;
}

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

.filter-panel {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.3rem;
    padding: 1rem;
}

.filter-panel label {
    display: grid;
    gap: 0.45rem;
}

.filter-panel label span,
.filter-group strong {
    color: #e2e8f0;
    font-weight: 800;
}

.filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-group button {
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    color: #cbd5e1;
    background: rgba(51, 65, 85, 0.7);
}

.filter-group button.is-active,
.filter-group button:hover {
    color: #fff;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

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

.empty-state {
    display: none;
    margin-top: 1rem;
    padding: 2.4rem 1rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed rgba(148, 163, 184, 0.32);
    border-radius: 1rem;
}

.empty-state.is-visible {
    display: block;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.86fr);
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.detail-main {
    display: grid;
    gap: 1.25rem;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem;
    background: #000;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow);
}

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

.player-start {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.8rem;
    width: 100%;
    color: #fff;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.22), rgba(0, 0, 0, 0.68));
    border: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.player-start span {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    padding-left: 0.18rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 22px 44px rgba(6, 182, 212, 0.26);
    font-size: 2rem;
}

.player-start strong {
    font-size: 1.08rem;
}

.player-shell.is-playing .player-start {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.04);
}

.player-message {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    display: none;
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    color: #fecaca;
    background: rgba(127, 29, 29, 0.88);
}

.player-message.is-visible {
    display: block;
}

.detail-card,
.side-card {
    padding: clamp(1.1rem, 3vw, 1.5rem);
}

.detail-card h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line-soft);
}

.text-block {
    margin-top: 1.45rem;
}

.text-block h2,
.side-card h2 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.65rem;
    color: #fff;
    font-size: 1.25rem;
}

.text-block p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.9;
}

.detail-side {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 1rem;
}

.poster-card {
    padding: 0;
    overflow: hidden;
}

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

.info-list {
    display: grid;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
}

.info-row span {
    color: var(--muted);
}

.info-row strong {
    max-width: 60%;
    color: #fff;
    text-align: right;
}

.side-button {
    width: 100%;
    margin-top: 1.1rem;
}

.site-footer {
    margin-top: 4rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.86);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1.2fr);
    gap: 2rem;
}

.footer-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.footer-links a {
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(51, 65, 85, 0.3);
}

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

@media (max-width: 1120px) {
    .header-search {
        display: none;
    }

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

    .two-column-section,
    .page-hero,
    .detail-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .detail-side {
        position: static;
    }
}

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

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

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

    .brand-copy em {
        display: none;
    }

    .hero {
        min-height: 560px;
        height: 70vh;
    }

    .hero-gradient {
        background:
            linear-gradient(0deg, var(--bg), rgba(0, 0, 0, 0.08) 50%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.42));
    }

    .hero-controls {
        bottom: 18px;
    }

    .quick-categories {
        margin-top: 1rem;
    }

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

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

    .rank-item a,
    .compact-rank-list .rank-item a {
        grid-template-columns: 38px 72px 1fr;
        gap: 0.75rem;
    }

    .rank-score {
        display: none;
    }

    .rank-item img,
    .compact-rank-list .rank-item img {
        width: 72px;
        height: 54px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

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

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

    .brand-copy strong {
        font-size: 1.05rem;
    }

    .hero {
        min-height: 540px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.045em;
    }

    .hero-actions,
    .hero-search,
    .mobile-search {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }

    .quick-categories {
        grid-template-columns: 1fr;
    }

    .category-images img {
        min-height: 76px;
    }

    .content-section {
        padding-top: 2.8rem;
    }

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

    .movie-body {
        padding: 0.7rem;
    }

    .movie-body strong {
        font-size: 0.92rem;
    }

    .detail-card h1 {
        font-size: 2rem;
    }

    .player-start span {
        width: 64px;
        height: 64px;
        font-size: 1.45rem;
    }
}
