* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #f8fafc;
    background: #020617;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.68), transparent);
    backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #0f172a;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.35);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.nav-link {
    color: #cbd5e1;
    font-size: 14px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fbbf24;
}

.site-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 280px;
}

.site-search input,
.search-page-form input,
.page-filter,
.grid-sort {
    width: 100%;
    min-height: 42px;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    outline: none;
    padding: 0 16px;
}

.site-search input:focus,
.search-page-form input:focus,
.page-filter:focus,
.grid-sort:focus {
    border-color: rgba(251, 191, 36, 0.75);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.12);
}

.site-search button,
.search-page-form button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #0f172a;
    background: #fbbf24;
    font-weight: 800;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
}

.mobile-menu {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
}

.mobile-link {
    display: block;
    padding: 10px 4px;
    color: #cbd5e1;
}

.mobile-link:hover {
    color: #fbbf24;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #020617;
}

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

.hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05);
}

.hero-overlay,
.detail-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 36%, rgba(245, 158, 11, 0.2), transparent 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.92)),
        linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.72) 38%, rgba(2, 6, 23, 0.2) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 56px;
    width: min(1180px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 120px 0 180px;
}

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

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.13);
    border: 1px solid rgba(251, 191, 36, 0.26);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 800;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 20px 0 18px;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.detail-one-line {
    max-width: 780px;
    color: #cbd5e1;
    font-size: clamp(18px, 2vw, 24px);
}

.hero-tags,
.detail-tags,
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags {
    margin: 28px 0;
}

.hero-tags span,
.card-tags span,
.detail-tags a {
    color: #fde68a;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 13px;
}

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

.hero-actions.centered {
    justify-content: center;
}

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

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

.btn-primary {
    color: #0f172a;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 16px 34px rgba(245, 158, 11, 0.28);
}

.btn-ghost {
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.btn-link {
    color: #fbbf24;
    padding-left: 2px;
    padding-right: 2px;
}

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

.btn.full {
    width: 100%;
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 30px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
    transform: rotate(2deg);
}

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

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

.hero-dot {
    width: 38px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.35);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #fbbf24;
}

.hero-quick {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 6;
    display: grid;
    grid-template-columns: minmax(280px, 460px) minmax(280px, 1fr);
    gap: 18px;
    align-items: center;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
}

.hero-search {
    min-width: 0;
    padding: 10px;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}

.hero-chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.hero-chip-row a {
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    padding: 9px 14px;
}

.hero-chip-row a:hover {
    color: #0f172a;
    background: #fbbf24;
}

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

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

.section-head h2 {
    margin: 10px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
}

.section-head.mini h2 {
    font-size: 28px;
}

.section-more {
    color: #fbbf24;
    font-weight: 800;
}

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

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

.movie-card {
    overflow: hidden;
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.45);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111827;
}

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

.movie-card:hover .poster-link img,
.rank-card:hover img,
.category-cover-stack:hover img {
    transform: scale(1.05);
}

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.78));
}

.play-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #0f172a;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.32);
}

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

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.card-meta span {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
    padding: 3px 8px;
}

.movie-card h3,
.rank-card h2 {
    margin: 12px 0 8px;
    color: #f8fafc;
    font-size: 18px;
    line-height: 1.28;
}

.movie-card p,
.rank-card p,
.category-card p,
.category-overview-card p,
.detail-side p,
.site-footer p {
    color: #94a3b8;
}

.movie-card p {
    display: -webkit-box;
    min-height: 46px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
}

.card-tags {
    margin-top: 14px;
}

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

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

.category-section {
    margin-top: -1px;
}

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

.category-card {
    min-height: 190px;
    padding: 22px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.45);
}

.category-card span {
    color: #fbbf24;
    font-size: 13px;
    font-weight: 900;
}

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

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

.split-main .content-section {
    width: 100%;
    padding: 0;
}

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

