* {
    box-sizing: border-box;
}

:root {
    --cyan: #0891b2;
    --cyan-dark: #0e7490;
    --blue: #2563eb;
    --teal: #0d9488;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
    --soft-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
    --radius: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--slate-800);
    background: linear-gradient(180deg, var(--slate-50), #ffffff 35%, #eefaff);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--teal));
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(8, 145, 178, 0.28);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
    font-size: 15px;
}

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

.nav-link,
.desktop-nav > a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.desktop-nav > a:hover,
.nav-active {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-dropdown {
    position: relative;
}

.nav-drop-button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.nav-drop-menu {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 190px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-drop-menu a {
    padding: 9px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.88);
}

.nav-drop-menu a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.top-search {
    display: flex;
    align-items: center;
    min-width: 260px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.top-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 9px 13px;
    color: #ffffff;
    background: transparent;
}

.top-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.top-search button {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    color: var(--cyan-dark);
    background: #ffffff;
    cursor: pointer;
    font-weight: 800;
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
}

.mobile-panel {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
}

.mobile-panel a {
    display: block;
    padding: 12px;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 8px;
}

.hero-carousel {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg, #1d4ed8, #0891b2, #0d9488);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease;
}

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

.hero-slide::before,
.ranking-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.12);
    transform: scale(1.08);
    opacity: 0.34;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 26%),
        radial-gradient(circle at 78% 34%, rgba(34, 211, 238, 0.25), transparent 28%),
        linear-gradient(120deg, rgba(37, 99, 235, 0.86), rgba(8, 145, 178, 0.88), rgba(13, 148, 136, 0.88));
}

.hero-content {
    position: relative;
    width: min(1240px, calc(100% - 32px));
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    align-items: center;
    gap: 54px;
    padding: 76px 0;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-kicker {
    color: rgba(255, 255, 255, 0.88);
}

.hero-copy h1 {
    max-width: 850px;
    margin: 18px 0 14px;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(26px, 3.2vw, 44px);
}

.hero-copy p {
    max-width: 760px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.85;
}

.hero-tags,
.tag-cloud div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.tag-cloud span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    padding: 0 18px;
    font-weight: 900;
    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(90deg, var(--cyan), var(--blue));
    box-shadow: 0 14px 28px rgba(8, 145, 178, 0.35);
}

.btn-glass,
.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.2);
}

.hero-poster {
    position: relative;
    justify-self: end;
    width: min(360px, 100%);
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(2, 6, 23, 0.38);
    background: rgba(255, 255, 255, 0.12);
}

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 50%;
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.94);
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.24);
}

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

.hero-dots button {
    width: 32px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
}

.hero-dots button.is-active {
    background: #ffffff;
}

.search-panel,
.filter-bar,
.content-section,
.category-overview,
.detail-layout,
.related-section {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.search-panel {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 26px;
    margin-top: -54px;
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.search-panel h2,
.section-heading h2,
.rank-panel h2,
.page-hero h1,
.detail-article h1 {
    margin: 8px 0 10px;
    color: var(--slate-800);
    font-size: clamp(26px, 3vw, 42px);
    letter-spacing: -0.04em;
}

.search-panel p,
.section-heading p,
.page-hero p {
    margin: 0;
    color: var(--slate-600);
    line-height: 1.8;
}

.search-controls,
.filter-bar {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.7fr;
    gap: 12px;
}

.search-controls input,
.search-controls select,
.filter-bar input,
.filter-bar select {
    min-height: 48px;
    width: 100%;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 0 14px;
    outline: 0;
    background: #ffffff;
    color: var(--slate-800);
}

.quick-categories {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-categories a {
    border-radius: 999px;
    padding: 8px 13px;
    color: var(--cyan-dark);
    background: #ecfeff;
    font-weight: 800;
}

.content-section,
.category-overview,
.related-section {
    padding: 70px 0 0;
}

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

.section-heading > a,
.rank-panel-head a {
    color: var(--cyan-dark);
    font-weight: 900;
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card a {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.72));
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

.corner-badge,
.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(8, 145, 178, 0.92);
}

.corner-badge {
    top: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.year-badge {
    left: 10px;
    bottom: 10px;
    background: rgba(2, 6, 23, 0.72);
}

.rank-badge {
    left: 10px;
    top: 10px;
    min-width: 34px;
    text-align: center;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}

.play-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.94);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card a:hover .play-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

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

.movie-card-body h3 {
    display: -webkit-box;
    min-height: 45px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--slate-800);
    font-size: 16px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--slate-600);
    font-size: 13px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--slate-500);
    font-size: 12px;
}

.movie-meta-line span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.category-strip {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 28px 36px;
    border-radius: 28px;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.rank-panel,
.side-card {
    border-radius: var(--radius);
    padding: 24px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.rank-panel-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.rank-panel ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-panel li + li {
    border-top: 1px solid var(--slate-100);
}

.rank-panel li a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 13px 0;
}

.rank-panel li span {
    color: var(--cyan);
    font-weight: 900;
}

.rank-panel li strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-panel li em {
    grid-column: 2;
    color: var(--slate-500);
    font-size: 12px;
    font-style: normal;
}

.page-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(120deg, var(--blue), var(--cyan), var(--teal));
}

