:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #111827;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --white: #ffffff;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --cyan-500: #06b6d4;
    --cyan-400: #22d3ee;
    --yellow-400: #facc15;
    --shadow: 0 20px 60px rgba(2, 6, 23, 0.45);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-200);
    background: linear-gradient(180deg, var(--slate-900), var(--slate-800) 42%, var(--slate-900));
    -webkit-font-smoothing: antialiased;
}

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

img,
video,
svg {
    display: block;
}

img,
video {
    max-width: 100%;
}

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: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
    border-bottom: 1px solid rgba(51, 65, 85, 0.65);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.32);
    backdrop-filter: blur(16px);
}

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

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

.brand span {
    font-size: 25px;
    background: linear-gradient(90deg, var(--emerald-400), var(--cyan-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-icon {
    width: 32px;
    height: 32px;
    color: var(--emerald-400);
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
    transform: scale(1.1) rotate(-3deg);
}

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

.nav-link,
.mobile-nav-link {
    color: var(--slate-300);
    font-weight: 650;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--emerald-400);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    color: var(--slate-300);
    background: transparent;
    transition: color 0.2s ease, background 0.2s ease;
}

.icon-button svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.icon-button:hover {
    color: var(--emerald-400);
    background: rgba(51, 65, 85, 0.55);
}

.mobile-only {
    display: none;
}

.header-search {
    padding: 0 0 16px;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input,
.filter-panel input,
.filter-panel select {
    min-width: 0;
    border: 1px solid rgba(51, 65, 85, 0.9);
    border-radius: 14px;
    color: var(--slate-200);
    background: rgba(15, 23, 42, 0.9);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input {
    flex: 1;
    padding: 12px 14px;
}

.search-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.search-form button,
.primary-button,
.ghost-button {
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.search-form button {
    padding: 12px 18px;
    color: var(--white);
    background: linear-gradient(90deg, var(--emerald-500), var(--cyan-500));
}

.mobile-nav {
    border-top: 1px solid rgba(51, 65, 85, 0.65);
}

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

.mobile-nav-link {
    padding: 10px 0;
}

.hero-slider {
    position: relative;
    height: 76vh;
    min-height: 560px;
    overflow: hidden;
    background: var(--slate-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.9s ease, transform 1.2s ease;
    transform: scale(1.035);
    pointer-events: none;
}

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

.hero-overlay,
.detail-shade,
.page-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.72) 48%, rgba(15, 23, 42, 0.32));
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 760px;
    display: grid;
    gap: 22px;
    animation: fadeIn 0.7s ease both;
}

.eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    color: var(--emerald-400);
    background: rgba(16, 185, 129, 0.13);
    font-size: 14px;
    font-weight: 800;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.detail-copy p {
    margin: 0;
    max-width: 780px;
    color: var(--slate-300);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

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

.hero-meta span,
.meta-pills span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--slate-200);
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(71, 85, 105, 0.42);
}

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

.primary-button,
.ghost-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    padding: 13px 23px;
    color: var(--white);
    background: linear-gradient(90deg, var(--emerald-500), var(--cyan-500));
    box-shadow: 0 14px 35px rgba(16, 185, 129, 0.24);
}

.primary-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 45px rgba(6, 182, 212, 0.22);
}

.ghost-button {
    padding: 12px 20px;
    color: var(--slate-200);
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(15, 23, 42, 0.52);
}

.ghost-button:hover,
.text-link:hover {
    color: var(--emerald-400);
    border-color: rgba(52, 211, 153, 0.6);
}

.ghost-button.full {
    width: 100%;
}

.button-icon,
.play-icon,
.play-icon-small,
.play-icon-large,
.player-play-icon {
    fill: currentColor;
    stroke: currentColor;
}

.button-icon {
    width: 18px;
    height: 18px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: var(--slate-600);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 36px;
    background: var(--emerald-400);
}

.search-panel,
.movie-section,
.category-section,
.rank-section,
.content-section,
.detail-content {
    padding: 56px 0;
}

.search-panel {
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(51, 65, 85, 0.45);
}

.search-panel-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 28px;
    align-items: center;
}

.search-panel h2,
.section-head h2,
.feature-copy h2,
.story-card h2,
.side-card h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.search-panel h2 {
    margin-top: 12px;
}

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

