:root {
    --color-amber: #d97706;
    --color-amber-light: #f59e0b;
    --color-blue: #2563eb;
    --color-slate: #0f172a;
    --color-muted: #64748b;
    --color-soft: #fff7ed;
    --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.14);
    --radius-xl: 28px;
    --radius-lg: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #1f2937;
    background: linear-gradient(180deg, #fff7ed 0%, #eff6ff 42%, #ffffff 100%);
    font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.container.narrow {
    width: min(880px, calc(100% - 32px));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(217, 119, 6, 0.16);
    backdrop-filter: blur(18px);
}

.nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-amber), var(--color-blue));
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
}

.brand-text,
.footer-brand span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong,
.footer-brand strong {
    font-size: 1.35rem;
    color: transparent;
    background: linear-gradient(90deg, var(--color-amber), var(--color-blue));
    -webkit-background-clip: text;
    background-clip: text;
}

.brand-text small,
.footer-brand small {
    margin-top: 4px;
    color: #6b7280;
    font-size: 0.74rem;
}

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

.nav-link {
    position: relative;
    color: #4b5563;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 999px;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--color-amber), var(--color-blue));
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-amber);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.header-search {
    display: flex;
    align-items: center;
    width: 300px;
    padding: 4px;
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
}

.header-search input,
.big-search input,
.quick-search-inner input,
.local-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #111827;
}

.header-search input {
    padding: 9px 12px;
}

.header-search button,
.big-search button,
.quick-search-inner button {
    border: 0;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    border-radius: 999px;
    padding: 9px 16px;
    background: linear-gradient(135deg, var(--color-amber), var(--color-blue));
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #fff7ed;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #92400e;
}

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

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

.mobile-nav a {
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff7ed;
    color: #78350f;
    font-weight: 700;
}

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

.hero-stage,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.58) 44%, rgba(15, 23, 42, 0.24) 100%), var(--cover-image);
    background-position: center;
    background-size: cover;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: scale(1.04);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 20%, rgba(245, 158, 11, 0.36), transparent 28%),
        radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.24), transparent 24%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(680px, calc(100% - 32px));
    margin-left: max(16px, calc((100vw - 1180px) / 2));
    padding-top: 142px;
    color: #ffffff;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fde68a;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.hero-content p,
.page-hero p,
.detail-info p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.9;
}

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

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

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 10px;
}

.tag-row.large span {
    font-size: 0.88rem;
    padding: 8px 12px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 850;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-amber), var(--color-blue));
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.2);
}

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

.btn.full {
    width: 100%;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    font-size: 2rem;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

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

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

.quick-search-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px;
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.quick-search-inner strong,
.quick-search-inner span {
    display: block;
}

.quick-search-inner strong {
    color: #111827;
    font-size: 1.1rem;
}

.quick-search-inner span {
    margin-top: 4px;
    color: #64748b;
}

.quick-search-inner form,
.big-search {
    display: flex;
    width: min(520px, 100%);
    padding: 6px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(37, 99, 235, 0.14);
}

.quick-search-inner input,
.big-search input {
    padding: 12px 14px;
}

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

.section-block.soft-bg {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.76), rgba(239, 246, 255, 0.86));
}

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

.section-heading h2,
.list-toolbar h2,
.ranking-card h2,
.content-card h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 950;
    letter-spacing: -0.03em;
}

.section-heading p,
.list-toolbar p,
.ranking-card p,
.content-card p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.8;
}

.section-more {
    color: var(--color-amber);
    font-weight: 850;
}

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

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

.category-tile,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    color: #ffffff;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(37, 99, 235, 0.42)), var(--cover-image);
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow-soft);
}

.category-tile {
    min-height: 176px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
}

.category-tile span,
.category-overview-card h2 {
    font-size: 1.35rem;
    font-weight: 950;
}

.category-tile strong {
    margin-top: 8px;
    color: #fde68a;
}

.category-tile small {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.6;
}

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

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

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

.all-movies-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
}

.poster-link {
    display: block;
}

.poster,
.detail-poster,
.player-cover {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(145deg, rgba(15, 23, 42, 0.18), rgba(217, 119, 6, 0.24)), var(--cover-image);
    background-position: center;
    background-size: cover;
}

.poster {
    aspect-ratio: 3 / 4.08;
}

.type-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 850;
    padding: 6px 10px;
    backdrop-filter: blur(10px);
}

.type-badge {
    top: 12px;
    right: 12px;
    background: rgba(37, 99, 235, 0.85);
}

.rank-badge {
    top: 12px;
    left: 12px;
    background: rgba(217, 119, 6, 0.88);
}

.play-float {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(12px);
}

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

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

.card-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #9a3412;
    font-size: 0.78rem;
    font-weight: 800;
}

.movie-card h3 {
    min-height: 2.9em;
    margin: 10px 0 8px;
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.45;
}

.movie-card p {
    min-height: 3.4em;
    margin: 0 0 12px;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.65;
}

.movie-card.compact h3 {
    min-height: 2.7em;
    font-size: 0.94rem;
}

.movie-card.compact p {
    display: none;
}

.ranking-card,
.content-card,
.stat-box,
.player-side-card {
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
}

.ranking-card {
    position: sticky;
    top: 100px;
    padding: 24px;
}

.ranking-card ol,
.side-links ul {
    list-style: none;
    margin: 22px 0;
    padding: 0;
}

