:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-cyan: #06b6d4;
    --color-teal: #14b8a6;
    --color-ink: #111827;
    --color-muted: #64748b;
    --color-soft: #f8fafc;
    --color-line: #e5e7eb;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.10);
    --container: min(1180px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header-solid,
.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
}

.site-header-transparent {
    background: transparent;
}

.header-inner {
    width: var(--container);
    height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

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

.site-header-transparent:not(.is-scrolled):not(.is-open) .brand-text,
.site-header-transparent:not(.is-scrolled):not(.is-open) .nav-link,
.site-header-transparent:not(.is-scrolled):not(.is-open) .mobile-menu-button {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
    transition: width 0.2s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
    width: 100%;
}

.mobile-menu-button {
    width: 42px;
    height: 42px;
    display: none;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    color: #111827;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-open .mobile-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .mobile-menu-button span:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .mobile-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    width: var(--container);
    margin: 0 auto 14px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.mobile-nav .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.is-active {
    background: #eff6ff;
}

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

.hero-track,
.hero-slide {
    min-height: 100vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
    align-items: center;
    gap: 42px;
    width: 100%;
    padding: 132px max(32px, calc((100vw - 1180px) / 2)) 96px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 0.65s ease, visibility 0.65s ease, transform 0.8s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-image-layer,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-image-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.04);
}

.hero-shade {
    background:
        radial-gradient(circle at 78% 34%, rgba(14, 165, 233, 0.45), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.74) 44%, rgba(15, 23, 42, 0.34)),
        linear-gradient(180deg, rgba(2, 6, 23, 0.40), rgba(2, 6, 23, 0.82));
}

.hero-content,
.hero-poster-card {
    position: relative;
    z-index: 3;
}

.hero-content {
    color: #ffffff;
    max-width: 720px;
}

.hero-eyebrow,
.section-kicker {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-cyan);
}

.hero-content h1,
.hero-content h2 {
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.02;
    letter-spacing: -0.065em;
    font-weight: 900;
    text-shadow: 0 22px 50px rgba(0, 0, 0, 0.40);
}

.hero-title-sub {
    margin: 18px 0 0;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

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

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

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

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

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.button-primary:hover {
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.38);
}

.button-ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
}

.dark-ghost {
    color: #1e293b;
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, 0.68);
}

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

.hero-tags {
    margin-top: 22px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.tag-row span {
    color: #2563eb;
    background: #eff6ff;
}

.large-tags span {
    min-height: 34px;
    padding: 0 12px;
}

.hero-poster-card {
    justify-self: end;
    width: min(100%, 370px);
    aspect-ratio: 2 / 3;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.46);
    transform: rotate(2deg);
}

.hero-poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.hero-poster-card:hover img {
    transform: scale(1.08);
}

.hero-poster-card span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.88);
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(16px);
    font-size: 38px;
    line-height: 1;
}

.hero-prev {
    left: max(18px, calc((100vw - 1260px) / 2));
}

.hero-next {
    right: max(18px, calc((100vw - 1260px) / 2));
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.46);
    transition: width 0.2s ease, background 0.2s ease;
}

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

.section,
.page-hero,
.detail-hero {
    width: var(--container);
    margin: 0 auto;
}

.section {
    padding: 78px 0;
}

.section-raised {
    margin-top: -42px;
    position: relative;
    z-index: 8;
    padding-top: 0;
}

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

.section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.align-left {
    margin-left: 0;
    text-align: left;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.content-card h2 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.045em;
    color: #0f172a;
}

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

.section-heading span,
.page-hero p,
.content-card p {
    color: var(--color-muted);
}

.small-heading {
    margin-bottom: 22px;
}

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

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

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

.movie-card {
    min-width: 0;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--shadow-card);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

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

.movie-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.78));
    opacity: 0.86;
}

