:root {
    --cyan-600: #0891b2;
    --cyan-700: #0e7490;
    --blue-600: #2563eb;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 20px 45px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.24);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--slate-800);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 45%, #eef8fb 100%);
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(226, 232, 240, 0.86);
    backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--cyan-600), var(--blue-600));
    box-shadow: 0 14px 32px rgba(8, 145, 178, 0.24);
}

.brand-text {
    font-size: 22px;
    line-height: 1;
    background: linear-gradient(90deg, var(--cyan-600), var(--blue-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--slate-700);
    font-weight: 600;
    white-space: nowrap;
}

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

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

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--cyan-600);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

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

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--slate-100);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--slate-700);
}

.mobile-nav {
    display: none;
    padding: 14px 16px 18px;
    border-top: 1px solid var(--slate-200);
    background: rgba(255, 255, 255, 0.96);
}

.mobile-nav a {
    display: block;
    padding: 11px 0;
    color: var(--slate-700);
    font-weight: 700;
}

.hero-carousel {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    color: white;
    background: var(--slate-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.04);
    transform: scale(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 34%, rgba(8, 145, 178, 0.42), transparent 30%),
        linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.68) 48%, rgba(15, 23, 42, 0.22) 100%),
        linear-gradient(0deg, rgba(15, 23, 42, 0.82), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 360px;
    align-items: center;
    gap: 64px;
    padding: 72px 0 96px;
}

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

.hero-tags,
.movie-meta,
.tag-list,
.detail-tags,
.filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

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

.hero-tags span {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.hero-tags span:first-child {
    background: var(--cyan-600);
}

.hero-copy h1,
.hero-copy h2 {
    margin: 18px 0 12px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-movie-title {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 800;
    color: #e0faff;
}

.hero-copy p:not(.hero-movie-title) {
    max-width: 660px;
    margin: 0;
    color: #dbeafe;
    font-size: 18px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
    color: white;
    background: var(--cyan-600);
    box-shadow: 0 16px 36px rgba(8, 145, 178, 0.32);
}

.button-primary:hover {
    background: var(--cyan-700);
}

.button-ghost {
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
}

.hero-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

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

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

.hero-poster span,
.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: white;
    background: rgba(8, 145, 178, 0.92);
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 48px rgba(8, 145, 178, 0.36);
}

.hero-poster span {
    width: 68px;
    height: 68px;
    font-size: 28px;
}

.hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 78px;
    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.4);
    cursor: pointer;
}

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

.hero-category-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background: rgba(15, 23, 42, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.hero-category-strip .container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0;
}

.hero-category-strip a {
    padding: 8px 14px;
    border-radius: 999px;
    color: white;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 700;
}

.search-panel {
    padding: 34px 0 10px;
}

.search-box {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 440px);
    align-items: end;
    gap: 22px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--cyan-600);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.search-box h2,
.section-heading h2,
.page-hero h1,
.rank-feature h2,
.detail-heading h1 {
    margin: 0;
    color: var(--slate-800);
    letter-spacing: -0.03em;
}

.search-box h2,
.section-heading h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.search-input-label {
    display: grid;
    gap: 8px;
    color: var(--slate-600);
    font-weight: 700;
}

.search-input-label input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    color: var(--slate-800);
    background: var(--slate-50);
    outline: none;
}

.search-input-label input:focus {
    border-color: var(--cyan-600);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.filter-row {
    margin-top: 16px;
}

.filter-chip {
    min-height: 36px;
    padding: 8px 13px;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    color: var(--slate-700);
    background: white;
    cursor: pointer;
    font-weight: 700;
}

.filter-chip.is-active,
.filter-chip:hover {
    color: white;
    border-color: var(--cyan-600);
    background: var(--cyan-600);
}

.content-section {
    padding: 56px 0;
}

.soft-bg {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(224, 242, 254, 0.52));
}

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

.section-heading h2 {
    font-weight: 900;
}

.grid {
    display: grid;
    gap: 22px;
}

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--slate-100);
}

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

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

.play-mark {
    width: 48px;
    height: 48px;
    opacity: 0;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, #f97316, #ef4444);
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.24);
}

.movie-info {
    padding: 16px;
}

.movie-meta {
    color: var(--slate-500);
    font-size: 13px;
    font-weight: 700;
}

.movie-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: var(--slate-300);
}

.movie-info h3 {
    min-height: 56px;
    margin: 8px 0 8px;
    color: var(--slate-800);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 900;
}

.movie-info h3 a:hover {
    color: var(--cyan-600);
}

.movie-info p {
    min-height: 48px;
    margin: 0 0 14px;
    color: var(--slate-600);
    font-size: 14px;
}

.tag-list span {
    color: var(--slate-600);
    background: var(--slate-100);
    font-size: 12px;
}

.card-small .movie-info h3 {
    min-height: 48px;
    font-size: 17px;
}

.rank-section {
    background: white;
}

.rank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
}

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

.compact-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 10px;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.compact-card:hover {
    transform: translateX(4px);
    border-color: rgba(8, 145, 178, 0.4);
}

.compact-card img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--slate-100);
}

.compact-card span {
    min-width: 0;
}

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

.compact-card strong {
    overflow: hidden;
    color: var(--slate-800);
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-card em {
    margin-top: 4px;
    color: var(--slate-500);
    font-size: 13px;
    font-style: normal;
}

.compact-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    color: white;
    background: var(--cyan-600);
    font-weight: 900;
}

