:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --amber: #f59e0b;
    --gold: #fbbf24;
    --ink: #1f2937;
    --muted: #6b7280;
    --soft: #fff7ed;
    --line: rgba(249, 115, 22, 0.16);
    --shadow: 0 20px 45px rgba(124, 45, 18, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 42%, #fef3c7 100%);
    min-height: 100vh;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(251, 146, 60, 0.18);
    backdrop-filter: blur(14px);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    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-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
}

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

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

.nav-link,
.mobile-link {
    border-radius: 999px;
    color: #4b5563;
    font-weight: 650;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--orange-dark);
    background: #ffedd5;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 14px;
    background: #ffedd5;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--orange-dark);
}

.mobile-nav {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 16px;
}

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

.mobile-link {
    padding: 12px 14px;
}

.hero-carousel {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 1.2s ease;
    pointer-events: none;
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 22%, rgba(251, 191, 36, 0.34), transparent 34%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.58) 48%, rgba(17, 24, 39, 0.76)),
        linear-gradient(0deg, rgba(17, 24, 39, 0.96), transparent 45%);
}

.hero-content {
    position: absolute;
    inset: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 96px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 420px;
    align-items: center;
    gap: 54px;
}

.hero-copy {
    color: #fff;
}

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 7px 14px;
    border-radius: 999px;
    color: #fff7ed;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(245, 158, 11, 0.92));
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.24);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 24px 0 18px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 21px;
    line-height: 1.72;
}

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

.hero-tags span,
.tag-list span {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
}

.hero-tags span {
    padding: 8px 13px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

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

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

.primary-btn,
.home-search button {
    padding: 14px 26px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.34);
}

.ghost-btn {
    padding: 13px 24px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover,
.panel-link:hover,
.home-search button:hover {
    transform: translateY(-2px) scale(1.02);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    aspect-ratio: 3 / 4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 36px 80px rgba(0, 0, 0, 0.4);
    transform: rotate(2deg);
}

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

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

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: #fff;
}

.search-band {
    margin-top: -48px;
    position: relative;
    z-index: 5;
    padding: 0 24px;
}

.search-band-inner,
.filter-panel,
.rank-panel,
.text-card,
.player-card,
.related-aside,
.overview-card,
.category-card,
.movie-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(251, 146, 60, 0.14);
    box-shadow: var(--shadow);
}

.search-band-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 26px;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr 430px;
    align-items: center;
    gap: 24px;
    backdrop-filter: blur(14px);
}

.search-band h2,
.rank-panel h2,
.section-heading h2,
.text-card h2,
.related-aside h2,
.overview-body h2,
.filter-group h2 {
    margin: 0;
    color: #1f2937;
}

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

.home-search,
.filter-search {
    display: flex;
    gap: 10px;
}

.home-search input,
.card-search-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(249, 115, 22, 0.18);
    border-radius: 999px;
    padding: 0 18px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.home-search input:focus,
.card-search-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.home-search button {
    border: 0;
    min-width: 110px;
    cursor: pointer;
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 78px 24px 0;
}

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

.section-heading h2 {
    margin-top: 12px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.035em;
}

.section-heading p {
    max-width: 650px;
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.75;
}

.section-more,
.text-btn,
.panel-link {
    color: var(--orange-dark);
    font-weight: 800;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 55px rgba(124, 45, 18, 0.18);
}

.poster-wrap {
    position: relative;
    display: block;
    height: 245px;
    overflow: hidden;
    background: #111827;
}

.compact-card .poster-wrap {
    height: auto;
    aspect-ratio: 3 / 4;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent 58%);
    opacity: 0.9;
}

.type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    font-size: 12px;
    font-weight: 800;
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(249, 115, 22, 0.9);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

.movie-meta span,
.detail-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff7ed;
}

.movie-card-title {
    margin: 10px 0 8px;
    color: #111827;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.compact-card .movie-card-title {
    font-size: 16px;
}

.movie-card-title a:hover {
    color: var(--orange-dark);
}

.movie-card-body p {
    margin: 0 0 13px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

.tag-list span {
    padding: 5px 8px;
    color: var(--orange-dark);
    background: #ffedd5;
}

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

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

.category-card {
    border-radius: 26px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px rgba(124, 45, 18, 0.18);
}

.category-card a {
    min-height: 210px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at 85% 8%, rgba(251, 191, 36, 0.38), transparent 36%),
        linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.95));
}

.category-name {
    font-size: 23px;
    font-weight: 900;
    color: #1f2937;
}

.category-card p {
    margin: 14px 0 22px;
    color: var(--muted);
    line-height: 1.7;
}

.mini-links,
.overview-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-links a,
.overview-links a {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--orange-dark);
    background: #ffedd5;
    font-size: 12px;
    font-weight: 750;
}

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

.rank-panel {
    position: sticky;
    top: 92px;
    border-radius: 28px;
    padding: 24px;
}

