:root {
    --orange-50: #fff7ed;
    --orange-100: #ffedd5;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --pink-50: #fdf2f8;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --purple-600: #9333ea;
    --blue-500: #3b82f6;
    --cyan-500: #06b6d4;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 12px 30px rgba(249, 115, 22, 0.14);
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-900);
    background: linear-gradient(180deg, var(--orange-50), var(--pink-50) 46%, var(--white));
    min-height: 100vh;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(255, 247, 237, 0.86);
    border-bottom: 1px solid rgba(251, 146, 60, 0.28);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--slate-900);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500));
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.24);
    transition: transform 0.25s ease;
}

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

.brand-name {
    font-size: 20px;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--orange-600), var(--pink-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.mobile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    color: var(--slate-700);
    border-radius: 12px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.mobile-link:hover {
    color: var(--orange-600);
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-1px);
}

.nav-link.is-active,
.mobile-link.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500));
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.22);
}

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

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

.mobile-nav {
    display: none;
    width: min(100% - 32px, var(--container));
    margin: 0 auto 16px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.mobile-nav.is-open {
    display: grid;
    gap: 8px;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500), var(--purple-600));
}

.hero-slides,
.hero-slide {
    min-height: 680px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 0.9s ease;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.26), rgba(15, 23, 42, 0.12)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

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

.hero-slide:first-child {
    position: relative;
}

.hero-shade,
.detail-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.18), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.10), transparent 22%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.54));
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.48fr);
    align-items: center;
    gap: 54px;
    padding-top: 86px;
    color: var(--white);
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.eyebrow.dark {
    color: var(--orange-600);
    background: rgba(249, 115, 22, 0.12);
    backdrop-filter: none;
}

.hero-copy h1,
.hero-copy h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-copy h2 {
    margin-top: 10px;
    font-size: clamp(28px, 4vw, 50px);
}

.hero-copy p,
.page-hero p,
.detail-copy p {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

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

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

.hero-tags span,
.detail-meta span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 999px;
}

.hero-tags span,
.detail-meta span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.tag-row {
    margin-top: 14px;
}

.tag-row span {
    color: var(--orange-700, #c2410c);
    background: rgba(249, 115, 22, 0.10);
}

.hero-search {
    width: min(100%, 620px);
    margin-top: 28px;
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(18px);
}

.hero-search input,
.search-box input,
.filter-panel select {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--slate-900);
    background: var(--white);
}

.hero-search input {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
}

.hero-search button {
    border: 0;
    min-width: 92px;
    padding: 0 22px;
    color: var(--white);
    font-weight: 800;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500));
    cursor: pointer;
}

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

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

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500));
    box-shadow: 0 16px 32px rgba(236, 72, 153, 0.24);
}

.btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(12px);
}

.btn-light {
    color: var(--orange-600);
    background: var(--white);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.btn-ghost-light {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.14);
}

.hero-poster {
    position: relative;
    display: block;
    height: min(55vw, 430px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 36px 90px rgba(15, 23, 42, 0.36);
    transform: rotate(2deg);
    isolation: isolate;
}

.hero-poster::before,
.poster-frame::before,
.detail-poster::before,
.feature-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500));
}

.hero-poster span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 12px 16px;
    color: var(--white);
    font-weight: 800;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.54);
    backdrop-filter: blur(12px);
}

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

.hero-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.44);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
    width: 34px;
    background: var(--white);
}

.section {
    padding: 72px 0;
}

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

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

.center-heading {
    justify-content: center;
    text-align: center;
}

.section-heading h2,
.feature-content h2,
.detail-content h2,
.ranking-side h2,
.related-categories h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-more {
    color: var(--orange-600);
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(236, 72, 153, 0.20);
}

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 16 / 22;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange-100), var(--pink-50));
}

.poster-frame img,
.hero-poster img,
.detail-poster img,
.feature-image img {
    transition: transform 0.45s ease, opacity 0.25s ease;
}

.movie-card:hover .poster-frame img,
.feature-card:hover .feature-image img {
    transform: scale(1.06);
}

.duration-badge,
.rank-badge,
.play-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(10px);
}

.duration-badge {
    right: 12px;
    bottom: 12px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
}

.rank-badge {
    left: 12px;
    top: 12px;
    width: 38px;
    height: 38px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500));
}

.play-chip {
    left: 12px;
    bottom: 12px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-chip {
    opacity: 1;
    transform: translateY(0);
}

.movie-info {
    padding: 18px;
}

.movie-meta {
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 700;
}

.movie-info h2 {
    margin: 10px 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.movie-info h2 a:hover,
.feature-content h2 a:hover,
.category-samples a:hover {
    color: var(--orange-600);
}

.movie-info p,
.feature-content p,
.category-card p,
.footer-brand p,
.detail-content p,
.ranking-side a,
.related-categories a {
    color: var(--slate-500);
    line-height: 1.75;
}

.movie-info p {
    margin: 0;
    min-height: 76px;
    font-size: 14px;
}

.movie-card-wide {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 206px;
}

.movie-card-wide .poster-frame {
    aspect-ratio: auto;
    height: 100%;
}

.movie-card-wide .movie-info p {
    min-height: auto;
}

.feature-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
    padding: 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.feature-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--orange-100), var(--pink-50));
}