.rank-panel,
.detail-side {
    position: sticky;
    top: 92px;
    padding: 24px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.rank-list {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.rank-list li + li {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.rank-list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
    padding: 13px 0;
}

.rank-num {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #0f172a;
    background: #fbbf24;
    border-radius: 10px;
    font-weight: 900;
}

.rank-title {
    overflow: hidden;
    color: #e2e8f0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-score {
    color: #fbbf24;
    font-weight: 900;
    text-align: right;
}

.page-main,
.detail-page-main {
    background:
        radial-gradient(circle at 10% 0%, rgba(245, 158, 11, 0.12), transparent 30%),
        linear-gradient(135deg, #020617, #0f172a 52%, #020617);
}

.page-hero {
    display: grid;
    place-items: center;
    min-height: 460px;
    padding: 130px 16px 70px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 28%, rgba(245, 158, 11, 0.16), transparent 28%),
        linear-gradient(180deg, #0f172a, #020617);
}

.small-hero h1,
.category-hero h1 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(38px, 6vw, 64px);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 22px;
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
}

.category-cover-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.category-cover-stack img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.25s ease;
}

.category-overview-card h2 {
    margin: 12px 0 8px;
    font-size: 28px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 220px;
    gap: 14px;
    margin-bottom: 28px;
}

.grid-sort {
    appearance: none;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-card:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, 0.42);
}

.rank-cover {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.rank-cover img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.rank-cover span {
    position: absolute;
    left: 8px;
    top: 8px;
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    color: #0f172a;
    background: #fbbf24;
    border-radius: 11px;
    font-weight: 900;
}

.rank-card strong {
    color: #fbbf24;
    font-size: 24px;
}

.search-page-form {
    display: flex;
    gap: 12px;
    width: min(680px, 100%);
    margin-top: 28px;
}

.search-status {
    margin-bottom: 24px;
    color: #cbd5e1;
}

.detail-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
}

.detail-inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 110px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
    color: #cbd5e1;
    font-size: 14px;
}

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

.detail-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.54);
}

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

.detail-copy h1 {
    font-size: clamp(42px, 6vw, 78px);
}

.detail-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.detail-facts li {
    padding: 14px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
}

.detail-facts span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
}

.detail-facts strong {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #f8fafc;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-section {
    padding-top: 40px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(251, 191, 36, 0.24);
    border-radius: 30px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    color: #f8fafc;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.08), rgba(2, 6, 23, 0.58));
    border: 0;
    cursor: pointer;
}

.play-overlay span {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    color: #0f172a;
    background: #fbbf24;
    border-radius: 50%;
    font-size: 34px;
    box-shadow: 0 22px 54px rgba(245, 158, 11, 0.34);
}

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

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

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

.detail-article {
    padding: 30px;
    background: rgba(15, 23, 42, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
}

.detail-article h2,
.detail-side h2,
.sitemap-section h2 {
    margin: 0 0 14px;
    font-size: 26px;
}

.detail-article p {
    margin: 0 0 26px;
    color: #cbd5e1;
    font-size: 17px;
}

.tag-panel h2 {
    margin-top: 8px;
}

.sitemap-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 38px;
    padding: 0;
    list-style: none;
}

.sitemap-list li a {
    display: block;
    min-height: 50px;
    padding: 12px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
}

.sitemap-list li a:hover {
    border-color: rgba(251, 191, 36, 0.45);
}

.sitemap-list span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
}

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

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: #020617;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr 0.7fr;
    gap: 34px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 34px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #f8fafc;
    font-size: 17px;
}

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

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

.site-footer a,
.footer-bottom {
    color: #94a3b8;
}

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

.footer-cats {
    columns: 2;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

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

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .site-search {
        margin-left: auto;
    }

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

    .hero-poster {
        display: none;
    }

    .hero-quick {
        grid-template-columns: 1fr;
    }

    .hero-chip-row {
        justify-content: flex-start;
    }

    .movie-grid,
    .listing-grid,
    .split-main .movie-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

@media (max-width: 760px) {
    .site-nav {
        height: 64px;
        gap: 12px;
    }

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

    .site-nav > .site-search {
        display: none;
    }

    .hero-inner {
        padding: 104px 0 230px;
    }

    .hero h1,
    .page-hero h1,
    .detail-copy h1 {
        font-size: clamp(34px, 12vw, 52px);
    }

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

    .hero-quick {
        bottom: 24px;
    }

    .hero-controls {
        bottom: 170px;
    }

    .hero-search,
    .search-page-form {
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
    }

    .movie-grid,
    .listing-grid,
    .split-main .movie-grid,
    .rank-grid,
    .category-overview-grid,
    .sitemap-list,
    .movie-sitemap-list {
        grid-template-columns: 1fr;
    }

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

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

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

    .filter-bar,
    .detail-facts {
        grid-template-columns: 1fr;
    }

    .detail-inner {
        padding-top: 94px;
    }

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

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

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
