:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --indigo: #4f46e5;
    --purple: #7c3aed;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f8fafc;
    --card: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background: #f5f7fb;
    -webkit-font-smoothing: antialiased;
}

body.locked {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.brand-icon,
.footer-logo span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
    font-size: 14px;
}

.brand-text {
    font-size: clamp(20px, 2vw, 28px);
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--indigo));
    transition: width 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-search,
.mobile-search,
.hero-search,
.filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-input,
.filter-select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 11px 16px;
    outline: none;
    background: #fff;
    color: #111827;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 190px;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-input:focus,
.filter-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.header-search button,
.mobile-search button,
.hero-search button,
.primary-button,
.secondary-button,
.filter-button {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--indigo));
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.primary-button:hover,
.secondary-button:hover,
.filter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.secondary-button {
    color: var(--blue);
    background: #fff;
    border: 2px solid rgba(37, 99, 235, 0.18);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #eef2ff;
    padding: 10px;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--blue);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
    padding: 16px;
    background: #fff;
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.08);
}

.mobile-menu.open {
    display: grid;
    gap: 12px;
}

.mobile-menu a,
.mobile-menu-title {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #374151;
    font-weight: 700;
}

.mobile-menu a:hover {
    background: #eff6ff;
    color: var(--blue);
}

.mobile-menu-title {
    color: #111827;
    background: #f3f4f6;
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 50%, #faf5ff 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.18), transparent 24%), radial-gradient(circle at 80% 15%, rgba(124, 58, 237, 0.16), transparent 28%), radial-gradient(circle at 50% 90%, rgba(79, 70, 229, 0.16), transparent 30%);
}

.hero-track {
    position: relative;
    height: 100%;
    min-height: 650px;
}

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

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

.hero-layout {
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    align-items: center;
    gap: 48px;
    padding: 56px 0;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.11);
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 18px;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 5.8vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero h1 span {
    display: block;
    color: var(--blue);
}

.hero-description {
    margin: 0 0 24px;
    max-width: 650px;
    color: #4b5563;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.85;
}

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

.hero-search {
    width: min(100%, 580px);
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-search input {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-poster-shell {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.30);
    transform: perspective(1000px) rotateY(-4deg);
    transition: transform 0.3s ease;
}

.hero-poster-shell:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-4px);
}

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

.hero-poster-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 52%);
}

.hero-poster-info {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    color: #fff;
}

.hero-poster-info h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
}

.hero-poster-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.hero-play-bubble,
.poster-play {
    display: grid;
    place-items: center;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
}

.hero-play-bubble {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.25);
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(37, 99, 235, 0.28);
    cursor: pointer;
}

.hero-dots button.active {
    width: 28px;
    border-radius: 999px;
    background: var(--blue);
}

.section {
    padding: 58px 0;
}

.section-white {
    background: #fff;
}

.section-soft {
    background: #f8fafc;
}

.section-gradient {
    background: linear-gradient(135deg, #eef2ff, #eff6ff 50%, #faf5ff);
}

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

.section-kicker {
    margin: 0 0 8px;
    color: var(--blue);
    font-weight: 900;
}

.section-title {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-lead {
    margin: 10px 0 0;
    max-width: 720px;
    color: var(--muted);
    line-height: 1.8;
}

.link-more {
    color: var(--blue);
    font-weight: 900;
}

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

.category-card {
    position: relative;
    min-height: 168px;
    padding: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -50px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.14);
}

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

.category-card h3 {
    position: relative;
    margin: 0 0 10px;
    font-size: 22px;
    z-index: 1;
}

.category-card p {
    position: relative;
    margin: 0 0 18px;
    color: #4b5563;
    line-height: 1.7;
    z-index: 1;
}

.category-count {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--blue);
    background: #fff;
    font-weight: 900;
}

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

.movie-card {
    background: var(--card);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dbeafe;
}

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

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

.poster-type,
.poster-year {
    position: absolute;
    top: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.poster-type {
    left: 10px;
    background: var(--blue);
}

.poster-year {
    right: 10px;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
    min-height: 44px;
}

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

.movie-card p {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.65;
    min-height: 42px;
}

.movie-meta-line {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    color: #6b7280;
    font-size: 12px;
}

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

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag-row span,
.meta-pill {
    border-radius: 999px;
    padding: 5px 8px;
    color: #1e40af;
    background: #eff6ff;
    font-size: 12px;
    font-weight: 800;
}

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

.feature-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-card img {
    width: 132px;
    height: 176px;
    border-radius: 16px;
    object-fit: cover;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 21px;
}

.feature-card p {
    margin: 0 0 12px;
    color: #4b5563;
    line-height: 1.7;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 52px 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.14);
}