.feature-content p {
    font-size: 16px;
}

.warm-band,
.category-preview {
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.88), rgba(253, 242, 248, 0.88));
}

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

.category-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(249, 115, 22, 0.16);
}

.category-title {
    display: inline-flex;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 900;
    color: var(--slate-900);
}

.category-samples {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.category-samples a {
    color: var(--orange-600);
    font-weight: 700;
    font-size: 14px;
}

.cta-band {
    padding: 76px 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-500), var(--pink-500), var(--purple-600));
    overflow: hidden;
}

.cta-inner {
    text-align: center;
}

.cta-inner h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 52px);
    letter-spacing: -0.05em;
}

.cta-inner p {
    max-width: 700px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
}

.page-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 360px;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange-500), var(--pink-500), var(--purple-600));
}

.compact-hero {
    min-height: 320px;
}

.ranking-hero {
    min-height: 380px;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.18), transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.12), transparent 26%);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 220px auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.search-box input,
.filter-panel select {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--slate-200);
}

.view-switch {
    display: flex;
    gap: 8px;
}

.view-switch button {
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    color: var(--slate-700);
    background: var(--slate-100);
    cursor: pointer;
}

.view-switch button.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500));
}

.filter-status {
    margin: 12px 4px 24px;
    color: var(--slate-500);
}

.empty-state {
    display: none;
    margin-top: 28px;
    padding: 32px;
    color: var(--slate-500);
    text-align: center;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.empty-state.is-visible {
    display: block;
}

.searchable-grid.is-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.searchable-grid.is-wide .movie-card {
    display: grid;
    grid-template-columns: 150px 1fr;
}

.searchable-grid.is-wide .poster-frame {
    height: 100%;
    aspect-ratio: auto;
}

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

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

.ranking-list {
    display: grid;
    gap: 18px;
}

.ranking-side {
    position: sticky;
    top: 92px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.ranking-side div,
.related-categories div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ranking-side a,
.related-categories a {
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--orange-50);
}

.detail-page {
    padding-top: 68px;
}

.detail-hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: var(--white);
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.42)), var(--detail-image);
    background-size: cover;
    background-position: center;
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.detail-poster {
    position: relative;
    display: block;
    aspect-ratio: 16 / 22;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--orange-100), var(--pink-50));
    box-shadow: 0 36px 84px rgba(15, 23, 42, 0.36);
}

.detail-poster span {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 2;
    min-height: 42px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500));
}

.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 700;
}

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

.simple-actions {
    margin-top: 26px;
}

.player-section {
    padding-bottom: 24px;
}

.player-card {
    padding: 18px;
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.video-player {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    background: var(--slate-900);
}

.video-player video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--slate-900);
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    color: var(--white);
    border: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.72));
    cursor: pointer;
}

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

.player-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    padding-left: 6px;
    font-size: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange-400), var(--pink-500));
    box-shadow: 0 22px 44px rgba(236, 72, 153, 0.28);
}

.player-overlay span:last-child {
    font-size: 18px;
    font-weight: 900;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-content article {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
}

.detail-content p {
    font-size: 16px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: #111827;
}

.footer-inner {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 1fr;
    gap: 36px;
    padding: 52px 0;
}

.brand-footer .brand-name {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

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

.footer-links h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 18px;
}

.footer-links a:hover {
    color: var(--orange-400);
}

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

    .hero-inner,
    .detail-hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 70px;
    }

    .hero-poster,
    .detail-poster {
        max-width: 320px;
    }

    .ranking-layout {
        grid-template-columns: 1fr;
    }

    .ranking-side {
        position: static;
    }
}

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

    .nav-toggle {
        display: block;
    }

    .hero-carousel,
    .hero-slides,
    .hero-slide,
    .hero-inner {
        min-height: 760px;
    }

    .movie-grid,
    .wide-grid,
    .category-grid,
    .all-categories,
    .detail-content {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card,
    .filter-panel,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        align-items: stretch;
    }

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

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

    .brand-name {
        font-size: 17px;
    }

    .hero-carousel,
    .hero-slides,
    .hero-slide,
    .hero-inner {
        min-height: 820px;
    }

    .hero-search,
    .hero-actions,
    .view-switch {
        flex-direction: column;
        border-radius: 24px;
    }

    .hero-search button,
    .btn {
        width: 100%;
    }

    .movie-grid,
    .wide-grid,
    .category-grid,
    .all-categories,
    .detail-content,
    .searchable-grid.is-wide {
        grid-template-columns: 1fr;
    }

    .movie-card-wide,
    .searchable-grid.is-wide .movie-card {
        grid-template-columns: 120px 1fr;
    }

    .movie-info p {
        min-height: auto;
    }

    .detail-page,
    .page-main {
        padding-top: 62px;
    }

    .detail-hero,
    .detail-hero-inner {
        min-height: 720px;
    }
}
