:root {
    --rose: #e11d48;
    --pink: #ec4899;
    --orange: #fb923c;
    --slate: #0f172a;
    --slate-soft: #1e293b;
    --text: #111827;
    --muted: #64748b;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #fff1f2;
    --shadow: 0 22px 65px rgba(15, 23, 42, 0.14);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff7f7 0%, #ffffff 34%, #fff7ed 100%);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    background: linear-gradient(135deg, #fecdd3, #fed7aa);
}

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose), var(--pink), var(--orange));
    box-shadow: 0 16px 42px rgba(225, 29, 72, 0.24);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

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

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

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.top-search,
.mobile-search,
.hero-search,
.advanced-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-search input,
.mobile-search input {
    width: 230px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    padding: 10px 16px;
    color: #ffffff;
    outline: none;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.top-search input::placeholder,
.mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.top-search button,
.mobile-search button,
.hero-search button,
.advanced-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    color: var(--rose);
    background: #ffffff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    padding: 0 16px 16px;
    background: rgba(225, 29, 72, 0.28);
    backdrop-filter: blur(18px);
}

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

.mobile-panel a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 700;
}

.mobile-panel a:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.22), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(253, 186, 116, 0.52), transparent 24%),
        linear-gradient(135deg, #be123c 0%, #db2777 48%, #f97316 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.24) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.24) 25%, transparent 25%);
    background-size: 42px 42px;
}

.hero-shell {
    position: relative;
    z-index: 1;
    min-height: 620px;
    display: grid;
    align-items: center;
    padding: 70px 0 82px;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: 60px;
}

.hero-slide.active {
    display: grid;
    animation: fadeUp 0.52s ease both;
}

.hero-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.06em;
    text-shadow: 0 18px 60px rgba(15, 23, 42, 0.24);
}

.hero-copy p {
    max-width: 720px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(18px, 2vw, 24px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 900;
}

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

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

.hero-tags span,
.tag-list span {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 11px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
}

.tag-list span {
    color: var(--rose);
    background: #fff1f2;
    box-shadow: none;
}

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

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

.primary-btn {
    padding: 13px 24px;
    color: var(--rose);
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.ghost-btn {
    padding: 13px 24px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    width: min(380px, 100%);
    margin-left: auto;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 26px 90px rgba(15, 23, 42, 0.36);
    transform: rotate(2deg);
}

.hero-poster::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.72));
    z-index: 1;
}

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

.hero-play {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    color: var(--rose);
    background: #ffffff;
    font-weight: 900;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24);
}

.hero-controls {
    position: absolute;
    left: 0;
    bottom: -54px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-prev,
.hero-next,
.hero-dot {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.hero-prev,
.hero-next {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 28px;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 99px;
    opacity: 0.7;
}

.hero-dot.active {
    width: 28px;
    background: #ffffff;
    opacity: 1;
}

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

.section-heading {
    margin-bottom: 28px;
}

.section-heading.center {
    text-align: center;
}

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

.section-heading h2,
.toolbar h2,
.filter-panel h2 {
    margin: 6px 0 0;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 680px;
    margin: 10px auto 0;
    color: var(--muted);
}

.section-heading a,
.text-link {
    color: var(--rose);
    font-weight: 900;
}

.hero-search,
.advanced-search {
    width: min(860px, 100%);
    margin: 26px auto 0;
    padding: 10px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.hero-search input,
.advanced-search input,
.advanced-search select {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: none;
    padding: 14px 18px;
    border-radius: 999px;
    color: var(--text);
    background: #fff7ed;
}

.advanced-search select {
    max-width: 190px;
    cursor: pointer;
}

.hero-search button,
.advanced-search button {
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose), var(--orange));
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(225, 29, 72, 0.18);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #fecdd3, #fed7aa);
}

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

.movie-card:hover .poster-link img {
    transform: scale(1.05);
}

.poster-glow {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.66));
}

.year-badge,
.type-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.year-badge {
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.55);
}

.type-badge {
    top: 12px;
    right: 12px;
    background: rgba(225, 29, 72, 0.82);
}

.rank-badge {
    left: 12px;
    bottom: 12px;
    background: linear-gradient(90deg, var(--orange), var(--rose));
}

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

.movie-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.movie-meta span + span::before {
    content: "•";
    margin-right: 8px;
    color: #fda4af;
}

.movie-card h3 {
    margin: 8px 0 8px;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 950;
}

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

.movie-card.compact {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: stretch;
}

.movie-card.compact .poster-link img {
    height: 100%;
    aspect-ratio: 3 / 4;
}

.movie-card.compact .movie-card-body {
    min-width: 0;
}

.soft-panel {
    background: linear-gradient(120deg, rgba(255, 241, 242, 0.92), rgba(255, 247, 237, 0.92));
}

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

.category-tile {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    border-radius: 28px;
    color: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}

.category-tile img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    filter: saturate(1.05);
    transition: transform 0.35s ease;
}

.category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.74));
}

.category-tile span,
.category-tile em {
    position: absolute;
    z-index: 2;
    left: 18px;
}

.category-tile span {
    bottom: 45px;
    font-size: 22px;
    font-weight: 950;
}

.category-tile em {
    bottom: 20px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.78);
}

