* {
    box-sizing: border-box;
}

:root {
    --bg: #fff7ed;
    --bg-soft: #fffbeb;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #fed7aa;
    --white: #ffffff;
    --orange: #f97316;
    --orange-dark: #c2410c;
    --amber: #f59e0b;
    --shadow: 0 20px 45px rgba(124, 45, 18, 0.14);
    --shadow-soft: 0 10px 25px rgba(124, 45, 18, 0.10);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 58%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(254, 215, 170, 0.75);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 26px rgba(124, 45, 18, 0.08);
}

.header-inner {
    max-width: 1280px;
    height: 70px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.32);
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-5deg);
}

.brand-text strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--orange-dark), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease;
}

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

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #fff7ed;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--orange-dark);
    border-radius: 999px;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #fb923c 0%, #f59e0b 45%, #fde047 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.30), transparent 24%),
        radial-gradient(circle at 82% 35%, rgba(255, 255, 255, 0.22), transparent 27%),
        linear-gradient(120deg, rgba(194, 65, 12, 0.45), rgba(255, 255, 255, 0.10));
}

.float-shape {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 28px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 28px;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(5px);
}

.float-shape.one {
    top: 70px;
    left: 7%;
    animation: float 6s ease-in-out infinite;
}

.float-shape.two {
    top: 130px;
    right: 9%;
    animation: floatTwo 7s ease-in-out infinite;
}

.float-shape.three {
    left: 22%;
    bottom: 70px;
    animation: floatThree 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-22px) rotate(5deg); }
}

@keyframes floatTwo {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-6deg); }
}

@keyframes floatThree {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-26px) rotate(4deg); }
}

.hero-viewport {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    min-height: 560px;
    margin: 0 auto;
    padding: 80px 24px;
}

.hero-slide {
    position: absolute;
    inset: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: 60px;
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

.hero-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-dark);
    background: #ffedd5;
    border: 1px solid #fdba74;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(8px);
}

.hero-copy h1 {
    margin: 22px 0 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    text-shadow: 0 16px 36px rgba(124, 45, 18, 0.28);
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 19px;
    text-shadow: 0 10px 22px rgba(124, 45, 18, 0.20);
}

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

.hero-tags span,
.tag-list span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--orange-dark);
    background: #fff7ed;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

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

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

.btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.34);
}

.hero-actions .btn.primary {
    color: var(--orange-dark);
    background: #fff;
    box-shadow: 0 14px 32px rgba(124, 45, 18, 0.24);
}

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

.btn.ghost.dark {
    color: var(--orange-dark);
    border-color: #fdba74;
    background: #fff7ed;
}

.btn:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    width: min(420px, 100%);
    aspect-ratio: 4 / 5;
    justify-self: center;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(124, 45, 18, 0.34);
    transform: rotate(2.5deg);
}

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

.hero-poster-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.35));
}

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(-50%);
}

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

.hero-prev,
.hero-next {
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 30px;
    line-height: 1;
}

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

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

.hero-dot.is-active {
    width: 28px;
    background: #fff;
}

.section-wrap,
.quick-search,
.category-band,
.detail-layout,
.watch-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px;
}

.soft-bg,
.category-band {
    max-width: none;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}

