:root {
    --primary-50: #fef6ee;
    --primary-100: #fdebd7;
    --primary-500: #f0691b;
    --primary-600: #e14f11;
    --primary-700: #b93f0f;
    --accent-500: #eeac07;
    --secondary-600: #50675e;
    --warm-50: #faf8f5;
    --warm-100: #f2ede4;
    --warm-200: #e4d8c7;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 22px 45px rgba(17, 24, 39, 0.22);
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--gray-900);
    background: linear-gradient(180deg, var(--white), var(--warm-50) 48%, var(--warm-100));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: var(--max-width);
    height: 64px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.logo-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    box-shadow: 0 10px 28px rgba(225, 79, 17, 0.25);
}

.logo-text {
    font-size: 1.2rem;
    background: linear-gradient(90deg, var(--primary-600), var(--primary-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 650;
}

.desktop-nav a,
.mobile-nav a {
    position: relative;
    transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
    color: var(--primary-600);
}

.desktop-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary-600);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--primary-50);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-600);
}

.mobile-nav {
    display: none;
    padding: 0 24px 18px;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--gray-700);
    font-weight: 650;
}

.mobile-nav.is-open {
    display: flex;
}

.hero-carousel {
    position: relative;
    background: var(--gray-900);
}

.hero-stage {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

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

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

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 18%, rgba(240, 105, 27, 0.34), transparent 32%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.38) 52%, rgba(0, 0, 0, 0.18)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.16));
}

.hero-content {
    position: absolute;
    left: 50%;
    bottom: 88px;
    width: min(var(--max-width), calc(100% - 48px));
    transform: translateX(-50%);
    color: var(--white);
    max-width: 1280px;
}

.hero-content > * {
    max-width: 720px;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    color: #ffbe55;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.055em;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.hero-movie-name {
    margin: 0 0 10px;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 800;
    color: #ffdfb9;
}

.hero-content p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.06rem;
}

.hero-tags,
.detail-meta,
.detail-tags,
.tag-row,
.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hero-tags span,
.detail-tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
    backdrop-filter: blur(8px);
    font-size: 0.88rem;
    font-weight: 650;
}

.hero-actions,
.section-more {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.primary-button,
.secondary-button,
.section-more a,
.ranking-copy a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button,
.section-more a,
.ranking-copy a {
    color: var(--white);
    background: var(--primary-600);
    box-shadow: 0 14px 28px rgba(225, 79, 17, 0.26);
}

.primary-button:hover,
.section-more a:hover,
.ranking-copy a:hover {
    transform: translateY(-2px);
    background: var(--primary-700);
}

.secondary-button {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

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

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    font-size: 2rem;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.06);
}

.hero-prev {
    left: 28px;
    transform: translateY(-50%);
}

.hero-next {
    right: 28px;
    transform: translateY(-50%);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    z-index: 5;
}

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

.hero-dot.is-active {
    width: 34px;
    background: var(--white);
}

.page-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 56px 24px 72px;
}

.page-top {
    padding-top: 42px;
}

.detail-main {
    padding-top: 32px;
}

.content-section {
    margin-top: 72px;
}

.flat-section {
    margin-top: 36px;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 14px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    box-shadow: var(--shadow-soft);
    font-weight: 900;
}

.section-heading h2 {
    margin: 0;
    color: var(--gray-900);
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-heading p {
    margin: 4px 0 0;
    color: var(--gray-500);
}

.quick-search-panel,
.filter-panel,
.page-hero,
.ranking-strip,
.detail-hero,
.detail-text-grid article {
    border: 1px solid rgba(228, 216, 199, 0.72);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
}

.quick-search-panel,
.filter-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
}

.quick-search-panel h2,
.filter-panel h2 {
    margin: 0 0 4px;
    font-size: 1.35rem;
    font-weight: 900;
}

.quick-search-panel p,
.filter-panel p {
    margin: 0;
    color: var(--gray-500);
}

.slim-panel {
    margin-top: 28px;
}