.movie-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.88);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.movie-card:hover .movie-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.movie-body {
    padding: 16px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.movie-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.movie-body h3 a:hover {
    color: var(--color-primary);
}

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

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

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

.category-card {
    position: relative;
    min-height: 210px;
    border-radius: 26px;
    overflow: hidden;
    color: #ffffff;
    background: #0f172a;
    box-shadow: var(--shadow-card);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.category-card:hover img {
    transform: scale(1.08);
    opacity: 0.75;
}

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

.category-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    right: -45px;
    top: -45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    filter: blur(14px);
    z-index: 1;
}

.category-content {
    position: absolute;
    inset: auto 22px 22px;
    z-index: 2;
}

.category-content strong {
    display: block;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.category-content em {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-style: normal;
    font-size: 14px;
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: start;
}

.ranking-panel {
    display: grid;
    gap: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    padding: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.tall-ranking {
    max-height: 1250px;
    overflow: auto;
}

.ranking-item {
    display: grid;
    grid-template-columns: 48px 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
    background: #eff6ff;
    transform: translateX(4px);
}

.ranking-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
}

.ranking-item img {
    width: 58px;
    height: 78px;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-copy {
    min-width: 0;
}

.ranking-copy strong,
.ranking-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-copy strong {
    font-weight: 900;
}

.ranking-copy small {
    color: #64748b;
    font-size: 12px;
}

.page-main {
    padding-top: 100px;
}

.page-hero {
    min-height: 330px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 58px 24px;
    border-radius: 34px;
    color: #0f172a;
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.16), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.18), transparent 32%),
        linear-gradient(180deg, #f8fafc, #ffffff);
    border: 1px solid #e2e8f0;
}

.page-hero h1 {
    font-size: clamp(38px, 6vw, 72px);
}

.page-hero p {
    max-width: 720px;
    margin: 14px auto 0;
    font-size: 18px;
}

.category-hero,
.search-hero {
    background:
        radial-gradient(circle at 18% 24%, rgba(6, 182, 212, 0.18), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.22), transparent 32%),
        linear-gradient(135deg, #f8fafc, #ffffff);
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 12px;
    margin-bottom: 26px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.search-filter {
    grid-template-columns: minmax(0, 1fr) 180px 180px;
}

.compact-filter {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.filter-input,
.filter-select {
    width: 100%;
    height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
}

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

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

.filter-input:focus,
.filter-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.movie-card.is-hidden {
    display: none;
}

.detail-main {
    padding-top: 88px;
}

.detail-hero {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
    min-height: 520px;
    padding: 42px;
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 22%, rgba(6, 182, 212, 0.36), transparent 32%),
        linear-gradient(135deg, #0f172a, #1e3a8a 58%, #0891b2);
    box-shadow: var(--shadow-soft);
}

.detail-cover {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

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

.detail-copy h1 {
    color: #ffffff;
    font-size: clamp(38px, 6vw, 72px);
}

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

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 800;
    font-size: 13px;
}

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

.player-shell {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    border: 0;
    color: #ffffff;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.78));
}

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

.player-play-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.38);
    font-size: 34px;
    padding-left: 4px;
}

.prose-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding-top: 16px;
}

.content-card {
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    padding: 28px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.content-card h2 {
    margin-bottom: 12px;
    font-size: 28px;
}

.site-footer {
    margin-top: 40px;
    color: #cbd5e1;
    background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
    width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    padding: 58px 0 36px;
}

.footer-grid p {
    max-width: 360px;
    color: #94a3b8;
}

.footer-grid h3 {
    margin: 0 0 12px;
    color: #ffffff;
}

.footer-grid a:not(.footer-brand) {
    display: block;
    margin: 8px 0;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-grid a:hover {
    color: #ffffff;
}

.footer-brand {
    color: #ffffff;
    font-size: 20px;
}

.footer-bottom {
    width: var(--container);
    margin: 0 auto;
    padding: 20px 0 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.20);
    color: #94a3b8;
    font-size: 14px;
}

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

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

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

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

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

    .mobile-menu-button {
        display: inline-flex;
    }

    .site-header.is-open .mobile-nav {
        display: block;
    }

    .header-inner {
        height: 68px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        padding: 104px 22px 86px;
        align-content: center;
    }

    .hero-poster-card {
        display: none;
    }

    .hero-arrow {
        display: none;
    }

    .movie-grid,
    .movie-grid-featured,
    .movie-grid-two,
    .category-grid,
    .category-grid-large,
    .split-section,
    .prose-section,
    .footer-grid,
    .detail-hero {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

    .section-soft {
        padding: 58px 16px;
    }

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

    .page-main {
        padding-top: 86px;
    }

    .page-hero {
        min-height: 280px;
        border-radius: 24px;
    }

    .detail-hero {
        padding: 22px;
        min-height: auto;
    }

    .detail-cover {
        max-width: 260px;
        margin: 0 auto;
    }

    .footer-grid {
        gap: 20px;
    }
}

@media (max-width: 540px) {
    :root {
        --container: min(100% - 22px, 1180px);
    }

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

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .hero-content h1,
    .hero-content h2,
    .detail-copy h1,
    .page-hero h1 {
        letter-spacing: -0.045em;
    }

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

    .movie-grid,
    .movie-grid-featured,
    .movie-grid-two {
        gap: 16px;
    }

    .movie-card {
        border-radius: 18px;
    }

    .hero-actions,
    .detail-actions {
        align-items: stretch;
    }

    .button {
        width: 100%;
    }
}