.ranking-number {
    font-size: 26px;
    font-weight: 900;
    color: var(--blue);
    text-align: center;
}

.ranking-item img {
    width: 72px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
}

.ranking-copy strong,
.ranking-copy small {
    display: block;
}

.ranking-copy strong {
    margin-bottom: 6px;
    font-size: 17px;
}

.ranking-copy small {
    color: #6b7280;
    line-height: 1.6;
}

.ranking-action {
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    background: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0;
    color: #fff;
    background: linear-gradient(135deg, #111827, #1e3a8a 58%, #4f46e5);
}

.page-hero::before,
.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 20%, rgba(96, 165, 250, 0.35), transparent 25%), radial-gradient(circle at 82% 15%, rgba(167, 139, 250, 0.28), transparent 28%);
}

.page-hero .container,
.detail-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb em {
    color: rgba(255, 255, 255, 0.45);
    font-style: normal;
}

.page-hero h1,
.detail-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.12;
    letter-spacing: -0.05em;
}

.page-hero p,
.detail-copy p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

.filter-panel {
    margin-top: -32px;
    position: relative;
    z-index: 5;
}

.filter-panel-inner {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 160px 160px auto;
    gap: 12px;
    padding: 18px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.result-count {
    margin: 18px 0 0;
    color: #6b7280;
    font-weight: 700;
}

.no-results {
    display: none;
    padding: 32px;
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    color: #6b7280;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.no-results.show {
    display: block;
}

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

.detail-poster {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

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

.meta-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-content {
    padding: 58px 0;
}

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

.content-card {
    border-radius: var(--radius);
    padding: 26px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.content-card + .content-card {
    margin-top: 22px;
}

.content-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.content-card p {
    margin: 0;
    color: #374151;
    line-height: 1.95;
    font-size: 16px;
}

.info-table {
    display: grid;
    gap: 12px;
}

.info-row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
}

.info-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-row span:first-child {
    color: #6b7280;
    font-weight: 800;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #050816;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

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

.play-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(5, 8, 22, 0.18), rgba(5, 8, 22, 0.70));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-layer.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-layer span {
    display: inline-grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.94);
    font-size: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

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

.sidebar-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-radius: 16px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.sidebar-card img {
    width: 76px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

.sidebar-card strong {
    display: block;
    margin-bottom: 6px;
    line-height: 1.35;
}

.sidebar-card small {
    color: #6b7280;
    line-height: 1.5;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #111827, #1f2937);
    padding: 58px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 38px;
}

.footer-logo {
    color: #fff;
    font-size: 24px;
    margin-bottom: 14px;
}

.footer-brand p,
.site-footer p {
    color: #9ca3af;
    line-height: 1.8;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-badges span {
    border-radius: 999px;
    padding: 7px 10px;
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.18);
    font-weight: 800;
    font-size: 12px;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #fff;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.site-footer a:hover {
    color: #60a5fa;
}

.footer-bottom {
    margin-top: 42px;
    padding: 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: #9ca3af;
    font-size: 14px;
}

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

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

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

    .hero-poster-shell {
        transform: none;
    }

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

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

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

    .header-inner {
        height: 66px;
    }

    .hero,
    .hero-track,
    .hero-layout {
        min-height: 760px;
    }

    .hero-layout {
        gap: 28px;
        padding: 40px 0 70px;
    }

    .hero-search,
    .filter-panel-inner {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .hero-search {
        display: grid;
    }

    .hero-poster-shell img {
        height: 380px;
    }

    .section {
        padding: 42px 0;
    }

    .section-header {
        align-items: start;
        flex-direction: column;
    }

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

    .category-grid,
    .feature-grid,
    .ranking-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .feature-card img {
        width: 108px;
        height: 150px;
    }

    .ranking-item {
        grid-template-columns: 42px 62px minmax(0, 1fr);
    }

    .ranking-action {
        display: none;
    }

    .page-hero,
    .detail-hero {
        padding: 42px 0;
    }

    .detail-poster {
        max-width: 280px;
    }

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

@media (max-width: 460px) {
    .movie-grid {
        grid-template-columns: 1fr;
    }

    .hero-poster-shell img {
        height: 320px;
    }

    .movie-card {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
    }

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