:root {
    --bg: #080a10;
    --panel: #121622;
    --panel-soft: rgba(21, 26, 39, 0.78);
    --line: rgba(255, 255, 255, 0.1);
    --muted: #9ca3af;
    --text: #f8fafc;
    --red: #dc2626;
    --red-dark: #7f1d1d;
    --red-soft: rgba(220, 38, 38, 0.16);
    --gold: #facc15;
    --orange: #f97316;
    --radius: 22px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(220, 38, 38, 0.18), transparent 32rem),
        radial-gradient(circle at top right, rgba(250, 204, 21, 0.1), transparent 24rem),
        linear-gradient(180deg, #05060a 0%, #0c111d 45%, #07080c 100%);
    color: var(--text);
    min-height: 100vh;
}

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: 80;
    background: linear-gradient(90deg, rgba(127, 29, 29, 0.96), rgba(185, 28, 28, 0.94), rgba(127, 29, 29, 0.96));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(145deg, var(--gold), var(--red));
    box-shadow: 0 12px 30px rgba(250, 204, 21, 0.2);
    font-size: 18px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 21px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #fef3c7, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy em {
    margin-top: 5px;
    font-size: 12px;
    font-style: normal;
    color: #fecaca;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 10px 12px;
    border-radius: 999px;
    color: #fee2e2;
    font-size: 14px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #fff7ad;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 99px;
}

.mobile-nav {
    display: none;
    padding: 12px 22px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(69, 10, 10, 0.96);
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 14px;
    color: #fee2e2;
    background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-link.is-active {
    color: #7f1d1d;
    background: #facc15;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 78px 20px 44px;
}

.hero-ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(16px);
    opacity: 0.45;
    pointer-events: none;
}

.hero-ambient.one {
    width: 420px;
    height: 420px;
    background: rgba(220, 38, 38, 0.35);
    left: -120px;
    top: 40px;
}

.hero-ambient.two {
    width: 300px;
    height: 300px;
    background: rgba(250, 204, 21, 0.18);
    right: 7%;
    bottom: 20px;
}

.hero-shell {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 540px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(127, 29, 29, 0.72), rgba(17, 24, 39, 0.9) 52%, rgba(0, 0, 0, 0.96)),
        radial-gradient(circle at 15% 15%, rgba(250, 204, 21, 0.14), transparent 28rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: 36px;
    align-items: center;
    padding: 60px;
    opacity: 0;
    transform: translateX(24px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(220, 38, 38, 0.22);
    border: 1px solid rgba(250, 204, 21, 0.24);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.hero-copy h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0;
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.8;
}

.hero-tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin: 28px 0;
}

.hero-tags span,
.tag-cloud span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #fecaca;
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(248, 113, 113, 0.18);
    font-size: 13px;
}

.hero-actions,
.section-head,
.detail-meta,
.movie-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn,
.quick-search-form button,
.local-search-bar button,
.search-controls button,
.inline-more,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn {
    min-height: 48px;
    padding: 0 22px;
    font-weight: 800;
}

.btn.primary,
.quick-search-form button,
.local-search-bar button,
.search-controls button {
    color: white;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 16px 34px rgba(220, 38, 38, 0.26);
}

.btn.ghost {
    color: #fef3c7;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn.full {
    width: 100%;
}

.btn:hover,
.quick-search-form button:hover,
.local-search-bar button:hover,
.search-controls button:hover,
.inline-more:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    min-height: 430px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
    transform: rotate(1.5deg);
}

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

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

.hero-poster::after,
.poster-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.76) 100%);
    pointer-events: none;
}

.hero-poster-shine,
.poster-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.24), transparent 26%);
    pointer-events: none;
}

.hero-dots {
    position: absolute;
    left: 60px;
    bottom: 34px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 34px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
}

.hero-dot.is-active {
    background: linear-gradient(90deg, var(--gold), var(--red));
}

.quick-search-panel,
.content-section,
.page-shell,
.detail-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.quick-search-panel {
    margin-top: 10px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    gap: 20px;
    align-items: center;
    padding-top: 26px;
    padding-bottom: 26px;
}

