:root {
    color-scheme: dark;
    --bg: #050608;
    --panel: #0f141d;
    --panel-soft: rgba(20, 26, 36, 0.82);
    --text: #f8fafc;
    --muted: #9ca3af;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #f97316;
    --accent-strong: #fb923c;
    --accent-soft: rgba(249, 115, 22, 0.16);
    --green: #22c55e;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
    --radius: 22px;
    --header-height: 74px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 0%, rgba(249, 115, 22, 0.18), transparent 34rem),
        radial-gradient(circle at 90% 12%, rgba(99, 102, 241, 0.14), transparent 30rem),
        linear-gradient(180deg, #090b10 0%, var(--bg) 42%, #07080b 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 8, 0.82);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1200px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), #ef4444);
    color: #fff;
    box-shadow: 0 14px 35px rgba(249, 115, 22, 0.34);
}

.brand-text,
.footer-brand {
    font-size: 22px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-link {
    padding: 9px 14px;
    border-radius: 999px;
    color: #d1d5db;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.header-search {
    display: flex;
    align-items: center;
    width: 280px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.header-search input,
.hero-search input,
.filter-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
}

.header-search input {
    padding: 8px 12px;
}

.header-search button,
.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 8px 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ef4444);
    cursor: pointer;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #fff;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    padding: 28px 0 36px;
}

.hero-viewport {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: #0b0f16;
    box-shadow: var(--shadow);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 0.8s ease;
    background-image:
        linear-gradient(90deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.84) 40%, rgba(5, 6, 8, 0.32) 100%),
        var(--hero-bg);
    background-size: cover;
    background-position: center;
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 16%, rgba(249, 115, 22, 0.22), transparent 28rem),
        linear-gradient(180deg, transparent 0%, rgba(5, 6, 8, 0.82) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.75fr;
    gap: 42px;
    align-items: center;
    min-height: 640px;
    padding: 64px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-strong);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1,
.hero h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero h1,
.hero h2 {
    max-width: 780px;
    font-size: clamp(46px, 7vw, 92px);
}

.hero-lead,
.detail-lead,
.page-hero p {
    max-width: 760px;
    color: #d1d5db;
    font-size: 18px;
}

.hero-tags,
.detail-meta,
.tag-row,
.movie-meta,
.breadcrumb,
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hero-tags span,
.detail-meta span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 7px 11px;
    color: #f3f4f6;
    background: rgba(255, 255, 255, 0.08);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-button,
.ghost-button,
.section-link,
.ranking-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 20px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #ef4444);
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.28);
}

.ghost-button,
.section-link,
.ranking-more {
    border: 1px solid var(--line);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.primary-button:hover,
.ghost-button:hover,
.section-link:hover,
.ranking-more:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    transform: rotate(2deg);
}

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

.hero-bottom {
    position: relative;
    z-index: 4;
    width: min(1200px, calc(100% - 32px));
    margin: -72px auto 0;
    padding: 0 28px;
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 18px;
    align-items: center;
}

.hero-search {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(12, 16, 23, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.hero-search input {
    padding: 0 15px;
}

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

.hero-thumb {
    min-width: 0;
    height: 78px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 8px;
    color: #f3f4f6;
    background: rgba(12, 16, 23, 0.78);
    cursor: pointer;
    backdrop-filter: blur(16px);
    transition: border 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hero-thumb.is-active,
.hero-thumb:hover {
    border-color: rgba(249, 115, 22, 0.55);
    background: rgba(249, 115, 22, 0.14);
    transform: translateY(-2px);
}

.hero-thumb img {
    width: 46px;
    height: 62px;
    flex: 0 0 auto;
    border-radius: 11px;
    object-fit: cover;
    background: #111827;
}

.hero-thumb span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
}

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

.section-overlap {
    padding-top: 34px;
}

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

.section-heading h2,
.ranking-head h2,
.content-card h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading p:not(.eyebrow) {
    margin: 8px 0 0;
    color: var(--muted);
}

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

.category-tile {
    position: relative;
    min-height: 188px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    background:
        radial-gradient(circle at 90% 20%, rgba(249, 115, 22, 0.18), transparent 10rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.5);
}

.category-name {
    display: block;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 900;
}

.category-desc {
    display: block;
    position: relative;
    z-index: 2;
    max-width: 82%;
    color: #cbd5e1;
    font-size: 14px;
}

.category-stack {
    position: absolute;
    right: 12px;
    bottom: 10px;
    display: flex;
    align-items: flex-end;
}

.category-stack img {
    width: 54px;
    height: 76px;
    margin-left: -20px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    object-fit: cover;
    background: #111827;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    transition: transform 0.22s ease, border 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(249, 115, 22, 0.52);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111827;
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.movie-card:hover .poster-link img {
    transform: scale(1.06);
    filter: saturate(1.08) brightness(1.05);
}

.poster-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.72));
}

.play-chip,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
}

.play-chip {
    right: 10px;
    bottom: 10px;
    padding: 5px 9px;
    font-size: 12px;
    background: rgba(249, 115, 22, 0.92);
}