.category-tile:hover img {
    transform: scale(1.08);
}

.ranking-strip {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: center;
}

.ranking-copy {
    padding: 38px;
    border-radius: 30px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--slate), #7f1d1d 52%, var(--rose));
    box-shadow: var(--shadow);
}

.ranking-copy p {
    color: rgba(255, 255, 255, 0.78);
}

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

.mini-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.mini-card img {
    width: 72px;
    height: 94px;
    border-radius: 14px;
    object-fit: cover;
}

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

.mini-card strong {
    font-weight: 950;
}

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

.page-hero {
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.22), transparent 25%),
        linear-gradient(135deg, #be123c, #db2777 48%, #f97316);
}

.page-hero .container {
    padding: 64px 0;
}

.page-hero h1 {
    margin: 12px 0 12px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
}

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

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

.category-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.filter-panel,
.article-card,
.player-section,
.search-panel,
.category-overview-card,
.rank-table {
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.filter-panel {
    position: sticky;
    top: 92px;
    padding: 24px;
}

.side-links,
.compact-links,
.category-sample {
    display: grid;
    gap: 10px;
}

.side-links a,
.compact-links a,
.category-sample a {
    border-radius: 14px;
    padding: 10px 12px;
    color: var(--text);
    background: #f8fafc;
    font-weight: 800;
}

.side-links a:hover,
.side-links a.active,
.compact-links a:hover,
.category-sample a:hover {
    color: var(--rose);
    background: #fff1f2;
}

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

.view-actions {
    display: flex;
    gap: 8px;
    padding: 5px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.view-btn {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    color: var(--muted);
    background: transparent;
    font-weight: 900;
    cursor: pointer;
}

.view-btn.active {
    color: #ffffff;
    background: linear-gradient(90deg, var(--rose), var(--orange));
}

.category-movies.list-view,
.search-results.list-view {
    grid-template-columns: 1fr;
}

.category-movies.list-view .movie-card,
.search-results.list-view .movie-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
}

.category-cover img {
    width: 190px;
    height: 250px;
    border-radius: 22px;
    object-fit: cover;
}

.search-panel {
    padding: 24px;
}

.search-status {
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
    font-weight: 800;
}

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

.rank-table {
    overflow: hidden;
}

.rank-row {
    display: grid;
    grid-template-columns: 70px 58px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}

.rank-row:last-child {
    border-bottom: 0;
}

.rank-num {
    color: var(--rose);
    font-weight: 950;
    font-size: 20px;
}

.rank-row img {
    width: 58px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-title {
    min-width: 0;
    font-weight: 950;
}

.rank-meta {
    color: var(--muted);
    font-weight: 800;
    white-space: nowrap;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: var(--slate);
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(127, 29, 29, 0.72), rgba(15, 23, 42, 0.9)),
        var(--detail-cover) center / cover no-repeat;
    filter: saturate(1.15);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    padding: 54px 0 70px;
}

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

.detail-cover {
    width: 285px;
    aspect-ratio: 3 / 4.2;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.38);
}

.detail-info h1 {
    margin: 14px 0 16px;
    font-size: clamp(34px, 5.5vw, 64px);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.detail-one-line {
    max-width: 780px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-meta span {
    border-radius: 999px;
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 900;
}

.player-section {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
    padding: 24px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

.play-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.66));
    cursor: pointer;
    z-index: 3;
}

.player-shell.is-playing .play-layer {
    display: none;
}

.play-circle {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    color: var(--rose);
    background: #ffffff;
    font-size: 30px;
    font-weight: 950;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
}

.play-layer strong {
    max-width: 80%;
    text-align: center;
    font-size: 22px;
    font-weight: 950;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.player-side {
    padding: 8px 8px 8px 0;
}

.player-side h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.18;
}

.player-side p {
    color: var(--muted);
}

.article-card {
    padding: 34px;
}

.article-card h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.2;
}

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

.article-card p {
    margin: 0;
    color: #334155;
    font-size: 17px;
}

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

.site-footer {
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #1e293b 56%, #450a0a);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 36px;
    padding: 52px 0;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #cbd5e1;
}

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

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .top-search {
        display: none;
    }

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

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

    .hero-slide,
    .ranking-strip,
    .player-section {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        margin: 10px auto 0;
        transform: none;
    }

    .ranking-list {
        grid-template-columns: 1fr;
    }

    .category-layout {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        position: static;
    }

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

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

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

    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

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

    .hero-shell {
        min-height: auto;
        padding: 48px 0 74px;
    }

    .hero-slide.active {
        display: block;
    }

    .hero-controls {
        bottom: -48px;
    }

    .movie-grid,
    .featured-grid,
    .related-grid,
    .category-grid,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .category-overview-card,
    .detail-layout,
    .category-movies.list-view .movie-card,
    .search-results.list-view .movie-card {
        grid-template-columns: 1fr;
    }

    .category-cover img,
    .detail-cover {
        width: 100%;
    }

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

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

    .advanced-search select {
        max-width: none;
    }

    .side-links {
        grid-template-columns: 1fr;
    }

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

    .rank-meta {
        grid-column: 3;
        white-space: normal;
    }

    .player-section,
    .article-card {
        padding: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
