:root {
    --rose: #e11d48;
    --pink: #db2777;
    --amber: #f59e0b;
    --ink: #111827;
    --muted: #6b7280;
    --line: rgba(225, 29, 72, 0.16);
    --panel: rgba(255, 255, 255, 0.84);
    --shadow: 0 24px 60px rgba(136, 19, 55, 0.15);
}

body {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(244, 114, 182, 0.2), transparent 34rem),
        linear-gradient(135deg, #fff7ed 0%, #fff1f2 42%, #ffffff 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

img {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(244, 63, 94, 0.14);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.85rem 0;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand {
    flex-shrink: 0;
    font-size: 1.25rem;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.28);
    font-size: 0.82rem;
}

.brand-text {
    background: linear-gradient(135deg, var(--rose), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.nav-link,
.mobile-nav-link {
    color: #374151;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
    color: var(--rose);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.5rem;
}

.header-search input,
.mobile-search input,
.wide-search input,
.filter-form input,
.filter-form select {
    border: 1px solid rgba(244, 63, 94, 0.22);
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.wide-search input:focus,
.filter-form input:focus,
.filter-form select:focus {
    border-color: rgba(225, 29, 72, 0.6);
    box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.header-search input {
    width: 14rem;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
}

.header-search button,
.mobile-search button,
.wide-search button,
.filter-form button {
    border-radius: 999px;
    padding: 0.56rem 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(225, 29, 72, 0.2);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 0.45rem 0.7rem;
    border-radius: 0.75rem;
    color: var(--rose);
    background: rgba(255, 228, 230, 0.8);
    font-size: 1.25rem;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 0 1rem;
}

.mobile-nav.is-open {
    display: grid;
    gap: 0.75rem;
}

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.mobile-search input {
    border-radius: 999px;
    padding: 0.72rem 1rem;
}

main {
    overflow: hidden;
}

.hero-section {
    position: relative;
    width: min(1180px, calc(100% - 2rem));
    margin: 2rem auto 1rem;
    padding: 1.25rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 241, 242, 0.88));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 32rem;
    height: 32rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.2), transparent 65%);
    pointer-events: none;
}

.hero-header-text {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 1.2rem 1rem 0;
}

.hero-header-text p,
.page-hero p,
.ranking-copy p,
.eyebrow {
    color: var(--rose);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-header-text h1,
.page-hero h1 {
    margin-top: 0.45rem;
    font-size: clamp(2.2rem, 5vw, 4.9rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.hero-stage {
    position: relative;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1rem 1.4rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(2rem);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 4rem 0 0;
    border-radius: 1.6rem;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.78), rgba(136, 19, 55, 0.42), rgba(255, 255, 255, 0.08)),
        var(--hero-image) center / cover;
    filter: saturate(1.08);
}

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

.hero-visual,
.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-visual {
    justify-self: center;
    width: min(100%, 330px);
    aspect-ratio: 3 / 4;
    border: 8px solid rgba(255, 255, 255, 0.52);
    border-radius: 1.65rem;
    overflow: hidden;
    transform: rotate(-2.5deg);
    box-shadow: 0 34px 76px rgba(17, 24, 39, 0.35);
}

.hero-visual img,
.poster-link img,
.detail-poster,
.category-preview-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-copy {
    max-width: 640px;
    color: #fff;
    text-shadow: 0 2px 16px rgba(17, 24, 39, 0.3);
}

.hero-copy h2 {
    margin: 0.6rem 0 1rem;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 1.03;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.hero-copy p {
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.85;
}

.hero-tags,
.tag-row,
.page-hero-actions,
.quick-links,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-tags {
    margin: 1.2rem 0;
}

.hero-tags span,
.tag-row span {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 0.36rem 0.75rem;
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.primary-button,
.ghost-button,
.page-hero-actions a,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.78rem 1.2rem;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 16px 36px rgba(225, 29, 72, 0.32);
}

.ghost-button,
.page-hero-actions a,
.section-more {
    color: var(--rose);
    background: rgba(255, 255, 255, 0.88);
}

.primary-button:hover,
.ghost-button:hover,
.page-hero-actions a:hover,
.section-more:hover,
.card-title:hover,
.ranking-row:hover,
.category-overview-link:hover {
    transform: translateY(-2px);
}

.hero-controls {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0 0.25rem;
}

.hero-dot {
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.28);
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 2rem;
    background: var(--rose);
}

.quick-search-panel,
.content-section,
.filter-panel,
.detail-content,
.player-section,
.ranking-strip {
    width: min(1180px, calc(100% - 2rem));
    margin: 1.5rem auto;
}

.quick-search-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: var(--panel);
    box-shadow: 0 16px 40px rgba(136, 19, 55, 0.08);
}

.wide-search,
.filter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
}

