:root {
    color-scheme: light;
    --bg: #fffaf0;
    --panel: #ffffff;
    --ink: #18120a;
    --muted: #725b38;
    --line: rgba(146, 96, 31, 0.18);
    --brand: #d97706;
    --brand-dark: #92400e;
    --brand-soft: #fff7ed;
    --shadow: 0 18px 45px rgba(88, 55, 20, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(251, 191, 36, 0.20), transparent 32rem),
        linear-gradient(180deg, #fff8eb 0%, #fffaf0 42%, #ffffff 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
    max-width: 100%;
}

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

button,
input {
    font: inherit;
}

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

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    box-shadow: 0 12px 28px rgba(217, 119, 6, 0.35);
}

.logo-text {
    font-size: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a,
.quick-nav a {
    border-radius: 999px;
    color: #6b4f2a;
    transition: all 0.2s ease;
}

.main-nav a {
    padding: 9px 14px;
    font-size: 15px;
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a.is-active,
.quick-nav a:hover {
    color: #ffffff;
    background: var(--brand);
}

.header-search {
    margin-left: auto;
    min-width: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(146, 64, 14, 0.08);
}

.header-search input,
.large-search input,
.section-head input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.header-search input {
    padding: 10px 14px 10px 18px;
}

.header-search button,
.large-search button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.header-search button {
    padding: 10px 16px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--brand-dark);
}

.quick-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 12px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.quick-nav a {
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.hero-carousel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background: #120b04;
}

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

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

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.05);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18, 11, 4, 0.92), rgba(18, 11, 4, 0.62) 42%, rgba(18, 11, 4, 0.25)),
        linear-gradient(0deg, rgba(18, 11, 4, 0.85), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 130px 24px 120px;
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff7ed;
    background: rgba(245, 158, 11, 0.82);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.hero-content h1 {
    font-size: clamp(44px, 7vw, 92px);
    max-width: 850px;
}

.hero-content h2 {
    margin: 18px 0 0;
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 900;
}

.hero-content p {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 250, 240, 0.88);
    font-size: 19px;
    line-height: 1.9;
}

.hero-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: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    box-shadow: 0 16px 34px rgba(217, 119, 6, 0.38);
}

.btn-light {
    color: #fffaf0;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    color: #fffbeb;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.38);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

.hero-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: #f59e0b;
}

.intro-panel,
.page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.intro-panel {
    position: relative;
    z-index: 6;
    margin-top: -70px;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 440px);
    gap: 28px;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.intro-panel h2,
.section-head h2,
.ranking-box h2,
.detail-section h2,
.player-section h2,
.detail-aside h2 {
    margin: 0;
    color: #211608;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.intro-panel h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.intro-panel p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.9;
}

.large-search {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.large-search input {
    min-height: 54px;
    padding: 0 18px;
}

.large-search button {
    padding: 0 22px;
}

.large-search.inline {
    max-width: 680px;
    margin-top: 26px;
}

.page-container {
    padding-top: 56px;
    padding-bottom: 70px;
}

.top-space {
    padding-top: 34px;
}

.content-section {
    margin-top: 44px;
}

.content-section.no-margin {
    margin-top: 0;
}

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

.section-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(24px, 3vw, 34px);
}

.section-head h2 span {
    color: var(--brand);
}

.section-head a,
.more-link {
    color: var(--brand-dark);
    font-weight: 900;
}

.section-head.with-search input {
    max-width: 320px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    box-shadow: 0 14px 36px rgba(146, 64, 14, 0.09);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 119, 6, 0.42);
    box-shadow: 0 22px 52px rgba(146, 64, 14, 0.16);
}

.movie-poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #451a03, #f59e0b);
}

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

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

.movie-year {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.58);
    font-size: 12px;
    font-weight: 900;
}

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

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

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

.movie-meta,
.movie-line {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.movie-line {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.tag-row span {
    color: var(--brand-dark);
    background: var(--brand-soft);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 26px;
    margin-top: 44px;
}

.ranking-box {
    position: sticky;
    top: 128px;
    align-self: start;
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #2a1605, #6b3108);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.ranking-box h2 {
    color: #ffffff;
    font-size: 28px;
}

.ranking-box ol,
.ranking-page-list ol {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.ranking-box li + li {
    margin-top: 10px;
}

.ranking-box a {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.ranking-box b {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #7c2d12;
    background: #fbbf24;
}

.ranking-box span {
    display: block;
    font-weight: 900;
}

.ranking-box em {
    display: block;
    color: rgba(255, 250, 240, 0.70);
    font-size: 12px;
    font-style: normal;
}

.ranking-box .more-link {
    display: inline-block;
    margin-top: 18px;
    color: #fef3c7;
}

.category-overview,
.category-list-section,
.featured-row {
    border-radius: var(--radius);
}

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

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

.category-tile,
.category-card a {
    display: block;
    height: 100%;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(146, 64, 14, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.category-card a:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 119, 6, 0.42);
}

.category-tile strong,
.category-card h2 {
    display: block;
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 950;
}

.category-tile span,
.category-card p {
    color: var(--muted);
    line-height: 1.75;
}

.category-posters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.category-posters img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #451a03, #f59e0b);
}

.category-card span {
    display: inline-flex;
    margin-top: 14px;
    color: var(--brand-dark);
    font-weight: 900;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 52px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 85% 10%, rgba(251, 191, 36, 0.35), transparent 20rem),
        linear-gradient(135deg, #431407, #9a3412 48%, #f59e0b);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 72px);
}

.page-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 250, 240, 0.86);
    font-size: 18px;
    line-height: 1.9;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 24px;
}

.filter-chips button {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 13px;
    background: #ffffff;
    color: var(--brand-dark);
    font-weight: 800;
    cursor: pointer;
}

.empty-state {
    padding: 28px;
    border-radius: 16px;
    background: #fff7ed;
    color: var(--muted);
    text-align: center;
}

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

.mini-card-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.mini-card {
    display: block;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    transition: transform 0.2s ease;
}

.mini-card:hover {
    transform: translateY(-3px);
}

.mini-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #451a03, #f59e0b);
}