.rank-panel-head span {
    color: var(--orange-dark);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rank-panel-head h2 {
    margin-top: 8px;
    font-size: 28px;
}

.rank-list,
.rank-table {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.rank-list li + li {
    margin-top: 9px;
}

.rank-list a {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: #fff7ed;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-list a:hover {
    background: #ffedd5;
    transform: translateX(4px);
}

.rank-num,
.rank-large-num {
    color: var(--orange-dark);
    font-weight: 950;
}

.rank-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 750;
}

.rank-score {
    color: #92400e;
    font-weight: 900;
}

.panel-link {
    width: 100%;
    margin-top: 18px;
    padding: 12px 16px;
    background: #ffedd5;
}

.page-hero {
    min-height: 380px;
    display: grid;
    align-items: end;
    padding: 86px 24px 64px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 18%, rgba(251, 191, 36, 0.45), transparent 30%),
        linear-gradient(135deg, #9a3412, #ea580c 46%, #f59e0b);
}

.page-hero > div {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.page-hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

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

.filter-panel {
    margin-bottom: 30px;
    padding: 22px;
    border-radius: 28px;
}

.search-panel {
    display: grid;
    gap: 18px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.filter-buttons button {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: #4b5563;
    background: #f3f4f6;
    cursor: pointer;
    font-weight: 750;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-buttons button:hover,
.filter-buttons button.is-selected {
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    transform: translateY(-1px);
}

.filter-group h2 {
    font-size: 17px;
}

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

.overview-card {
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 260px 1fr;
}

.overview-cover {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    min-height: 260px;
    background: #111827;
}

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

.overview-body {
    padding: 24px;
}

.overview-body h2 {
    font-size: 27px;
}

.overview-body p {
    color: var(--muted);
    line-height: 1.72;
}

.text-btn {
    margin-top: 20px;
    padding: 10px 15px;
    background: #ffedd5;
}

.rank-search-line {
    margin: 34px 0 18px;
}

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

.rank-row a {
    display: grid;
    grid-template-columns: 62px 74px minmax(0, 1fr) 60px;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(249, 115, 22, 0.12);
    box-shadow: 0 12px 28px rgba(124, 45, 18, 0.08);
}

.rank-row img {
    width: 74px;
    height: 92px;
    object-fit: cover;
    border-radius: 14px;
}

.rank-row-body {
    min-width: 0;
}

.rank-row-body strong,
.rank-row-body em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-row-body strong {
    font-size: 18px;
}

.rank-row-body em {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
}

.strong-score {
    font-size: 20px;
}

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

.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) saturate(1.1);
    transform: scale(1.05);
}

.detail-mask {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 16%, rgba(251, 191, 36, 0.28), transparent 28%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.72) 52%, rgba(17, 24, 39, 0.9));
}

.detail-hero-inner {
    position: relative;
    max-width: 1200px;
    min-height: 620px;
    margin: 0 auto;
    padding: 80px 24px 70px;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 30px;
    aspect-ratio: 3 / 4;
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fff;
}

.detail-copy h1 {
    margin: 22px 0 18px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    line-height: 1.76;
}

.detail-meta span {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
    margin-top: 22px;
}

.detail-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 24px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 24px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #030712;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-content: center;
    gap: 16px;
    border: 0;
    color: #fff;
    background: linear-gradient(0deg, rgba(3, 7, 18, 0.64), rgba(3, 7, 18, 0.12));
    cursor: pointer;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.overlay-play {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    font-size: 30px;
}

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

.text-card,
.related-aside {
    border-radius: 28px;
    padding: 28px;
}

.text-card h2,
.related-aside h2 {
    margin-bottom: 16px;
    font-size: 26px;
}

.text-card p {
    margin: 0;
    color: #374151;
    line-height: 1.9;
    font-size: 16px;
}

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

.related-aside {
    position: sticky;
    top: 92px;
}

.related-grid {
    display: grid;
    gap: 16px;
}

.related-grid .movie-card {
    border-radius: 20px;
}

.related-grid .poster-wrap {
    height: 160px;
    aspect-ratio: auto;
}

.site-footer {
    margin-top: 88px;
    color: #e5e7eb;
    background: linear-gradient(135deg, #111827, #1f2937 50%, #0f172a);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
}

.footer-brand p {
    max-width: 420px;
    color: #9ca3af;
    line-height: 1.8;
}

.footer-logo .brand-text {
    color: #fff;
}

.footer-column h2 {
    margin: 0 0 16px;
    color: #fb923c;
    font-size: 18px;
}

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

.footer-column a {
    color: #cbd5e1;
}

.footer-column a:hover {
    color: #fb923c;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px 28px;
    color: #9ca3af;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--amber));
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.32);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.is-hidden-by-filter {
    display: none !important;
}

@media (max-width: 1100px) {
    .hero-content,
    .detail-hero-inner,
    .detail-layout,
    .split-section,
    .search-band-inner,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

    .rank-panel,
    .related-aside {
        position: static;
    }

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

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

    .menu-toggle {
        display: flex;
    }

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

    .hero-content {
        padding-top: 70px;
        align-content: center;
        gap: 26px;
    }

    .movie-grid,
    .compact-grid,
    .catalog-grid,
    .hot-grid,
    .category-grid,
    .overview-grid,
    .lead-rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rank-row a {
        grid-template-columns: 44px 58px minmax(0, 1fr);
    }

    .rank-row img {
        width: 58px;
        height: 74px;
    }

    .rank-row .rank-score {
        display: none;
    }
}

@media (max-width: 620px) {
    .header-inner {
        padding: 12px 16px;
    }

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

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

    .hero-content,
    .detail-hero-inner,
    .content-section,
    .detail-layout,
    .page-hero,
    .search-band {
        padding-left: 16px;
        padding-right: 16px;
    }

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

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

    .search-band-inner,
    .filter-panel,
    .text-card,
    .related-aside {
        border-radius: 22px;
        padding: 18px;
    }

    .home-search {
        flex-direction: column;
    }

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

    .movie-grid,
    .compact-grid,
    .catalog-grid,
    .hot-grid,
    .category-grid,
    .overview-grid,
    .lead-rank-grid {
        grid-template-columns: 1fr;
    }

    .poster-wrap,
    .compact-card .poster-wrap {
        height: 300px;
        aspect-ratio: auto;
    }

    .detail-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 54px;
        gap: 28px;
    }

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

    .detail-hero,
    .detail-hero-inner {
        min-height: auto;
    }
}
