:root {
    color-scheme: light;
    --bg: #f7faf9;
    --card: #ffffff;
    --text: #111827;
    --muted: #5f6b7a;
    --line: #e5edf0;
    --teal: #0f766e;
    --teal-2: #14b8a6;
    --cyan: #0891b2;
    --soft: #e6fffb;
    --shadow: 0 20px 60px rgba(15, 118, 110, 0.12);
    --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.08);
    --radius: 24px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 32rem),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #edf7f6 100%);
    color: var(--text);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 237, 240, 0.88);
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.06);
}

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

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

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    box-shadow: 0 12px 30px rgba(20, 184, 166, 0.32);
    font-size: 14px;
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
}

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

.nav-link,
.nav-dropdown > button,
.mobile-link {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 14px;
    color: #374151;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-dropdown:hover > button,
.mobile-link:hover,
.nav-link.active,
.mobile-link.active {
    color: var(--teal);
    background: var(--soft);
}

.nav-link:hover,
.nav-dropdown:hover > button {
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
    width: 190px;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.dropdown-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #4b5563;
    font-size: 14px;
}

.dropdown-panel a:hover {
    background: var(--soft);
    color: var(--teal);
}

.nav-dropdown:hover .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    background: #f3f7f7;
    border-radius: 14px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #334155;
}

.mobile-nav {
    display: none;
    padding: 8px 16px 18px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

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

.hero {
    padding: 32px 0 20px;
}

.hero-shell {
    position: relative;
    width: min(1240px, calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    border-radius: 34px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

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

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

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

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(7px) saturate(1.15);
    transform: scale(1.06);
    opacity: 0.54;
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 21, 28, 0.96), rgba(7, 21, 28, 0.68) 46%, rgba(7, 21, 28, 0.24)),
        radial-gradient(circle at 82% 18%, rgba(20, 184, 166, 0.34), transparent 24rem);
}

.hero-content {
    position: relative;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.62fr);
    align-items: center;
    gap: 42px;
    padding: 74px clamp(28px, 6vw, 82px);
}

.hero-copy {
    color: #ffffff;
    max-width: 730px;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.14);
    color: var(--teal);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: #99f6e4;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.08em;
}

.hero-copy p {
    font-size: 18px;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.82);
    max-width: 660px;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: #ccfbf1;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tag-row span {
    color: #0f766e;
    background: #e6fffb;
}

.tag-row.large span {
    min-height: 32px;
    padding-inline: 12px;
}

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

.inline-actions {
    margin-top: 24px;
}

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

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal-2), var(--cyan));
    box-shadow: 0 18px 42px rgba(20, 184, 166, 0.32);
}

.btn-ghost {
    color: var(--teal);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.58);
}

.hero-poster {
    position: relative;
    width: min(360px, 100%);
    justify-self: center;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.4);
    transform: rotate(1deg);
}

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

.hero-poster::after,
.movie-cover::after,
.detail-poster::after,
.player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.62));
}

.hero-poster span,
.detail-poster span,
.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(20, 184, 166, 0.92);
    box-shadow: 0 12px 30px rgba(20, 184, 166, 0.4);
}

.hero-dots {
    position: absolute;
    left: clamp(28px, 6vw, 82px);
    bottom: 38px;
    z-index: 4;
    display: flex;
    gap: 9px;
}

.hero-dots button {
    width: 30px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 54px;
    background: #99f6e4;
}

.search-band {
    margin-top: 18px;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(240px, 460px);
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 237, 240, 0.9);
    box-shadow: var(--shadow-sm);
}

