:root {
    --brand: #ea580c;
    --brand-dark: #c2410c;
    --brand-deep: #7c2d12;
    --accent: #facc15;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f8fafc;
    --card: #ffffff;
    --night: #111827;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 24px 60px rgba(15, 23, 42, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background: #f3f4f6;
    color: var(--ink);
    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: 80;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.header-inner {
    max-width: 1200px;
    min-height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--brand), #dc2626);
    box-shadow: 0 12px 26px rgba(234, 88, 12, 0.32);
}

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

.nav-link {
    padding: 10px 13px;
    border-radius: 999px;
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
    background: #fff7ed;
    transform: translateY(-1px);
}

.nav-link-sub {
    font-size: 14px;
    color: #6b7280;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    border-radius: 12px;
    background: #fff7ed;
}

.mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--brand);
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 8px 24px 18px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-weight: 700;
    color: #374151;
}

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

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

.home-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    background: linear-gradient(135deg, #ea580c, #dc2626);
    color: white;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: saturate(1.1);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 18%, rgba(250, 204, 21, 0.32), transparent 32%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(194, 65, 12, 0.78) 48%, rgba(220, 38, 38, 0.72));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    min-height: 680px;
    margin: 0 auto;
    padding: 88px 24px 92px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 360px;
    align-items: center;
    gap: 60px;
}

.hero-copy h1 {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: clamp(38px, 7vw, 78px);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.hero-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    color: var(--accent);
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 24px;
    font-size: 19px;
    color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #ffedd5;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

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

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.16);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-tags span {
    background: rgba(255, 255, 255, 0.14);
}

.tag-row span {
    background: #fff7ed;
    color: var(--brand);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    background: linear-gradient(135deg, var(--brand), #dc2626);
    box-shadow: 0 18px 38px rgba(234, 88, 12, 0.32);
}

.button-primary:hover {
    box-shadow: 0 22px 48px rgba(234, 88, 12, 0.4);
}

.button-ghost {
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.button-ghost.light {
    color: var(--brand);
    background: white;
}

.button.wide {
    width: 100%;
}

.hero-poster {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: rotate(0deg) scale(1.03);
}

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

.hero-control-bar {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 5;
    width: min(1200px, calc(100% - 48px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-control-bar a {
    color: #fff;
    font-weight: 900;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 38px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
}

.hero-dot.active {
    background: var(--accent);
}

.quick-search-section {
    position: relative;
    z-index: 4;
    margin-top: -42px;
}

.quick-search-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    gap: 28px;
    align-items: center;
    padding-top: 28px;
    padding-bottom: 28px;
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow);
}

.quick-search-card h2 {
    margin: 0;
    font-size: clamp(24px, 4vw, 36px);
    letter-spacing: -0.04em;
}

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

.home-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 16px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.home-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.home-search button {
    min-width: 128px;
    height: 52px;
    border: 0;
    border-radius: 16px;
    color: white;
    background: var(--brand);
    font-weight: 900;
}

.section-block {
    padding: 72px 0;
}

.white-block {
    background: white;
}

.soft-block {
    background: #f8fafc;
}

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

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

.section-heading h2,
.ranking-panel h2,
.player-info h2,
.detail-article h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    letter-spacing: -0.04em;
    line-height: 1.12;
}

.section-heading p,
.ranking-panel p,
.player-info p,
.detail-article p {
    margin: 10px 0 0;
    color: var(--muted);
}

.section-heading > a {
    color: var(--brand);
    font-weight: 900;
}

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

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 12px 35px 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(--shadow-hover);
}

.movie-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111827;
}

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

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

.cover-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(17, 24, 39, 0.72));
    opacity: 0.75;
}

.play-chip {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--brand);
    background: white;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.rank-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    min-width: 42px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    color: #111827;
    background: var(--accent);
    font-weight: 900;
}

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

.movie-card-meta {
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
}

.movie-card h2 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.28;
}

.movie-card p {
    min-height: 50px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.movie-card-compact h2 {
    font-size: 17px;
}

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

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

.category-card {
    display: block;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(234, 88, 12, 0.35);
    box-shadow: var(--shadow);
}

.category-card span {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--brand);
    font-weight: 900;
}

.category-card h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.category-card p {
    margin: 0;
    color: var(--muted);
}

.ranking-panel {
    position: sticky;
    top: 92px;
    padding: 26px;
    border-radius: 26px;
    color: white;
    background: linear-gradient(135deg, #111827, #7c2d12 55%, #dc2626);
    box-shadow: var(--shadow);
}

.ranking-panel .eyebrow {
    color: var(--accent);
}

.ranking-panel p {
    color: rgba(255, 255, 255, 0.76);
}

.rank-list {
    margin: 24px 0;
    display: grid;
    gap: 10px;
}

.rank-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.09);
}

.rank-row span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #111827;
    background: var(--accent);
    font-weight: 900;
}

.rank-row strong,
.rank-row em {
    min-width: 0;
}

