:root {
    color-scheme: light dark;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #eff6ff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --cyan: #0891b2;
    --cyan-light: #22d3ee;
    --blue: #2563eb;
    --amber: #f59e0b;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.08);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(226, 232, 240, 0.86);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 14px 28px rgba(8, 145, 178, 0.28);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08);
}

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

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

.nav-link,
.mobile-link {
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    color: #475569;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
    padding: 9px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--cyan);
    background: rgba(8, 145, 178, 0.1);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--cyan);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

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

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.mobile-link {
    padding: 12px 14px;
}

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

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

.hero-slide {
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(34, 211, 238, 0.32), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.74) 48%, rgba(2, 6, 23, 0.38)),
        linear-gradient(0deg, rgba(2, 6, 23, 0.98), transparent 52%);
}

.hero-content {
    position: absolute;
    z-index: 2;
    left: max(24px, calc((100vw - 1180px) / 2));
    bottom: 80px;
    width: min(680px, calc(100% - 48px));
    color: #ffffff;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--cyan-light);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 74px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
}

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

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0891b2, #2563eb);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.btn-link {
    color: #a5f3fc;
    padding-inline: 4px;
}

.hero-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 34px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 22px;
    transform: translateY(-50%);
}

.hero-next {
    right: 22px;
    transform: translateY(-50%);
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

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

.page-top {
    padding-top: 34px;
}

.content-section {
    margin: 48px 0;
}

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

.section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.section-icon {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.section-more {
    color: var(--cyan);
    font-weight: 800;
}

.search-panel {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.96), rgba(239, 246, 255, 0.96));
    box-shadow: var(--shadow-soft);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.search-input-wrap span {
    color: var(--cyan);
    font-size: 22px;
    font-weight: 900;
}

.search-input-wrap input {
    width: 100%;
    height: 52px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.filter-chip {
    border: 1px solid rgba(8, 145, 178, 0.18);
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.7);
    font-weight: 800;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #0891b2, #2563eb);
    transform: translateY(-1px);
}

.featured-grid,
.movie-grid,
.spotlight-grid,
.compact-grid,
.category-grid,
.category-overview-grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

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

.movie-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 145, 178, 0.3);
    box-shadow: var(--shadow);
}

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

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.84), transparent 50%);
    opacity: 0.82;
}

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

.movie-card-link:hover img {
    transform: scale(1.1);
    opacity: 0.95;
}

.play-dot {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(8, 145, 178, 0.92);
    box-shadow: 0 10px 22px rgba(8, 145, 178, 0.35);
}

.rank-badge {
    position: absolute;
    z-index: 3;
    left: 12px;
    top: 12px;
    min-width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0 8px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-weight: 900;
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 16px;
}

.movie-card-title {
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-desc {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(8, 145, 178, 0.1);
    font-size: 12px;
    font-weight: 800;
}

.card-large .movie-card-title {
    font-size: 22px;
}

.card-small .movie-card-body {
    padding: 12px;
}

.card-small .movie-card-title {
    font-size: 15px;
}

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

.spotlight-block {
    padding: 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.92), rgba(219, 234, 254, 0.92));
}

.movie-rail {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scrollbar-color: var(--cyan) transparent;
}

.rail-item {
    width: 280px;
    flex: 0 0 auto;
}

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

.category-pill {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border-radius: 22px;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.26), transparent 28%),
        linear-gradient(135deg, #0891b2, #2563eb);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-pill:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-pill strong {
    font-size: 22px;
    font-weight: 900;
}

.category-pill span {
    color: #dbeafe;
    font-size: 14px;
}

.page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(28px, 5vw, 52px);
    border-radius: 30px;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 24%, rgba(34, 211, 238, 0.35), transparent 30%),
        linear-gradient(135deg, #0f172a, #155e75 55%, #1d4ed8);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.page-hero p:last-child {
    max-width: 720px;
    margin: 14px 0 0;
    color: #dbeafe;
    font-size: 18px;
}

.soft-hero {
    background:
        radial-gradient(circle at 18% 24%, rgba(34, 211, 238, 0.34), transparent 30%),
        linear-gradient(135deg, #0f172a, #164e63 56%, #2563eb);
}

.rank-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.38), transparent 30%),
        linear-gradient(135deg, #020617, #0e7490 50%, #1d4ed8);
}

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

.category-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.category-card-main {
    display: block;
    padding: 28px;
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.9), rgba(239, 246, 255, 0.95));
}

.category-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    margin-bottom: 18px;
}

.category-card h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
}