.search-box {
    min-width: min(420px, 100%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--warm-200);
    border-radius: 14px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.search-box.wide {
    width: 100%;
}

.search-box span {
    color: var(--primary-600);
    font-weight: 900;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: var(--gray-200);
}

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

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

.poster-link::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent);
}

.type-badge,
.rank-number {
    position: absolute;
    z-index: 2;
    color: var(--white);
    font-weight: 900;
}

.type-badge {
    right: 12px;
    top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(225, 79, 17, 0.92);
    font-size: 0.78rem;
}

.rank-number {
    left: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-500), var(--primary-600));
    box-shadow: var(--shadow-soft);
}

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

.movie-meta-line {
    color: var(--primary-600);
    font-size: 0.82rem;
    font-weight: 800;
}

.movie-meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: var(--warm-200);
}

.movie-card h3 {
    margin: 8px 0 8px;
    display: -webkit-box;
    overflow: hidden;
    min-height: 3rem;
    color: var(--gray-900);
    font-size: 1.05rem;
    line-height: 1.42;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.movie-card p {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    color: var(--gray-500);
    font-size: 0.92rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tag-row {
    margin-top: 12px;
    color: var(--secondary-600);
    font-size: 0.78rem;
    font-weight: 750;
}

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

.movie-card-compact h3 {
    min-height: auto;
    font-size: 0.98rem;
}

.movie-card-compact p {
    -webkit-line-clamp: 2;
}

.ranking-strip {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 28px;
    padding: 32px;
    background:
        radial-gradient(circle at 8% 0%, rgba(240, 105, 27, 0.15), transparent 34%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(31, 41, 55, 0.94));
    color: var(--white);
}

.ranking-copy span {
    color: #ffbe55;
    font-weight: 900;
}

.ranking-copy h2 {
    margin: 10px 0 12px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.ranking-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.ranking-list {
    display: grid;
    gap: 10px;
}

.ranking-list a {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.11);
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-list a:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.18);
}

.ranking-list span {
    color: #ffbe55;
    font-weight: 900;
}

.ranking-list strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-list em {
    color: rgba(255, 255, 255, 0.64);
    font-style: normal;
    font-size: 0.88rem;
}

.page-hero {
    padding: 42px;
    background:
        radial-gradient(circle at 88% 18%, rgba(240, 105, 27, 0.16), transparent 28%),
        linear-gradient(135deg, var(--white), var(--primary-50));
}

.compact-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.compact-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--gray-500);
    font-size: 1.05rem;
}

.dark-hero {
    color: var(--white);
    border-color: transparent;
    background:
        radial-gradient(circle at 86% 18%, rgba(240, 105, 27, 0.32), transparent 32%),
        linear-gradient(135deg, var(--gray-900), #26312d);
}

.dark-hero p {
    color: rgba(255, 255, 255, 0.76);
}

.filter-pills {
    margin: 22px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pill,
.button-filter-group button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--warm-200);
    border-radius: 999px;
    color: var(--gray-700);
    background: rgba(255, 255, 255, 0.86);
    font-weight: 750;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-pill:hover,
.filter-pill.is-active,
.button-filter-group button:hover,
.button-filter-group button.is-active {
    color: var(--white);
    border-color: var(--primary-600);
    background: var(--primary-600);
}

.category-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.category-tile a {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(228, 216, 199, 0.72);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile a:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.category-covers {
    height: 168px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    overflow: hidden;
    background: var(--gray-200);
}

.category-covers img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-info {
    padding: 22px;
}

.category-info h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 900;
}

.category-info p {
    margin: 0 0 18px;
    color: var(--gray-500);
}

.category-info span {
    color: var(--primary-600);
    font-weight: 900;
}

.filter-panel {
    margin-top: 26px;
    align-items: flex-start;
    flex-direction: column;
}

.search-page-panel {
    margin-top: 26px;
}

.button-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button-filter-group button {
    min-height: 34px;
}

.empty-message {
    display: none;
    margin: 28px 0 0;
    padding: 30px;
    border-radius: var(--radius-lg);
    color: var(--gray-500);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.empty-message.is-visible {
    display: block;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--gray-500);
    font-size: 0.92rem;
    font-weight: 650;
}

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

.breadcrumb strong {
    color: var(--gray-900);
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 34px;
    padding: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(240, 105, 27, 0.15), transparent 32%),
        rgba(255, 255, 255, 0.92);
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-large);
    background: var(--gray-200);
}

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