.wide-search input,
.filter-form input,
.filter-form select {
    min-width: 0;
    border-radius: 999px;
    padding: 0.9rem 1.1rem;
}

.quick-links a {
    border-radius: 999px;
    padding: 0.42rem 0.85rem;
    color: #9f1239;
    background: rgba(255, 228, 230, 0.76);
    font-weight: 800;
}

.content-section {
    padding: 2.3rem 0;
}

.accent-section {
    width: 100%;
    padding: 3rem max(1rem, calc((100% - 1180px) / 2));
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.9), rgba(255, 247, 237, 0.95));
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.section-heading h2,
.ranking-copy h2,
.detail-main h2,
.detail-side h2 {
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.section-heading p,
.page-intro,
.detail-one-line,
.detail-main p,
.site-footer p,
.card-body p {
    color: var(--muted);
    line-height: 1.78;
}

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

.movie-card {
    position: relative;
    border: 1px solid rgba(244, 63, 94, 0.12);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.86);
    overflow: hidden;
    box-shadow: 0 16px 44px rgba(136, 19, 55, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(136, 19, 55, 0.15);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #ffe4e6;
}

.poster-link img {
    transition: transform 0.45s ease;
}

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

.card-badge,
.card-year,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    color: #fff;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
    font-size: 0.76rem;
    font-weight: 900;
}

.card-badge {
    left: 0.65rem;
    top: 0.65rem;
}

.card-year {
    right: 0.65rem;
    bottom: 0.65rem;
}

.rank-badge {
    left: 0.65rem;
    bottom: 0.65rem;
    background: linear-gradient(135deg, var(--rose), var(--amber));
}

.card-body {
    display: grid;
    gap: 0.55rem;
    padding: 0.9rem;
}

.card-title {
    display: block;
    color: #111827;
    font-size: 1.04rem;
    font-weight: 950;
    line-height: 1.3;
}

.card-body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 3.5em;
    font-size: 0.92rem;
}

.card-meta {
    color: #9f1239;
    font-size: 0.78rem;
    font-weight: 850;
}

.card-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 0.45rem;
    color: #f43f5e;
}

.card-body .tag-row span {
    border-color: rgba(244, 63, 94, 0.12);
    background: rgba(255, 241, 242, 0.82);
    color: #9f1239;
}

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

.category-tile {
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.6rem;
    padding: 1.2rem;
    border-radius: 1.5rem;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 18px 45px rgba(136, 19, 55, 0.18);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(136, 19, 55, 0.76)),
        var(--tile-image) center / cover;
    transition: transform 0.4s ease;
}

.category-tile:hover::before {
    transform: scale(1.06);
}

.category-tile span,
.category-tile strong {
    position: relative;
    z-index: 2;
}

.category-tile span {
    font-size: 1.35rem;
    font-weight: 950;
}

.category-tile strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    line-height: 1.7;
}

.ranking-strip {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 2rem;
    color: #fff;
    background: linear-gradient(135deg, #9f1239, #e11d48 48%, #f97316);
    box-shadow: var(--shadow);
}

.ranking-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

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

.ranking-list {
    display: grid;
    gap: 0.55rem;
}

.ranking-row {
    display: grid;
    grid-template-columns: 3rem 1fr auto;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-row:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ranking-row span {
    font-weight: 950;
    opacity: 0.82;
}

.ranking-row em {
    color: rgba(255, 255, 255, 0.75);
    font-style: normal;
    font-size: 0.86rem;
}

.page-hero {
    position: relative;
    width: min(1180px, calc(100% - 2rem));
    margin: 2rem auto;
    padding: clamp(2rem, 6vw, 5rem);
    border-radius: 2rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 228, 230, 0.9)),
        radial-gradient(circle at top right, rgba(244, 63, 94, 0.22), transparent 32rem);
    box-shadow: var(--shadow);
}

.page-intro {
    max-width: 760px;
    margin-top: 1rem;
    font-size: 1.05rem;
}

.page-hero-actions {
    margin-top: 1.2rem;
}

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

.category-overview-card {
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 44px rgba(136, 19, 55, 0.08);
    overflow: hidden;
}

.category-overview-link {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.2rem;
    padding: 1rem;
    transition: transform 0.2s ease;
}

.category-preview-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
    height: 210px;
}

.category-preview-stack img {
    border-radius: 0.85rem;
}

.category-overview-link h2 {
    margin-top: 0.5rem;
    font-size: 1.55rem;
    font-weight: 950;
}

.category-overview-link p {
    margin: 0.8rem 0 1rem;
    color: var(--muted);
    line-height: 1.75;
}

.category-overview-link span {
    color: var(--rose);
    font-weight: 900;
}

.filter-panel {
    padding: 1rem 0 2rem;
}

