:root {
    --blue-950: #172554;
    --blue-900: #1e3a8a;
    --blue-800: #1e40af;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-100: #dbeafe;
    --yellow: #facc15;
    --green: #16a34a;
    --purple: #9333ea;
    --orange: #ea580c;
    --pink: #db2777;
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --deep-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--slate-900);
    background: var(--slate-50);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    color: var(--white);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.98), rgba(37, 99, 235, 0.96));
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.25);
    backdrop-filter: blur(18px);
}

.site-header-inner {
    width: min(var(--max-width), calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: var(--blue-900);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.brand-text {
    display: grid;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 22px;
    letter-spacing: 0.02em;
}

.brand-text small {
    color: var(--blue-100);
    font-size: 12px;
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

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

.header-search input,
.mobile-search input,
.big-search input,
.filter-search input,
.filter-selects select {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    outline: none;
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

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

.header-search button,
.mobile-search button,
.big-search button,
.filter-search button {
    border: 0;
    border-radius: 999px;
    color: var(--blue-900);
    background: var(--white);
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.filter-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.menu-button {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.mobile-panel {
    display: none;
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 18px;
}

.mobile-panel.open {
    display: block;
}

.mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.mobile-link {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-link.active,
.mobile-link:hover {
    background: rgba(255, 255, 255, 0.22);
}

main {
    min-height: 70vh;
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 15% 10%, rgba(96, 165, 250, 0.45), transparent 28%),
        radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.35), transparent 26%),
        linear-gradient(135deg, var(--blue-950), var(--blue-800) 58%, var(--blue-700));
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 54px 54px;
}

.hero-bg-glow {
    position: absolute;
    inset: auto -15% -35% -15%;
    height: 320px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.38), transparent 66%);
}

.hero-slider {
    position: relative;
    width: min(var(--max-width), calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 56px;
    align-items: center;
    padding: 80px 0 108px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 18px;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--blue-100);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-weight: 700;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-summary {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

.hero-tags span,
.tag-row span,
.rank-info span {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

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

.tag-row span,
.rank-info span {
    color: var(--blue-700);
    background: var(--blue-100);
}

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

.primary-button,
.ghost-button,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    padding: 12px 24px;
    color: var(--blue-950);
    background: var(--white);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.ghost-button {
    padding: 12px 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.ghost-button.dark {
    color: var(--blue-800);
    background: var(--blue-100);
    box-shadow: none;
}

.text-button {
    color: var(--blue-700);
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover {
    transform: translateY(-2px);
}

.hero-cover {
    position: relative;
    display: block;
    width: min(440px, 100%);
    margin-left: auto;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--deep-shadow);
    transform: rotate(1.2deg);
}

.hero-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.78), transparent 55%);
}

.hero-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-cover:hover img {
    transform: scale(1.06);
}

.hero-cover span {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 2;
    color: var(--white);
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 36px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-controls button {
    pointer-events: auto;
}

.hero-controls > button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    font-size: 30px;
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

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

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

.quick-search-section,
.content-section,
.player-section,
.detail-head {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.quick-search-section {
    padding: 56px 0 24px;
}

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

.section-heading.centered {
    display: block;
    text-align: center;
}

.section-heading.compact-heading {
    align-items: center;
}

.section-heading p,
.page-hero p,
.spotlight-band p {
    margin: 0 0 5px;
    color: var(--blue-600);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.section-heading h2,
.text-panel h2,
.player-section h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.15;
}

.section-heading a {
    color: var(--blue-700);
    font-weight: 800;
}

.big-search {
    display: flex;
    max-width: 820px;
    margin: 26px auto 0;
    padding: 8px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.big-search input {
    flex: 1;
    min-width: 0;
    padding: 15px 18px;
    color: var(--slate-900);
    border: 0;
}

.big-search button {
    padding: 13px 26px;
    color: var(--white);
    background: var(--blue-600);
}

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

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

.category-tile {
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius-md);
    color: var(--white);
    background: var(--blue-800);
    box-shadow: var(--shadow);
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.category-tile span {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.86), rgba(30, 64, 175, 0.3));
}

.category-tile strong,
.category-tile small {
    position: relative;
    z-index: 2;
}

.category-tile strong {
    font-size: 22px;
}

.category-tile small {
    color: rgba(255, 255, 255, 0.78);
}

.category-tile:hover img {
    transform: scale(1.08);
}

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
}

.poster-wrap img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.72), transparent 48%);
    opacity: 0.85;
}

.year-pill,
.play-pill {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.year-pill {
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    color: var(--white);
    background: rgba(37, 99, 235, 0.9);
}

.play-pill {
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
    color: var(--blue-950);
    background: var(--white);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.movie-card h3 {
    margin: 0;
    color: var(--slate-900);
    font-size: 18px;
    line-height: 1.28;
}

.movie-card h3 a:hover {
    color: var(--blue-700);
}

.movie-meta,
.movie-one-line {
    margin: 8px 0 0;
}

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

.movie-one-line {
    min-height: 48px;
    color: var(--slate-600);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.movie-card.compact {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
}

.movie-card.compact .poster-wrap img {
    height: 100%;
    min-height: 142px;
}

.movie-card.compact .movie-card-body {
    padding: 13px;
}

.movie-card.compact .movie-one-line {
    min-height: auto;
    -webkit-line-clamp: 2;
}

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

.spotlight-band {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 34px auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 34px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.25), transparent 24%),
        linear-gradient(135deg, var(--blue-900), var(--blue-600));
    box-shadow: var(--deep-shadow);
}

.spotlight-band h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.16;
}

