:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-soft: #e0f2fe;
    --secondary: #0f172a;
    --secondary-soft: #f8fafc;
    --text: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --white: #ffffff;
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 18px 50px rgba(2, 132, 199, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f1f5f9 100%);
    font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled,
.site-header:hover {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.solid-header .site-header {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.site-header.scrolled .site-logo,
.site-header:hover .site-logo,
.solid-header .site-logo,
.footer-logo {
    color: var(--secondary);
}

.site-logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(2, 132, 199, 0.28);
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled .nav-link,
.site-header:hover .nav-link,
.solid-header .nav-link {
    color: #334155;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
    background: var(--primary);
}

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.site-header.scrolled .mobile-toggle,
.site-header:hover .mobile-toggle,
.solid-header .mobile-toggle {
    color: var(--secondary);
    background: #f1f5f9;
}

.mobile-panel {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
}

.mobile-panel a {
    display: block;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--secondary);
}

.mobile-panel a:hover {
    color: #ffffff;
    background: var(--primary);
}

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

.hero-carousel {
    position: relative;
    height: min(80vh, 760px);
    min-height: 560px;
    overflow: hidden;
    background: #020617;
}

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

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

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 6s linear;
}

.hero-slide.active > img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 20%, rgba(2, 132, 199, 0.35), transparent 28%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.58) 46%, rgba(2, 6, 23, 0.24) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.1));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 76px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(2, 132, 199, 0.92);
    font-size: 13px;
    font-weight: 800;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-copy p {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.75;
}

.hero-meta,
.hero-tags,
.movie-tags,
.rank-row-meta,
.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-meta {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.hero-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.55);
}

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

.hero-tags span,
.movie-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: var(--primary-dark);
    background: var(--primary-soft);
    font-size: 12px;
    font-weight: 800;
}

.hero-tags span {
    padding: 7px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn-primary,
.btn-ghost,
.quick-search button,
.panel-link,
.rank-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 13px;
    border: 1px solid transparent;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary,
.quick-search button,
.panel-link,
.rank-watch {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.24);
}

.btn-primary:hover,
.quick-search button:hover,
.panel-link:hover,
.rank-watch:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}

.small-btn {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    font-size: 42px;
    line-height: 42px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-50%) scale(1.04);
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

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

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

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

.home-search-strip {
    margin-top: -52px;
    position: relative;
    z-index: 8;
}

.search-strip-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
}

.home-search-strip h2,
.home-search-strip p {
    margin: 0;
}

.home-search-strip h2 {
    color: var(--secondary);
    font-size: 24px;
    font-weight: 900;
}

.home-search-strip p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.8;
}

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

.quick-search input,
.filter-bar input,
.filter-bar select {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 15px;
    outline: none;
    background: #ffffff;
    color: var(--text);
}

.quick-search input,
.filter-bar input {
    flex: 1;
}

.quick-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.section {
    padding: 76px 0;
}

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

.section-heading h2,
.category-preview h3,
.rank-panel h2,
.sidebar-card h2,
.text-block h2,
.tag-block h2 {
    margin: 0;
    color: var(--secondary);
    font-weight: 900;
}

.section-heading h2 {
    font-size: clamp(26px, 3.4vw, 40px);
}

.section-heading p,
.category-preview p,
.rank-panel p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.section-more,
.category-preview-head a {
    color: var(--primary);
    font-weight: 900;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.72);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 132, 199, 0.28);
    box-shadow: var(--shadow-hover);
}

.movie-card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0f172a;
}

.movie-card-compact .movie-card-cover {
    aspect-ratio: 4 / 3;
}

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

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

.movie-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.12));
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-card-cover::after {
    opacity: 1;
}

.movie-card-type {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(2, 132, 199, 0.92);
    font-size: 12px;
    font-weight: 900;
}