.section-head p,
.feature-copy p,
.story-card p,
.side-card dd,
.footer-brand p {
    color: var(--slate-400);
    line-height: 1.75;
}

.section-head.with-actions {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

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

.row-actions {
    display: flex;
    gap: 10px;
}

.row-actions button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: var(--slate-800);
    font-size: 26px;
    transition: background 0.2s ease;
}

.row-actions button:hover {
    background: var(--slate-700);
}

.row-shell {
    overflow: hidden;
}

.movie-row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 2px 0 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.movie-row::-webkit-scrollbar {
    display: none;
}

.row-item {
    width: 320px;
    flex: 0 0 320px;
}

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

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

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

.movie-card {
    min-width: 0;
}

.movie-card.is-filtered {
    display: none;
}

.card-link,
.rank-item a,
.category-tile,
.overview-card a {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(30, 41, 59, 0.84);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-link {
    border: 1px solid rgba(51, 65, 85, 0.75);
}

.card-link:hover,
.rank-item a:hover,
.category-tile:hover,
.overview-card a:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: var(--shadow);
    border-color: rgba(52, 211, 153, 0.48);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--slate-850);
}

.poster-wrap img,
.category-tile img,
.feature-poster img,
.detail-poster img,
.overview-images img,
.rank-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-wrap img,
.feature-poster img,
.category-tile img,
.overview-card img {
    transition: transform 0.5s ease;
}

.card-link:hover .poster-wrap img,
.feature-poster:hover img,
.category-tile:hover img,
.overview-card a:hover img {
    transform: scale(1.1);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.86), transparent 62%);
}

.year-badge,
.play-badge,
.tag-line {
    position: absolute;
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
}

.year-badge {
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.play-badge {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(16, 185, 129, 0.9);
    transform: translate(-50%, -50%) scale(0.76);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.card-link:hover .play-badge {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.play-icon-small {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.card-body {
    position: relative;
    display: grid;
    gap: 9px;
    padding: 17px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--slate-400);
    font-size: 12px;
}

.card-meta span:first-child {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--emerald-400);
    background: rgba(16, 185, 129, 0.13);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-body strong {
    color: var(--white);
    font-size: 19px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.card-link:hover .card-body strong {
    color: var(--emerald-400);
}

.card-body em {
    min-height: 44px;
    color: var(--slate-400);
    font-style: normal;
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-line {
    position: static;
    width: fit-content;
    padding: 5px 9px;
    color: var(--slate-300);
    font-size: 12px;
    background: rgba(15, 23, 42, 0.72);
}

.category-section,
.subtle {
    background: rgba(15, 23, 42, 0.42);
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    border: 1px solid rgba(51, 65, 85, 0.75);
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.12));
}

.category-tile span {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    display: grid;
    gap: 7px;
}

.category-tile strong {
    color: var(--white);
    font-size: 21px;
}

.category-tile em {
    color: var(--slate-300);
    font-size: 13px;
    line-height: 1.55;
    font-style: normal;
}

.feature-section {
    padding: 72px 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.82));
}

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

.feature-poster {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    background: var(--slate-850);
}

.feature-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9), transparent 68%);
}

.feature-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: rgba(16, 185, 129, 0.9);
    transform: translate(-50%, -50%);
}

.play-icon-large {
    width: 38px;
    height: 38px;
    margin-left: 5px;
}

.feature-copy {
    display: grid;
    gap: 18px;
}

.feature-copy .lead {
    color: var(--slate-300);
    font-size: 19px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tag-cloud span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--emerald-400);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.22);
    font-size: 13px;
}

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

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

.rank-item a {
    display: grid;
    grid-template-columns: auto 86px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(51, 65, 85, 0.75);
}

.rank-item img {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    background: var(--slate-850);
}

.rank-num {
    min-width: 42px;
    color: var(--emerald-400);
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

.rank-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.rank-copy strong {
    color: var(--white);
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy em {
    color: var(--slate-400);
    font-style: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy span {
    color: var(--slate-500);
    font-size: 13px;
}

.page-hero {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.page-hero.compact {
    min-height: 360px;
    background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), transparent 34%), linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.page-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    padding: 64px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--slate-400);
    font-size: 14px;
}

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

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(4, minmax(120px, 180px));
    gap: 12px;
    margin-top: 12px;
}