.ranking-card li,
.side-links li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.ranking-card li a,
.side-links li a {
    overflow: hidden;
    color: #111827;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-card li em,
.side-links li span {
    color: #94a3b8;
    font-style: normal;
    font-size: 0.82rem;
}

.ranking-number {
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-amber), var(--color-blue));
    font-weight: 950;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 108px 0 96px;
    color: #ffffff;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(37, 99, 235, 0.66)), var(--cover-image);
    background-position: center;
    background-size: cover;
}

.page-hero.slim {
    background-image:
        radial-gradient(circle at 16% 20%, rgba(245, 158, 11, 0.42), transparent 28%),
        linear-gradient(135deg, #0f172a, #1e3a8a 62%, #92400e);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero p {
    max-width: 720px;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stats-strip span,
.stat-box span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    color: #475569;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.stats-strip b,
.stat-box b {
    color: var(--color-amber);
    font-size: 1.2rem;
}

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

.category-overview-card {
    min-height: 360px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-overview-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.24), rgba(15, 23, 42, 0.82));
}

.category-overview-card > * {
    position: relative;
    z-index: 2;
}

.category-overview-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.category-overview-card strong {
    margin: 18px 0;
    color: #fde68a;
}

.category-index {
    position: absolute;
    top: 22px;
    right: 22px;
    color: rgba(255, 255, 255, 0.24);
    font-size: 3rem;
    font-weight: 950;
}

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

.stat-box {
    padding: 22px;
}

.stat-box h3 {
    margin: 0 0 16px;
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
}

.stat-box span {
    margin-top: 10px;
    box-shadow: none;
    background: #f8fafc;
}

.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.local-search {
    width: min(420px, 100%);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 999px;
    background: #ffffff;
}

.local-search input {
    padding: 14px 18px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.filter-chip {
    border: 0;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    cursor: pointer;
    font-weight: 850;
    padding: 10px 14px;
}

.filter-chip.active,
.filter-chip:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-amber), var(--color-blue));
}

.table-wrap {
    overflow-x: auto;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.ranking-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
    padding: 16px;
    border-bottom: 1px solid #eef2f7;
    text-align: left;
}

.ranking-table th {
    color: #475569;
    background: #f8fafc;
    font-size: 0.88rem;
}

.ranking-title {
    display: block;
    color: #111827;
    font-weight: 900;
}

.ranking-title + small {
    display: block;
    max-width: 520px;
    margin-top: 4px;
    color: #64748b;
    line-height: 1.5;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.58)), var(--cover-image);
    background-position: center;
    background-size: cover;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 22%, rgba(245, 158, 11, 0.34), transparent 26%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
    padding: 90px 0;
}

.detail-poster {
    aspect-ratio: 3 / 4.1;
    border: 5px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

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

.detail-info p {
    max-width: 840px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.detail-meta span {
    border-radius: 999px;
    color: #fde68a;
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 12px;
}

.detail-info .tag-row {
    margin-top: 18px;
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    align-items: start;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 16 / 9;
}

.movie-video,
.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.movie-video {
    z-index: 1;
    background: #020617;
}

.player-cover {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.74), rgba(37, 99, 235, 0.22)), var(--cover-image);
}

.player-shell.playing .player-cover {
    display: none;
}

.play-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 132px;
    height: 132px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
}

.play-button span {
    font-size: 2.2rem;
}

.play-button strong {
    font-size: 1rem;
}

.player-side-card,
.content-card {
    padding: 24px;
}

.player-side-card dl {
    margin: 18px 0 0;
}

.player-side-card div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
}

.player-side-card dt {
    color: #94a3b8;
}

.player-side-card dd {
    margin: 0;
    color: #111827;
    font-weight: 800;
}

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

.content-card p {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.95;
}

.content-card h2:not(:first-child) {
    margin-top: 30px;
}

.big-search {
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.92);
}

.search-empty {
    grid-column: 1 / -1;
    padding: 42px;
    border-radius: 24px;
    color: #64748b;
    background: #ffffff;
    text-align: center;
}

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #111827 50%, #172554);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
    padding: 54px 0;
}

.site-footer p {
    max-width: 340px;
    color: #94a3b8;
    line-height: 1.8;
}

.site-footer h3 {
    margin: 0 0 16px;
    color: #ffffff;
}

.site-footer a:not(.footer-brand) {
    display: block;
    margin-top: 10px;
    color: #cbd5e1;
}

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

.footer-bottom {
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-align: center;
}

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

@media (max-width: 1100px) {
    .movie-grid,
    .all-movies-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

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

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

    .ranking-card {
        position: static;
    }
}

@media (max-width: 860px) {
    .main-nav,
    .header-search {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

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

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

    .hero-arrow {
        display: none;
    }

    .quick-search-inner,
    .section-heading,
    .list-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .quick-search-inner form,
    .big-search {
        width: 100%;
    }

    .category-grid,
    .category-overview-grid,
    .stats-strip,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .movie-grid,
    .all-movies-grid,
    .compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-poster {
        width: min(260px, 76vw);
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

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

    .hero-content h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 2.35rem;
    }

    .category-grid,
    .category-overview-grid,
    .stats-strip,
    .stats-grid,
    .footer-grid,
    .movie-grid,
    .all-movies-grid,
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 76px 0;
    }
}
