:root {
    --cream-50: #fefdfb;
    --cream-100: #faf3e8;
    --cream-200: #f2dfc4;
    --cream-300: #e6c59b;
    --coffee-100: #e9d8c4;
    --coffee-200: #d3b28c;
    --coffee-400: #9b6b43;
    --coffee-500: #835733;
    --coffee-600: #6e4527;
    --coffee-700: #5b341b;
    --coffee-800: #3d2717;
    --coffee-900: #2a1f15;
    --white: #ffffff;
    --black: #090603;
    --shadow-soft: 0 16px 42px rgba(61, 39, 23, 0.11);
    --shadow-strong: 0 26px 70px rgba(42, 31, 21, 0.22);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--coffee-900);
    background: var(--cream-50);
    line-height: 1.65;
}

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

img {
    height: auto;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

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

.bg-white {
    background: var(--white);
}

.bg-black-section {
    background: radial-gradient(circle at center, #211409 0%, #080604 76%);
}

.card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(230, 197, 155, 0.42);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(254, 253, 251, 0.9);
    border-bottom: 1px solid rgba(230, 197, 155, 0.45);
    backdrop-filter: blur(18px);
}

.nav-shell {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--cream-50);
    background: linear-gradient(135deg, var(--coffee-600), var(--coffee-900));
    border-radius: 50%;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(91, 52, 27, 0.28);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text span {
    color: var(--coffee-800);
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-text small {
    margin-top: 3px;
    color: var(--coffee-500);
    font-size: 12px;
    white-space: nowrap;
}

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

.nav-link {
    position: relative;
    color: var(--coffee-600);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: var(--coffee-600);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--coffee-900);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.top-search,
.mobile-search {
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cream-100);
    border: 1px solid var(--cream-300);
    border-radius: 999px;
}

.top-search input,
.mobile-search input {
    width: 240px;
    min-width: 0;
    padding: 10px 14px 10px 18px;
    color: var(--coffee-900);
    background: transparent;
    border: 0;
    outline: 0;
}

.top-search button,
.mobile-search button {
    padding: 10px 18px;
    color: var(--cream-50);
    background: var(--coffee-700);
    border: 0;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: var(--cream-100);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--coffee-700);
    border-radius: 99px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid var(--cream-200);
    background: rgba(255, 255, 255, 0.96);
}

.mobile-panel.is-open {
    display: block;
}

.mobile-panel-inner {
    padding: 16px 0 20px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--coffee-700);
    border-radius: 14px;
    font-weight: 700;
}

.mobile-nav-link.is-active,
.mobile-nav-link:hover {
    background: var(--cream-100);
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: var(--cream-50);
    background: var(--coffee-900);
}

.hero-track {
    min-height: 680px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: scale(1.02);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.05);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 76% 35%, rgba(250, 243, 232, 0.12), transparent 27%),
        linear-gradient(90deg, rgba(9, 6, 3, 0.88), rgba(42, 31, 21, 0.62) 45%, rgba(9, 6, 3, 0.34)),
        linear-gradient(180deg, rgba(9, 6, 3, 0.22), rgba(9, 6, 3, 0.84));
}

