:root {
    --page-bg: #020617;
    --panel-bg: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #22d3ee;
    --blue: #2563eb;
    --cyan-dark: #0891b2;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.14), transparent 34rem),
        radial-gradient(circle at 82% 12%, rgba(37, 99, 235, 0.18), transparent 28rem),
        linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.84);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1280px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.22);
}

.brand-text,
.footer-brand span:last-child,
.mobile-brand {
    font-size: 1.16rem;
    background: linear-gradient(90deg, var(--cyan), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.nav-link {
    color: var(--muted-strong);
    font-size: 0.94rem;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
}

.site-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
}

.site-search input {
    width: 210px;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    padding: 9px 10px 9px 14px;
}

.site-search input::placeholder {
    color: #64748b;
}

.site-search button,
.primary-button,
.section-more {
    border: 0;
    border-radius: 999px;
    color: white;
    font-weight: 800;
    padding: 10px 18px;
    background: linear-gradient(90deg, var(--cyan-dark), var(--blue));
    box-shadow: 0 16px 32px rgba(8, 145, 178, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-search button:hover,
.primary-button:hover,
.section-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(37, 99, 235, 0.32);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: white;
    font-weight: 800;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: white;
    background: rgba(15, 23, 42, 0.76);
    padding: 9px 12px;
}

.mobile-panel {
    display: none;
    padding: 18px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.98);
}

.mobile-links {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mobile-links a {
    padding: 10px 0;
    color: var(--muted-strong);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: #020617;
}

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

.hero-slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.9s ease, transform 1.2s ease;
    pointer-events: none;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.74) 42%, rgba(15, 23, 42, 0.16) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 1) 0%, transparent 44%);
}

.hero-content {
    position: absolute;
    left: max(28px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 118px;
    width: min(720px, calc(100% - 56px));
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 14px;
    color: white;
    background: rgba(8, 145, 178, 0.84);
    box-shadow: 0 10px 26px rgba(8, 145, 178, 0.22);
    font-weight: 800;
    margin-bottom: 18px;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5.8rem);
    line-height: 1;
    letter-spacing: -0.05em;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero-content p {
    max-width: 660px;
    margin: 22px 0 0;
    color: #dbeafe;
    font-size: clamp(1.04rem, 1.5vw, 1.28rem);
    line-height: 1.8;
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: white;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(8, 145, 178, 0.62);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dot.active {
    width: 36px;
    background: var(--cyan);
}

.hero-search-box {
    position: absolute;
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 96px;
    width: min(410px, calc(100% - 48px));
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-search-box strong {
    display: block;
    color: #e0f2fe;
    margin-bottom: 12px;
}

.hero-search {
    width: 100%;
}

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

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

.glass-section,
.ranking-section {
    width: min(1280px, calc(100% - 32px));
    margin-top: 34px;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.42);
    box-shadow: var(--shadow);
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}

.section-line {
    width: 5px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--cyan), var(--blue));
    flex: 0 0 auto;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.1;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

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

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

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

.movie-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(30, 41, 59, 0.86);
    box-shadow: 0 24px 58px rgba(8, 145, 178, 0.16);
}

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

.movie-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0f172a;
}

.movie-card-large .movie-poster {
    aspect-ratio: 16 / 9;
}

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

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

.poster-glow {
    position: absolute;
    inset: auto 0 0 0;
    height: 56%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), transparent);
}

.play-mark,
.rank-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    font-weight: 900;
}

.play-mark {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    background: rgba(8, 145, 178, 0.82);
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.movie-card:hover .play-mark {
    opacity: 1;
    transform: scale(1);
}

.rank-badge {
    top: 12px;
    left: 12px;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.25);
}

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

.movie-card-body h3 {
    margin: 0;
    color: white;
    font-size: 1.05rem;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

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

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

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #7dd3fc;
    font-size: 0.8rem;
}

.movie-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
}

.movie-card-wide .movie-card-link {
    display: grid;
    grid-template-columns: 168px 1fr;
    min-height: 178px;
}

.movie-card-wide .movie-poster {
    aspect-ratio: auto;
    height: 100%;
}

.movie-card-wide .movie-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.movie-rail {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 2px 0 20px;
    scroll-snap-type: x mandatory;
}

.rail-item {
    width: 245px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

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

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

.category-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.76);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.25);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card-layer {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.2)),
        linear-gradient(135deg, rgba(8, 145, 178, 0.48), transparent 60%);
}

.category-card-body {
    position: relative;
    z-index: 1;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-card h2 {
    margin: 0;
    font-size: 1.45rem;
}

.category-card p,
.category-card span {
    color: var(--muted-strong);
    line-height: 1.7;
}

.category-card span {
    margin-top: 10px;
    color: #7dd3fc;
    font-size: 0.9rem;
}

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

.section-more {
    display: inline-flex;
    margin-top: 28px;
}

.page-hero {
    position: relative;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.18), transparent 26rem),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.8));
}

