:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #162033;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --cyan-400: #22d3ee;
    --amber-400: #f59e0b;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.2);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #111827;
    background: linear-gradient(180deg, var(--slate-50) 0%, var(--slate-100) 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.24);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand span:last-child {
    background: linear-gradient(90deg, var(--emerald-400), var(--cyan-400));
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    color: var(--slate-900);
    background: linear-gradient(135deg, var(--emerald-400), var(--cyan-400));
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--white);
    background: var(--emerald-600);
    transform: translateY(-1px);
}

.nav-search,
.mobile-search,
.inline-search,
.filters {
    display: flex;
    align-items: center;
}

.nav-search {
    position: relative;
    width: 230px;
}

.nav-search input {
    width: 100%;
    height: 40px;
    padding: 0 44px 0 16px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(51, 65, 85, 0.88);
    outline: none;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input:focus {
    background: rgba(51, 65, 85, 1);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.26);
}

.nav-search button {
    position: absolute;
    right: 7px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    color: #cbd5e1;
    background: transparent;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: rgba(51, 65, 85, 0.9);
    cursor: pointer;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

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

.mobile-search {
    gap: 10px;
    margin-bottom: 12px;
}

.mobile-search input,
.inline-search input,
.filters input,
.filters select {
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    outline: none;
    background: var(--white);
}

.mobile-search input {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    color: var(--white);
    background: rgba(51, 65, 85, 0.92);
}

.mobile-search button,
.inline-search button,
.filters button {
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--emerald-600);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mobile-search button:hover,
.inline-search button:hover,
.filters button:hover {
    background: var(--emerald-700);
    transform: translateY(-1px);
}

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

.hero-carousel {
    position: relative;
    height: 70vh;
    min-height: 520px;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-950);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.24), transparent 32%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.58) 48%, rgba(2, 6, 23, 0.2) 100%);
}

.hero-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 76px;
}

.hero-tags,
.detail-meta,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-tags span,
.detail-meta span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span:first-child,
.detail-meta span:first-child {
    color: var(--white);
    background: var(--emerald-600);
}

.hero-tags span:not(:first-child),
.detail-meta span:not(:first-child),
.tag-list span {
    color: #d1fae5;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(52, 211, 153, 0.28);
}

.hero-copy h1 {
    max-width: 820px;
    margin: 20px 0 16px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 28px;
    color: #e5e7eb;
    font-size: clamp(16px, 2vw, 20px);
}

.hero-actions,
.section-head,
.movie-card-foot,
.footer-bottom,
.breadcrumb,
.detail-meta {
    display: flex;
    align-items: center;
}

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

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

.primary-btn {
    color: var(--white);
    background: var(--emerald-600);
    box-shadow: 0 14px 30px rgba(5, 150, 105, 0.28);
}

.primary-btn:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
}

.ghost-btn {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(15, 23, 42, 0.32);
    backdrop-filter: blur(12px);
}

.ghost-btn:hover {
    border-color: rgba(52, 211, 153, 0.72);
    transform: translateY(-2px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(2, 6, 23, 0.52);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(2, 6, 23, 0.78);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    right: 0;
    bottom: 30px;
    left: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 8px;
}

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

.hero-dot.is-active {
    width: 34px;
    background: var(--emerald-400);
}

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

.section-intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--emerald-600);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-intro h2,
.section-head h2,
.page-hero h1,
.detail-copy h1,
.player-section h2,
.detail-text h2 {
    margin: 0;
    color: #0f172a;
    line-height: 1.16;
}

.section-intro h2,
.page-hero h1 {
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.03em;
}

.section-intro p,
.page-hero p,
.category-overview-card p,
.topic-card p,
.detail-one-line,
.detail-text p {
    color: #475569;
}

.inline-search {
    gap: 12px;
    padding: 14px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.inline-search input {
    flex: 1;
    height: 46px;
    padding: 0 18px;
}

.inline-search button {
    height: 46px;
    padding: 0 22px;
}

.section-head {
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.section-head a {
    color: var(--emerald-700);
    font-weight: 800;
}

.compact {
    margin-bottom: 16px;
}

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

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

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

.movie-card {
    min-width: 0;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.movie-card-link {
    display: block;
    height: 100%;
}

.poster-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--slate-800);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.68), transparent 48%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.movie-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--white);
    background: var(--emerald-600);
    font-size: 12px;
    font-weight: 800;
}

.poster-meta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.movie-card:hover .poster-meta {
    opacity: 1;
}

.poster-meta span {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(2, 6, 23, 0.58);
    font-size: 12px;
    font-weight: 700;
}

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

.movie-card-body h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 16px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--emerald-700);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 14px;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card-foot {
    justify-content: space-between;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

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

.topic-card,
.category-overview-card {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.topic-card {
    padding: 18px;
}

.topic-card:hover,
.category-overview-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.topic-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.topic-thumbs img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    object-fit: cover;
}

.topic-card strong {
    display: block;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 18px;
}

.topic-card p {
    margin: 0;
    font-size: 14px;
}

.split-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.rank-list {
    display: grid;
    gap: 12px;
}

.rank-row {
    display: grid;
    grid-template-columns: 42px 58px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    box-shadow: var(--shadow-soft);
    transform: translateX(4px);
}

.rank-no {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--emerald-600), var(--cyan-400));
    font-weight: 900;
}