.category-card p {
    margin: 10px 0 0;
    color: #475569;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 18px 22px 22px;
}

.category-samples a {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(8, 145, 178, 0.1);
    font-size: 13px;
    font-weight: 800;
}

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

.side-panel {
    position: sticky;
    top: 88px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

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

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

.hot-row-link {
    display: grid;
    grid-template-columns: auto 78px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hot-row-link:hover {
    transform: translateY(-3px);
    border-color: rgba(8, 145, 178, 0.32);
    box-shadow: var(--shadow-soft);
}

.hot-index {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-weight: 900;
}

.hot-row img {
    width: 78px;
    height: 96px;
    border-radius: 13px;
    object-fit: cover;
    background: #0f172a;
}

.hot-row-main {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.hot-row-main strong {
    overflow: hidden;
    color: var(--text);
    font-size: 17px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-row-main em {
    color: var(--cyan);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.hot-row-main span {
    color: #64748b;
    font-size: 14px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.compact-hot-list .hot-row-link {
    grid-template-columns: auto 62px minmax(0, 1fr);
    padding: 10px;
}

.compact-hot-list .hot-row img {
    width: 62px;
    height: 76px;
}

.detail-main {
    padding: 30px 0 60px;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #64748b;
    font-weight: 700;
}

.breadcrumb a {
    color: var(--cyan);
}

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

.player-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #020617;
    box-shadow: var(--shadow);
}

.movie-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
    cursor: pointer;
}

.player-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    gap: 18px;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(8, 145, 178, 0.25), rgba(2, 6, 23, 0.74));
    cursor: pointer;
}

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

.big-play {
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    box-shadow: 0 18px 44px rgba(8, 145, 178, 0.38);
    font-size: 32px;
    transition: transform 0.2s ease;
}

.big-play:hover {
    transform: scale(1.08);
}

.player-title {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 900;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.6);
}

.detail-card {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.detail-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.detail-card h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.detail-card h2 {
    margin: 28px 0 10px;
    color: var(--text);
    font-size: 24px;
    font-weight: 900;
}

.detail-card p {
    color: #475569;
    font-size: 17px;
}

.lead-text {
    color: #334155;
    font-size: 19px;
    font-weight: 700;
}

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

.detail-cover {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    object-fit: cover;
    background: #0f172a;
    box-shadow: var(--shadow);
}

.detail-side {
    display: grid;
    gap: 22px;
}

.detail-side-panel {
    position: static;
}

.detail-related {
    margin-top: 60px;
}

.site-footer {
    margin-top: 70px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #64748b;
}

.footer-brand {
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--cyan);
    font-weight: 800;
}

.is-hidden-by-search {
    display: none;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f172a;
        --surface: #1e293b;
        --surface-soft: #334155;
        --text: #f8fafc;
        --muted: #94a3b8;
        --line: #334155;
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
        --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.22);
    }

    .site-header {
        border-bottom-color: rgba(51, 65, 85, 0.9);
        background: rgba(15, 23, 42, 0.9);
    }

    .nav-link,
    .mobile-link,
    .movie-desc,
    .detail-card p,
    .hot-row-main span,
    .category-card p {
        color: #cbd5e1;
    }

    .category-card-main,
    .search-panel,
    .spotlight-block {
        background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(51, 65, 85, 0.96));
    }

    .filter-chip {
        background: rgba(15, 23, 42, 0.72);
    }

    .lead-text {
        color: #e2e8f0;
    }
}

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

    .menu-button {
        display: inline-flex;
    }

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

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

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

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

    .side-panel {
        position: static;
    }

    .detail-side {
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 560px;
        height: 78vh;
    }

    .hero-content {
        bottom: 88px;
    }

    .hero-arrow {
        display: none;
    }

    .featured-grid,
    .movie-grid,
    .spotlight-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .spotlight-block {
        padding: 20px;
    }

    .page-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-heading-row,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .detail-cover {
        max-width: 280px;
    }

    .hot-row-link {
        grid-template-columns: auto 66px minmax(0, 1fr);
        gap: 10px;
    }

    .hot-row img {
        width: 66px;
        height: 82px;
    }
}

@media (max-width: 520px) {
    .nav-wrap,
    .page-main,
    .detail-main,
    .footer-inner,
    .mobile-nav {
        width: min(100% - 24px, 1180px);
    }

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

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

    .btn {
        width: 100%;
    }

    .featured-grid,
    .movie-grid,
    .spotlight-grid,
    .compact-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .mobile-nav.is-open {
        grid-template-columns: 1fr;
    }

    .movie-card-link {
        border-radius: 18px;
    }
}