.small-hero {
    min-height: 320px;
    display: flex;
    align-items: center;
}

.page-hero-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0;
}

.page-hero-inner > span,
.detail-kicker {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 13px;
    color: #cffafe;
    background: rgba(8, 145, 178, 0.28);
    border: 1px solid rgba(34, 211, 238, 0.28);
    font-weight: 800;
}

.page-hero h1 {
    margin: 18px 0 0;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    line-height: 1.06;
}

.page-hero p {
    max-width: 820px;
    margin: 18px 0 0;
    color: var(--muted-strong);
    line-height: 1.8;
    font-size: 1.05rem;
}

.hero-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-inline-links a {
    border-radius: 999px;
    padding: 9px 14px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.58);
}

.filter-input,
.filter-control {
    min-height: 45px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    color: white;
    outline: 0;
    background: rgba(2, 6, 23, 0.45);
    padding: 0 16px;
}

.filter-input {
    flex: 1 1 280px;
}

.filter-control {
    flex: 0 0 150px;
}

.filter-input::placeholder {
    color: #64748b;
}

.search-state {
    margin: 0 0 18px;
    color: var(--muted);
}

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

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

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

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

.detail-backdrop span {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.58)),
        linear-gradient(0deg, #020617, transparent 54%);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #7dd3fc;
}

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

.detail-cover {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
    background: #0f172a;
}

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

.detail-info h1 {
    margin: 18px 0 0;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.detail-one-line {
    max-width: 790px;
    margin: 20px 0 0;
    color: #dbeafe;
    font-size: 1.15rem;
    line-height: 1.85;
}

.detail-meta,
.tag-row,
.genre-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.detail-meta span,
.tag-pill,
.genre-cloud span {
    border-radius: 999px;
    padding: 7px 12px;
    color: #cffafe;
    background: rgba(8, 145, 178, 0.16);
    border: 1px solid rgba(34, 211, 238, 0.18);
}

.detail-info .primary-button {
    display: inline-flex;
    margin-top: 28px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.movie-player,
.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-player {
    background: #000;
    z-index: 1;
}

.player-cover {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.player-cover.is-started {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

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

.player-cover-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15), rgba(2, 6, 23, 0.78));
}

.player-start {
    position: absolute;
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    font-size: 2.1rem;
    background: linear-gradient(135deg, var(--cyan-dark), var(--blue));
    box-shadow: 0 20px 60px rgba(34, 211, 238, 0.28);
    transform: translateZ(0);
}

.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
}

.article-panel,
.side-panel {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.58);
    padding: 28px;
    box-shadow: var(--shadow);
}

.article-panel h2,
.side-panel h2 {
    margin: 0 0 16px;
    font-size: 1.45rem;
}

.article-panel h2:not(:first-child) {
    margin-top: 28px;
}

.article-panel p {
    color: var(--muted-strong);
    line-height: 2;
    font-size: 1.02rem;
}

.side-panel dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    margin: 0;
}

.side-panel dt {
    color: var(--muted);
}

.side-panel dd {
    margin: 0;
    color: #e2e8f0;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.9);
}

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

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

.footer-grid h3 {
    margin: 0 0 16px;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: var(--muted-strong);
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 30px;
    color: #64748b;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    text-align: center;
}

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

    .nav-shell > .site-search {
        margin-left: auto;
    }

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

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

    .hero-search-box {
        display: none;
    }
}

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

    .nav-shell > .site-search {
        display: none;
    }

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

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

    .mobile-search {
        margin-top: 14px;
    }

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

    .hero-carousel {
        min-height: 590px;
    }

    .hero-content {
        bottom: 92px;
    }

    .hero-arrow {
        display: none;
    }

    .page-section,
    .glass-section,
    .ranking-section {
        width: min(100% - 24px, 1280px);
        padding: 42px 0;
    }

    .glass-section,
    .ranking-section {
        padding: 24px;
    }

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

    .movie-card-wide .movie-card-link {
        grid-template-columns: 130px 1fr;
        min-height: 150px;
    }

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

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

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

    .detail-shell {
        padding-top: 42px;
    }
}

@media (max-width: 560px) {
    .brand-text {
        font-size: 1rem;
    }

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

    .hero-content {
        left: 18px;
        width: calc(100% - 36px);
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .cards-grid,
    .compact-grid,
    .featured-grid,
    .category-grid,
    .category-grid-large,
    .ranking-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-wide .movie-card-link {
        grid-template-columns: 112px 1fr;
    }

    .filter-control,
    .filter-input {
        flex: 1 1 100%;
    }

    .player-start {
        width: 68px;
        height: 68px;
    }
}
