* {
    box-sizing: border-box;
}

:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-850: #182033;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --red-500: #ef4444;
    --white: #ffffff;
    --shadow-soft: 0 16px 45px rgba(15, 23, 42, 0.12);
    --shadow-strong: 0 24px 70px rgba(15, 23, 42, 0.24);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(135deg, var(--slate-50), var(--slate-100));
    color: var(--slate-800);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

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: 50;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(18px);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-900);
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    color: var(--white);
    font-size: 14px;
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.3);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--slate-600);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-600);
    background: rgba(249, 115, 22, 0.1);
}

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

.site-search {
    position: relative;
    width: 280px;
}

.site-search input,
.filter-field input,
.filter-field select {
    width: 100%;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    color: var(--slate-800);
    outline: none;
    transition: all 0.25s ease;
}

.site-search input {
    height: 42px;
    padding: 0 18px;
}

.site-search input:focus,
.filter-field input:focus,
.filter-field select:focus {
    border-color: var(--orange-500);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, 92vw);
    max-height: 440px;
    overflow: auto;
    display: none;
    padding: 10px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-strong);
}

.search-results.open {
    display: block;
}

.search-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.search-item:hover {
    background: var(--slate-100);
}

.search-item img {
    width: 58px;
    height: 78px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--slate-200);
}

.search-item strong {
    display: block;
    color: var(--slate-900);
    font-size: 14px;
}

.search-item span,
.search-item p {
    display: block;
    margin: 2px 0 0;
    color: var(--slate-500);
    font-size: 12px;
}

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

.mobile-menu-button span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--slate-800);
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    background: rgba(255, 255, 255, 0.98);
}

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

.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--slate-100);
    color: var(--slate-700);
    font-weight: 700;
}

.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--slate-950), var(--slate-800), var(--slate-900));
}

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
}

.hero-overlay,
.detail-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.2), transparent 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.9));
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 64px;
}

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

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-400);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 14px 0 22px;
    color: var(--white);
    font-size: clamp(44px, 8vw, 86px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 26px;
    color: #cbd5e1;
    font-size: clamp(18px, 2.4vw, 24px);
}

.hero-movie {
    max-width: 660px;
    margin: 0 0 30px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    backdrop-filter: blur(16px);
}

.hero-movie span,
.hero-movie em {
    display: block;
    color: #cbd5e1;
    font-size: 14px;
    font-style: normal;
}

.hero-movie strong {
    display: block;
    margin: 4px 0;
    font-size: 24px;
}

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

.primary-button,
.secondary-button,
.section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.primary-button {
    min-height: 52px;
    padding: 0 30px;
    background: var(--orange-500);
    color: var(--white);
    box-shadow: 0 14px 32px rgba(249, 115, 22, 0.32);
}

.primary-button:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
}

.secondary-button {
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.hero-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(18px);
    transform: rotate(2deg);
    transition: all 0.35s ease;
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-6px);
}

.hero-card img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.hero-card div {
    padding: 20px;
    color: var(--white);
}

.hero-card span {
    color: var(--orange-400);
    font-weight: 800;
}

.hero-card h2 {
    margin: 8px 0 4px;
    font-size: 24px;
}

.hero-card p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
}

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

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

.section-heading h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 0;
    color: var(--slate-900);
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--slate-500);
}

.section-icon {
    font-size: 28px;
}

.section-link {
    min-height: 40px;
    padding: 0 18px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange-600);
}

.section-link:hover {
    background: var(--orange-500);
    color: var(--white);
}

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

.featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

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

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

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

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

.movie-poster::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent);
}

.duration-badge,
.rank-badge,
.play-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
}

.duration-badge {
    right: 10px;
    bottom: 10px;
    min-height: 26px;
    padding: 0 8px;
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.78);
}

.rank-badge {
    left: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-400), var(--red-500));
    box-shadow: 0 10px 26px rgba(239, 68, 68, 0.3);
}

.play-badge {
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.9);
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    transition: all 0.25s ease;
}

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

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

.movie-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 700;
}

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

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

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

.movie-tags,
.detail-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.movie-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--slate-100);
    color: var(--slate-600);
    font-size: 12px;
    font-weight: 700;
}

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

.movie-card-compact h3 {
    font-size: 15px;
}

.movie-card-compact p {
    min-height: 40px;
    font-size: 13px;
}

.category-band {
    background: linear-gradient(90deg, var(--slate-800), var(--slate-950));
}

.category-band .section-heading h2,
.category-band .section-heading p {
    color: var(--white);
}

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

.category-tile {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.25);
    transition: all 0.3s ease;
}

.category-tile:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(249, 115, 22, 0.55);
}

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

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

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