.rank-row img {
    width: 58px;
    height: 78px;
    border-radius: 10px;
    object-fit: cover;
}

.rank-info {
    min-width: 0;
}

.rank-info strong,
.rank-info em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-info strong {
    color: #0f172a;
}

.rank-info em {
    color: #64748b;
    font-size: 13px;
    font-style: normal;
}

.horizontal-row {
    display: grid;
    grid-auto-columns: minmax(170px, 210px);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
}

.horizontal-row .movie-card {
    scroll-snap-align: start;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-900);
}

.page-hero {
    min-height: 320px;
    display: grid;
    place-items: center;
    padding: 70px 16px;
    text-align: center;
}

.soft-hero {
    color: #0f172a;
    background:
        radial-gradient(circle at 15% 25%, rgba(16, 185, 129, 0.16), transparent 28%),
        linear-gradient(135deg, #ecfeff, #f8fafc 60%, #d1fae5);
}

.dark-hero {
    background:
        radial-gradient(circle at 18% 16%, rgba(16, 185, 129, 0.35), transparent 30%),
        linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.dark-hero h1,
.dark-hero p {
    color: var(--white);
}

.category-hero {
    text-align: left;
    place-items: end start;
    min-height: 420px;
    padding: 96px max(16px, calc((100vw - 1180px) / 2)) 64px;
}

.category-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.38));
}

.category-hero > div:last-child,
.page-hero > div {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.category-hero h1,
.category-hero p {
    color: var(--white);
}

.filter-panel {
    padding-top: 36px;
}

.filters {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
    padding: 14px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.filters input,
.filters select {
    height: 44px;
    padding: 0 16px;
}

.filters input {
    flex: 1 1 260px;
}

.filters select {
    flex: 0 1 160px;
}

.filters button {
    height: 44px;
    padding: 0 20px;
}

.empty-state {
    display: none;
    margin: 32px 0 0;
    padding: 26px;
    border-radius: var(--radius-lg);
    color: #475569;
    text-align: center;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

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

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

.category-overview-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 18px;
}

.category-cover img {
    width: 150px;
    height: 220px;
    border-radius: 16px;
    object-fit: cover;
}

.category-overview-card h2 {
    margin: 0 0 8px;
}

.category-overview-card p {
    margin: 0 0 14px;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-links a {
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--emerald-700);
    background: #d1fae5;
    font-size: 13px;
    font-weight: 800;
}

.detail-hero {
    min-height: 560px;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) saturate(1.1);
    transform: scale(1.08);
}

.detail-backdrop::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.28), transparent 35%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.68));
}

.detail-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 64px;
}

.breadcrumb {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
    color: #cbd5e1;
    font-size: 14px;
}

.breadcrumb a {
    color: #d1fae5;
}

.breadcrumb em {
    color: var(--white);
    font-style: normal;
}

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

.detail-poster img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.detail-copy h1 {
    max-width: 780px;
    color: var(--white);
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 840px;
    color: #e5e7eb;
    font-size: 18px;
}

.detail-meta,
.tag-list {
    margin: 18px 0;
}

.player-section h2,
.detail-text h2 {
    margin-bottom: 18px;
    font-size: clamp(24px, 3vw, 34px);
}

.video-player {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.28);
    aspect-ratio: 16 / 9;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    border: 0;
    color: var(--white);
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.62), rgba(2, 6, 23, 0.18));
    cursor: pointer;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-circle {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border-radius: 999px;
    color: var(--slate-950);
    background: linear-gradient(135deg, var(--emerald-400), var(--cyan-400));
    box-shadow: 0 0 45px rgba(52, 211, 153, 0.36);
}

.player-overlay strong {
    font-size: 18px;
}

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

.detail-text article {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.detail-text p {
    margin: 0;
    font-size: 16px;
}

.site-footer {
    color: #cbd5e1;
    background: var(--slate-900);
}

.footer-shell {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 28px;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 14px;
    color: var(--white);
}

.site-footer p {
    max-width: 580px;
    margin: 0;
    color: #94a3b8;
}

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

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

.site-footer a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    justify-content: space-between;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 26px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .nav-search {
        width: 190px;
    }

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

    .three-cols,
    .split-layout,
    .section-intro,
    .detail-text {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .nav-shell {
        height: 62px;
    }

    .desktop-nav,
    .nav-search {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .brand {
        font-size: 18px;
    }

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

    .hero-copy {
        padding-bottom: 76px;
    }

    .hero-arrow {
        display: none;
    }

    .section-shell {
        padding: 42px 0;
    }

    .inline-search,
    .filters {
        align-items: stretch;
        border-radius: 22px;
        flex-direction: column;
    }

    .inline-search input,
    .inline-search button,
    .filters input,
    .filters select,
    .filters button {
        width: 100%;
    }

    .four-cols,
    .three-cols,
    .topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

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

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

    .category-overview-card {
        grid-template-columns: 100px 1fr;
        gap: 14px;
        padding: 14px;
    }

    .category-cover img {
        width: 100px;
        height: 148px;
        border-radius: 12px;
    }

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

    .detail-poster {
        max-width: 220px;
    }

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

    .footer-shell {
        display: grid;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .four-cols,
    .three-cols,
    .topic-grid {
        grid-template-columns: 1fr;
    }

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

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

    .rank-row {
        grid-template-columns: 34px 52px 1fr;
    }

    .rank-row img {
        width: 52px;
        height: 70px;
    }
}
