:root {
    --primary-50: #faf8f5;
    --primary-100: #f5f0e8;
    --primary-600: #a67c4a;
    --primary-700: #8a6640;
    --secondary-50: #f0f9ff;
    --secondary-600: #0284c7;
    --accent-50: #fffbeb;
    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(41, 37, 36, 0.08);
    --shadow-md: 0 12px 30px rgba(41, 37, 36, 0.12);
    --shadow-lg: 0 24px 60px rgba(41, 37, 36, 0.18);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
    background: var(--neutral-50);
    color: var(--neutral-800);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(var(--container), calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    box-shadow: 0 10px 22px rgba(166, 124, 74, 0.24);
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-copy strong {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--neutral-800);
}

.brand-copy em {
    font-style: normal;
    font-size: 12px;
    color: var(--neutral-500);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    white-space: nowrap;
}

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-700);
    transition: color 0.2s ease;
}

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

.menu-toggle {
    display: none;
    border: 0;
    border-radius: 10px;
    padding: 8px 10px;
    color: var(--neutral-700);
    background: var(--neutral-100);
}

.mobile-nav {
    display: none;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.mobile-nav a {
    display: block;
    padding: 10px 8px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--neutral-700);
}

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

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

.hero-section {
    position: relative;
    min-height: 560px;
    height: 72vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-100), var(--secondary-50), var(--accent-50));
}

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

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

.hero-backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    filter: saturate(1.05);
}

.hero-backdrop div {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.2)),
        linear-gradient(0deg, var(--neutral-50), rgba(255, 255, 255, 0));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--container), calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 380px);
    align-items: center;
    gap: 56px;
    padding: 52px 0 72px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--primary-600);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    color: var(--neutral-900);
}

.hero-copy p {
    max-width: 680px;
    margin: 22px 0 0;
    font-size: 18px;
    color: var(--neutral-600);
}

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

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

.hero-tags span,
.tag-row span,
.genre-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--primary-700);
    background: rgba(166, 124, 74, 0.1);
    font-size: 12px;
    font-weight: 700;
}

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

.primary-button,
.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    box-shadow: 0 14px 26px rgba(166, 124, 74, 0.28);
}

.secondary-button {
    color: var(--secondary-600);
    background: var(--white);
    border: 1px solid rgba(2, 132, 199, 0.16);
}

.ghost-button {
    color: var(--neutral-700);
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(120, 113, 108, 0.18);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-poster {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    overflow: hidden;
    background: var(--neutral-200);
    box-shadow: var(--shadow-lg);
    transform: rotate(1deg);
}

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

.hero-poster:hover img {
    transform: scale(1.06);
}

.hero-poster span {
    position: absolute;
    left: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--primary-700);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
}

.hero-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--neutral-700);
    background: var(--white);
    font-size: 24px;
    line-height: 1;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    background: var(--neutral-300);
}

.hero-dot.active {
    width: 26px;
    border-radius: 999px;
    background: var(--primary-600);
}

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

.search-band {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 28px;
    margin-top: -42px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(14px);
}

.home-search,
.search-box {
    display: flex;
    gap: 12px;
}

.home-search input,
.search-box input,
.filter-search {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--neutral-200);
    border-radius: 999px;
    padding: 0 18px;
    outline: none;
    color: var(--neutral-800);
    background: var(--white);
}

.home-search input:focus,
.search-box input:focus,
.filter-search:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 4px rgba(166, 124, 74, 0.12);
}

.home-search button,
.search-box button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 0 24px;
    color: var(--white);
    background: var(--primary-600);
    font-weight: 800;
    cursor: pointer;
}

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

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

.section-head.compact {
    display: block;
    margin-bottom: 0;
}

.section-head.no-link,
.section-head.compact-head {
    display: block;
}

.section-head span {
    display: block;
    margin-bottom: 6px;
    color: var(--primary-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--neutral-900);
}

.section-head a {
    color: var(--primary-600);
    font-weight: 800;
}

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--neutral-200);
}

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

.movie-card:hover .movie-cover img {
    transform: scale(1.07);
}

.movie-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0));
    transition: opacity 0.24s ease;
}

.movie-card:hover .movie-cover::after {
    opacity: 1;
}

.movie-play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--primary-700);
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.rank-badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    font-weight: 900;
    box-shadow: var(--shadow-sm);
}

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

.movie-meta {
    margin-bottom: 6px;
    color: var(--neutral-500);
    font-size: 13px;
    font-weight: 700;
}

.movie-card h3 {
    margin: 0;
    color: var(--neutral-900);
    font-size: 18px;
    line-height: 1.28;
}

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

.movie-card p {
    min-height: 44px;
    margin: 10px 0 14px;
    color: var(--neutral-600);
    font-size: 14px;
}

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

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

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

.soft-panel {
    width: 100%;
    max-width: none;
    padding: 72px max(16px, calc((100% - var(--container)) / 2)) 0;
    background: linear-gradient(180deg, rgba(245, 240, 232, 0.62), rgba(250, 250, 249, 0));
}

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

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