.category-tile span,
.category-tile small {
    position: relative;
    z-index: 1;
}

.category-tile span {
    font-size: 24px;
    font-weight: 900;
}

.category-tile small {
    margin-top: 4px;
    color: #cbd5e1;
    font-weight: 700;
}

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

.ranking-panel {
    padding: 22px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

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

.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-950), var(--slate-800));
}

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

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 10%, rgba(249, 115, 22, 0.28), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.72));
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 78px 0;
}

.page-hero h1 {
    margin: 12px 0 12px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

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

.category-overview {
    display: grid;
    gap: 34px;
}

.category-preview {
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.category-preview-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.category-preview h2 {
    margin: 4px 0 4px;
    color: var(--slate-900);
    font-size: 28px;
}

.category-preview p {
    margin: 0;
    color: var(--slate-500);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px 170px;
    gap: 14px;
    margin-bottom: 26px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.filter-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--slate-500);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.filter-field input,
.filter-field select {
    height: 46px;
    padding: 0 16px;
    border-radius: 14px;
}

.empty-state {
    display: none;
    padding: 28px;
    border-radius: 20px;
    background: var(--white);
    color: var(--slate-500);
    text-align: center;
    font-weight: 700;
}

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

.ranking-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
}

.sticky-panel {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow: auto;
}

.rank-table {
    display: grid;
    gap: 8px;
}

.rank-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: var(--slate-50);
    transition: all 0.2s ease;
}

.rank-row:hover {
    background: rgba(249, 115, 22, 0.1);
}

.rank-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--slate-900);
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
}

.rank-row strong {
    overflow: hidden;
    color: var(--slate-900);
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-row em {
    grid-column: 2 / 4;
    color: var(--slate-500);
    font-size: 12px;
    font-style: normal;
}

.rank-row b {
    color: var(--orange-600);
    font-size: 13px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    background: var(--slate-950);
    color: var(--white);
}

.detail-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    min-height: 620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    padding: 56px 0;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 700;
}

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

.detail-info h1 {
    margin: 12px 0 16px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.detail-info p {
    max-width: 760px;
    margin: 0 0 20px;
    color: #e2e8f0;
    font-size: 20px;
}

.detail-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.detail-stats span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-weight: 800;
}

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

.detail-tags span {
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.detail-content {
    padding-top: 50px;
}

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

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border: 0;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.1), rgba(2, 6, 23, 0.68));
    color: var(--white);
    cursor: pointer;
}

.player-overlay span {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    font-size: 28px;
    box-shadow: 0 18px 45px rgba(249, 115, 22, 0.38);
}

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

.player-shell.playing .player-overlay {
    opacity: 0;
    pointer-events: none;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    margin-top: 34px;
}

.story-card,
.info-card {
    padding: 28px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.story-card h2,
.info-card h2 {
    margin: 0 0 14px;
    color: var(--slate-900);
    font-size: 24px;
}

.story-card p {
    margin: 0 0 24px;
    color: var(--slate-600);
    font-size: 16px;
}

.story-card p:last-child {
    margin-bottom: 0;
}

.info-card dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px 16px;
    margin: 0;
}

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

.info-card dd {
    margin: 0;
    color: var(--slate-800);
}

.info-card a {
    color: var(--orange-600);
    font-weight: 800;
}

.site-footer {
    margin-top: 40px;
    background: var(--slate-950);
    color: #94a3b8;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-logo {
    color: var(--white);
}

.footer-brand p {
    max-width: 620px;
    margin: 14px 0 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

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

    .mobile-menu-button {
        display: inline-flex;
    }

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

    .hero-card {
        display: none;
    }

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

    .sticky-panel {
        position: static;
        max-height: none;
    }
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 66px;
    }

    .site-search {
        width: min(48vw, 220px);
    }

    .hero-section,
    .hero-inner {
        min-height: 560px;
    }

    .hero-copy h1 {
        font-size: 48px;
    }

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

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

    .section-heading,
    .category-preview-head,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-grid,
    .catalog-grid,
    .small-grid,
    .featured-grid,
    .preview-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

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

    .detail-inner {
        gap: 24px;
        padding: 38px 0;
    }

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

    .detail-info h1 {
        font-size: 40px;
    }

    .story-card,
    .info-card,
    .ranking-panel,
    .category-preview {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        width: min(100% - 20px, 1180px);
        gap: 10px;
    }

    .site-logo {
        font-size: 17px;
    }

    .site-search {
        width: 42vw;
    }

    .site-search input {
        padding: 0 12px;
        font-size: 13px;
    }

    .movie-grid,
    .catalog-grid,
    .small-grid,
    .featured-grid,
    .preview-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }
}
