:root {
    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --blue-50: #eff6ff;
    --cyan-50: #ecfeff;
    --amber-50: #fffbeb;
    --violet-50: #f5f3ff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--slate-900);
    background: var(--slate-50);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.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.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.28);
}

.brand-name {
    font-size: 21px;
    color: transparent;
    background: linear-gradient(135deg, var(--pink-600), var(--rose-600));
    -webkit-background-clip: text;
    background-clip: text;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--slate-700);
    font-weight: 650;
}

.desktop-nav a,
.mobile-nav a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--pink-600);
}

.menu-toggle {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: var(--pink-50);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--pink-600);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    padding: 0 16px 18px;
    flex-direction: column;
    gap: 12px;
    font-weight: 650;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 34%), linear-gradient(135deg, #ec4899 0%, #f43f5e 48%, #be123c 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    min-height: 660px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
    gap: 48px;
    align-items: center;
    padding: 72px 0;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.06em;
}

.hero-lead {
    max-width: 720px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(18px, 2.3vw, 24px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--pink-600);
}

.hero-search {
    max-width: 620px;
    display: flex;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(94, 10, 52, 0.2);
}

.hero-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--white);
    background: transparent;
    padding: 0 18px;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.hero-search button,
.primary-action,
.secondary-action,
.page-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-search button,
.primary-action {
    color: var(--pink-600);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.secondary-action,
.page-hero-actions a {
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.72);
}

.hero-search button:hover,
.primary-action:hover,
.secondary-action:hover,
.page-hero-actions a:hover {
    transform: translateY(-2px) scale(1.02);
}

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

.hero-showcase {
    position: relative;
    min-height: 520px;
}

.hero-slides {
    position: relative;
    height: 520px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgba(94, 10, 52, 0.28);
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-poster {
    min-height: 310px;
    overflow: hidden;
}

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

.hero-slide-copy {
    padding: 28px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.82) 18%, rgba(15, 23, 42, 0.92));
}

.hero-slide-copy span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--pink-100);
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 800;
}

.hero-slide-copy h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.1;
}

.hero-slide-copy p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-slide-copy a {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--pink-600);
    background: var(--white);
    font-weight: 800;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 18px;
}

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

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

.hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    filter: blur(32px);
    opacity: 0.22;
    mix-blend-mode: screen;
    animation: floatGlow 9s ease-in-out infinite;
}

.glow-one {
    top: 90px;
    left: 8%;
    background: #ffffff;
}

.glow-two {
    right: 10%;
    top: 18%;
    background: #fbcfe8;
    animation-delay: -2s;
}

.glow-three {
    left: 44%;
    bottom: 60px;
    background: #fecdd3;
    animation-delay: -4s;
}

@keyframes floatGlow {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(24px, -18px, 0) scale(1.08);
    }
}

.feature-strip {
    background: var(--white);
    padding: 42px 0;
}

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

.feature-grid article {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--pink-50), #fff1f2);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-grid article:hover,
.movie-card:hover,
.category-tile:hover,
.compact-card:hover,
.rank-row:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-grid span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    font-weight: 900;
}

.feature-grid strong {
    display: block;
    margin: 18px 0 8px;
    font-size: 22px;
}

.feature-grid p {
    margin: 0;
    color: var(--slate-600);
}

.section {
    padding: 72px 0;
}

.soft-section {
    background: linear-gradient(135deg, var(--blue-50), var(--cyan-50));
}

.warm-section {
    background: linear-gradient(135deg, var(--amber-50), #fff7ed);
}

.rank-section {
    background: var(--white);
}

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

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

.section-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--slate-600);
}

.section-heading > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--pink-600);
    background: var(--pink-50);
    font-weight: 800;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 2.8;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink-100), var(--slate-200));
}

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

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

.poster-badge,
.poster-play {
    position: absolute;
    z-index: 2;
}

.poster-badge {
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.76);
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--pink-600);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--pink-600);
    font-size: 12px;
    font-weight: 800;
}

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

.movie-card h3 a:hover {
    color: var(--pink-600);
}

.movie-card p {
    margin: 0 0 12px;
    color: var(--slate-600);
    font-size: 14px;
}

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

.tag-row span {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--slate-600);
    background: var(--slate-100);
    font-size: 12px;
    font-weight: 700;
}

.light-tags span {
    color: var(--white);
    background: rgba(255, 255, 255, 0.18);
}

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    padding: 28px;
    border-radius: var(--radius-xl);
    color: var(--white);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile img,
.category-overview-card img {
    position: absolute;
    right: -20px;
    bottom: -34px;
    width: 150px;
    height: 210px;
    object-fit: cover;
    border-radius: 22px;
    transform: rotate(8deg);
    opacity: 0.62;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.category-icon,
.category-overview-card span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 26px;
    font-weight: 900;
}

.category-tile strong,
.category-overview-card h2 {
    position: relative;
    z-index: 2;
    display: block;
    margin: 22px 0 8px;
    font-size: 28px;
}

.category-tile em,
.category-overview-card p {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 220px;
    color: rgba(255, 255, 255, 0.86);
    font-style: normal;
}

