:root {
    --peach-50: #fff7ed;
    --peach-100: #ffedd5;
    --peach-200: #fed7aa;
    --peach-400: #fb923c;
    --peach-500: #ff7b44;
    --peach-600: #ea580c;
    --coral-400: #ff6450;
    --coral-500: #f9735b;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #ffe0c7;
    --card: #ffffff;
    --shadow: 0 18px 50px rgba(255, 123, 68, 0.16);
    --soft-shadow: 0 6px 22px rgba(255, 145, 85, 0.12);
    --radius: 24px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #fff8f0 44%, #ffffff 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    background: linear-gradient(135deg, var(--peach-500), var(--coral-400));
    box-shadow: 0 10px 26px rgba(255, 123, 68, 0.35);
}

.brand-text,
.footer-brand span:last-child,
.gradient-text {
    background: linear-gradient(90deg, var(--peach-500), var(--coral-400), var(--peach-500));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 26px;
    flex: 1;
    justify-content: flex-end;
}

.nav-panel > a {
    color: #374151;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-panel > a:hover {
    color: var(--peach-600);
}

.nav-search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--peach-200);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}

.nav-search input {
    width: 230px;
    border: 0;
    outline: 0;
    padding: 10px 14px 10px 18px;
    background: transparent;
}

.nav-search button {
    border: 0;
    color: #ffffff;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--peach-500), var(--coral-400));
    cursor: pointer;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--peach-100);
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    display: block;
    margin: 5px auto;
    border-radius: 999px;
}

.hero {
    position: relative;
    height: 72vh;
    min-height: 540px;
    overflow: hidden;
    background: #111827;
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-mask {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-mask {
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 123, 68, 0.18), transparent 34%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.16) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1180px;
}

.hero-labels,
.detail-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-labels a,
.hero-labels span,
.detail-labels a,
.detail-labels span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(255, 123, 68, 0.92);
    font-size: 14px;
    font-weight: 700;
}

.hero-labels span,
.detail-labels span {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 880px;
}

.hero h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(24px, 3.2vw, 44px);
}

.hero p {
    width: min(720px, 100%);
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255, 255, 255, 0.78);
}

.btn-primary,
.btn-ghost,
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 22px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--peach-500), var(--coral-400));
    box-shadow: 0 16px 35px rgba(255, 123, 68, 0.34);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(255, 123, 68, 0.42);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
}

.btn-line {
    color: var(--peach-600);
    border: 1px solid var(--peach-200);
    background: #ffffff;
}

.hero-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    font-size: 34px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
}

.quick-search,
.content-section,
.page-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.quick-search {
    margin-top: -38px;
    position: relative;
    z-index: 6;
}

.search-panel {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 420px) auto;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(255, 221, 190, 0.95);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.search-panel strong {
    display: block;
    font-size: 22px;
    margin-bottom: 5px;
}

.search-panel span {
    color: var(--muted);
}

.search-panel input,
.search-filter input,
.search-filter select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--peach-200);
    border-radius: 999px;
    padding: 0 16px;
    outline: 0;
    background: #ffffff;
}

.search-panel input:focus,
.search-filter input:focus,
.search-filter select:focus {
    border-color: var(--peach-400);
    box-shadow: 0 0 0 4px rgba(255, 123, 68, 0.14);
}

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

.soft-section {
    padding: 52px 24px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.92), rgba(255, 237, 213, 0.78));
}

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

.section-head h2,
.ranking-head h2,
.side-card h2,
.detail-block h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
}

.section-more,
.ranking-head a {
    color: var(--peach-600);
    font-weight: 800;
    white-space: nowrap;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111827;
}

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

.movie-card.featured .movie-cover {
    aspect-ratio: 16 / 12;
}

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

.movie-card:hover .movie-cover img,
.category-tile:hover img,
.overview-media:hover img {
    transform: scale(1.08);
}

.cover-shade,
.tile-overlay,
.overview-media span {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05) 55%);
}

.play-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%) scale(0.86);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--peach-600);
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.duration,
.rank-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 999px;
    padding: 5px 9px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.rank-badge {
    left: 10px;
    right: auto;
    top: 10px;
    bottom: auto;
    background: linear-gradient(135deg, var(--peach-500), var(--coral-400));
}

.movie-info {
    padding: 16px;
}

.movie-title {
    display: -webkit-box;
    min-height: 48px;
    margin-bottom: 8px;
    color: #111827;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-title:hover {
    color: var(--peach-600);
}

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

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

.movie-meta span,
.tag-row span,
.detail-tags a {
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--peach-600);
    background: var(--peach-50);
    font-size: 12px;
    font-weight: 700;
}

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

.category-tile {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 24px;
    background: #111827;
    box-shadow: var(--soft-shadow);
}

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