.rank-badge {
    left: 10px;
    top: 10px;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #facc15, #f97316);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

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

.movie-meta {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
}

.movie-meta span + span::before {
    content: "·";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.32);
}

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

.movie-card h3 a:hover {
    color: var(--accent-strong);
}

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

.tag-row span {
    padding: 4px 8px;
    font-size: 12px;
    color: #fed7aa;
    background: rgba(249, 115, 22, 0.12);
}

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

.ranking-panel {
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.2), transparent 12rem),
        rgba(255, 255, 255, 0.05);
}

.sticky-panel {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    max-height: calc(100vh - 110px);
    overflow: auto;
}

.ranking-head {
    margin-bottom: 18px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 8px 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.ranking-number {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    font-weight: 900;
    background: rgba(249, 115, 22, 0.18);
}

.ranking-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.ranking-info {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--muted);
    font-size: 13px;
}

.ranking-item:hover .ranking-title {
    color: var(--accent-strong);
}

.ranking-more {
    width: 100%;
    margin-top: 18px;
}

.page-hero,
.detail-hero {
    position: relative;
    width: min(1200px, calc(100% - 32px));
    margin: 28px auto 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 10%, rgba(249, 115, 22, 0.22), transparent 20rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
}

.page-hero {
    padding: 58px;
}

.slim-hero {
    min-height: 280px;
    display: flex;
    align-items: center;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 76px);
}

.breadcrumb {
    margin-bottom: 16px;
    color: #d1d5db;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--accent-strong);
}

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

.category-overview-block {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 52px;
}

.small-heading {
    align-items: center;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 26px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.filter-search {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 16px;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.18);
}

.filter-search span {
    color: #f3f4f6;
    font-weight: 800;
    white-space: nowrap;
}

.filter-buttons button {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    color: #f3f4f6;
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
}

.filter-buttons button:hover {
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(249, 115, 22, 0.14);
}

.filter-empty {
    display: none;
    margin: 28px 0 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
}

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

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

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.38;
    background-image:
        linear-gradient(90deg, rgba(5, 6, 8, 0.98), rgba(5, 6, 8, 0.74)),
        var(--detail-bg);
    background-size: cover;
    background-position: center;
    filter: blur(2px) saturate(1.12);
}

.detail-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 46px;
    align-items: center;
    padding: 58px;
}

.detail-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: #111827;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.detail-copy h1 {
    font-size: clamp(40px, 6vw, 78px);
}

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

.detail-copy .primary-button {
    margin-top: 28px;
}

.watch-section {
    padding-top: 42px;
}

.watch-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: #000;
    box-shadow: var(--shadow);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: #fff;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.62));
    cursor: pointer;
}

.play-icon {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), #ef4444);
    box-shadow: 0 24px 70px rgba(249, 115, 22, 0.34);
}

.play-icon::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #fff;
}

.player-overlay span:last-child {
    font-size: 20px;
    font-weight: 900;
}

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

.player-message {
    position: absolute;
    left: 18px;
    bottom: 14px;
    z-index: 4;
    margin: 0;
    color: #fecaca;
    font-weight: 700;
}

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

.content-card {
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.055);
}

.content-card p {
    margin: 14px 0 0;
    color: #d1d5db;
    font-size: 17px;
}

.site-footer {
    margin-top: 30px;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.22);
}

.footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 34px;
}

.footer-inner p {
    max-width: 520px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: start;
    justify-content: flex-end;
}

.footer-links a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.05);
}

.footer-links a:hover {
    color: #fff;
    border-color: rgba(249, 115, 22, 0.5);
}

.footer-bottom {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: var(--muted);
    font-size: 14px;
}

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

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

    .hero-poster,
    .detail-cover {
        max-width: 340px;
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        margin-top: -58px;
    }

    .hero-thumbs {
        overflow-x: auto;
        grid-template-columns: repeat(6, 180px);
        padding-bottom: 6px;
    }

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

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

    .split-section,
    .article-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    :root {
        --header-height: 66px;
    }

    .header-inner {
        width: min(100% - 24px, 1200px);
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav {
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(var(--header-height) + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(5, 6, 8, 0.96);
        box-shadow: var(--shadow);
    }

    .nav.is-open {
        display: flex;
    }

    .nav-link {
        padding: 13px 15px;
    }

    .hero {
        padding-top: 16px;
    }

    .hero-viewport,
    .page-hero,
    .detail-hero,
    .section,
    .category-overview-block {
        width: min(100% - 24px, 1200px);
    }

    .hero-viewport,
    .hero-content {
        min-height: 650px;
    }

    .hero-content,
    .page-hero,
    .detail-layout {
        padding: 28px;
    }

    .hero h1,
    .hero h2 {
        font-size: clamp(38px, 13vw, 58px);
    }

    .hero-lead,
    .detail-lead,
    .page-hero p {
        font-size: 16px;
    }

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

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

    .hero-search input {
        min-height: 44px;
    }

    .hero-search button {
        min-height: 44px;
    }

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

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

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

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

    .filter-panel {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .filter-search {
        border-radius: 18px;
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px;
    }

    .detail-layout {
        gap: 26px;
    }

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

    .content-card {
        padding: 22px;
    }
}
