html {
    background: #050816;
}

body {
    min-height: 100vh;
    background: #f7f9fc;
    color: #111827;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.locked {
    overflow: hidden;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 22px;
}

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

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

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

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    color: #334155;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1d4ed8;
    background: #eff6ff;
    transform: translateY(-1px);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.header-search input,
.mobile-search input {
    width: 230px;
    padding: 11px 16px;
    color: #0f172a;
    outline: none;
}

.header-search button,
.mobile-search button {
    padding: 11px 18px;
    color: #fff;
    background: #2563eb;
    font-weight: 800;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #1e293b;
    background: #f1f5f9;
    font-size: 24px;
    line-height: 1;
}

.mobile-panel {
    display: none;
    padding: 0 16px 18px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

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

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

.mobile-panel .nav-link {
    justify-content: center;
}

.mobile-search input {
    width: 100%;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    background: #030712;
}

.hero-viewport {
    position: relative;
    min-height: 760px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
    align-items: center;
    gap: 52px;
    width: 100%;
    min-height: 760px;
    padding: 120px max(32px, calc((100vw - 1180px) / 2)) 90px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 40%, rgba(37, 99, 235, 0.2), transparent 34%), linear-gradient(90deg, rgba(3, 7, 18, 0.94) 0%, rgba(15, 23, 42, 0.78) 45%, rgba(15, 23, 42, 0.36) 100%), linear-gradient(0deg, #030712 0%, rgba(3, 7, 18, 0) 28%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: #fff;
}

.hero-kicker,
.eyebrow {
    margin-bottom: 12px;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 900px;
    margin-bottom: 20px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.06em;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
}

.hero-content h2 {
    margin-bottom: 14px;
    color: #bfdbfe;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
}

.hero-summary {
    max-width: 680px;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.9;
}

.hero-tags,
.detail-tags,
.tag-row,
.hot-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

.hero-tags span,
.detail-tags a,
.tag-row span,
.hot-searches a {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.hero-tags span {
    padding: 7px 12px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-btn,
.panel-link,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0891b2);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.32);
}

.ghost-btn {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

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

.hero-poster {
    position: relative;
    z-index: 2;
    display: block;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.55);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

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

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

.hero-dot.active {
    width: 38px;
    background: #38bdf8;
}

.stats-band {
    margin-top: -1px;
    background: linear-gradient(135deg, #020617, #111827);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
}

.stats-grid div {
    padding: 34px 20px;
    background: rgba(15, 23, 42, 0.78);
    text-align: center;
}

.stats-grid strong {
    display: block;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 950;
}

.stats-grid span {
    display: block;
    margin-top: 8px;
    color: #cbd5e1;
    font-weight: 700;
}

.content-section {
    padding: 76px 0;
}

.soft-section {
    background: linear-gradient(180deg, #f8fafc, #eef6ff);
}

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

.section-heading h2,
.ranking-head h2,
.story-card h2,
.info-card h2 {
    color: #0f172a;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-more,
.panel-link {
    min-height: 42px;
    color: #1d4ed8;
    background: #dbeafe;
}

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

.movie-card {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 26px 70px rgba(37, 99, 235, 0.14);
}

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

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

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(2, 6, 23, 0.78) 100%);
}

.play-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(37, 99, 235, 0.92);
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
}

.rank-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-weight: 950;
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.3);
}

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

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.movie-meta-row a {
    color: #2563eb;
}

.movie-card h3 {
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 950;
}

.movie-card p {
    min-height: 52px;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.tag-row {
    margin-top: 14px;
}

.tag-row span {
    padding: 5px 9px;
    color: #1e40af;
    background: #eff6ff;
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    border-radius: 26px;
    color: #fff;
    background: #0f172a;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

.category-card img,
.category-overview-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-card:hover img,
.category-overview-card:hover img {
    transform: scale(1.05);
}

.category-shade,
.category-overview-card::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.86));
}

.category-card strong,
.category-card small {
    position: absolute;
    left: 18px;
    z-index: 2;
}

.category-card strong {
    bottom: 44px;
    font-size: 24px;
    font-weight: 950;
}

.category-card small {
    bottom: 20px;
    color: #cbd5e1;
    font-weight: 800;
}

.category-overview-card {
    display: grid;
    min-height: 260px;
}

.category-overview-card div {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.category-overview-card span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 900;
}

.category-overview-card h2 {
    font-size: 26px;
    font-weight: 950;
}

.category-overview-card p {
    margin-top: 8px;
    color: #e2e8f0;
    line-height: 1.7;
}

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

.ranking-panel,
.story-card,
.info-card,
.filter-panel {
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.ranking-panel {
    position: sticky;
    top: 100px;
    padding: 24px;
}

.rank-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.rank-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #1d4ed8;
    background: #dbeafe;
    font-weight: 950;
}