.search-panel h2 {
    margin: 0 0 6px;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.search-panel p {
    margin: 0;
    color: var(--muted);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 18px;
    background: #f8fbfb;
    border: 1px solid var(--line);
}

.search-box.wide {
    grid-column: 1 / -1;
}

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

.filter-row {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.filter-btn {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #4b5563;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.section-block {
    padding-top: 64px;
}

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

.section-heading h2,
.panel-title h2,
.content-card h2 {
    margin: 12px 0 0;
    font-size: clamp(26px, 3.2vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.section-heading p {
    max-width: 660px;
    color: var(--muted);
    line-height: 1.8;
    margin: 12px 0 0;
}

.section-link,
.text-link,
.panel-title a {
    color: var(--teal);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    background: var(--card);
    border: 1px solid rgba(229, 237, 240, 0.95);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card.is-hidden {
    display: none;
}

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dbe9e8;
}

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

.movie-card:hover .movie-cover img {
    transform: scale(1.07);
}

.play-mark {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.movie-card:hover .play-mark {
    opacity: 1;
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.25);
}

.movie-info {
    padding: 16px;
}

.movie-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.movie-info h3 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.32;
    letter-spacing: -0.03em;
}

.movie-info h3 a:hover {
    color: var(--teal);
}

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

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

.category-card,
.category-overview-card,
.content-card,
.ranking-panel,
.player-shell {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.category-card {
    min-height: 230px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-stack {
    height: 98px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.category-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.category-card strong {
    font-size: 19px;
}

.category-card small,
.category-overview-card p {
    color: var(--muted);
    line-height: 1.65;
}

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

.ranking-panel {
    border-radius: 28px;
    padding: 20px;
}

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

.panel-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 64px 30px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: #f8fbfb;
    border: 1px solid transparent;
    transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    transform: translateX(4px);
    border-color: rgba(20, 184, 166, 0.28);
    background: #ffffff;
}

.compact-card img {
    width: 64px;
    height: 86px;
    object-fit: cover;
    border-radius: 13px;
}

.compact-rank {
    color: var(--teal);
    font-size: 20px;
    font-weight: 900;
}

.compact-body {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.compact-body b,
.compact-body small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-body small {
    color: var(--muted);
}

.page-hero {
    position: relative;
    padding: 76px 0 50px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(8, 145, 178, 0.09)),
        radial-gradient(circle at 82% 20%, rgba(20, 184, 166, 0.2), transparent 20rem);
    border-bottom: 1px solid var(--line);
}

.small-hero {
    padding-bottom: 42px;
}

.page-hero h1 {
    color: var(--text);
}

.page-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 14px;
}

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

.breadcrumb.light {
    color: rgba(255, 255, 255, 0.76);
}

.category-overview-grid {
    display: grid;
    gap: 22px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 26px;
    padding: 18px;
    border-radius: 28px;
    align-items: center;
}

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

.category-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 18px;
}

.category-overview-card h2 {
    margin: 12px 0 10px;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.inner-search {
    margin-top: 28px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    color: #ffffff;
}

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

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(9px) saturate(1.15);
    transform: scale(1.08);
    opacity: 0.42;
}

.detail-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.72)),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.3), transparent 26rem);
}

.detail-hero-inner {
    position: relative;
    padding: 56px 0 64px;
}

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

.detail-poster {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

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

.detail-copy h1 {
    color: #ffffff;
}

.detail-line {
    max-width: 850px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
    line-height: 1.8;
}

.detail-meta {
    margin: 18px 0;
    color: rgba(255, 255, 255, 0.72);
}

.player-section {
    margin-top: -36px;
    position: relative;
    z-index: 3;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: #020617;
    cursor: pointer;
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.player-button {
    position: absolute;
    z-index: 2;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--teal-2), var(--cyan));
    box-shadow: 0 18px 44px rgba(20, 184, 166, 0.42);
    font-size: 28px;
}

.detail-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding-top: 42px;
}

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

.content-card p {
    color: #415266;
    font-size: 16px;
    line-height: 2;
}

.site-footer {
    margin-top: 80px;
    padding-top: 46px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), #eaf5f4);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 36px;
}

.site-footer h2 {
    margin: 0 0 14px;
    font-size: 16px;
}

.site-footer p {
    color: var(--muted);
    line-height: 1.8;
}

.site-footer nav {
    display: grid;
    gap: 10px;
}

.site-footer nav a {
    color: #536173;
}

.site-footer nav a:hover {
    color: var(--teal);
}

.footer-bottom {
    margin-top: 36px;
    padding: 18px;
    text-align: center;
    color: #64748b;
    border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
    .movie-grid,
    .movie-grid.compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .sticky-panel {
        position: static;
    }
}

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

    .menu-toggle {
        display: flex;
    }

    .header-inner {
        height: 68px;
    }

    .hero-shell,
    .hero-content {
        min-height: 760px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-content: center;
    }

    .hero-poster {
        width: 250px;
        justify-self: start;
    }

    .search-panel,
    .category-overview-card,
    .detail-layout,
    .detail-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-preview {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .container,
    .hero-shell {
        width: min(100% - 24px, 1200px);
    }

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

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

    .hero {
        padding-top: 18px;
    }

    .hero-shell,
    .hero-content {
        min-height: 720px;
        border-radius: 26px;
    }

    .hero-content {
        padding: 42px 22px 74px;
        gap: 26px;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 38px;
        letter-spacing: -0.06em;
    }

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

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

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

    .movie-info {
        padding: 13px;
    }

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

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

    .section-heading {
        display: grid;
    }

    .category-preview img {
        height: 104px;
        border-radius: 14px;
    }

    .detail-hero-inner {
        padding: 36px 0 52px;
    }

    .detail-poster {
        width: min(230px, 78vw);
    }

    .content-card {
        padding: 22px;
    }

    .compact-card {
        grid-template-columns: 56px 26px minmax(0, 1fr);
    }

    .compact-card img {
        width: 56px;
        height: 76px;
    }
}

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

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

    .btn {
        width: 100%;
    }
}
