:root {
    --red: #dc2626;
    --red-dark: #991b1b;
    --red-soft: #fee2e2;
    --orange: #f97316;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f9fafb;
    --night: #111827;
    --shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    backdrop-filter: blur(18px);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red), #ef4444 58%, var(--orange));
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.28);
}

.brand-mark path {
    fill: currentColor;
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 24px;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--red), #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #374151;
    font-weight: 700;
}

.main-nav a {
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--red);
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 99px;
    background: #111827;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    color: #ffffff;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.2), transparent 26%), linear-gradient(135deg, #7f1d1d, var(--red) 45%, #f97316);
}

.hero-frame {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 680px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    align-items: center;
    padding: 76px 0 96px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-bg {
    position: absolute;
    inset: 34px 0 34px 0;
    opacity: 0.14;
    filter: blur(8px) saturate(1.2);
    transform: scale(1.04);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 34px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.eyebrow.dark {
    color: var(--red);
    background: #fee2e2;
}

.hero-copy h1,
.hero-title-text {
    margin: 24px 0 12px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.hero-title-text {
    display: block;
}

.hero-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(26px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 900;
}

.hero-copy p {
    margin: 0;
    max-width: 700px;
    color: #ffe4e6;
    font-size: clamp(17px, 2vw, 22px);
}

.hero-tags,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    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) scale(1.02);
}

.btn.primary {
    color: var(--red);
    background: #ffffff;
    box-shadow: 0 18px 30px rgba(127, 29, 29, 0.28);
}

.btn.ghost {
    color: #ffffff;
    background: rgba(153, 27, 27, 0.5);
}

.btn.ghost.light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.btn.text {
    color: #ffffff;
    padding-inline: 8px;
}

.hero-poster {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    box-shadow: 0 35px 80px rgba(80, 12, 12, 0.5);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-orb {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    animation: float 8s ease-in-out infinite;
}

.hero-orb.one {
    width: 120px;
    height: 120px;
    top: 100px;
    right: 11%;
}

.hero-orb.two {
    width: 80px;
    height: 80px;
    left: 9%;
    bottom: 130px;
    animation-delay: 1.2s;
}

.hero-orb.three {
    width: 46px;
    height: 46px;
    right: 30%;
    bottom: 90px;
    animation-delay: 2.4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 36px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 30px;
    line-height: 1;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
    width: 32px;
    background: #ffffff;
}

.stat-strip {
    width: min(1180px, calc(100% - 32px));
    margin: -42px auto 0;
    position: relative;
    z-index: 7;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    min-height: 116px;
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fff7f7, #ffffff);
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    color: var(--red);
    font-size: 26px;
    font-weight: 900;
}

.stat-card span {
    color: var(--muted);
    font-weight: 700;
}

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

.content-section.soft {
    width: 100%;
    padding-inline: max(16px, calc((100% - 1180px) / 2));
    background: linear-gradient(180deg, #fff7f7, #ffffff);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading.row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading.compact-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 12px 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.section-link,
.wide-link {
    color: var(--red);
    font-weight: 900;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 160px 160px 110px;
    gap: 12px;
    padding: 18px;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.06);
}

.search-box {
    position: relative;
    display: block;
}

.search-box span {
    position: absolute;
    left: 16px;
    top: 50%;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    transform: translateY(-50%);
}

.search-box input,
.filter-select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: #f9fafb;
    outline: none;
}

.search-box input {
    padding: 0 18px 0 58px;
}

.filter-select {
    padding: 0 16px;
}

.search-box input:focus,
.filter-select:focus {
    border-color: var(--red);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.filter-reset {
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--red);
    font-weight: 900;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.movie-card:hover {
    border-color: rgba(220, 38, 38, 0.28);
    box-shadow: 0 24px 60px rgba(220, 38, 38, 0.16);
    transform: translateY(-6px);
}

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

.poster-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.quality-badge,
.year-badge {
    position: absolute;
    top: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.quality-badge {
    left: 12px;
    background: var(--red);
}

.year-badge {
    right: 12px;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
}

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

.movie-meta-line {
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
}

.movie-card h2 {
    margin: 8px 0 8px;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
}

.movie-card h2 a:hover {
    color: var(--red);
}

.movie-card p {
    min-height: 56px;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-list span {
    padding: 5px 9px;
    border-radius: 999px;
    color: #7f1d1d;
    background: #fee2e2;
    font-size: 12px;
    font-weight: 800;
}

.tag-list.wide span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.movie-card.compact {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    border-radius: 18px;
}

.movie-card.compact .poster-link {
    aspect-ratio: auto;
    min-height: 146px;
}

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

.movie-card.compact h2 {
    font-size: 17px;
}

.movie-card.compact p {
    min-height: auto;
    font-size: 13px;
}

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

.category-card,
.overview-card {
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(17, 24, 39, 0.08);
}

.category-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 58px rgba(220, 38, 38, 0.12);
}

.category-stack {
    position: relative;
    height: 144px;
}

.category-stack img {
    position: absolute;
    width: 90px;
    height: 126px;
    object-fit: cover;
    border: 4px solid #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(17, 24, 39, 0.18);
}

.category-stack img:nth-child(1) {
    left: 0;
    top: 8px;
    z-index: 3;
}

.category-stack img:nth-child(2) {
    left: 36px;
    top: 0;
    z-index: 2;
}

.category-stack img:nth-child(3) {
    left: 70px;
    top: 16px;
    z-index: 1;
}

.category-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 900;
}

.category-card p,
.overview-card strong {
    color: var(--muted);
}

.category-card span:last-child {
    display: inline-flex;
    margin-top: 14px;
    color: var(--red);
    font-weight: 900;
}

.two-column {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 38px;
    align-items: start;
}

.rank-list {
    display: grid;
    gap: 12px;
}

.rank-row {
    display: grid;
    grid-template-columns: 48px 58px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
    border-color: rgba(220, 38, 38, 0.4);
    transform: translateX(4px);
}

.rank-num {
    color: var(--red);
    font-size: 22px;
    font-weight: 900;
}

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

.rank-copy {
    min-width: 0;
    display: grid;
}

.rank-copy strong {
    overflow: hidden;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-copy em {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-list.large {
    max-height: none;
}

.wide-link {
    display: inline-flex;
    margin-top: 18px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px max(16px, calc((100% - 1180px) / 2));
    color: #ffffff;
    background: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.22), transparent 30%), linear-gradient(135deg, #7f1d1d, var(--red) 55%, var(--orange));
}

.page-hero h1 {
    max-width: 920px;
    margin: 20px 0 18px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    color: #ffe4e6;
    font-size: 20px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.quick-links a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

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

.overview-card {
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.overview-main span {
    display: block;
    color: var(--red);
    font-size: 24px;
    font-weight: 900;
}

.overview-main strong {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
}

.overview-card ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.overview-card li a {
    color: #374151;
    font-weight: 700;
}

.overview-card li a:hover {
    color: var(--red);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
}

.detail-bg {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    filter: blur(12px) saturate(1.15);
    transform: scale(1.08);
}

.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(127, 29, 29, 0.86));
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 34px;
    color: #fecaca;
    font-size: 14px;
    font-weight: 800;
}

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

.detail-top {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.detail-poster {
    position: relative;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

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

.detail-poster span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--red);
    background: #ffffff;
    font-weight: 900;
}

.detail-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.lead {
    max-width: 780px;
    margin: 0;
    color: #fee2e2;
    font-size: 20px;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 30px;
}

.player-card,
.story-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.player-card {
    overflow: hidden;
    grid-column: 1 / -1;
}

.player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.player-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    overflow: hidden;
    cursor: pointer;
    background: #000000;
}

.player-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.46;
    filter: saturate(1.08);
}

.play-button {
    position: relative;
    z-index: 3;
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(220, 38, 38, 0.96);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

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

.play-button circle {
    fill: currentColor;
    opacity: 0.18;
}

.play-button path {
    fill: #ffffff;
}

.story-card {
    padding: 28px;
    grid-column: 1 / -1;
}

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

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

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

.page-switch {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.page-switch a,
.page-switch span {
    min-width: 110px;
    padding: 12px 18px;
    border-radius: 999px;
    text-align: center;
    font-weight: 900;
    background: #f3f4f6;
}

.page-switch a {
    color: var(--red);
}

.page-switch span {
    color: #9ca3af;
}

.filter-empty {
    display: none;
    margin: 28px 0 0;
    padding: 22px;
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
    background: #f9fafb;
}

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

.site-footer {
    color: #d1d5db;
    background: #111827;
}

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

.footer-brand {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
}

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

.site-footer p {
    margin: 0;
    color: #d1d5db;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px;
    color: #9ca3af;
    text-align: center;
}

[hidden] {
    display: none !important;
}

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

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

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

@media (max-width: 860px) {
    .nav-shell {
        min-height: 66px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 70px;
        display: none;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: #fee2e2;
    }

    .main-nav a::after {
        display: none;
    }

    .hero-carousel,
    .hero-frame {
        min-height: 780px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        align-content: center;
        padding-top: 44px;
        padding-bottom: 112px;
    }

    .hero-poster {
        width: min(260px, 72vw);
        justify-self: center;
        transform: rotate(0);
    }

    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

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

    .detail-top {
        grid-template-columns: 1fr;
    }

    .detail-poster {
        width: min(290px, 78vw);
    }

    .section-heading.row {
        display: block;
    }

    .section-link {
        display: inline-flex;
        margin-top: 12px;
    }
}

@media (max-width: 640px) {
    .brand-text strong {
        font-size: 20px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

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

    .hero-copy h2 {
        font-size: 28px;
    }

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

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

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

    .category-stack {
        width: 172px;
    }

    .content-section,
    .content-section.soft {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .movie-card.compact {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .page-hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .detail-shell {
        padding-top: 30px;
        padding-bottom: 48px;
    }

    .play-button {
        width: 74px;
        height: 74px;
    }

    .page-switch {
        flex-direction: column;
    }
}