.tile-body {
    position: absolute;
    inset: auto 18px 18px;
    color: #ffffff;
}

.tile-body strong {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.tile-body em {
    display: block;
    font-style: normal;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

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

.ranking-panel,
.side-card,
.detail-main-card,
.category-overview-card,
.search-board {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--soft-shadow);
}

.ranking-panel {
    padding: 22px;
    position: sticky;
    top: 88px;
}

.ranking-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.compact-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.compact-card:hover {
    background: var(--peach-50);
}

.compact-cover {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    background: #111827;
}

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

.compact-rank {
    position: absolute;
    left: 6px;
    top: 6px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--peach-500), var(--coral-400));
    font-size: 12px;
    font-weight: 800;
}

.compact-body strong {
    display: -webkit-box;
    color: #111827;
    font-size: 14px;
    line-height: 1.45;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.compact-body em {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.page-main {
    padding: 34px 0 70px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 34px;
    border-radius: 34px;
    padding: clamp(36px, 7vw, 72px);
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.32), transparent 24%),
        linear-gradient(135deg, #ff7b44, #ff6450 45%, #3b1d13 100%);
    box-shadow: var(--shadow);
}

.page-hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}

.eyebrow {
    display: inline-flex;
    border-radius: 999px;
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 4px 0 22px;
    color: var(--muted);
    font-size: 14px;
}

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

.hero-inline-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.hero-inline-list .compact-card {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.hero-inline-list .compact-body strong,
.hero-inline-list .compact-body em {
    color: #ffffff;
}

.inner-section {
    width: 100%;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 24px;
    padding: 22px;
}

.overview-media {
    position: relative;
    min-height: 260px;
    border-radius: 22px;
    overflow: hidden;
    background: #111827;
}

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

.overview-body h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.overview-body p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.8;
}

.overview-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.overview-preview .compact-card {
    grid-template-columns: 72px minmax(0, 1fr);
    background: var(--peach-50);
}

.search-board {
    padding: 24px;
}

.search-filter {
    display: grid;
    grid-template-columns: 1fr 200px 180px auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 28px;
}

.search-filter label span {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 800;
}

.search-state {
    margin: 8px 0 22px;
    color: var(--muted);
}

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

.detail-main-card {
    overflow: hidden;
}

.player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #050505;
}

.player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000000;
    cursor: pointer;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.22));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.big-play {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--peach-600);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.player-toolbar {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.player-toolbar button {
    pointer-events: auto;
    border: 0;
    border-radius: 999px;
    padding: 9px 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--peach-500), var(--coral-400));
    cursor: pointer;
    font-weight: 800;
}

.player-toolbar span {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.detail-content {
    padding: 24px;
}

.detail-content h1 {
    margin: 0 0 16px;
    color: #111827;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 24px;
    color: var(--muted);
}

.detail-block {
    border-top: 1px solid #f3e2d2;
    padding-top: 22px;
    margin-top: 22px;
}

.detail-block h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.detail-block p,
.poster-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.9;
    white-space: pre-line;
}

.review-block {
    border-radius: 18px;
    border-top: 0;
    padding: 22px;
    background: linear-gradient(135deg, var(--peach-50), #fff1ea);
}

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

.detail-side {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 22px;
}

.side-card {
    padding: 20px;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 18px;
}

.poster-card h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: linear-gradient(135deg, var(--peach-50), #ffffff);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 46px 0 28px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
}

.footer-grid p {
    color: var(--muted);
    line-height: 1.8;
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--peach-600);
    background: #ffffff;
    border: 1px solid var(--peach-200);
}

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 30px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

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

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

    .ranking-panel,
    .detail-side {
        position: static;
    }

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

    .overview-preview,
    .hero-inline-list,
    .search-filter,
    .search-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav-shell {
        height: auto;
        min-height: 64px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-panel {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 0 4px;
    }

    .nav-panel.is-open {
        display: flex;
    }

    .nav-search {
        width: 100%;
    }

    .nav-search input {
        width: 100%;
    }

    .hero {
        height: auto;
        min-height: 620px;
    }

    .hero-content {
        padding: 76px 0 96px;
        justify-content: flex-end;
    }

    .hero-arrow {
        display: none;
    }

    .quick-search {
        margin-top: 22px;
    }

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

    .movie-grid,
    .compact-grid,
    .category-grid,
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

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

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

    .page-main {
        padding-top: 22px;
    }

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

    .hero-inline-list,
    .overview-preview {
        grid-template-columns: 1fr;
    }

    .detail-content {
        padding: 18px;
    }
}

@media (max-width: 520px) {
    .movie-grid,
    .compact-grid,
    .category-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .movie-card.small .movie-cover {
        aspect-ratio: 16 / 9;
    }

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