.from-pink {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.from-blue {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.from-violet {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}

.from-amber {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

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

.compact-card {
    display: grid;
    gap: 9px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card img {
    width: 100%;
    aspect-ratio: 2 / 2.7;
    object-fit: cover;
    border-radius: 14px;
    background: var(--pink-100);
    transition: transform 0.35s ease;
}

.compact-card span {
    font-weight: 800;
    line-height: 1.25;
}

.compact-card small {
    color: var(--slate-600);
}

.rank-list {
    display: grid;
    gap: 12px;
}

.rank-row {
    display: grid;
    grid-template-columns: 54px 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-num {
    color: var(--pink-600);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.rank-row img {
    width: 58px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--pink-100);
}

.rank-info {
    display: grid;
    gap: 4px;
}

.rank-info strong {
    line-height: 1.25;
}

.rank-info em {
    color: var(--slate-600);
    font-style: normal;
    font-size: 13px;
}

.rank-go {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
    font-weight: 800;
}

.page-hero {
    position: relative;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--rose-600));
}

.page-hero .container {
    padding: 88px 0;
}

.slim-hero {
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 32%), linear-gradient(135deg, var(--slate-900), #be123c);
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 6vw, 64px);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

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

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 0.7fr));
    gap: 16px;
    margin-top: -34px;
    padding: 20px;
    position: relative;
    z-index: 5;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--slate-700);
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    outline: 0;
    padding: 0 14px;
    color: var(--slate-900);
    background: var(--slate-50);
}

.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--pink-500);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.empty-state {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px;
    text-align: center;
    color: var(--slate-600);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--slate-900);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.34;
}

.detail-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.62), rgba(190, 18, 60, 0.58));
}

.detail-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) saturate(1.15);
    transform: scale(1.04);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 34px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

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

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

.detail-poster {
    width: 240px;
    aspect-ratio: 2 / 2.8;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    background: var(--pink-100);
}

.detail-intro h1 {
    margin: 0 0 16px;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.detail-intro p:not(.eyebrow) {
    max-width: 800px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
}

.player-section {
    background: var(--white);
}

.player-section h2 {
    margin: 0 0 18px;
    font-size: 34px;
    letter-spacing: -0.04em;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #000000;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
    aspect-ratio: 16 / 9;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--white);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.56));
}

.play-overlay span {
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    border-radius: 999px;
    color: var(--pink-600);
    background: rgba(255, 255, 255, 0.94);
    font-size: 34px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease;
}

.play-overlay:hover span {
    transform: scale(1.08);
}

.play-overlay[hidden] {
    display: none;
}

.detail-content {
    background: var(--slate-50);
}

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

.detail-main,
.detail-side {
    padding: 30px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--soft-shadow);
}

.detail-main h2,
.detail-side h2,
.rank-page h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.detail-main p {
    margin: 0 0 24px;
    color: var(--slate-700);
    font-size: 17px;
}

.detail-side dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px 14px;
    margin: 0;
}

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

.detail-side dd {
    margin: 0;
    color: var(--slate-900);
}

.next-links {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.next-links a {
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--pink-600);
    background: var(--pink-50);
    font-weight: 800;
}

.rank-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.page-list {
    margin-top: 16px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background: linear-gradient(135deg, var(--slate-900), #111827 54%, #312e81);
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 36px;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr;
    gap: 32px;
}

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

.footer-brand p {
    max-width: 520px;
    margin: 18px 0 0;
}

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

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

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1080px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-showcase {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

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

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

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

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

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

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

    .hero-inner {
        min-height: auto;
        padding: 56px 0;
    }

    .hero-search {
        flex-direction: column;
        border-radius: 24px;
    }

    .hero-search input {
        min-height: 46px;
    }

    .hero-slides,
    .hero-showcase {
        min-height: 500px;
        height: 500px;
    }

    .feature-grid,
    .feature-cards,
    .movie-grid,
    .library-grid,
    .small-cards,
    .compact-grid,
    .category-grid,
    .overview-grid,
    .rank-columns,
    .footer-inner,
    .detail-layout {
        grid-template-columns: 1fr 1fr;
    }

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

    .detail-poster {
        width: 150px;
        border-radius: 20px;
    }
}

@media (max-width: 620px) {
    .container,
    .header-inner,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

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

    .hero-copy h1,
    .page-hero h1,
    .detail-intro h1 {
        font-size: 38px;
    }

    .hero-lead,
    .page-hero p,
    .detail-intro p:not(.eyebrow) {
        font-size: 16px;
    }

    .hero-slides,
    .hero-showcase {
        height: 470px;
        min-height: 470px;
    }

    .hero-slide-copy {
        padding: 22px;
    }

    .feature-grid,
    .feature-cards,
    .movie-grid,
    .library-grid,
    .small-cards,
    .compact-grid,
    .category-grid,
    .overview-grid,
    .rank-columns,
    .footer-inner,
    .detail-layout,
    .filter-panel,
    .detail-intro {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 50px 0;
    }

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

    .detail-poster {
        width: 190px;
    }

    .rank-row {
        grid-template-columns: 42px 52px minmax(0, 1fr);
    }

    .rank-go {
        display: none;
    }

    .player-shell {
        border-radius: 20px;
    }

    .play-overlay span {
        width: 72px;
        height: 72px;
        font-size: 26px;
    }
}