.detail-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.detail-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.detail-one-line {
    margin: 0 0 20px;
    max-width: 820px;
    color: var(--gray-700);
    font-size: 1.12rem;
}

.detail-meta {
    margin-bottom: 18px;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--primary-700);
    background: var(--primary-50);
    font-weight: 800;
}

.detail-tags {
    margin-bottom: 26px;
}

.detail-tags span {
    color: var(--secondary-600);
    background: rgba(80, 103, 94, 0.11);
}

.player-section {
    margin-top: 34px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--black);
    box-shadow: var(--shadow-large);
}

.player-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--black);
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-circle {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-600);
    box-shadow: 0 18px 36px rgba(225, 79, 17, 0.38);
    font-size: 2rem;
    transform: translateX(2px);
}

.player-overlay strong {
    font-size: 1.2rem;
}

.detail-text-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.detail-text-grid article {
    padding: 28px;
}

.detail-text-grid h2 {
    margin: 0 0 14px;
    font-size: 1.45rem;
    font-weight: 900;
}

.detail-text-grid p {
    margin: 0;
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.85;
}

.related-section {
    margin-top: 56px;
}

.site-footer {
    border-top: 1px solid rgba(228, 216, 199, 0.78);
    background: rgba(255, 255, 255, 0.82);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 34px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--gray-500);
}

.footer-logo {
    color: var(--primary-600);
    font-size: 1.08rem;
}

.footer-links {
    display: flex;
    gap: 18px;
    font-weight: 750;
}

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

.footer-inner p {
    margin: 0;
}

[data-card].is-hidden {
    display: none;
}

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

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

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

    .menu-toggle {
        display: flex;
    }

    .hero-stage,
    .hero-slide img {
        min-height: 540px;
    }

    .hero-content {
        bottom: 78px;
    }

    .hero-control {
        display: none;
    }

    .quick-search-panel,
    .ranking-strip,
    .detail-hero,
    .detail-text-grid,
    .footer-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .detail-hero {
        display: block;
    }

    .detail-poster {
        max-width: 260px;
        margin-bottom: 24px;
    }

    .search-box {
        min-width: 0;
    }
}

@media (max-width: 680px) {
    .header-inner {
        padding: 0 16px;
    }

    .mobile-nav {
        padding: 0 16px 16px;
    }

    .page-main {
        padding: 38px 16px 56px;
    }

    .hero-stage,
    .hero-slide img {
        min-height: 520px;
    }

    .hero-content {
        width: calc(100% - 32px);
        bottom: 68px;
    }

    .hero-tags span {
        padding: 7px 10px;
    }

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

    .primary-button,
    .secondary-button,
    .section-more a,
    .ranking-copy a {
        width: 100%;
    }

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

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

    .movie-card h3 {
        font-size: 0.96rem;
    }

    .movie-card p {
        font-size: 0.86rem;
    }

    .quick-search-panel,
    .filter-panel,
    .page-hero,
    .ranking-strip,
    .detail-hero,
    .detail-text-grid article {
        border-radius: var(--radius-lg);
        padding: 20px;
    }

    .ranking-list a {
        grid-template-columns: 34px 1fr;
    }

    .ranking-list em {
        grid-column: 2;
    }

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

    .footer-inner {
        align-items: flex-start;
    }
}

@media (max-width: 460px) {
    .card-grid,
    .small-grid,
    .ranking-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .poster-link {
        aspect-ratio: 16 / 10;
    }

    .movie-card-compact .poster-link,
    .ranking-grid .poster-link {
        aspect-ratio: 16 / 10;
    }
}
