:root {
    --pink: #ec4899;
    --rose: #f43f5e;
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --amber: #f59e0b;
    --orange: #f97316;
    --green: #10b981;
    --slate: #0f172a;
    --text: #1f2937;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.24);
    --card: rgba(255, 255, 255, 0.88);
    --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(236, 72, 153, 0.14), transparent 34rem),
        radial-gradient(circle at 80% 0, rgba(59, 130, 246, 0.12), transparent 32rem),
        linear-gradient(180deg, #fff7fb 0%, #f8fafc 48%, #ffffff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
    box-shadow: 0 14px 30px rgba(236, 72, 153, 0.28);
}

.brand-text {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

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

.nav-link,
.mobile-link {
    color: #475569;
    font-weight: 700;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
    padding: 10px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--pink);
    background: rgba(236, 72, 153, 0.08);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 320px;
    max-width: 32vw;
}

.header-search input,
.mobile-search input,
.search-panel input,
.filter-search input,
.filter-selects select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(236, 72, 153, 0.18);
    border-radius: 999px;
    outline: none;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    padding: 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.search-panel input:focus,
.filter-search input:focus,
.filter-selects select:focus {
    border-color: rgba(236, 72, 153, 0.56);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.header-search button,
.mobile-search button {
    min-height: 42px;
    border: 0;
    color: #fff;
    font-weight: 800;
    padding: 0 16px;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 12px 24px rgba(236, 72, 153, 0.22);
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 16px;
    background: rgba(236, 72, 153, 0.09);
    cursor: pointer;
    place-items: center;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px auto;
    background: var(--pink);
    border-radius: 99px;
}

.mobile-panel {
    display: none;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
}

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

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

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

.mobile-link {
    padding: 12px 14px;
}

main {
    overflow: hidden;
}

.hero-section {
    width: min(1240px, calc(100% - 28px));
    margin: 28px auto 0;
}

.hero-slider {
    position: relative;
    min-height: 640px;
    border-radius: 36px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.22);
}

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

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

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

.hero-shade,
.detail-layer {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.84) 0%, rgba(15, 23, 42, 0.64) 42%, rgba(15, 23, 42, 0.22) 100%),
        radial-gradient(circle at 22% 18%, rgba(236, 72, 153, 0.42), transparent 26rem),
        radial-gradient(circle at 70% 20%, rgba(59, 130, 246, 0.28), transparent 30rem);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 48px;
    padding: 72px;
}

.hero-copy {
    max-width: 720px;
    color: #fff;
}

.hero-kicker,
.detail-kicker,
.page-hero span,
.section-heading span,
.category-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    border-radius: 999px;
    padding: 8px 13px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 12px 26px rgba(236, 72, 153, 0.26);
}

.hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(42px, 8vw, 86px);
    line-height: 0.96;
    letter-spacing: -0.07em;
    font-weight: 950;
}

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

.hero-tags,
.detail-badges,
.card-tags,
.tag-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.detail-badges span,
.card-tags span,
.tag-links a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

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

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

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
    box-shadow: 0 18px 34px rgba(236, 72, 153, 0.28);
}

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

.btn-ghost-dark {
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.hero-poster {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.35);
    transform: rotate(2deg);
}

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

.hero-controls {
    position: absolute;
    z-index: 4;
    right: 26px;
    top: 26px;
    display: flex;
    gap: 10px;
}

