:root {
    --lava-50: #fff7ed;
    --lava-100: #ffedd5;
    --lava-200: #fed7aa;
    --lava-400: #fb923c;
    --lava-500: #f97316;
    --lava-600: #ea580c;
    --lava-700: #c2410c;
    --ember-400: #f59e0b;
    --ember-500: #d97706;
    --volcanic-50: #fafafa;
    --volcanic-100: #f4f4f5;
    --volcanic-200: #e4e4e7;
    --volcanic-500: #71717a;
    --volcanic-600: #52525b;
    --volcanic-700: #3f3f46;
    --volcanic-800: #27272a;
    --volcanic-900: #18181b;
    --volcanic-950: #09090b;
    --white: #ffffff;
    --shadow-soft: 0 18px 55px rgba(24, 24, 27, 0.12);
    --shadow-strong: 0 30px 80px rgba(9, 9, 11, 0.35);
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-sm: 0.75rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Poppins, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    color: var(--volcanic-900);
    background: var(--white);
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

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

.section-spacing {
    padding: 72px 0;
}

.bg-soft {
    background: linear-gradient(180deg, var(--volcanic-50), var(--white));
}

.bg-dark {
    color: var(--white);
    background: radial-gradient(circle at 20% 0%, rgba(249, 115, 22, 0.25), transparent 30%), linear-gradient(135deg, var(--volcanic-800), var(--volcanic-950));
}

.text-gradient-lava {
    background: linear-gradient(90deg, var(--lava-600), var(--lava-500), var(--ember-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lava-600);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(228, 228, 231, 0.8);
}

.site-header-inner {
    min-height: 72px;
    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: 900;
    font-size: 1.25rem;
    color: var(--volcanic-900);
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--lava-600), var(--ember-500));
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.35);
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--volcanic-700);
    font-weight: 700;
    transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--lava-700);
    background: var(--lava-50);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--volcanic-100);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
    background: var(--volcanic-800);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav {
    display: none;
    padding: 0 16px 18px;
    background: rgba(255, 255, 255, 0.96);
}

.mobile-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 800;
    color: var(--volcanic-800);
}

.mobile-nav a:hover {
    background: var(--lava-50);
    color: var(--lava-700);
}

.nav-open .mobile-nav {
    display: block;
}

.nav-open .mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 82vh;
    overflow: hidden;
    color: var(--white);
    background: var(--volcanic-950);
}

.hero-slider {
    position: absolute;
    inset: 0;
}

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transform: scale(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 40%, rgba(251, 146, 60, 0.22), transparent 28%), linear-gradient(90deg, rgba(9, 9, 11, 0.94), rgba(9, 9, 11, 0.68), rgba(9, 9, 11, 0.32));
}

.hero-content {
    position: relative;
    min-height: 82vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.55fr);
    align-items: center;
    gap: 56px;
    padding: 96px 0 130px;
}

.hero-copy {
    max-width: 760px;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0;
    font-weight: 950;
    letter-spacing: -0.05em;
    line-height: 0.96;
}

.hero-copy h1 {
    font-size: clamp(3rem, 8vw, 6.8rem);
    background: linear-gradient(90deg, #ffffff, #fed7aa, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.hero-copy h2 {
    font-size: clamp(2.2rem, 5.8vw, 5.4rem);
}

.hero-one-line {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.84);
    max-width: 700px;
    margin: 24px 0;
}

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

.hero-tags span,
.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 700;
}

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

.btn-primary,
.btn-ghost,
.section-link,
.inline-action,
.rank-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 20px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--lava-600), var(--ember-500));
    box-shadow: 0 16px 36px rgba(234, 88, 12, 0.38);
}

.btn-primary:hover,
.inline-action:hover,
.rank-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(234, 88, 12, 0.28);
}

.btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.22);
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: rotate(2deg);
    transition: transform 0.35s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) translateY(-6px);
}

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

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

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

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

.hero-search-wrap {
    position: absolute;
    z-index: 8;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
}

