:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-50: #fff7ed;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --yellow-400: #facc15;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    --shadow-md: 0 10px 25px rgba(17, 24, 39, 0.08);
    --shadow-xl: 0 24px 60px rgba(17, 24, 39, 0.16);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--amber-50), var(--orange-50) 42%, #ffffff);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500), var(--yellow-400));
    box-shadow: 0 8px 26px rgba(217, 119, 6, 0.24);
}

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

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

.brand-name {
    font-size: 22px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
    font-weight: 900;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-menu a {
    padding: 10px 15px;
    border-radius: 999px;
    color: #fff7db;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-menu a:hover,
.site-menu a.is-active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 99px;
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, var(--amber-500), var(--orange-500) 55%, var(--yellow-400));
    color: var(--white);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.38) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.26) 0 3px, transparent 4px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px);
    background-size: 60px 60px, 90px 90px, 34px 34px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 560px;
    margin: 0 auto;
    padding: 74px 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
    align-items: center;
    gap: 52px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff7d6;
    font-weight: 800;
}

.hero-lead {
    max-width: 680px;
    margin: 22px 0 0;
    color: #fff7db;
    font-size: clamp(17px, 2vw, 22px);
}

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

.button-primary,
.button-secondary,
.button-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 0;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button-primary {
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    color: var(--white);
    box-shadow: 0 14px 24px rgba(249, 115, 22, 0.25);
}

.button-light {
    background: var(--white);
    color: var(--amber-600);
    box-shadow: 0 14px 28px rgba(120, 53, 15, 0.16);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.13);
    color: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.button-primary:hover,
.button-secondary:hover,
.button-light:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-stage {
    position: relative;
    min-height: 456px;
}

.hero-slides {
    position: relative;
    min-height: 420px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-image {
    position: relative;
    display: block;
    height: 420px;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    background: rgba(0, 0, 0, 0.18);
}

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

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.72));
}

.hero-card {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 22px;
    border-radius: var(--radius-xl);
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hero-card h2 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.18;
}

.hero-card p {
    margin: 0 0 14px;
    color: #fef3c7;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
}

.hero-dots {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 34px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
    width: 58px;
    background: var(--white);
}

.page-hero {
    background: linear-gradient(100deg, var(--amber-500), var(--orange-500), var(--yellow-400));
    color: var(--white);
    padding: 54px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -55% auto;
    width: 460px;
    height: 460px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    font-weight: 900;
}

.page-hero p {
    max-width: 740px;
    margin: 0;
    color: #fff7db;
    font-size: 18px;
}

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

.section + .section {
    padding-top: 18px;
}

.section-tinted {
    background: linear-gradient(90deg, rgba(254, 243, 199, 0.76), rgba(255, 237, 213, 0.78));
}

.section-tinted .section {
    padding-top: 58px;
    padding-bottom: 58px;
}

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

.section-title {
    margin: 0;
    color: var(--gray-800);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    font-weight: 900;
}

.section-desc {
    margin: 8px 0 0;
    color: var(--gray-600);
}

.section-link {
    color: var(--amber-600);
    font-weight: 800;
    white-space: nowrap;
}

.grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #fde68a, #fed7aa);
}

.movie-card-compact .movie-cover {
    aspect-ratio: 16 / 10;
}

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

.movie-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.movie-card:hover .movie-cover img {
    transform: scale(1.09);
    filter: saturate(1.06);
}

.movie-card:hover .movie-cover::after {
    background: rgba(0, 0, 0, 0.24);
}

.score-badge,
.year-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
}

.score-badge {
    top: 12px;
    right: 12px;
    background: var(--amber-500);
    box-shadow: 0 8px 16px rgba(217, 119, 6, 0.28);
}

.year-badge {
    left: 12px;
    bottom: 12px;
    background: rgba(17, 24, 39, 0.76);
}

.cover-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.92);
    color: var(--orange-500);
    opacity: 0;
    font-size: 20px;
    font-weight: 900;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-body {
    padding: 18px;
}

.movie-body h3 {
    margin: 0 0 8px;
    color: var(--gray-800);
    font-size: 18px;
    line-height: 1.28;
    font-weight: 900;
}

.movie-body h3 a:hover {
    color: var(--amber-600);
}

.movie-body p {
    min-height: 45px;
    margin: 0 0 13px;
    color: var(--gray-600);
    font-size: 14px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--amber-100);
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
}

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

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 212px;
    padding: 26px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.08));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card > * {
    position: relative;
    z-index: 2;
}

.category-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    font-size: 24px;
    font-weight: 900;
}

.category-card h2,
.category-card h3 {
    margin: 0 0 10px;
    color: var(--gray-800);
    font-size: 22px;
    font-weight: 900;
}

.category-card p {
    margin: 0 0 14px;
    color: var(--gray-600);
    font-size: 14px;
}

.category-samples {
    display: grid;
    gap: 6px;
    color: var(--amber-600);
    font-size: 13px;
    font-weight: 800;
}