.spotlight-band span {
    display: block;
    max-width: 760px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 48px 78px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.rank-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    font-weight: 900;
}

.rank-thumb {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.rank-thumb img {
    width: 78px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.rank-info h3 {
    margin: 0;
    font-size: 17px;
}

.rank-info p {
    margin: 5px 0 8px;
    color: var(--slate-600);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rank-info span {
    margin: 0 6px 6px 0;
}

.page-hero,
.detail-head {
    position: relative;
    overflow: hidden;
    margin-top: 34px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        radial-gradient(circle at 75% 8%, rgba(147, 197, 253, 0.35), transparent 24%),
        linear-gradient(135deg, var(--blue-950), var(--blue-700));
    box-shadow: var(--shadow);
}

.page-hero {
    padding: 64px;
}

.page-hero span {
    display: block;
    max-width: 760px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.category-hero .ghost-button {
    margin-top: 22px;
}

.filter-panel {
    margin-bottom: 24px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow);
}

.filter-search {
    display: flex;
    gap: 12px;
}

.filter-search input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border-color: var(--slate-200);
}

.filter-search button {
    padding: 12px 22px;
    color: var(--white);
    background: var(--blue-600);
}

.filter-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.filter-selects select {
    min-width: 158px;
    padding: 11px 14px;
    color: var(--slate-700);
    border-color: var(--slate-200);
    background: var(--slate-50);
}

.empty-state {
    display: none;
    margin-top: 18px;
    padding: 22px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--slate-600);
    background: var(--white);
}

.empty-state.show {
    display: block;
}

.hidden-category {
    display: none;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow);
}

.category-overview-cover {
    overflow: hidden;
    border-radius: 18px;
}

.category-overview-cover img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.category-overview-card h2 {
    margin: 0;
    font-size: 24px;
}

.category-overview-card p {
    color: var(--slate-600);
}

.category-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.category-mini-links a {
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--blue-700);
    background: var(--blue-100);
    font-size: 13px;
    font-weight: 700;
}

.detail-head {
    padding: 26px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.76);
}

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

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

.detail-cover {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--deep-shadow);
}

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

.detail-copy h1 {
    color: var(--white);
}

.detail-one-line {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
}

.detail-meta-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.detail-meta-list span {
    padding: 12px 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.12);
}

.player-section {
    padding: 42px 0 22px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--slate-950);
    box-shadow: var(--deep-shadow);
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--slate-950);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    color: var(--white);
    background: var(--slate-950);
    cursor: pointer;
}

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

.play-overlay img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
}

.play-overlay span {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16), rgba(2, 6, 23, 0.88));
}

.play-overlay strong {
    position: relative;
    z-index: 2;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--blue-900);
    background: var(--white);
    font-size: 40px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

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

.text-panel {
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow);
}

.text-panel p {
    margin: 14px 0 0;
    color: var(--slate-700);
    font-size: 17px;
}

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

.prev-next a {
    padding: 18px;
    border-radius: var(--radius-md);
    color: var(--blue-700);
    background: var(--white);
    box-shadow: var(--shadow);
    font-weight: 800;
}

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

.site-footer {
    margin-top: 54px;
    color: rgba(255, 255, 255, 0.8);
    background: var(--slate-950);
}

.footer-inner {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
}

.footer-inner strong {
    display: block;
    color: var(--white);
    font-size: 24px;
}

.footer-inner p {
    max-width: 780px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 26px 0;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.58);
}

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

    .desktop-nav {
        margin-left: auto;
    }

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

    .two-columns,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }
}

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

    .menu-button {
        display: inline-grid;
        place-items: center;
    }

    .brand {
        min-width: 0;
    }

    .hero-slider {
        min-height: 780px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 44px 0 112px;
    }

    .hero-cover {
        width: min(330px, 86vw);
        margin: 0;
    }

    .page-hero {
        padding: 42px 24px;
    }

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

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

    .detail-cover {
        width: min(280px, 80vw);
    }

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

    .rank-row .text-button {
        grid-column: 3;
        justify-content: start;
        min-height: auto;
    }

    .category-overview-card {
        grid-template-columns: 140px minmax(0, 1fr);
    }
}

@media (max-width: 620px) {
    .site-header-inner {
        min-height: 68px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .mobile-search {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .mobile-search input {
        min-width: 0;
        padding: 11px 14px;
        color: var(--white);
        background: rgba(255, 255, 255, 0.12);
    }

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

    .big-search,
    .filter-search,
    .spotlight-band,
    .section-heading,
    .prev-next {
        display: grid;
    }

    .spotlight-band {
        padding: 24px;
    }

    .big-search {
        border-radius: 22px;
    }

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

    .movie-grid,
    .category-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .movie-card.compact {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .category-overview-card {
        grid-template-columns: 1fr;
    }

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

    .play-overlay strong {
        width: 76px;
        height: 76px;
        font-size: 32px;
    }
}