.mini-card span {
    display: block;
    margin-top: 9px;
    font-weight: 900;
    line-height: 1.35;
}

.mini-card em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.ranking-page-list li {
    border-bottom: 1px solid var(--line);
}

.ranking-page-list li a {
    display: grid;
    grid-template-columns: 54px 58px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 15px 0;
}

.ranking-page-list b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: var(--brand);
}

.ranking-page-list img {
    width: 58px;
    height: 82px;
    object-fit: cover;
    border-radius: 10px;
    background: linear-gradient(135deg, #451a03, #f59e0b);
}

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

.ranking-page-list strong {
    font-size: 18px;
    font-weight: 950;
}

.ranking-page-list em {
    margin-top: 5px;
    color: var(--muted);
    font-style: normal;
}

.ranking-page-list i {
    color: var(--brand-dark);
    font-style: normal;
    font-weight: 900;
}

.detail-main {
    background: #fffaf0;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    background: #150b03;
}

.detail-bg,
.detail-bg::after {
    position: absolute;
    inset: 0;
}

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) saturate(1.05);
    transform: scale(1.08);
    opacity: 0.58;
}

.detail-bg::after {
    content: "";
    background:
        linear-gradient(90deg, rgba(18, 11, 4, 0.96), rgba(18, 11, 4, 0.62)),
        linear-gradient(0deg, #fffaf0, transparent 30%);
}

.detail-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px 110px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 42px;
    align-items: center;
    color: #ffffff;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: linear-gradient(135deg, #451a03, #f59e0b);
}

.detail-info h1 {
    font-size: clamp(42px, 7vw, 86px);
}

.detail-one-line {
    max-width: 820px;
    margin: 20px 0 0;
    color: rgba(255, 250, 240, 0.88);
    font-size: 20px;
    line-height: 1.9;
}

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

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 800;
}

.detail-tags span {
    color: #fff7ed;
    background: rgba(245, 158, 11, 0.72);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    margin-top: -74px;
}

.detail-content,
.detail-aside {
    position: relative;
    z-index: 3;
}

.player-section,
.detail-section,
.related-section,
.detail-aside {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-section,
.related-section {
    margin-top: 24px;
}

.player-section h2,
.detail-section h2,
.detail-aside h2 {
    margin-bottom: 18px;
    font-size: 26px;
}

.detail-section p {
    margin: 0;
    color: #4b3820;
    font-size: 17px;
    line-height: 2;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #000000;
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    gap: 12px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
    border: 0;
    cursor: pointer;
}

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

.play-icon {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    padding-left: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
    font-size: 34px;
}

.player-overlay strong {
    font-size: 20px;
}

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

.category-links a {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--brand-dark);
    background: var(--brand-soft);
    font-weight: 900;
}

.detail-nav {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
}

.detail-nav a {
    flex: 1;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--brand-dark);
    box-shadow: 0 12px 30px rgba(146, 64, 14, 0.08);
    text-align: center;
    font-weight: 900;
}

.detail-aside {
    align-self: start;
    position: sticky;
    top: 126px;
}

.mini-card-list {
    grid-template-columns: 1fr;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #211608;
    color: #fff7ed;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}

.footer-inner strong {
    font-size: 22px;
}

.footer-inner p {
    margin: 8px 0 0;
    color: rgba(255, 247, 237, 0.68);
}

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

.footer-links a {
    color: #fde68a;
    font-weight: 800;
}

.copyright {
    grid-column: 1 / -1;
    font-size: 13px;
}

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

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

    .ranking-box,
    .detail-aside {
        position: static;
    }

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

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

@media (max-width: 840px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 5;
        flex-direction: column;
        align-items: stretch;
        padding-top: 8px;
    }

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

    .main-nav a {
        background: #ffffff;
    }

    .header-search {
        order: 4;
        width: 100%;
        min-width: 0;
    }

    .quick-nav {
        padding-bottom: 10px;
    }

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

    .hero-content {
        padding-top: 98px;
    }

    .intro-panel {
        grid-template-columns: 1fr;
        margin-top: -42px;
        border-radius: 22px;
    }

    .detail-inner {
        grid-template-columns: 1fr;
        padding-top: 46px;
    }

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

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

    .section-head,
    .section-head.with-search {
        align-items: stretch;
        flex-direction: column;
    }

    .section-head.with-search input {
        max-width: none;
    }

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

@media (max-width: 620px) {
    .hero-control {
        display: none;
    }

    .movie-grid,
    .movie-grid.three-cols,
    .movie-grid.compact-grid,
    .movie-grid.four-cols,
    .category-grid,
    .category-grid.big,
    .mini-card-row {
        grid-template-columns: 1fr;
    }

    .large-search {
        flex-direction: column;
        border-radius: 18px;
    }

    .large-search button {
        min-height: 48px;
    }

    .ranking-page-list li a {
        grid-template-columns: 42px 54px 1fr;
    }

    .ranking-page-list i {
        display: none;
    }

    .detail-nav {
        flex-direction: column;
    }
}