.search-panel {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.search-panel input,
.page-filter input {
    width: 100%;
    min-height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--volcanic-900);
    padding: 0 16px;
}

.search-panel input {
    min-width: min(56vw, 520px);
}

.search-panel button {
    border: 0;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    color: var(--white);
    font-weight: 900;
    background: linear-gradient(135deg, var(--lava-600), var(--ember-500));
    cursor: pointer;
}

.section-head {
    margin-bottom: 32px;
}

.section-head h2,
.sub-hero h1,
.detail-copy h1,
.player-grid h2,
.detail-article h2,
.detail-side-card h2 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 950;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-head p {
    max-width: 760px;
    color: var(--volcanic-600);
    margin: 12px 0 0;
}

.split-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.light-head p,
.light-head h2 {
    color: var(--white);
}

.section-link {
    color: var(--lava-700);
    background: var(--lava-50);
}

.section-link.light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 10px 32px rgba(24, 24, 27, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--volcanic-100);
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.poster-overlay {
    position: absolute;
    inset: auto 12px 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    color: var(--white);
    font-weight: 900;
    background: rgba(234, 88, 12, 0.92);
    transform: translateY(14px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.movie-card:hover .poster-overlay {
    transform: translateY(0);
    opacity: 1;
}

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 950;
    background: linear-gradient(135deg, var(--lava-600), var(--ember-500));
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.35);
}

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

.movie-meta-line {
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--volcanic-500);
}

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

.movie-card h2,
.rank-content h2,
.category-overview-text h2 {
    margin: 9px 0 8px;
    font-size: 1.1rem;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.movie-card h2 a:hover,
.rank-content h2 a:hover,
.category-overview-text h2 a:hover {
    color: var(--lava-700);
}

.movie-card p,
.rank-content p,
.category-card p,
.category-overview-text p {
    margin: 0;
    color: var(--volcanic-600);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tag-row span {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--lava-700);
    background: var(--lava-50);
    font-size: 0.76rem;
    font-weight: 800;
}

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

.movie-card-compact h2 {
    font-size: 1rem;
}

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

.category-card,
.category-overview-card,
.detail-side-card,
.detail-article {
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 12px 34px rgba(24, 24, 27, 0.08);
}

.category-card {
    overflow: hidden;
}

.category-card-main {
    display: block;
    min-height: 170px;
    padding: 22px;
    color: var(--white);
    background: radial-gradient(circle at 85% 0%, rgba(251, 146, 60, 0.42), transparent 32%), linear-gradient(135deg, var(--volcanic-800), var(--volcanic-950));
}

.category-card-main span {
    display: block;
    font-size: 1.3rem;
    font-weight: 950;
    margin-bottom: 12px;
}

.category-card-main p {
    color: rgba(255, 255, 255, 0.78);
}

.category-samples {
    display: grid;
    gap: 8px;
    padding: 16px 18px 18px;
}

.category-samples a {
    color: var(--volcanic-700);
    font-weight: 700;
}

.category-samples a:hover {
    color: var(--lava-700);
}

.rank-list {
    display: grid;
    gap: 14px;
}

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

.rank-item {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--volcanic-900);
    box-shadow: 0 10px 30px rgba(9, 9, 11, 0.12);
}

.rank-cover {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.rank-cover img {
    width: 86px;
    height: 118px;
    object-fit: cover;
}

.rank-cover span {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 950;
    background: linear-gradient(135deg, var(--lava-600), var(--ember-500));
}

.rank-content h2 {
    font-size: 1.1rem;
}

.rank-action,
.inline-action {
    color: var(--white);
    background: linear-gradient(135deg, var(--lava-600), var(--ember-500));
}

.page-main {
    background: var(--white);
}

.sub-hero {
    padding: 82px 0 70px;
    color: var(--white);
    background: radial-gradient(circle at 80% 0%, rgba(251, 146, 60, 0.28), transparent 34%), linear-gradient(135deg, var(--volcanic-800), var(--volcanic-950));
}

.sub-hero h1 {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.sub-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
}

.sub-hero .search-panel {
    max-width: 720px;
    margin-top: 28px;
}

.category-overview-list {
    display: grid;
    gap: 24px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 26px;
    padding: 24px;
    align-items: center;
}

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

.category-preview-posters a {
    display: grid;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--volcanic-700);
}

