:root {
    --color-orange: #f97316;
    --color-orange-dark: #ea580c;
    --color-red: #ef4444;
    --color-green: #16a34a;
    --color-blue: #2563eb;
    --color-purple: #7c3aed;
    --color-amber: #d97706;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-soft: #f8fafc;
    --color-border: #e5e7eb;
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.10);
    --shadow-hover: 0 22px 50px rgba(15, 23, 42, 0.18);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: #f3f4f6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}

.brand-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(249, 115, 22, 0.34);
}

.brand-text {
    font-size: 24px;
    letter-spacing: -0.04em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    justify-content: center;
}

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

.nav-link:hover {
    color: var(--color-orange);
}

.header-search,
.mobile-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
    border: 1px solid var(--color-border);
    background: white;
    border-radius: 999px;
    min-height: 42px;
    padding: 0 16px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
    width: 210px;
}

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-panel button,
.btn {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button {
    min-height: 42px;
    padding: 0 16px;
    color: white;
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
}

.header-search button:hover,
.mobile-search button:hover,
.hero-search button:hover,
.filter-panel button:hover,
.btn:hover {
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: #fff7ed;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 21px;
    height: 2px;
    background: var(--color-orange-dark);
    border-radius: 10px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--color-border);
}

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

.mobile-nav-inner {
    display: grid;
    gap: 8px;
    padding: 14px 0 18px;
}

.mobile-nav-link {
    padding: 10px 12px;
    border-radius: 12px;
    color: #4b5563;
    font-weight: 700;
}

.mobile-nav-link:hover {
    color: var(--color-orange);
    background: #fff7ed;
}

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 42%, #ef4444 100%);
    padding: 72px 0;
}

.hero-bg-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.26;
    background: white;
}

.hero-bg-orb-one {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -60px;
}

.hero-bg-orb-two {
    width: 420px;
    height: 420px;
    right: -120px;
    bottom: -180px;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 42px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 12px;
    color: #fff7ed;
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 28px;
    color: #fff7ed;
    font-size: clamp(18px, 2.5vw, 24px);
}

.hero-search {
    display: flex;
    width: min(620px, 100%);
    padding: 8px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.hero-search input {
    flex: 1;
    border-color: transparent;
}

.hero-search button {
    min-width: 128px;
    color: var(--color-orange-dark);
    background: white;
}

.hero-pills,
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-pills a,
.hero-stats div {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.hero-pills a {
    padding: 8px 14px;
    font-weight: 800;
}

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

.hero-stats div {
    display: grid;
    min-width: 116px;
    padding: 12px 18px;
}

.hero-stats strong {
    font-size: 26px;
    line-height: 1;
}

.hero-stats span {
    color: #ffedd5;
    font-size: 13px;
}

.hero-carousel {
    position: relative;
    min-height: 520px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 34px 70px rgba(127, 29, 29, 0.38);
    background: rgba(255, 255, 255, 0.16);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

.hero-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.16));
}

.hero-slide-content {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 28px;
}

.hero-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.9);
    font-size: 13px;
    font-weight: 900;
}

.hero-slide-content h2 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.15;
}

.hero-slide-content p {
    color: #f3f4f6;
    margin: 0 0 18px;
}

.hero-dots {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
}

.btn-light {
    color: var(--color-orange-dark);
    background: white;
}

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

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

.white-section {
    background: white;
}

.soft-section {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
}

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

.section-heading h2 {
    position: relative;
    margin: 0;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-red));
}

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

.section-more {
    color: var(--color-orange-dark);
    font-weight: 900;
    white-space: nowrap;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.stack-grid {
    display: grid;
    gap: 24px;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    min-width: 0;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-card-link {
    display: grid;
    height: 100%;
}

.movie-card-featured .movie-card-link {
    min-height: 100%;
}

.movie-poster {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #fb923c, #111827);
}

.movie-card-featured .movie-poster {
    min-height: 100%;
    aspect-ratio: auto;
}

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

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

.poster-shade,
.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12) 62%, rgba(0, 0, 0, 0.08));
}

.poster-topline {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rank-badge,
.rating {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    color: white;
    font-size: 12px;
    font-weight: 900;
    background: rgba(17, 24, 39, 0.78);
    backdrop-filter: blur(8px);
}

.rank-badge {
    background: rgba(239, 68, 68, 0.9);
}

.play-chip {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    color: white;
    background: rgba(249, 115, 22, 0.95);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

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

.movie-info {
    display: grid;
    gap: 9px;
    padding: 15px;
}

.movie-info h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
}

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

.movie-meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.movie-meta span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    font-weight: 750;
}

.tag-row span {
    color: var(--color-orange-dark);
    background: #fff7ed;
}