.filter-form {
    grid-template-columns: minmax(220px, 1fr) auto auto;
    margin-bottom: 1.2rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.78);
}

.large-filter {
    grid-template-columns: minmax(220px, 1fr) auto auto auto;
}

.empty-state {
    display: none;
    margin: 2rem auto;
    max-width: 360px;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    color: #9f1239;
    background: rgba(255, 228, 230, 0.8);
    font-weight: 800;
}

.empty-state.is-visible {
    display: block;
}

.detail-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(136, 19, 55, 0.68), rgba(17, 24, 39, 0.75)),
        var(--detail-image) center / cover;
    filter: saturate(1.08);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 800;
}

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

.detail-lead {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: end;
    gap: 1.5rem;
    margin-top: 2rem;
}

.detail-poster {
    aspect-ratio: 3 / 4;
    border: 7px solid rgba(255, 255, 255, 0.45);
    border-radius: 1.5rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.detail-lead h1 {
    margin: 0.5rem 0 0.8rem;
    max-width: 880px;
    font-size: clamp(2.1rem, 5vw, 4.7rem);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.detail-one-line {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
}

.detail-tags {
    margin-top: 1rem;
    color: #fff;
}

.player-section {
    margin-top: -1.6rem;
    position: relative;
    z-index: 4;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1.5rem;
    background: #020617;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(17, 24, 39, 0.28);
}

.player-shell video {
    width: 100%;
    height: 100%;
    background: #020617;
}

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(2, 6, 23, 0.62), rgba(136, 19, 55, 0.48)),
        var(--cover-image) center / cover;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.player-cover.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    display: grid;
    place-items: center;
    width: clamp(4rem, 9vw, 6.5rem);
    height: clamp(4rem, 9vw, 6.5rem);
    border: 4px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--pink));
    box-shadow: 0 18px 44px rgba(225, 29, 72, 0.45);
    font-size: clamp(1.5rem, 4vw, 2.35rem);
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: scale(1.06);
}

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

.detail-main,
.detail-side {
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 44px rgba(136, 19, 55, 0.08);
}

.detail-main h2:not(:first-child) {
    margin-top: 1.5rem;
}

.detail-main p {
    margin-top: 0.7rem;
    font-size: 1.02rem;
}

.info-list {
    display: grid;
    gap: 0.72rem;
    margin-top: 1rem;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px dashed rgba(244, 63, 94, 0.22);
    padding-bottom: 0.72rem;
}

.info-list strong {
    color: var(--muted);
}

.info-list span {
    color: #9f1239;
    font-weight: 900;
    text-align: right;
}

.related-section {
    padding-top: 0.5rem;
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid rgba(244, 63, 94, 0.14);
    background: rgba(255, 255, 255, 0.82);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 1.3fr;
    gap: 2rem;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.5rem 0;
}

.footer-brand {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

.footer-links div {
    display: grid;
    gap: 0.45rem;
}

.footer-links strong {
    color: #111827;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--rose);
}

.copyright {
    grid-column: 1 / -1;
    color: #9ca3af;
    font-size: 0.9rem;
}

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

    .menu-toggle {
        display: inline-grid;
    }

    .hero-stage {
        min-height: 680px;
    }

    .hero-slide,
    .detail-lead,
    .detail-content,
    .ranking-strip,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-slide {
        align-items: start;
    }

    .hero-slide::before {
        inset: 3rem 0 0;
    }

    .hero-visual {
        width: min(70vw, 290px);
    }

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

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

@media (max-width: 720px) {
    .header-inner,
    .hero-section,
    .quick-search-panel,
    .content-section,
    .filter-panel,
    .detail-content,
    .player-section,
    .ranking-strip,
    .page-hero,
    .detail-inner,
    .footer-inner {
        width: min(100% - 1rem, 1180px);
    }

    .hero-section,
    .page-hero,
    .ranking-strip {
        border-radius: 1.25rem;
    }

    .hero-header-text {
        padding-inline: 0.3rem;
    }

    .hero-stage {
        min-height: 720px;
    }

    .hero-slide {
        padding: 2.2rem 0.2rem 1rem;
        gap: 1rem;
    }

    .hero-slide::before {
        inset: 2rem 0 0;
        border-radius: 1.1rem;
    }

    .hero-copy p {
        font-size: 0.95rem;
    }

    .wide-search,
    .filter-form,
    .large-filter,
    .mobile-search {
        grid-template-columns: 1fr;
    }

    .movie-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

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

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

    .category-preview-stack {
        height: 260px;
    }

    .detail-lead {
        gap: 1rem;
    }

    .detail-poster {
        width: min(70vw, 240px);
    }

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

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

    .ranking-row {
        grid-template-columns: 2.4rem 1fr;
    }

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