.hero-content {
    position: relative;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 56px;
    padding-top: 52px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coffee-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-copy .eyebrow,
.ranking-hero .eyebrow {
    color: var(--cream-300);
}

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

.hero-copy p,
.ranking-hero p,
.page-hero p,
.detail-lead {
    max-width: 720px;
    margin: 0;
    font-size: 18px;
    color: rgba(254, 253, 251, 0.84);
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-tags {
    margin-top: 26px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    color: var(--coffee-800);
    background: var(--cream-100);
    border: 1px solid rgba(230, 197, 155, 0.54);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: var(--cream-50);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

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

.btn-primary,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    color: var(--cream-50);
    background: linear-gradient(135deg, var(--coffee-600), var(--coffee-900));
    box-shadow: 0 16px 34px rgba(42, 31, 21, 0.24);
}

.btn-primary:hover,
.btn-ghost:hover,
.movie-card:hover {
    transform: translateY(-3px);
}

.btn-ghost {
    color: var(--cream-50);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: relative;
    align-self: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: rotate(2deg);
}

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

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-arrow,
.hero-dot {
    pointer-events: auto;
}

.hero-arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--cream-50);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
    backdrop-filter: blur(12px);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.hero-dot.is-active {
    width: 32px;
    background: var(--cream-50);
}

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

.section-heading h2,
.panel-title,
.detail-article h2,
.detail-side h2 {
    margin: 8px 0 0;
    color: var(--coffee-900);
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.compact-heading {
    align-items: center;
}

.text-link {
    color: var(--coffee-600);
    font-weight: 800;
}

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

.category-tile {
    min-height: 136px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--white), var(--cream-100));
    border: 1px solid rgba(230, 197, 155, 0.55);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.category-tile span {
    color: var(--coffee-900);
    font-size: 22px;
    font-weight: 900;
}

.category-tile small {
    margin-top: 16px;
    color: var(--coffee-500);
    font-size: 14px;
}

.movie-grid {
    display: grid;
    gap: 20px;
}

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

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

.movie-card {
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    box-shadow: var(--shadow-strong);
}

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

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

.movie-card:hover .poster-link img,
.media-row:hover .media-thumb img,
.ranking-card:hover img {
    transform: scale(1.06);
}

.poster-shade {
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
}

.card-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 10px;
    color: var(--cream-50);
    background: rgba(42, 31, 21, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

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

.movie-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--coffee-500);
    font-size: 12px;
    font-weight: 800;
}

.movie-meta-line span + span::before {
    content: "·";
    margin-right: 8px;
    color: var(--coffee-300);
}

.movie-card h3,
.ranking-card h3 {
    margin: 8px 0 8px;
    color: var(--coffee-900);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.movie-card p,
.ranking-card p {
    min-height: 48px;
    margin: 0 0 12px;
    color: var(--coffee-500);
    font-size: 14px;
    line-height: 1.55;
}

.movie-card-compact h3 {
    font-size: 16px;
}

.movie-card-compact p {
    min-height: 42px;
    font-size: 13px;
}

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

.ranking-panel {
    position: sticky;
    top: 98px;
    padding: 22px;
    background: linear-gradient(180deg, var(--coffee-900), var(--coffee-700));
    border-radius: 28px;
    color: var(--cream-50);
    box-shadow: var(--shadow-strong);
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
    color: var(--cream-50);
    font-size: 22px;
}

.panel-title a {
    color: var(--cream-300);
    font-size: 13px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-no {
    color: var(--cream-300);
    font-weight: 900;
}

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

.rank-meta {
    color: var(--cream-300);
    font-size: 12px;
}

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

.media-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    background: var(--white);
    border: 1px solid rgba(230, 197, 155, 0.42);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.media-thumb {
    width: 132px;
    height: 82px;
    overflow: hidden;
    background: var(--coffee-200);
    border-radius: 14px;
}

.media-copy strong,
.media-copy em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-copy strong {
    color: var(--coffee-900);
    font-weight: 900;
    white-space: nowrap;
}

.media-copy em {
    margin-top: 4px;
    color: var(--coffee-500);
    font-size: 13px;
    font-style: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.media-year {
    color: var(--coffee-500);
    font-size: 13px;
    font-weight: 800;
}

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

.page-hero {
    padding: 92px 0 64px;
    background:
        radial-gradient(circle at 82% 20%, rgba(230, 197, 155, 0.28), transparent 25%),
        linear-gradient(180deg, var(--cream-100), var(--cream-50));
}

.page-hero p {
    color: var(--coffee-600);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--coffee-500);
    font-size: 13px;
    font-weight: 700;
}

.breadcrumb a {
    color: var(--coffee-700);
}

.filter-box {
    max-width: 900px;
    margin-top: 28px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(230, 197, 155, 0.52);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.filter-box input {
    width: 100%;
    padding: 14px 16px;
    color: var(--coffee-900);
    background: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: 999px;
    outline: 0;
}

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

.filter-buttons button {
    padding: 8px 14px;
    color: var(--coffee-700);
    background: var(--cream-100);
    border: 1px solid var(--cream-300);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.filter-buttons button.is-active,
.filter-buttons button:hover {
    color: var(--cream-50);
    background: var(--coffee-700);
}

.movie-card.is-hidden,
.ranking-card.is-hidden {
    display: none;
}

.ranking-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--cream-50);
    background: var(--black);
}

.ranking-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-hero-copy {
    position: relative;
    padding-top: 44px;
}

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

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

.ranking-poster {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    background: var(--coffee-200);
}

.ranking-number {
    position: absolute;
    z-index: 2;
    left: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--cream-50);
    background: var(--coffee-800);
    border-radius: 50%;
    font-weight: 900;
}

.ranking-copy {
    padding: 16px;
}

.detail-hero {
    padding: 76px 0 56px;
    background:
        radial-gradient(circle at 74% 22%, rgba(230, 197, 155, 0.26), transparent 24%),
        linear-gradient(135deg, var(--cream-100), var(--cream-50));
}

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

.detail-poster {
    aspect-ratio: 3 / 4.15;
    background: var(--coffee-200);
}

.detail-copy h1 {
    color: var(--coffee-900);
}

.detail-lead {
    color: var(--coffee-600);
}

.detail-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 18px;
    padding: 0;
    list-style: none;
}