.category-preview-posters img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.page-filter {
    margin-bottom: 28px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.no-results {
    margin: 30px 0 0;
    padding: 20px;
    border-radius: var(--radius-md);
    color: var(--volcanic-700);
    background: var(--lava-50);
    font-weight: 800;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--volcanic-950);
}

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: blur(6px);
    transform: scale(1.08);
}

.detail-bg-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 9, 11, 0.96), rgba(9, 9, 11, 0.68));
}

.detail-hero-inner {
    position: relative;
    padding: 44px 0 64px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 28px;
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--lava-400);
}

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

.detail-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

.detail-copy h1 {
    font-size: clamp(2.4rem, 6vw, 5.4rem);
}

.detail-one-line {
    max-width: 850px;
    font-size: 1.16rem;
    color: rgba(255, 255, 255, 0.82);
}

.detail-tags span {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.player-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 34px;
    align-items: center;
}

.player-grid h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.player-grid p {
    color: rgba(255, 255, 255, 0.75);
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 16 / 9;
}

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

.player-video {
    z-index: 1;
    object-fit: contain;
    background: #000000;
}

.player-cover {
    z-index: 3;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #000000;
}

.player-cover.is-hidden {
    display: none;
}

.player-cover img {
    object-fit: cover;
    opacity: 0.76;
}

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(234, 88, 12, 0.12), rgba(0, 0, 0, 0.5));
}

.play-orb {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--lava-600), var(--ember-500));
    box-shadow: 0 18px 50px rgba(234, 88, 12, 0.42);
    font-size: 2rem;
    padding-left: 5px;
}

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

.detail-article,
.detail-side-card {
    padding: 30px;
}

.detail-article h2,
.detail-side-card h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.detail-article p {
    color: var(--volcanic-700);
    font-size: 1.05rem;
    margin: 0 0 28px;
}

.detail-side-card dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.detail-side-card div {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--volcanic-100);
}

.detail-side-card dt {
    color: var(--volcanic-500);
    font-size: 0.82rem;
    font-weight: 800;
}

.detail-side-card dd {
    margin: 0;
    color: var(--volcanic-900);
    font-weight: 800;
}

.site-footer {
    color: rgba(255, 255, 255, 0.76);
    background: var(--volcanic-950);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.7fr;
    gap: 40px;
}

.footer-logo {
    color: var(--white);
}

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 1rem;
}

.site-footer p {
    max-width: 520px;
}

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

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

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 34px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--lava-600), var(--ember-500));
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.35);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.search-item.is-hidden {
    display: none;
}

@media (max-width: 1180px) {
    .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .rank-list-home {
        grid-template-columns: 1fr;
    }
}

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

    .mobile-toggle {
        display: inline-flex;
    }

    .hero-content,
    .detail-layout,
    .player-grid,
    .detail-content-grid,
    .category-overview-card,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

    .split-head {
        display: grid;
        align-items: start;
    }

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

    .rank-item {
        grid-template-columns: 76px 1fr;
    }

    .rank-cover img {
        width: 76px;
        height: 106px;
    }

    .rank-action {
        grid-column: 1 / -1;
        width: 100%;
    }
}

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

    .section-spacing {
        padding: 48px 0;
    }

    .hero,
    .hero-content {
        min-height: 92vh;
    }

    .hero-search-wrap {
        width: calc(100% - 24px);
    }

    .search-panel {
        border-radius: 24px;
        flex-direction: column;
    }

    .search-panel input {
        min-width: 0;
    }

    .search-panel button {
        width: 100%;
    }

    .hero-controls {
        bottom: 128px;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .category-preview-posters {
        grid-template-columns: 1fr;
    }

    .detail-hero-inner {
        padding-top: 32px;
    }

    .play-orb {
        width: 66px;
        height: 66px;
        font-size: 1.45rem;
    }
}
