:root {
    color-scheme: light;
    --bg: #f9fafb;
    --surface: #ffffff;
    --surface-soft: #fff7ed;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --amber: #f59e0b;
    --black: #111827;
    --shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
    --shadow-soft: 0 14px 28px rgba(17, 24, 39, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1180px;
    height: 68px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--orange-dark);
    font-weight: 900;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
    font-size: 14px;
}

.brand-text {
    font-size: 22px;
    letter-spacing: -0.03em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--orange-dark);
}

.header-search,
.mobile-search,
.hero-search,
.wide-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search {
    width: 280px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.wide-search input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    outline: none;
    padding: 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.wide-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: rgba(249, 115, 22, 0.7);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.header-search button,
.mobile-search button,
.hero-search button,
.wide-search button {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: #ffffff;
    font-weight: 800;
    padding: 0 18px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
}

.mobile-panel {
    display: none;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 18px;
}

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

.mobile-link {
    padding: 10px 0;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.26), transparent 35%), linear-gradient(135deg, #f97316, #f59e0b 55%, #111827 140%);
    color: #ffffff;
}

.hero-section::before,
.hero-section::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    filter: blur(6px);
}

.hero-section::before {
    width: 360px;
    height: 360px;
    right: -90px;
    top: -120px;
}

.hero-section::after {
    width: 220px;
    height: 220px;
    left: 8%;
    bottom: -120px;
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 44px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 76px 20px 82px;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-copy .lead-text {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;
    padding: 7px 12px;
}

.hero-search {
    max-width: 640px;
    margin-top: 30px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
}

.hero-search input {
    border-color: rgba(255, 255, 255, 0.42);
}

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

.primary-btn,
.secondary-btn,
.text-link,
.slide-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
    min-height: 46px;
    background: var(--orange);
    color: #ffffff;
    padding: 0 22px;
    border: 0;
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.25);
}

.hero-section .primary-btn {
    background: #ffffff;
    color: var(--orange-dark);
}

.secondary-btn {
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 0 22px;
}

.detail-actions .secondary-btn {
    border-color: rgba(249, 115, 22, 0.35);
    color: var(--orange-dark);
    background: #fff7ed;
}

.primary-btn:hover,
.secondary-btn:hover,
.text-link:hover,
.slide-link:hover {
    transform: translateY(-2px);
}

.hero-categories,
.hero-mini-links,
.category-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-categories a,
.hero-mini-links a,
.category-mini-links a {
    border-radius: 999px;
    color: inherit;
    background: rgba(255, 255, 255, 0.16);
    padding: 8px 13px;
    font-size: 14px;
    font-weight: 800;
}

.category-mini-links a,
.hero-mini-links a {
    background: #fff7ed;
    color: var(--orange-dark);
}

.hero-carousel {
    position: relative;
    min-height: 520px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 34px;
    background: rgba(17, 24, 39, 0.35);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(28px) scale(0.98);
    transition: opacity 0.42s ease, transform 0.42s ease;
    pointer-events: none;
}

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

.hero-image {
    position: relative;
    min-height: 330px;
    overflow: hidden;
}

.hero-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.88));
}

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

.hero-slide-copy {
    position: relative;
    z-index: 1;
    padding: 28px;
    margin-top: -110px;
}

.hero-slide-copy h2 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
}

.hero-slide-copy p {
    color: rgba(255, 255, 255, 0.86);
}

.slide-link {
    min-height: 42px;
    margin-top: 18px;
    background: #ffffff;
    color: var(--orange-dark);
    padding: 0 18px;
}

.hero-controls {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-controls button {
    border: 0;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.hero-controls > button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    font-size: 28px;
}

.hero-dots {
    display: flex;
    gap: 7px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 999px;
    opacity: 0.55;
}

.hero-dot.is-active {
    width: 24px;
    opacity: 1;
    background: #ffffff;
}

.content-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 20px;
}

.soft-section {
    max-width: none;
    padding-left: max(20px, calc((100vw - 1180px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1180px) / 2 + 20px));
    background: linear-gradient(90deg, #fff7ed, #fffbeb);
}

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

.section-heading span {
    color: var(--orange-dark);
    font-weight: 900;
}

.section-heading h2 {
    margin: 2px 0 0;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.04em;
}

.section-heading a,
.text-link {
    color: var(--orange-dark);
    font-weight: 900;
}

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

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

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

.movie-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

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

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

.poster-frame figcaption {
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.94);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 9px;
}

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.tag-row,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-row span,
.detail-tags span {
    border-radius: 999px;
    background: #fff7ed;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
}