.rank-row strong {
    grid-column: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-row em {
    grid-column: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-style: normal;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 80% 20%, rgba(250, 204, 21, 0.24), transparent 26%),
        linear-gradient(135deg, #111827, #9a3412 52%, #dc2626);
}

.page-hero .section-inner {
    padding-top: 80px;
    padding-bottom: 80px;
}

.compact-page-hero .section-inner {
    padding-top: 70px;
    padding-bottom: 70px;
}

.page-hero h1 {
    max-width: 820px;
    margin: 0 0 16px;
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

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

.category-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.category-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    max-width: 180px;
    padding: 12px 14px;
    border-radius: 16px;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.category-chip strong {
    font-size: 15px;
}

.category-chip span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.76);
}

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

.overview-card {
    padding: 28px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.overview-index {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: white;
    background: linear-gradient(135deg, var(--brand), #dc2626);
    font-weight: 900;
}

.overview-card h2 {
    margin: 18px 0 10px;
    font-size: 28px;
}

.overview-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.overview-samples {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 22px;
}

.overview-samples a {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #111827;
}

.overview-samples img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    opacity: 0.82;
}

.overview-samples span {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    color: white;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 0.3fr));
    gap: 14px;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.filter-search-wrap {
    position: relative;
}

.filter-search-wrap span {
    position: absolute;
    left: 16px;
    top: 50%;
    color: var(--muted);
    transform: translateY(-50%);
}

.filter-search-wrap input {
    padding-left: 42px;
}

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

.ranking-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.ranking-hero-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 300px;
    border-radius: 26px;
    background: #111827;
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.ranking-hero-card img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    opacity: 0.76;
    transition: transform 0.35s ease;
}

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

.ranking-hero-card span,
.ranking-hero-card strong,
.ranking-hero-card em {
    position: absolute;
    left: 22px;
    right: 22px;
}

.ranking-hero-card span {
    top: 22px;
    width: max-content;
    padding: 6px 12px;
    border-radius: 999px;
    color: #111827;
    background: var(--accent);
    font-weight: 900;
}

.ranking-hero-card strong {
    bottom: 52px;
    color: white;
    font-size: 26px;
    line-height: 1.14;
}

.ranking-hero-card em {
    bottom: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
}

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

.ranking-list-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) minmax(160px, 0.5fr) minmax(150px, 0.4fr);
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-list-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.ranking-list-row span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: var(--brand);
    font-weight: 900;
}

.ranking-list-row em,
.ranking-list-row i {
    color: var(--muted);
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-hero-inner {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
    padding-top: 66px;
    padding-bottom: 66px;
}

.detail-poster {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

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

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

.breadcrumb a:hover {
    color: white;
}

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.detail-copy p {
    max-width: 780px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: stretch;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #020617;
    box-shadow: var(--shadow);
}

.movie-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    color: white;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-overlay span {
    width: 84px;
    height: 84px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--brand);
    background: white;
    font-size: 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
}

.play-overlay strong {
    font-size: 20px;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
}

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

.player-info {
    padding: 26px;
    border-radius: 26px;
    background: #fff7ed;
}

.player-info dl {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
}

.player-info dl div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(234, 88, 12, 0.18);
}

.player-info dt {
    color: var(--brand);
    font-weight: 900;
}

.player-info dd {
    margin: 0;
    color: #374151;
}

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

.detail-article article {
    padding: 30px;
    border-radius: 26px;
    background: white;
    border: 1px solid var(--line);
}

.detail-article p {
    font-size: 17px;
}

.detail-neighbor {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.detail-neighbor a {
    min-width: 0;
    padding: 14px 18px;
    border-radius: 16px;
    color: var(--brand);
    background: #fff;
    border: 1px solid rgba(234, 88, 12, 0.2);
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-footer {
    color: #d1d5db;
    background: #111827;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 52px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr) minmax(240px, 0.8fr);
    gap: 34px;
}

.footer-logo {
    color: white;
}

.footer-brand p,
.site-footer li {
    color: #9ca3af;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: white;
    font-size: 18px;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2;
}

.site-footer li {
    margin: 0 0 8px;
}

.site-footer a:hover {
    color: #fed7aa;
}

.footer-bottom {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #9ca3af;
}

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

    .mobile-menu-button {
        display: block;
    }

    .hero-content,
    .detail-hero-inner,
    .player-layout,
    .split-layout,
    .quick-search-card,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

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

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

    .ranking-panel {
        position: relative;
        top: auto;
    }
}

@media (max-width: 760px) {
    .header-inner,
    .section-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .home-hero,
    .hero-content {
        min-height: 760px;
    }

    .hero-content {
        padding-top: 64px;
        gap: 30px;
    }

    .hero-control-bar {
        width: calc(100% - 32px);
        flex-direction: column;
        align-items: flex-start;
    }

    .home-search,
    .section-heading,
    .detail-neighbor {
        flex-direction: column;
        align-items: stretch;
    }

    .movie-grid,
    .catalog-grid,
    .compact-grid,
    .category-grid,
    .overview-grid,
    .ranking-hero-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .ranking-list-row em,
    .ranking-list-row i {
        grid-column: 2;
    }

    .detail-hero-inner {
        padding-top: 46px;
        padding-bottom: 46px;
    }

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

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

    .footer-inner {
        gap: 24px;
    }

    .site-footer ul {
        columns: 1;
    }
}