.movie-play-dot {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card h3 {
    margin: 0 0 8px;
    color: var(--secondary);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.movie-meta-row {
    justify-content: space-between;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.movie-tags {
    margin-top: 12px;
}

.movie-tags span {
    padding: 5px 9px;
}

.gradient-section {
    color: #ffffff;
    background: linear-gradient(100deg, var(--primary) 0%, #0369a1 48%, #075985 100%);
}

.gradient-section .section-heading h2,
.gradient-section .section-heading p,
.gradient-section .section-more {
    color: #ffffff;
}

.horizontal-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 18px;
    scroll-snap-type: x proximity;
}

.scroll-item {
    width: 286px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.two-column-zone {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
}

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

.category-preview {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

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

.category-preview h3 {
    font-size: 24px;
}

.rank-panel,
.sidebar-card {
    position: sticky;
    top: 96px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.mini-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.mini-card {
    display: grid;
    grid-template-columns: auto 92px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
    background: #e0f2fe;
    transform: translateX(2px);
}

.rank-num {
    min-width: 32px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
}

.mini-card img {
    width: 92px;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    object-fit: cover;
}

.mini-card-info {
    min-width: 0;
}

.mini-card-info strong,
.mini-card-info em {
    display: block;
}

.mini-card-info strong {
    color: var(--secondary);
    font-weight: 900;
    line-height: 1.35;
}

.mini-card-info em {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.panel-link {
    width: 100%;
    margin-top: 18px;
}

.soft-section {
    background: #f1f5f9;
}

.page-hero {
    padding: 132px 0 64px;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 16%, rgba(56, 189, 248, 0.3), transparent 24%),
        linear-gradient(135deg, #020617 0%, #0f172a 48%, #075985 100%);
}

.slim-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(36px, 5.5vw, 60px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.slim-hero p {
    max-width: 780px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 800;
}

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

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

.category-card {
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.category-card-images {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    background: #0f172a;
}

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

.category-card-body {
    padding: 24px;
}

.category-card-body h2 {
    margin: 0 0 10px;
    color: var(--secondary);
    font-size: 24px;
    font-weight: 900;
}

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

.category-card-body span {
    display: inline-flex;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 900;
}

.filter-bar {
    max-width: 760px;
    margin-top: 26px;
}

.wide-filter {
    max-width: 920px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.rank-row-cover {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
}

.rank-row-cover img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.rank-row-cover span {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary);
    font-weight: 900;
}

.rank-row-body h2 {
    margin: 0 0 8px;
    color: var(--secondary);
    font-size: 22px;
    font-weight: 900;
}

.rank-row-body p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.75;
}

.rank-row-meta {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.detail-page {
    padding-top: 96px;
}

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

.detail-main .breadcrumb {
    color: #64748b;
}

.detail-main .breadcrumb a:hover {
    color: var(--primary);
}

.player-card,
.detail-content,
.sidebar-card {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.player-card {
    overflow: hidden;
}

.video-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
}

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

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.24), rgba(2, 6, 23, 0.38));
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-overlay span {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 45px rgba(2, 6, 23, 0.24);
    font-size: 34px;
    transform: translateX(3px);
}

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

.detail-content {
    margin-top: 22px;
    padding: 26px;
}

.detail-title-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.detail-title-row h1 {
    margin: 0;
    color: var(--secondary);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.lead-text {
    margin: 18px 0 0;
    color: #334155;
    font-size: 18px;
    line-height: 1.85;
}

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

.detail-meta-grid span {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
    color: #334155;
    font-weight: 800;
}

.detail-meta-grid strong {
    color: #64748b;
    font-size: 12px;
}

.text-block,
.tag-block {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.text-block h2,
.tag-block h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.text-block p {
    margin: 0;
    color: #334155;
    line-height: 1.95;
    font-size: 16px;
}

.large-tags span {
    padding: 8px 12px;
    font-size: 13px;
}

.related-section {
    padding-top: 46px;
}

.site-footer {
    color: #cbd5e1;
    background: #020617;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    padding: 44px 0;
    align-items: center;
}

.footer-inner p {
    max-width: 720px;
    margin: 14px 0 0;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-logo {
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    padding: 9px 12px;
    border-radius: 999px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 800;
}

.footer-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    color: #94a3b8;
    text-align: center;
    font-size: 14px;
}

[hidden],
.filtered-out {
    display: none !important;
}

@media (max-width: 1080px) {
    .movie-grid,
    .featured-grid,
    .latest-grid,
    .small-grid,
    .listing-grid,
    .search-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .two-column-zone,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .rank-panel,
    .detail-sidebar,
    .sidebar-card {
        position: static;
    }

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

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

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

    .site-header-inner {
        height: 66px;
    }

    .hero-carousel {
        min-height: 660px;
        height: 92vh;
    }

    .hero-content {
        padding-top: 66px;
    }

    .hero-arrow {
        display: none;
    }

    .search-strip-inner,
    .footer-inner,
    .category-grid,
    .rank-row {
        grid-template-columns: 1fr;
    }

    .quick-search,
    .filter-bar {
        flex-direction: column;
    }

    .section-heading,
    .category-preview-head,
    .detail-title-row {
        display: block;
    }

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

    .category-preview,
    .detail-content {
        padding: 18px;
        border-radius: 22px;
    }

    .page-hero {
        padding-top: 112px;
    }
}

@media (max-width: 540px) {
    .container,
    .site-header-inner,
    .mobile-panel {
        width: min(100% - 24px, 1180px);
    }

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

    .hero-copy p,
    .lead-text {
        font-size: 16px;
    }

    .movie-grid,
    .featured-grid,
    .latest-grid,
    .small-grid,
    .listing-grid,
    .search-grid {
        grid-template-columns: 1fr;
    }

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

    .mini-card {
        grid-template-columns: auto 86px 1fr;
    }
}