.category-band > .section-head,
.category-band > .category-grid,
.category-band.page-band > .category-grid {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-head.centered {
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-head h2,
.page-hero h1 {
    margin: 12px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-head p,
.page-hero p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.text-link {
    color: var(--orange-dark);
    font-weight: 800;
}

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

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

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

.movie-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(254, 215, 170, 0.88);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: #fb923c;
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #fed7aa;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
    opacity: 1;
}

.year-badge,
.rank-num {
    position: absolute;
    top: 12px;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    line-height: 1;
    padding: 7px 10px;
}

.year-badge {
    left: 12px;
    background: linear-gradient(135deg, var(--orange), var(--amber));
}

.rank-num {
    right: 12px;
    background: rgba(0, 0, 0, 0.72);
}

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

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.movie-card h3 {
    margin: 8px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover h3 a {
    color: var(--orange-dark);
}

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

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

.category-tile {
    min-height: 164px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 22px;
    color: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow);
}

.category-tile strong {
    font-size: 20px;
}

.category-tile small {
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.tile-icon {
    font-size: 24px;
}

.category-tile.orange,
.page-hero.orange { background: linear-gradient(135deg, #f97316, #f59e0b); }
.category-tile.red,
.page-hero.red { background: linear-gradient(135deg, #ef4444, #f97316); }
.category-tile.blue,
.page-hero.blue { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.category-tile.purple,
.page-hero.purple { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.category-tile.pink,
.page-hero.pink { background: linear-gradient(135deg, #ec4899, #fb7185); }
.category-tile.indigo,
.page-hero.indigo { background: linear-gradient(135deg, #4f46e5, #a855f7); }
.category-tile.teal,
.page-hero.teal { background: linear-gradient(135deg, #14b8a6, #06b6d4); }
.category-tile.green,
.page-hero.green { background: linear-gradient(135deg, #22c55e, #84cc16); }
.category-tile.amber,
.page-hero.amber { background: linear-gradient(135deg, #f59e0b, #facc15); }
.category-tile.cyan,
.page-hero.cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.category-tile.slate,
.page-hero.slate { background: linear-gradient(135deg, #334155, #f97316); }
.category-tile.rose,
.page-hero.rose { background: linear-gradient(135deg, #e11d48, #f59e0b); }

.page-hero {
    max-width: 1280px;
    margin: 34px auto 0;
    padding: 76px 32px;
    border-radius: 34px;
    color: #fff;
    background: linear-gradient(135deg, #fb923c, #facc15);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.page-hero .section-kicker {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.18);
}

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

.rank-hero {
    background: linear-gradient(135deg, #111827, #ea580c 55%, #f59e0b);
}

.search-hero {
    background: linear-gradient(135deg, #c2410c, #f97316 45%, #fde047);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 14px;
    margin-bottom: 28px;
    padding: 14px;
    border: 1px solid #fed7aa;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 16px;
    background: #fff7ed;
    color: var(--orange-dark);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.filter-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-control {
    min-height: 50px;
    min-width: 128px;
    border: 0;
    outline: 0;
    border-radius: 16px;
    color: var(--text);
    background: #fff7ed;
    padding: 0 12px;
}

.empty-state {
    margin-bottom: 24px;
    padding: 18px;
    color: var(--muted);
    border: 1px dashed #fdba74;
    border-radius: 18px;
    background: #fff7ed;
    text-align: center;
}

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

.category-row {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid #fed7aa;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-row:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-row img {
    width: 96px;
    height: 72px;
    flex: 0 0 auto;
    object-fit: cover;
    border-radius: 16px;
}

.category-row strong,
.category-row small {
    display: block;
}

.category-row small {
    color: var(--muted);
}

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

.detail-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: blur(10px) scale(1.08);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(194, 65, 12, 0.55));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 38px 24px 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

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

.breadcrumb em {
    font-style: normal;
    color: #fff;
}

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

.detail-cover {
    width: 280px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.36);
}

.detail-info h1 {
    margin: 0 0 16px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.one-line {
    max-width: 820px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-meta span {
    border-radius: 999px;
    padding: 6px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.tag-list.large span {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.14);
}

.watch-section {
    padding-top: 34px;
    padding-bottom: 34px;
}

.watch-shell {
    border-radius: 32px;
    padding: 12px;
    background: linear-gradient(135deg, #111827, #431407);
    box-shadow: var(--shadow);
}

.video-box {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #000;
    aspect-ratio: 16 / 9;
}

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

.play-layer {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-layer.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-disc {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    color: var(--orange-dark);
    background: #fff;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
    font-size: 36px;
    text-indent: 5px;
}

.play-layer strong {
    font-size: 20px;
}

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

.detail-main,
.detail-side {
    border: 1px solid #fed7aa;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.detail-main {
    padding: 34px;
}

.detail-section + .detail-section {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #ffedd5;
}

.detail-section h2,
.detail-side h2 {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.2;
}

.detail-section p {
    margin: 0;
    color: #374151;
    font-size: 17px;
    white-space: pre-wrap;
}

.detail-side {
    align-self: start;
    padding: 28px;
}

.detail-side dl {
    margin: 0;
}

.detail-side div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #ffedd5;
}

.detail-side div:last-child {
    border-bottom: 0;
}

.detail-side dt {
    color: var(--muted);
    font-weight: 800;
}

.detail-side dd {
    margin: 0;
}

.related-wrap {
    padding-top: 42px;
}

.site-footer {
    color: #e5e7eb;
    background: linear-gradient(180deg, #111827, #1f2937);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 46px 24px 30px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.footer-inner p {
    max-width: 520px;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.footer-links a:hover {
    color: #fdba74;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 14px;
}

[hidden],
.movie-card.is-hidden {
    display: none !important;
}

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

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

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

@media (max-width: 860px) {
    .header-inner {
        height: auto;
        min-height: 64px;
        flex-wrap: wrap;
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .nav-toggle {
        display: block;
    }

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

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

    .nav-link {
        padding: 11px 12px;
        border-radius: 14px;
        background: #fff7ed;
    }

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

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 26px;
        align-content: center;
        text-align: center;
    }

    .hero-copy {
        margin: 0 auto;
    }

    .hero-tags,
    .hero-actions {
        justify-content: center;
    }

    .hero-poster {
        width: min(300px, 86vw);
        aspect-ratio: 16 / 10;
        transform: none;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

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

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

    .detail-cover {
        width: min(260px, 70vw);
    }

    .footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .brand-text strong {
        font-size: 18px;
    }

    .hero-viewport {
        padding: 64px 18px;
    }

    .hero-slide {
        inset: 0 18px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

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

    .section-wrap,
    .quick-search,
    .category-band,
    .detail-layout,
    .watch-section {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .movie-grid,
    .movie-grid.small-grid,
    .movie-grid.compact-grid,
    .rank-grid,
    .category-grid,
    .category-list {
        grid-template-columns: 1fr;
    }

    .filter-selects {
        grid-template-columns: 1fr;
    }

    .page-hero {
        margin-left: 16px;
        margin-right: 16px;
        padding: 48px 22px;
        border-radius: 26px;
    }

    .detail-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .detail-main,
    .detail-side {
        padding: 22px;
        border-radius: 22px;
    }
}