.rank-panel {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.rank-row {
    display: grid;
    grid-template-columns: 48px 64px minmax(0, 1fr) 70px;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s ease;
}

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

.rank-row:hover {
    background: var(--amber-50);
}

.rank-number {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    font-weight: 900;
}

.rank-hot .rank-number {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.rank-thumb {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--amber-100);
}

.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-title {
    min-width: 0;
}

.rank-title strong,
.rank-title em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-title strong {
    color: var(--gray-800);
    font-size: 16px;
}

.rank-title em {
    margin-top: 2px;
    color: var(--gray-500);
    font-size: 13px;
    font-style: normal;
}

.rank-score {
    color: var(--amber-600);
    text-align: right;
    font-size: 18px;
    font-weight: 900;
}

.filter-card {
    margin-bottom: 28px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.filter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.search-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0 18px;
    color: var(--gray-800);
    background: var(--gray-50);
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.filter-buttons button {
    min-height: 38px;
    padding: 8px 15px;
    border: 0;
    border-radius: 999px;
    color: var(--gray-700);
    background: var(--gray-100);
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-buttons button:hover,
.filter-buttons button.is-active {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    transform: translateY(-1px);
}

.empty-state {
    padding: 50px;
    border-radius: var(--radius-xl);
    background: var(--white);
    color: var(--gray-500);
    text-align: center;
    box-shadow: var(--shadow-md);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 700;
}

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

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

.detail-main,
.detail-side {
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.detail-main {
    overflow: hidden;
}

.player-box {
    position: relative;
    overflow: hidden;
    background: var(--black);
    aspect-ratio: 16 / 9;
}

.player-box video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--black);
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: rgba(0, 0, 0, 0.36);
}

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

.player-pulse {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
    font-size: 32px;
    transform: translateZ(0);
}

.player-controls {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.player-controls button {
    min-width: 46px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    font-weight: 900;
}

.player-controls button:hover {
    background: rgba(245, 158, 11, 0.92);
}

.detail-content {
    padding: 28px;
}

.detail-titlebar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.detail-content h1 {
    margin: 0;
    color: var(--gray-800);
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.12;
    font-weight: 900;
}

.detail-rating {
    flex: 0 0 auto;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--white);
    background: var(--amber-500);
    font-weight: 900;
}

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 20px;
}

.meta-line span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--gray-700);
    background: var(--gray-100);
    font-size: 14px;
    font-weight: 800;
}

.detail-content h2 {
    margin: 28px 0 12px;
    color: var(--gray-800);
    font-size: 24px;
    font-weight: 900;
}

.detail-content p {
    margin: 0 0 14px;
    color: var(--gray-700);
}

.review-box {
    margin-top: 12px;
    padding: 22px;
    border-left: 5px solid var(--amber-500);
    border-radius: 18px;
    background: linear-gradient(90deg, var(--amber-50), var(--orange-50));
    color: var(--gray-700);
    font-style: italic;
}

.detail-side {
    align-self: start;
    position: sticky;
    top: 100px;
    padding: 22px;
}

.detail-side h2 {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 900;
}

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

.info-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.info-list dt {
    color: var(--gray-500);
    font-weight: 800;
}

.info-list dd {
    margin: 0;
    color: var(--gray-800);
    text-align: right;
    font-weight: 900;
}

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

.site-footer {
    color: #d1d5db;
    background: var(--gray-900);
}

.footer-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: start;
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-shell p {
    max-width: 560px;
    margin: 0;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.footer-links a {
    color: #d1d5db;
    font-weight: 800;
}

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

.footer-bottom {
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    text-align: center;
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1080px) {
    .hero-inner,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 430px;
    }

    .detail-side {
        position: static;
    }

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

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

@media (max-width: 820px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-menu {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 74px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 18px;
        background: rgba(217, 119, 6, 0.98);
        box-shadow: var(--shadow-xl);
    }

    .site-menu.is-open {
        display: flex;
    }

    .site-menu a {
        padding: 12px 14px;
    }

    .hero-inner {
        min-height: auto;
        padding: 54px 0 68px;
        gap: 34px;
    }

    .hero-stage,
    .hero-slides {
        min-height: 390px;
    }

    .hero-image {
        height: 370px;
    }

    .section-head,
    .footer-shell,
    .filter-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

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

    .rank-row {
        grid-template-columns: 38px 54px minmax(0, 1fr) 50px;
        gap: 10px;
        padding: 12px;
    }

    .rank-thumb {
        width: 54px;
        height: 54px;
    }

    .detail-titlebar {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .nav-shell,
    .section,
    .page-hero-inner,
    .detail-shell,
    .footer-shell,
    .hero-inner {
        width: min(100% - 22px, 1180px);
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary,
    .button-light {
        width: 100%;
    }

    .hero-stage,
    .hero-slides {
        min-height: 350px;
    }

    .hero-image {
        height: 330px;
        border-radius: 24px;
    }

    .hero-card {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 16px;
    }

    .hero-card h2 {
        font-size: 22px;
    }

    .grid-3,
    .grid-4,
    .grid-6,
    .category-grid,
    .movie-grid {
        grid-template-columns: 1fr;
    }

    .movie-body p {
        min-height: auto;
    }

    .detail-content {
        padding: 20px;
    }

    .player-pulse {
        width: 72px;
        height: 72px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}