.category-grid,
.category-large-grid {
    display: grid;
    gap: 22px;
}

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

.category-tile {
    display: grid;
    gap: 10px;
    min-height: 168px;
    padding: 22px;
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile span {
    color: var(--color-orange-dark);
    font-weight: 900;
}

.category-tile strong {
    font-size: 34px;
    line-height: 1;
}

.category-tile p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

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

.ranking-panel,
.detail-side-card,
.prose-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.ranking-panel h2,
.detail-side-card h2 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 900;
}

.compact-list,
.latest-strip,
.ranking-list {
    display: grid;
    gap: 12px;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
    background: #fff7ed;
    transform: translateX(3px);
}

.compact-card img {
    width: 72px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
}

.compact-card h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 900;
}

.compact-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 12px;
}

.compact-card strong {
    color: var(--color-orange-dark);
    font-size: 18px;
}

.page-hero {
    color: white;
    background: linear-gradient(135deg, #fb923c, #f97316 48%, #ef4444);
    padding: 76px 0;
}

.page-hero-slim {
    padding: 54px 0;
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #ffedd5;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 750;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

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

.category-card-large a {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.category-card-large img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-card-large:hover img {
    transform: scale(1.06);
}

.category-card-body {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: white;
}

.category-card-body span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    background: rgba(249, 115, 22, 0.88);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.category-card-body h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 900;
}

.category-card-body p {
    margin: 0;
    color: #f3f4f6;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 180px)) auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 26px;
    padding: 18px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.filter-panel label {
    display: grid;
    gap: 6px;
}

.filter-panel label span {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 900;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    border-radius: 12px;
}

.filter-panel button {
    min-height: 42px;
    padding: 0 14px;
    color: white;
    background: #111827;
}

.filter-count {
    align-self: center;
    margin: 0;
    color: var(--color-muted);
    white-space: nowrap;
}

.filter-count strong {
    color: var(--color-orange-dark);
}

.empty-state {
    padding: 28px;
    text-align: center;
    color: var(--color-muted);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    color: white;
    background: #111827;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.42;
    filter: blur(4px);
    transform: scale(1.03);
}

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

.detail-backdrop-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.78) 45%, rgba(17, 24, 39, 0.35));
}

.detail-hero-inner {
    position: relative;
    padding: 56px 0 66px;
}

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

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.48);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-copy h1 {
    max-width: 760px;
    margin: 0 0 14px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 24px;
    color: #e5e7eb;
    font-size: 20px;
}

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

.detail-meta span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.detail-meta strong,
.detail-meta a {
    color: #fed7aa;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #050505;
    box-shadow: var(--shadow-hover);
}

.player-shell video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: white;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.28), rgba(0, 0, 0, 0.64));
    border: 0;
    cursor: pointer;
}

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

.player-play-icon {
    display: inline-grid;
    width: 78px;
    height: 78px;
    place-items: center;
    color: var(--color-orange-dark);
    background: white;
    border-radius: 999px;
    font-size: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

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

.player-overlay small {
    color: #e5e7eb;
}

.source-note {
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: 14px;
}

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

.detail-article {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.detail-article h2,
.prose-card h2 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 900;
}

.detail-article p,
.prose-card p {
    margin: 0 0 20px;
    color: #374151;
    font-size: 17px;
    line-height: 1.9;
}

.detail-side-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.detail-side-card dl div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
}

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

.detail-side-card dd {
    margin: 0;
    font-weight: 750;
}

.detail-side-card a {
    color: var(--color-orange-dark);
}

.prose-card {
    max-width: 860px;
}

.site-footer {
    color: #d1d5db;
    background: #111827;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 42px 0;
}

.site-footer h3,
.site-footer h4 {
    color: white;
    margin: 0 0 14px;
}

.site-footer p {
    margin: 0 0 10px;
    color: #9ca3af;
}

.footer-note {
    font-size: 13px;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.footer-bottom {
    padding: 18px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

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

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

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

    .featured-grid,
    .ranking-top-grid {
        grid-template-columns: 1fr 1fr;
    }

    .four-cols,
    .category-grid,
    .latest-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

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

    .hero,
    .page-hero {
        padding: 48px 0;
    }

    .hero-search {
        display: grid;
        border-radius: 22px;
    }

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

    .hero-carousel {
        min-height: 360px;
        border-radius: 22px;
    }

    .hero-slide-content h2 {
        font-size: 25px;
    }

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

    .featured-grid,
    .stack-grid,
    .three-cols,
    .four-cols,
    .category-grid,
    .category-large-grid,
    .latest-strip,
    .ranking-top-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-featured .movie-poster {
        aspect-ratio: 16 / 10;
    }

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

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

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

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