.hero-slide .tag-row span {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.movie-card h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 12px 0 8px;
    overflow: hidden;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-card p {
    display: -webkit-box;
    min-height: 45px;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    color: var(--muted);
    font-size: 14px;
}

.movie-meta strong {
    color: var(--orange-dark);
}

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

.category-tile,
.category-overview-card {
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.12);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.category-tile {
    display: block;
    padding: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-thumbs,
.category-cover {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.category-thumbs img,
.category-cover img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    object-fit: cover;
    background: #fed7aa;
}

.category-tile h3,
.category-overview-card h2 {
    margin: 16px 0 8px;
    font-size: 22px;
}

.category-tile p,
.category-overview-card p {
    margin: 0;
    color: var(--muted);
}

.ranking-section {
    max-width: none;
    background: #111827;
    color: #ffffff;
    padding-left: max(20px, calc((100vw - 1180px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1180px) / 2 + 20px));
}

.dark-heading a,
.dark-heading span {
    color: #fed7aa;
}

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

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

.ranking-item {
    display: grid;
    grid-template-columns: auto 54px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.ranking-item img {
    width: 54px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    background: #fed7aa;
}

.rank-number {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: #ffffff;
    font-weight: 900;
}

.ranking-title {
    overflow: hidden;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-meta {
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    white-space: nowrap;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: #ffffff;
}

.page-hero > div {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 20px;
}

.small-hero > div,
.search-hero > div,
.ranking-hero > div,
.category-hero > div {
    padding-top: 58px;
    padding-bottom: 58px;
}

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

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

.category-hero .breadcrumb,
.detail-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.78);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-cover {
    grid-template-columns: repeat(3, 1fr);
    align-self: start;
}

.filter-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 26px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: 14px;
}

.filter-bar select {
    width: 180px;
}

.empty-state {
    display: none;
    margin: 32px 0 0;
    border-radius: 18px;
    background: #ffffff;
    color: var(--muted);
    padding: 26px;
    text-align: center;
}

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

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.32;
}

.detail-backdrop::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #111827 0%, rgba(17, 24, 39, 0.82) 48%, rgba(17, 24, 39, 0.38));
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px) saturate(1.12);
    transform: scale(1.04);
}

.detail-shell {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 46px 20px 66px;
}

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

.detail-poster {
    margin: 0;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

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

.detail-tags {
    margin-top: 22px;
}

.detail-tags span {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.detail-content {
    padding-top: 42px;
}

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

.movie-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #05070d;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    border: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.86));
    color: #ffffff;
    text-align: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-pulse {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 14px rgba(249, 115, 22, 0.16);
    font-size: 30px;
}

.player-cover strong {
    max-width: min(760px, 90%);
    font-size: clamp(22px, 4vw, 42px);
}

.player-cover em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.82);
}

.player-start {
    margin-top: 18px;
}

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

.detail-main-text,
.detail-side {
    min-width: 0;
}

.detail-text-block,
.detail-side {
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: 26px;
}

.detail-text-block + .detail-text-block {
    margin-top: 20px;
}

.detail-text-block h2,
.detail-side h2 {
    margin: 0 0 14px;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.detail-text-block p {
    margin: 0;
    color: #374151;
    line-height: 1.85;
}

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

.info-list div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 10px;
}

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

.info-list dd {
    margin: 0;
    color: var(--ink);
}

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

.detail-side .ranking-item {
    grid-template-columns: 48px minmax(0, 1fr);
    background: #fff7ed;
    color: var(--ink);
}

.detail-side .ranking-item .ranking-meta,
.detail-side .ranking-item .rank-number {
    display: none;
}

.detail-side .ranking-item img {
    width: 48px;
    height: 64px;
}

.site-footer {
    margin-top: 48px;
    background: #111827;
    color: #d1d5db;
}

.footer-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 20px 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-grid h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 18px;
}

.footer-brand {
    color: #fb923c !important;
    font-size: 24px !important;
}

.footer-grid p,
.footer-grid ul {
    margin: 0;
    padding: 0;
}

.footer-grid ul {
    display: grid;
    gap: 8px;
    list-style: none;
}

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

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

@media (max-width: 1080px) {
    .header-search {
        display: none;
    }

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

    .hero-carousel {
        min-height: 500px;
    }

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

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

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

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

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .brand-text {
        font-size: 19px;
    }

    .hero-shell {
        padding-top: 46px;
        padding-bottom: 54px;
    }

    .hero-search,
    .wide-search,
    .filter-bar {
        align-items: stretch;
        flex-direction: column;
        border-radius: 24px;
    }

    .hero-search button,
    .wide-search button,
    .filter-bar select {
        width: 100%;
    }

    .hero-carousel {
        min-height: 470px;
    }

    .hero-image {
        min-height: 300px;
    }

    .hero-controls {
        left: 20px;
        right: auto;
    }

    .content-section,
    .soft-section,
    .ranking-section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

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

    .movie-grid,
    .category-movie-grid,
    .category-grid,
    .ranking-list,
    .full-ranking,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .movie-grid {
        gap: 18px;
    }

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

    .poster-frame {
        height: 100%;
        min-height: 184px;
        aspect-ratio: auto;
    }

    .movie-card h3 {
        min-height: auto;
        font-size: 17px;
    }

    .category-overview-card {
        grid-template-columns: 1fr;
    }

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

    .ranking-meta {
        display: none;
    }

    .detail-shell {
        padding-top: 34px;
        padding-bottom: 44px;
    }

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

    .detail-tags span {
        background: #fff7ed;
        color: var(--orange-dark);
    }

    .detail-layout {
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-copy h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 34px;
    }

    .hero-slide-copy {
        padding: 22px;
    }

    .movie-card > a {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .poster-frame {
        min-height: 168px;
    }

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

    .tag-row span:nth-child(n + 3) {
        display: none;
    }
}