.category-tile {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border-radius: 22px;
    color: var(--white);
    background: var(--neutral-900);
    box-shadow: var(--shadow-sm);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(28, 25, 23, 0.9), rgba(28, 25, 23, 0.04));
}

.category-tile:hover img {
    opacity: 0.62;
    transform: scale(1.08);
}

.category-tile span,
.category-tile em {
    position: relative;
    z-index: 2;
}

.category-tile span {
    font-size: 22px;
    font-weight: 900;
}

.category-tile em {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
    font-size: 14px;
}

.movie-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
}

.movie-strip .movie-card {
    scroll-snap-align: start;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    gap: 40px;
    align-items: start;
}

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

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

.mini-list a {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-list a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.mini-list img {
    width: 88px;
    height: 66px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--neutral-200);
}

.mini-list strong,
.mini-list em {
    display: block;
}

.mini-list strong {
    margin-bottom: 4px;
    color: var(--neutral-900);
}

.mini-list em {
    color: var(--neutral-600);
    font-style: normal;
    font-size: 13px;
}

.page-hero {
    width: min(var(--container), calc(100% - 32px));
    margin: 34px auto 0;
    padding: 58px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-100), var(--secondary-50), var(--accent-50));
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.small-hero h1,
.category-hero h1,
.ranking-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--neutral-600);
    font-size: 18px;
}

.filter-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
    padding: 18px;
    border: 1px solid var(--neutral-200);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-hints span {
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--neutral-600);
    background: var(--neutral-100);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.search-box {
    max-width: 760px;
    margin-bottom: 18px;
}

.search-summary {
    margin-bottom: 20px;
    color: var(--neutral-600);
    font-weight: 800;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    background: var(--neutral-900);
}

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

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: blur(2px) saturate(1.1);
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.95), rgba(28, 25, 23, 0.72), rgba(28, 25, 23, 0.28));
}

.detail-inner {
    position: relative;
    z-index: 2;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    min-height: 520px;
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 44px;
    padding: 48px 0;
}

.detail-poster {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 26px;
    background: var(--neutral-200);
    box-shadow: var(--shadow-lg);
}

.detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

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

.detail-one-line {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.detail-meta span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 800;
}

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

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

.player-column,
.related-column {
    display: grid;
    gap: 22px;
}

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

.player-shell video {
    width: 100%;
    height: 100%;
    background: #000000;
}

.player-start {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--primary-700);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.26), rgba(0, 0, 0, 0.48));
    cursor: pointer;
}

.player-start span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-md);
    font-size: 28px;
}

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

.story-card {
    padding: 26px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.story-card h2 {
    margin: 0 0 12px;
    color: var(--neutral-900);
    font-size: 24px;
    letter-spacing: -0.02em;
}

.story-card h2:not(:first-child) {
    margin-top: 28px;
}

.story-card p {
    margin: 0;
    color: var(--neutral-600);
    font-size: 16px;
}

.genre-row {
    margin-top: 24px;
}

.related-list {
    display: grid;
    gap: 16px;
}

.related-list .movie-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    min-height: 128px;
}

.related-list .movie-cover {
    aspect-ratio: auto;
    height: 100%;
}

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

.related-list .tag-row {
    display: none;
}

.site-footer {
    margin-top: 80px;
    color: var(--neutral-300);
    background: var(--neutral-900);
}

.footer-inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.8fr;
    gap: 34px;
    padding: 48px 0;
}

.footer-brand {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
}

.footer-about p {
    max-width: 520px;
    margin: 0;
    color: var(--neutral-300);
}

.site-footer h3 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 15px;
}

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

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

.footer-bottom {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--neutral-500);
    font-size: 13px;
}

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

@media (max-width: 1080px) {
    .main-nav {
        gap: 16px;
    }

    .main-nav a:nth-last-child(-n + 4) {
        display: none;
    }

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

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

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

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

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

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

    .hero-section {
        height: auto;
        min-height: 760px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 0 96px;
    }

    .hero-poster {
        width: min(320px, 86vw);
        justify-self: center;
    }

    .search-band {
        grid-template-columns: 1fr;
        margin-top: -28px;
    }

    .movie-grid,
    .featured-grid,
    .ranking-grid,
    .category-grid,
    .category-grid.large,
    .ranking-list,
    .related-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero {
        padding: 36px 24px;
        border-radius: 24px;
    }

    .detail-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .detail-poster {
        width: min(280px, 76vw);
    }

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

@media (max-width: 560px) {
    .header-inner {
        height: 62px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy em {
        display: none;
    }

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

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

    .hero-actions,
    .home-search,
    .search-box {
        flex-direction: column;
    }

    .home-search button,
    .search-box button {
        width: 100%;
    }

    .content-section {
        padding-top: 48px;
    }

    .section-head {
        display: block;
    }

    .section-head a {
        display: inline-block;
        margin-top: 10px;
    }

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

    .related-list .movie-card {
        grid-template-columns: 118px 1fr;
    }

    .movie-strip {
        grid-auto-columns: minmax(220px, 82vw);
    }

    .story-card {
        padding: 20px;
    }
}