.compact-card:has(.compact-rank) {
    grid-template-columns: 32px 54px 1fr;
}

.rank-feature {
    position: sticky;
    top: 96px;
    padding: 32px;
    border-radius: var(--radius-lg);
    color: white;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.4), transparent 34%),
        linear-gradient(135deg, var(--slate-900), var(--slate-800));
    box-shadow: var(--shadow-lg);
}

.rank-feature .eyebrow,
.rank-feature h2 {
    color: white;
}

.rank-feature p {
    color: var(--slate-200);
}

.preview-stack {
    display: grid;
    gap: 42px;
}

.preview-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.preview-title h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 900;
}

.preview-title h3::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 26px;
    margin-right: 12px;
    border-radius: 999px;
    vertical-align: -5px;
    background: var(--cyan-600);
}

.preview-title a {
    color: var(--cyan-600);
    font-weight: 900;
}

.page-main {
    min-height: 72vh;
}

.page-hero {
    padding: 74px 0 60px;
    color: white;
    background:
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.36), transparent 30%),
        linear-gradient(135deg, var(--slate-900), #12304a 54%, var(--cyan-700));
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
    color: white;
}

.page-hero h1 {
    max-width: 860px;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
}

.page-hero p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #dbeafe;
    font-size: 18px;
}

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

.breadcrumb a:hover {
    color: white;
}

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

.category-card {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    height: 190px;
    overflow: hidden;
    background: var(--slate-100);
}

.category-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-body {
    padding: 22px;
}

.category-body h2 {
    margin: 0 0 8px;
    color: var(--slate-800);
    font-size: 26px;
    font-weight: 900;
}

.category-body p {
    margin: 0;
    color: var(--slate-600);
}

.empty-state {
    display: none;
    margin: 30px 0 0;
    padding: 28px;
    border: 1px dashed var(--slate-300);
    border-radius: var(--radius-md);
    color: var(--slate-500);
    text-align: center;
}

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

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

.ranking-list {
    margin-top: 28px;
}

.detail-hero {
    padding: 36px 0 0;
    color: white;
    background:
        radial-gradient(circle at 86% 16%, rgba(34, 211, 238, 0.32), transparent 30%),
        linear-gradient(135deg, var(--slate-900), #082f49);
}

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

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

.detail-heading h1 {
    color: white;
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 900;
}

.detail-heading p {
    max-width: 860px;
    margin: 12px 0 0;
    color: #dbeafe;
    font-size: 18px;
}

.player-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: #020617;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    color: white;
    background:
        radial-gradient(circle at 50% 42%, rgba(8, 145, 178, 0.3), transparent 28%),
        rgba(2, 6, 23, 0.48);
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: var(--cyan-600);
    box-shadow: 0 18px 42px rgba(8, 145, 178, 0.36);
    font-size: 30px;
}

.player-overlay strong {
    font-size: 18px;
}

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

.story-card,
.meta-card {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    color: var(--slate-700);
    background: white;
    box-shadow: var(--shadow-sm);
}

.story-card h2,
.meta-card h2 {
    margin: 0 0 14px;
    color: var(--slate-800);
    font-size: 22px;
    font-weight: 900;
}

.story-card p {
    margin: 0;
    font-size: 16px;
}

.detail-sidebar {
    position: sticky;
    top: 96px;
}

.detail-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: var(--slate-100);
    box-shadow: var(--shadow-lg);
}

.meta-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.meta-card dl div {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
}

.meta-card dt {
    color: var(--slate-500);
    font-weight: 800;
}

.meta-card dd {
    margin: 0;
    color: var(--slate-800);
    font-weight: 700;
}

.detail-tags {
    margin-top: 18px;
}

.detail-tags span {
    color: var(--cyan-700);
    background: #ecfeff;
}

.side-related .compact-card {
    grid-template-columns: 54px 1fr;
    margin-top: 10px;
    box-shadow: none;
}

.site-footer {
    margin-top: 64px;
    padding: 48px 0 0;
    color: var(--slate-300);
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 34px;
}

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

.site-footer p {
    color: var(--slate-400);
}

.site-footer h2 {
    margin: 0 0 14px;
    color: white;
    font-size: 16px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin: 9px 0;
}

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

.footer-bottom {
    margin-top: 34px;
    padding: 20px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--slate-500);
}

@media (max-width: 1080px) {
    .desktop-nav {
        gap: 16px;
        font-size: 14px;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 32px;
    }

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

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

    .rank-feature,
    .detail-sidebar {
        position: static;
    }

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

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

    .menu-button {
        display: block;
    }

    body.nav-open .mobile-nav {
        display: block;
    }

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

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

    .hero-poster {
        width: min(280px, 70vw);
        justify-self: start;
    }

    .hero-arrow {
        display: none;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .hero-carousel,
    .hero-content {
        min-height: 680px;
    }

    .hero-copy p:not(.hero-movie-title),
    .detail-heading p,
    .page-hero p {
        font-size: 16px;
    }

    .hero-category-strip .container {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 14px;
    }

    .hero-category-strip a {
        flex: 0 0 auto;
    }

    .content-section {
        padding: 42px 0;
    }

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

    .movie-info h3,
    .movie-info p {
        min-height: 0;
    }

    .category-thumbs {
        height: 150px;
    }

    .detail-hero {
        padding-top: 26px;
    }

    .story-card,
    .meta-card,
    .search-box {
        padding: 18px;
    }
}