.detail-info li {
    padding: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(230, 197, 155, 0.5);
    border-radius: 16px;
}

.detail-info span,
.detail-info strong {
    display: block;
}

.detail-info span {
    color: var(--coffee-500);
    font-size: 12px;
}

.detail-info strong {
    margin-top: 3px;
    color: var(--coffee-900);
    font-size: 15px;
}

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

.player-shell {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
}

.movie-player {
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    color: var(--cream-50);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
    border: 0;
    font-size: 17px;
    font-weight: 900;
    z-index: 4;
}

.play-overlay.is-hidden {
    display: none;
}

.play-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    color: var(--coffee-900);
    background: var(--cream-50);
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

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

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

.detail-article h2,
.detail-side h2 {
    font-size: 24px;
}

.detail-article p {
    margin: 14px 0 26px;
    color: var(--coffee-700);
    font-size: 16px;
}

.detail-side dl {
    margin: 16px 0 0;
}

.detail-side dt {
    margin-top: 14px;
    color: var(--coffee-500);
    font-size: 13px;
    font-weight: 800;
}

.detail-side dd {
    margin: 4px 0 0;
    color: var(--coffee-900);
    font-weight: 800;
}

.site-footer {
    color: var(--cream-200);
    background: linear-gradient(180deg, var(--coffee-900), #140d08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 28px;
    padding: 52px 0;
}

.footer-brand {
    color: var(--cream-50);
    font-size: 22px;
    font-weight: 900;
}

.site-footer p {
    max-width: 460px;
    margin: 12px 0 0;
    color: var(--cream-300);
}

.site-footer h3 {
    margin: 0 0 14px;
    color: var(--cream-50);
    font-size: 16px;
}

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

.footer-links a {
    color: var(--cream-300);
}

.footer-links a:hover {
    color: var(--cream-50);
}

.footer-bottom {
    padding: 18px 16px;
    color: var(--cream-300);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

    .menu-toggle {
        display: block;
    }

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

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

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

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

    .ranking-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .section-padding {
        padding: 52px 0;
    }

    .nav-shell {
        height: 68px;
    }

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

    .brand-text span {
        max-width: 210px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 15px;
    }

    .brand-text small {
        display: none;
    }

    .hero-carousel,
    .hero-track,
    .hero-content {
        min-height: 650px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-content: center;
        padding-top: 44px;
    }

    .hero-poster {
        display: none;
    }

    .hero-controls {
        bottom: 20px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

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

    .category-grid,
    .movie-grid-large,
    .movie-grid-compact,
    .media-list,
    .ranking-grid {
        grid-template-columns: 1fr;
    }

    .media-row {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .media-thumb {
        width: 112px;
        height: 74px;
    }

    .media-year {
        display: none;
    }

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

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

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

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

    .player-shell {
        border-radius: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }
}

@media (max-width: 420px) {
    .container-custom {
        width: min(var(--container), calc(100% - 24px));
    }

    .hero-copy h1,
    .ranking-hero h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: 34px;
    }

    .hero-copy p,
    .ranking-hero p,
    .page-hero p,
    .detail-lead {
        font-size: 16px;
    }

    .detail-info {
        grid-template-columns: 1fr;
    }
}