.hero-controls button {
    width: 46px;
    height: 46px;
    color: #fff;
    font-size: 28px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.42);
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.hero-thumbs {
    position: absolute;
    z-index: 4;
    left: 72px;
    right: 72px;
    bottom: 28px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.hero-thumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: rgba(255, 255, 255, 0.86);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 8px;
    background: rgba(15, 23, 42, 0.42);
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.hero-thumb.is-active {
    border-color: rgba(236, 72, 153, 0.76);
    background: rgba(236, 72, 153, 0.22);
}

.hero-thumb img {
    width: 42px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
}

.hero-thumb span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hero-category-bar {
    margin: 18px auto 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hero-category-bar a {
    color: #475569;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.hero-category-bar .bar-main {
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

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

.section-tight {
    padding-top: 58px;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 30px;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.story-card h2,
.info-card h2 {
    margin: 14px 0 10px;
    color: #0f172a;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.section-heading p,
.page-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

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

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

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

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

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

.movie-card a {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: var(--card);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(59, 130, 246, 0.18));
}

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

.movie-card a:hover .poster-box img {
    transform: scale(1.045);
}

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

.poster-meta {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.poster-meta span,
.rank-badge {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(12px);
}

.rank-badge {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    min-width: 36px;
    text-align: center;
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.card-content {
    padding: 16px;
}

.card-tags {
    gap: 6px;
    margin-bottom: 10px;
}

.card-tags span {
    color: var(--pink);
    background: rgba(236, 72, 153, 0.09);
    border-color: rgba(236, 72, 153, 0.1);
    backdrop-filter: none;
}

.card-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.card-content p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.card-foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 800;
}

.movie-card-large .card-content h3 {
    font-size: 22px;
}

.horizontal-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 260px;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 2px 20px;
    scroll-snap-type: x proximity;
}

.horizontal-rail .movie-card {
    scroll-snap-align: start;
}

.gradient-band,
.soft-band {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - 1180px) / 2));
    padding-right: max(16px, calc((100% - 1180px) / 2));
}

.gradient-band {
    background:
        radial-gradient(circle at top left, rgba(236, 72, 153, 0.18), transparent 30rem),
        linear-gradient(135deg, rgba(255, 241, 242, 0.92), rgba(245, 243, 255, 0.92));
}

.soft-band {
    background:
        radial-gradient(circle at 20% 0, rgba(59, 130, 246, 0.12), transparent 34rem),
        linear-gradient(135deg, rgba(239, 246, 255, 0.92), rgba(250, 245, 255, 0.92));
}

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

.category-tile,
.category-card a {
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
}

.category-tile strong,
.category-card h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.category-tile p,
.category-card p {
    position: relative;
    z-index: 1;
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.category-tile div,
.category-samples {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.category-tile span,
.category-samples span {
    max-width: 100%;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.16);
}

.from-rose.to-orange,
.from-red.to-slate {
    background: linear-gradient(135deg, #f43f5e, #f97316);
}

.from-orange.to-amber,
.from-yellow.to-orange,
.from-amber.to-red {
    background: linear-gradient(135deg, #f97316, #f59e0b);
}

.from-indigo.to-purple,
.from-purple.to-indigo,
.from-purple.to-blue {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.from-slate.to-rose {
    background: linear-gradient(135deg, #0f172a, #e11d48);
}

.from-pink.to-purple,
.from-violet.to-pink,
.from-fuchsia.to-pink {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.from-blue.to-cyan,
.from-cyan.to-blue,
.from-sky.to-indigo,
.from-lime.to-cyan {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.from-emerald.to-teal,
.from-stone.to-emerald {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.from-amber.to-pink,
.from-pink.to-rose {
    background: linear-gradient(135deg, #f59e0b, #ec4899);
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.rank-list-preview,
.rank-page-list {
    display: grid;
    gap: 14px;
}

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

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

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

.movie-card-rank .poster-box img {
    height: 100%;
    aspect-ratio: auto;
}

.movie-card-rank .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
}

.small-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 0;
    padding: 74px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 20rem),
        linear-gradient(135deg, rgba(236, 72, 153, 0.95), rgba(139, 92, 246, 0.92), rgba(59, 130, 246, 0.9));
    box-shadow: var(--shadow);
}

.small-hero h1 {
    max-width: 820px;
    color: #fff;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
}

.small-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
}

.category-hero,
.ranking-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 0;
    padding: 74px;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.category-hero h1,
.ranking-hero h1,
.category-hero p,
.ranking-hero p {
    color: #fff;
}

.filter-panel,
.search-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.filter-search {
    flex: 1 1 auto;
}

.filter-selects {
    display: flex;
    gap: 10px;
}

.filter-selects select {
    min-width: 150px;
    appearance: none;
}

.search-panel input {
    flex: 1 1 auto;
}

.search-note {
    margin: 0 0 24px;
    color: #64748b;
    font-weight: 800;
}

.detail-hero {
    min-height: 620px;
    color: #fff;
    background: #020617;
}

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

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

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

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

.detail-poster {
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.42);
}

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

.detail-copy h1 {
    color: #fff;
    font-size: clamp(40px, 7vw, 82px);
    line-height: 0.98;
}

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

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

.player-stage {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: #020617;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.player-video {
    width: 100%;
    min-height: min(65vh, 680px);
    max-height: 720px;
    display: block;
    background: #000;
    object-fit: contain;
}

.play-trigger {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 16px;
    color: #fff;
    border: 0;
    background:
        radial-gradient(circle at center, rgba(236, 72, 153, 0.22), transparent 18rem),
        linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.56));
    cursor: pointer;
}

.play-trigger.is-hidden {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.24s ease;
}

.play-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    box-shadow: 0 22px 44px rgba(236, 72, 153, 0.34);
    position: relative;
}

.play-icon::after {
    content: "";
    position: absolute;
    left: 35px;
    top: 27px;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid #fff;
}

.play-trigger strong {
    font-size: 20px;
    letter-spacing: 0.04em;
}

.player-message {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: #fff;
    font-weight: 800;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(12px);
}

.player-message:empty {
    display: none;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
}

.story-card,
.info-card {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
    padding: 28px;
}

.story-card h2,
.info-card h2 {
    font-size: 26px;
}

.story-card p {
    color: #475569;
    margin: 0 0 22px;
    font-size: 17px;
}

.tag-links a {
    color: var(--pink);
    background: rgba(236, 72, 153, 0.09);
    border-color: rgba(236, 72, 153, 0.12);
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.info-card li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.info-card li:last-child {
    border-bottom: 0;
}

.info-card span {
    color: #94a3b8;
    font-weight: 800;
}

.info-card strong {
    text-align: right;
}

.site-footer {
    margin-top: 42px;
    color: #e2e8f0;
    background: #0f172a;
}

.footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-inner strong {
    color: #fff;
    font-size: 22px;
}

.footer-inner p {
    max-width: 620px;
    margin: 8px 0 0;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.footer-links a {
    color: #cbd5e1;
    font-weight: 800;
}

.footer-links a:hover {
    color: #fff;
}

.is-filtered-out {
    display: none !important;
}

@media (max-width: 1100px) {
    .header-search {
        width: 260px;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 250px;
        padding: 56px;
    }

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

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

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

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

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

    .hero-slider,
    .hero-content {
        min-height: 720px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 42px 26px 150px;
    }

    .hero-poster {
        display: none;
    }

    .hero-thumbs {
        left: 20px;
        right: 20px;
        bottom: 20px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-thumb:nth-child(n + 4) {
        display: none;
    }

    .small-hero,
    .category-hero,
    .ranking-hero {
        padding: 46px 26px;
    }

    .movie-grid,
    .archive-grid,
    .feature-grid,
    .compact-grid,
    .rank-page-list,
    .rank-list-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .detail-main,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(280px, 82vw);
    }

    .filter-panel,
    .search-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-selects {
        width: 100%;
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 540px) {
    .brand-text {
        font-size: 21px;
    }

    .hero-section,
    .section,
    .small-hero,
    .category-hero,
    .ranking-hero,
    .detail-inner,
    .footer-inner {
        width: min(100% - 22px, 1180px);
    }

    .hero-slider {
        border-radius: 24px;
    }

    .hero-copy h1,
    .detail-copy h1 {
        font-size: 42px;
    }

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

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

    .hero-thumb:nth-child(n + 2) {
        display: none;
    }

    .movie-grid,
    .archive-grid,
    .feature-grid,
    .compact-grid,
    .rank-page-list,
    .rank-list-preview,
    .category-tile-grid,
    .category-page-grid {
        grid-template-columns: 1fr;
    }

    .movie-card-rank a {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .section {
        padding: 52px 0;
    }

    .story-card,
    .info-card {
        padding: 22px;
    }
}