.filter-panel.simple {
    grid-template-columns: minmax(260px, 520px);
}

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

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

.overview-card a {
    border: 1px solid rgba(51, 65, 85, 0.75);
}

.overview-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 180px;
    overflow: hidden;
}

.overview-copy {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.overview-copy strong {
    color: var(--white);
    font-size: 22px;
}

.overview-copy em {
    color: var(--slate-400);
    line-height: 1.65;
    font-style: normal;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 58px;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(12px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.44;
}

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

.detail-copy {
    display: grid;
    gap: 18px;
}

.detail-poster {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    background: var(--slate-850);
}

.detail-poster img {
    aspect-ratio: 3 / 4;
}

.player-section {
    padding: 0 0 56px;
    background: rgba(15, 23, 42, 0.5);
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #000000;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    color: var(--white);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18), rgba(2, 6, 23, 0.7));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play-icon {
    width: 74px;
    height: 74px;
    padding: 19px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(16, 185, 129, 0.92);
    box-shadow: 0 18px 42px rgba(16, 185, 129, 0.3);
}

.player-overlay span {
    font-size: 20px;
    font-weight: 900;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
}

.story-card,
.side-card {
    border: 1px solid rgba(51, 65, 85, 0.75);
    border-radius: var(--radius-xl);
    background: rgba(30, 41, 59, 0.72);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
}

.story-card {
    padding: 32px;
}

.story-card h2 + p {
    margin-top: 14px;
}

.story-card p + h2 {
    margin-top: 30px;
}

.story-card p {
    margin-bottom: 0;
    color: var(--slate-300);
    font-size: 17px;
}

.side-card {
    padding: 26px;
    height: fit-content;
}

.side-card dl {
    display: grid;
    gap: 13px;
    margin: 22px 0;
}

.side-card dt {
    color: var(--slate-500);
    font-size: 13px;
}

.side-card dd {
    margin: -8px 0 0;
    color: var(--slate-200);
}

.site-footer {
    border-top: 1px solid rgba(51, 65, 85, 0.65);
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 30px;
    padding: 48px 0 28px;
}

.footer-logo span {
    color: var(--slate-200);
    font-size: 22px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--slate-200);
    font-size: 17px;
}

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

.footer-grid a,
.text-link {
    color: var(--slate-400);
}

.footer-grid a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    padding: 22px 0 30px;
    border-top: 1px solid rgba(51, 65, 85, 0.55);
    color: var(--slate-500);
    text-align: center;
}

.empty-state {
    width: min(1180px, calc(100% - 32px));
    margin: 26px auto 0;
    padding: 26px;
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: var(--radius-lg);
    color: var(--slate-400);
    background: rgba(15, 23, 42, 0.72);
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 18px;
    }

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

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

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

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

    .mobile-only {
        display: inline-flex;
    }

    .hero-slider {
        min-height: 620px;
        height: auto;
    }

    .hero-content {
        padding: 96px 0 120px;
    }

    .search-panel-inner,
    .feature-grid,
    .detail-layout,
    .detail-content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .movie-grid.four-cols,
    .movie-grid.three-cols,
    .category-grid,
    .overview-grid,
    .rank-grid.home-rank {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .row-actions {
        display: none;
    }
}

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

    .brand span {
        font-size: 21px;
    }

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

    .hero-copy p,
    .page-hero p,
    .detail-copy p {
        font-size: 16px;
    }

    .search-form,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form button,
    .primary-button,
    .ghost-button {
        width: 100%;
    }

    .row-item {
        width: 84vw;
        flex-basis: 84vw;
    }

    .movie-grid.four-cols,
    .movie-grid.three-cols,
    .category-grid,
    .overview-grid,
    .rank-grid.home-rank,
    .filter-panel,
    .filter-panel.simple {
        grid-template-columns: 1fr;
    }

    .rank-item a {
        grid-template-columns: auto 74px minmax(0, 1fr);
        gap: 10px;
    }

    .rank-copy em {
        display: none;
    }

    .story-card,
    .side-card {
        padding: 22px;
    }

    .player-overlay span {
        font-size: 17px;
    }
}