.quick-search-copy span {
    display: block;
    color: #f87171;
    margin-bottom: 8px;
}

.quick-search-copy strong {
    display: block;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.3;
}

.quick-search-form,
.local-search-bar {
    display: flex;
    gap: 12px;
}

.quick-search-form input,
.local-search-bar input,
.search-controls input,
.search-controls select {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0 16px;
    outline: none;
    color: white;
    background: rgba(15, 23, 42, 0.72);
}

.quick-search-form input:focus,
.local-search-bar input:focus,
.search-controls input:focus,
.search-controls select:focus {
    border-color: rgba(248, 113, 113, 0.65);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18);
}

.quick-search-form button,
.local-search-bar button,
.search-controls button {
    min-width: 92px;
    padding: 0 18px;
    font-weight: 800;
}

.content-section {
    padding-top: 54px;
    padding-bottom: 28px;
}

.content-section.no-top {
    padding-top: 0;
}

.section-head {
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.035em;
}

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

.section-more,
.inline-more {
    color: #fecaca;
    padding: 9px 14px;
    background: rgba(220, 38, 38, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.18);
    white-space: nowrap;
}

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

.category-tile,
.category-overview-card,
.text-card,
.side-poster-card,
.side-info-card,
.detail-content,
.player-card,
.movie-card {
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.74), rgba(15, 23, 42, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.category-tile {
    min-height: 210px;
    border-radius: 24px;
    padding: 22px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 113, 113, 0.42);
    background: linear-gradient(180deg, rgba(127, 29, 29, 0.72), rgba(15, 23, 42, 0.92));
}

.category-tile strong,
.category-tile em {
    display: block;
}

.category-tile strong {
    font-size: 21px;
}

.category-tile em {
    margin: 7px 0 14px;
    color: var(--gold);
    font-style: normal;
}

.category-tile p {
    min-height: 68px;
    margin: 0 0 16px;
    color: #d1d5db;
    line-height: 1.65;
    font-size: 14px;
}

.tile-samples {
    display: grid;
    gap: 7px;
    color: #fecaca;
    font-size: 13px;
}

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

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

.movie-card {
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 113, 113, 0.4);
    box-shadow: 0 26px 60px rgba(127, 29, 29, 0.28);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111827;
}

.movie-card.compact .poster-link {
    aspect-ratio: 16 / 9;
}

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

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

.type-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.type-badge {
    left: 12px;
    top: 12px;
    padding: 6px 10px;
    color: white;
    background: rgba(220, 38, 38, 0.88);
}