.slim-hero,
.ranking-hero {
    width: min(1240px, calc(100% - 32px));
    margin: 36px auto 0;
    border-radius: 30px;
    padding: 64px;
    box-shadow: var(--shadow);
}

.slim-hero .eyebrow,
.ranking-hero .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.slim-hero h1,
.slim-hero p,
.ranking-hero h1,
.ranking-hero p {
    position: relative;
    color: #ffffff;
}

.slim-hero p,
.ranking-hero p {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.detail-article .breadcrumb,
.detail-layout .breadcrumb {
    color: var(--slate-500);
}

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

.category-card {
    border-radius: 24px;
    padding: 24px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.category-card > a {
    display: block;
}

.category-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

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

.category-card p {
    margin: 0;
    color: var(--slate-600);
    line-height: 1.8;
}

.category-samples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.category-samples a {
    border-radius: 999px;
    padding: 7px 10px;
    color: var(--cyan-dark);
    background: #ecfeff;
    font-size: 13px;
    font-weight: 800;
}

.filter-bar {
    grid-template-columns: 1.25fr 0.65fr 0.65fr 0.65fr;
    margin-top: 28px;
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    padding-top: 34px;
}

.detail-main {
    min-width: 0;
}

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

.player-shell video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.big-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.player-shell.is-playing .big-play {
    opacity: 0;
    pointer-events: none;
}

.player-toolbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 18px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.player-shell:hover .player-toolbar,
.player-shell:focus-within .player-toolbar {
    opacity: 1;
}

.player-toolbar button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

.player-message {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 80%;
    border-radius: 16px;
    padding: 14px 16px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.82);
    transform: translate(-50%, -50%);
}

.detail-article {
    margin-top: 28px;
    border-radius: 24px;
    padding: 30px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.detail-article h1 {
    font-size: clamp(28px, 4vw, 46px);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.detail-meta span {
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--slate-700);
    background: var(--slate-100);
    font-size: 14px;
    font-weight: 800;
}

.lead-text {
    border-left: 4px solid var(--cyan);
    margin: 0 0 24px;
    padding: 8px 0 8px 18px;
    color: var(--slate-700);
    font-size: 18px;
    line-height: 1.8;
}

.detail-article section {
    margin-top: 26px;
}

.detail-article h2,
.side-card h2 {
    margin: 0 0 12px;
    color: var(--slate-800);
}

.detail-article p {
    margin: 0;
    color: var(--slate-700);
    line-height: 1.95;
}

.tag-cloud span {
    color: var(--cyan-dark);
    background: #ecfeff;
    box-shadow: none;
    font-weight: 800;
}

.prev-next {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.prev-next a {
    border-radius: 14px;
    padding: 11px 14px;
    color: var(--cyan-dark);
    background: #ecfeff;
    font-weight: 900;
}

.detail-side {
    display: grid;
    align-content: start;
    gap: 22px;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 18px;
    object-fit: cover;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
}

.poster-card h2 {
    margin-top: 16px;
}

.poster-card p {
    color: var(--slate-600);
    line-height: 1.75;
}

.side-links {
    display: grid;
    gap: 8px;
}

.side-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 12px;
    padding: 11px 12px;
    background: var(--slate-50);
    font-weight: 800;
}

.side-links span {
    color: var(--slate-500);
    font-size: 12px;
}

.filter-empty {
    margin: 28px 0 0;
    padding: 24px;
    border-radius: 18px;
    color: var(--slate-600);
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    text-align: center;
}

.site-footer {
    margin-top: 82px;
    color: #ffffff;
    background: var(--slate-900);
}

.footer-grid {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
    gap: 44px;
    padding: 56px 0 36px;
}

.footer-grid p {
    max-width: 560px;
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-grid h2 {
    color: #67e8f9;
    font-size: 18px;
}

.footer-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-grid li + li {
    margin-top: 10px;
}

.footer-grid a {
    color: #cbd5e1;
}

.footer-grid a:hover {
    color: #67e8f9;
}

.footer-bottom {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    color: #94a3b8;
    font-size: 14px;
}

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

    .mobile-toggle {
        display: block;
    }

    .hero-content,
    .search-panel,
    .split-section,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 28px;
        padding-top: 48px;
    }

    .hero-poster {
        justify-self: start;
        width: min(270px, 72vw);
    }

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

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

@media (max-width: 820px) {
    .hero-carousel,
    .hero-content {
        min-height: 760px;
    }

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

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

    .movie-grid,
    .movie-grid-small,
    .full-grid,
    .category-grid,
    .detail-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .slim-hero,
    .ranking-hero,
    .detail-article {
        padding: 28px;
    }
}

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

    .brand {
        font-size: 20px;
    }

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

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

    .movie-grid,
    .movie-grid-small,
    .full-grid,
    .category-grid,
    .detail-side {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

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

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

    .content-section,
    .category-overview,
    .related-section {
        padding-top: 46px;
    }

    .player-toolbar {
        opacity: 1;
    }
}