.rank-row strong,
.rank-row em {
    display: block;
    min-width: 0;
}

.rank-row strong {
    overflow: hidden;
    color: #0f172a;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.panel-link {
    width: 100%;
    margin-top: 18px;
}

.watch-cta {
    padding: 84px 0;
    color: #fff;
    background: radial-gradient(circle at 82% 30%, rgba(56, 189, 248, 0.22), transparent 34%), linear-gradient(135deg, #0f172a, #020617);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-inner h2 {
    max-width: 760px;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.cta-inner p {
    max-width: 700px;
    margin-top: 12px;
    color: #cbd5e1;
    line-height: 1.8;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.28), transparent 34%), linear-gradient(135deg, #020617, #111827 55%, #1e3a8a);
}

.compact-hero {
    padding: 92px 0 70px;
}

.compact-hero h1 {
    max-width: 880px;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 950;
    letter-spacing: -0.05em;
}

.compact-hero p:not(.eyebrow) {
    max-width: 760px;
    margin-top: 16px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(140px, 1fr)) auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 26px;
    padding: 18px;
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 0 12px;
    color: #0f172a;
    background: #fff;
    outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-result {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 14px;
    color: #1e40af;
    background: #eff6ff;
    font-weight: 950;
    white-space: nowrap;
}

.empty-state {
    display: none;
    margin-top: 28px;
    padding: 50px 20px;
    border: 1px dashed #93c5fd;
    border-radius: 28px;
    color: #1e40af;
    background: #eff6ff;
    text-align: center;
    font-weight: 900;
}

.empty-state.show {
    display: block;
}

.hot-searches {
    margin-top: 22px;
}

.hot-searches a {
    padding: 8px 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    color: #fff;
    background: #020617;
}

.detail-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72) 52%, rgba(2, 6, 23, 0.3)), linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0) 30%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 62px 0 78px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 32px;
    color: #bfdbfe;
    font-weight: 900;
}

.detail-intro {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.detail-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.detail-intro h1 {
    max-width: 880px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 860px;
    margin-top: 18px;
    color: #e2e8f0;
    font-size: 20px;
    line-height: 1.85;
}

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

.detail-tags a {
    padding: 7px 12px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.player-section {
    padding: 56px 0;
    background: #020617;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.35);
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.58);
}

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(2, 6, 23, 0.68));
}

.player-button-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    font-size: 38px;
    box-shadow: 0 22px 60px rgba(37, 99, 235, 0.42);
}

.player-cover strong {
    position: absolute;
    z-index: 2;
    left: 26px;
    right: 26px;
    bottom: 28px;
    font-size: clamp(24px, 4vw, 44px);
    font-weight: 950;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

.player-shell.is-playing .player-cover {
    display: none;
}

.player-message {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: none;
    padding: 12px 14px;
    border-radius: 16px;
    color: #fff;
    background: rgba(220, 38, 38, 0.9);
    font-weight: 800;
}

.player-message.show {
    display: block;
}

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

.story-card,
.info-card {
    padding: 28px;
}

.story-card p:not(.eyebrow) {
    color: #334155;
    font-size: 17px;
    line-height: 2;
}

.review-eyebrow {
    margin-top: 34px;
}

.info-card {
    position: sticky;
    top: 100px;
}

.info-card dl {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.info-card dt {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.info-card dd {
    color: #0f172a;
    font-weight: 800;
}

.info-card a {
    color: #2563eb;
}

.site-footer {
    padding-top: 60px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #111827, #020617);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
    gap: 42px;
}

.footer-brand {
    color: #fff;
}

.site-footer p {
    max-width: 480px;
    margin-top: 16px;
    line-height: 1.8;
}

.site-footer h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.site-footer a:not(.footer-brand) {
    display: block;
    margin: 9px 0;
    color: #cbd5e1;
    font-weight: 700;
}

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

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 48px;
    padding: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 1080px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        min-height: 720px;
        padding-top: 110px;
    }

    .hero-poster {
        display: none;
    }

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

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

    .ranking-panel,
    .info-card {
        position: static;
    }

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

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

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

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

    .hero,
    .hero-viewport,
    .hero-slide {
        min-height: 690px;
    }

    .hero-slide {
        padding: 92px 18px 76px;
    }

    .hero-summary,
    .compact-hero p:not(.eyebrow),
    .detail-one-line {
        font-size: 16px;
    }

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

    .section-heading,
    .cta-inner {
        align-items: stretch;
        flex-direction: column;
    }

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

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

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

    .movie-card p {
        font-size: 13px;
    }

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

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

    .detail-poster {
        width: min(260px, 70vw);
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

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

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }
}