.rank-badge {
    right: 12px;
    top: 12px;
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7f1d1d;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.play-hover {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(220, 38, 38, 0.88);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.movie-info {
    padding: 16px;
}

.movie-card.compact .movie-info {
    padding: 12px 0 0;
    background: transparent;
}

.movie-card.compact {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.movie-info h3 {
    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.35;
}

.movie-card.compact h3 {
    font-size: 15px;
}

.movie-info h3 a:hover {
    color: #f87171;
}

.movie-info p {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.movie-meta {
    justify-content: space-between;
    color: #9ca3af;
    font-size: 13px;
}

.page-shell {
    padding-top: 42px;
    padding-bottom: 60px;
}

.page-hero {
    position: relative;
    margin-bottom: 36px;
    padding: 48px;
    border-radius: 30px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(127, 29, 29, 0.76), rgba(15, 23, 42, 0.9)),
        radial-gradient(circle at 80% 10%, rgba(250, 204, 21, 0.12), transparent 25rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 0 14px;
    font-size: clamp(36px, 6vw, 58px);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

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

.local-search-bar,
.search-controls,
.year-filter {
    margin-top: 22px;
}

.local-search-bar.narrow {
    max-width: 760px;
}

.year-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.year-filter button {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 12px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.year-filter button.is-active,
.year-filter button:hover {
    color: #7f1d1d;
    background: #facc15;
}

.no-results {
    display: none;
    padding: 40px;
    text-align: center;
    color: #fecaca;
    background: rgba(127, 29, 29, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: 20px;
}

.no-results.is-visible {
    display: block;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    border-radius: 26px;
    padding: 18px;
}

.overview-posters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

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

.overview-copy span {
    color: var(--gold);
}

.overview-copy h2 {
    margin: 10px 0;
    font-size: 26px;
}

.overview-copy p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 48px 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(31, 41, 55, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.rank-row span {
    color: #fde68a;
    font-weight: 900;
    text-align: center;
}

.rank-row img {
    width: 88px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
}

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

.rank-row em {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.search-controls {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(4, minmax(120px, 0.5fr)) auto;
    gap: 12px;
}

.result-count {
    margin-top: 16px !important;
    color: #fde68a !important;
}

.detail-shell {
    padding-top: 32px;
    padding-bottom: 72px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    color: #d1d5db;
    font-size: 14px;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    align-items: start;
}

.player-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: white;
    background:
        radial-gradient(circle at center, rgba(220, 38, 38, 0.35), transparent 11rem),
        rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.play-overlay span {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 20px 42px rgba(220, 38, 38, 0.35);
    font-size: 34px;
    padding-left: 5px;
}

.player-card.is-playing .play-overlay {
    display: none;
}

.player-card.is-loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    margin-top: -21px;
    border-radius: 999px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    animation: spin 0.9s linear infinite;
    z-index: 4;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.detail-content {
    margin-top: 22px;
    border-radius: 26px;
    padding: 30px;
}

.detail-content h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.detail-one-line {
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta {
    flex-wrap: wrap;
    margin: 24px 0;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 12px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.08);
}

.detail-content section {
    margin-top: 28px;
}

.detail-content h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.detail-content p,
.text-card p,
.side-info-card dd {
    color: #d1d5db;
    line-height: 1.85;
}

.detail-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 96px;
}

.side-poster-card,
.side-info-card {
    border-radius: 24px;
    padding: 18px;
}

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

.side-poster-card h2 {
    margin: 18px 0 8px;
}

.side-poster-card p {
    color: var(--muted);
}

.side-info-card h3 {
    margin-top: 0;
}

.side-info-card dl {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
}

.side-info-card dt {
    color: #fca5a5;
}

.side-info-card dd {
    margin: 0;
}

.related-section {
    padding-left: 0;
    padding-right: 0;
}

.text-page {
    max-width: 960px;
}

.text-stack {
    display: grid;
    gap: 18px;
}

.text-card {
    border-radius: 24px;
    padding: 28px;
}

.text-card h2 {
    margin: 0 0 12px;
}

.site-footer {
    margin-top: 48px;
    padding: 50px 22px 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5), #020305);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid,
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 900;
}

.footer-brand p,
.site-footer li,
.footer-bottom {
    color: var(--muted);
    line-height: 1.7;
}

.site-footer h3 {
    margin: 0 0 14px;
}

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

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

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 70;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--red), var(--orange));
    box-shadow: 0 16px 32px rgba(220, 38, 38, 0.3);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

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

    .nav-toggle {
        display: block;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 42px;
    }

    .hero-poster {
        display: none;
    }

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

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

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

    .detail-side {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 760px) {
    .header-inner {
        min-height: 64px;
    }

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

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

    .hero {
        padding: 30px 14px 18px;
    }

    .hero-shell {
        min-height: 560px;
        border-radius: 24px;
    }

    .hero-slide {
        padding: 30px 24px 62px;
    }

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

    .hero-copy p {
        font-size: 16px;
    }

    .hero-actions,
    .quick-search-form,
    .local-search-bar,
    .footer-bottom,
    .section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-dots {
        left: 24px;
        bottom: 24px;
    }

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

    .category-grid,
    .overview-grid,
    .poster-grid,
    .compact-grid,
    .rank-list,
    .footer-grid,
    .detail-side {
        grid-template-columns: 1fr;
    }

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

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

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

    .rank-row {
        grid-template-columns: 42px 72px minmax(0, 1fr);
    }

    .rank-row em {
        grid-column: 3;
    }

    .detail-content {
        padding: 22px;
    }

    .play-overlay span {
        width: 68px;
        height: 68px;
        font-size: 26px;
    }
}
