:root {
    color-scheme: light;
    --bg: #f8fafc;
    --panel: #ffffff;
    --panel-soft: #f1f5f9;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --blue: #2563eb;
    --cyan: #06b6d4;
    --indigo: #4f46e5;
    --green: #16a34a;
    --pink: #db2777;
    --amber: #d97706;
    --purple: #9333ea;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(135deg, #f8fafc 0%, #eef6ff 45%, #f8fafc 100%);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.brand:hover .brand-mark {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.34);
}

.brand-copy {
    display: grid;
    gap: 1px;
}

.brand-copy strong {
    font-size: 21px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-copy em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

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

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

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

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
    color: var(--blue);
    background: #eff6ff;
}

.nav-link:hover {
    transform: translateY(-1px);
}

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

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #0f172a;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 12px 16px 18px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.mobile-link {
    display: block;
    padding: 14px 16px;
}

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    color: #ffffff;
    background: #0f172a;
}

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

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

.hero-backdrop {
    position: absolute;
    inset: 0;
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05);
    transform: scale(1.04);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72) 42%, rgba(14, 165, 233, 0.36));
}

.hero-content {
    position: relative;
    width: min(1240px, calc(100% - 32px));
    min-height: 610px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
    align-items: center;
    gap: 52px;
    padding: 84px 0 120px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0284c7;
    background: #e0f2fe;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.hero .eyebrow {
    color: #bae6fd;
    background: rgba(14, 165, 233, 0.22);
    border: 1px solid rgba(186, 230, 253, 0.22);
}

.hero h1 {
    margin: 22px 0 14px;
    font-size: clamp(38px, 7vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
}

.hero p {
    max-width: 680px;
    color: #dbeafe;
    font-size: 18px;
}

.hero-actions,
.sub-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-button,
.ghost-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-button {
    min-height: 46px;
    padding: 0 20px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.ghost-button {
    min-height: 46px;
    padding: 0 18px;
    color: #eff6ff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
    transform: translateY(-2px);
}

.hero-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
    aspect-ratio: 3 / 4;
}

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

.hero-poster span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero-panel {
    position: absolute;
    left: 50%;
    bottom: 24px;
    width: min(1240px, calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    backdrop-filter: blur(18px);
}

.hero-search {
    display: grid;
    gap: 8px;
    flex: 1;
}

.hero-search label {
    color: #bfdbfe;
    font-size: 13px;
    font-weight: 800;
}

.search-box {
    display: flex;
    min-height: 48px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 14px;
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: #0f172a;
}

.search-box a {
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    font-weight: 800;
}

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

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

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

.content-section,
.detail-wrap {
    width: min(1240px, calc(100% - 32px));
    margin: 56px auto 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-heading > div {
    display: grid;
    gap: 6px;
}

.section-line {
    width: 6px;
    height: 34px;
    display: inline-block;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

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

.section-more {
    color: var(--blue);
    background: #eff6ff;
    padding: 11px 15px;
}

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

.category-tile {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    padding: 22px;
    color: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    isolation: isolate;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
}

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

.category-tile span {
    font-size: 22px;
    font-weight: 900;
}

.category-tile strong {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.category-tile img {
    position: absolute;
    right: -20px;
    bottom: -34px;
    width: 112px;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0.55;
    transform: rotate(8deg);
    z-index: 1;
}

.tone-blue,
.tone-cyan {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.tone-pink {
    background: linear-gradient(135deg, #db2777, #fb7185);
}

.tone-indigo {
    background: linear-gradient(135deg, #4f46e5, #0f172a);
}

.tone-yellow,
.tone-amber {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.tone-green,
.tone-teal {
    background: linear-gradient(135deg, #16a34a, #14b8a6);
}

.tone-purple {
    background: linear-gradient(135deg, #9333ea, #ec4899);
}

.tone-slate {
    background: linear-gradient(135deg, #0f172a, #475569);
}

.movie-grid {
    display: grid;
    gap: 18px;
}

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

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

.movie-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.poster-link,
.poster-frame {
    display: block;
}

.poster-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #e2e8f0;
}

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

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

.poster-badge,
.poster-play {
    position: absolute;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.76);
    backdrop-filter: blur(10px);
}

.poster-badge {
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.poster-play {
    right: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
}

.movie-meta-line span:not(:last-child)::after {
    content: "·";
    margin-left: 6px;
}

.movie-card h3 {
    margin: 8px 0 7px;
    font-size: 16px;
    line-height: 1.32;
}

.movie-card h3 a:hover,
.ranking-info h3 a:hover,
.side-links a:hover {
    color: var(--blue);
}

.movie-card p {
    min-height: 42px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-row span {
    color: #1d4ed8;
    background: #eff6ff;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
}

.hero-tags span {
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.12);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.focus-card,
.side-card {
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.focus-card {
    position: sticky;
    top: 96px;
    background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.focus-card h2,
.side-card h2 {
    margin: 14px 0 10px;
    font-size: 26px;
    line-height: 1.2;
}

.focus-card p,
.side-card p {
    color: var(--muted);
}

.ranking-list {
    display: grid;
    gap: 14px;
}

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

.ranking-item {
    display: grid;
    grid-template-columns: 74px 42px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.ranking-poster {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3 / 4;
}

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

.ranking-number {
    color: transparent;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 28px;
    font-weight: 950;
}

.ranking-info h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.ranking-info p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sub-hero {
    width: min(1240px, calc(100% - 32px));
    margin: 34px auto 0;
    padding: clamp(42px, 7vw, 76px);
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.sub-hero h1 {
    margin: 16px 0 10px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.sub-hero p {
    max-width: 760px;
    margin: 0;
    color: #e0f2fe;
    font-size: 18px;
}

.category-overview-list {
    width: min(1240px, calc(100% - 32px));
    margin: 34px auto 0;
    display: grid;
    gap: 26px;
}

.category-overview {
    overflow: hidden;
    padding: 28px;
    color: #ffffff;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.category-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.category-overview h2 {
    margin: 12px 0 8px;
    font-size: 32px;
}

.category-overview p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.category-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.category-strip img {
    width: 82px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.32);
}

.filter-panel {
    margin-bottom: 24px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.filter-title {
    margin-bottom: 14px;
    font-weight: 900;
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, minmax(150px, 1fr));
    gap: 12px;
}

.filter-grid label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: 0;
    padding: 0 12px;
    color: #0f172a;
    background: #f8fafc;
}

.filter-grid input:focus,
.filter-grid select:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.filter-result {
    display: none;
    margin-top: 14px;
    color: var(--muted);
    font-weight: 700;
}

.filter-result.active {
    display: block;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--blue);
    font-weight: 800;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    background: #020617;
    border-radius: 26px;
    box-shadow: 0 30px 78px rgba(15, 23, 42, 0.28);
    aspect-ratio: 16 / 9;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    color: #ffffff;
    border: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.34), rgba(2, 6, 23, 0.74));
    cursor: pointer;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    padding-left: 4px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 50%;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.4);
    font-size: 28px;
}

.player-overlay strong {
    max-width: min(90%, 720px);
    font-size: clamp(22px, 4vw, 42px);
    line-height: 1.12;
}

.detail-info {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    margin-top: 26px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.detail-poster {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
}

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

.detail-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.one-line {
    color: #334155;
    font-size: 18px;
}

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

.detail-meta span {
    padding: 7px 10px;
    color: #0f172a;
    background: #f1f5f9;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
}

.story-section {
    margin-top: 24px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.story-section h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

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

.related-section {
    width: 100%;
}

.detail-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
}

.side-links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-links a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: #334155;
    font-weight: 800;
}

.site-footer {
    margin-top: 70px;
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 1fr));
    gap: 30px;
}

.footer-logo .brand-copy strong {
    color: #ffffff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.footer-brand p {
    max-width: 460px;
    color: #94a3b8;
}

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

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

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

.footer-bottom {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
    color: #94a3b8;
    font-size: 14px;
}

@media (max-width: 1120px) {
    .large-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .hero-content,
    .detail-layout,
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero-poster,
    .detail-side,
    .focus-card {
        position: static;
    }

    .hero-poster {
        max-width: 340px;
    }
}

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

    .menu-toggle {
        display: block;
    }

    .mobile-nav.open {
        display: grid;
        gap: 4px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        min-height: 690px;
        padding-top: 52px;
        padding-bottom: 190px;
    }

    .hero-panel {
        display: grid;
    }

    .hero-dots {
        justify-content: center;
    }

    .large-grid,
    .preview-grid,
    .compact-ranking,
    .footer-inner,
    .filter-grid,
    .detail-info {
        grid-template-columns: 1fr 1fr;
    }

    .detail-info,
    .filter-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

    .category-overview-head,
    .section-heading {
        align-items: start;
        flex-direction: column;
    }
}

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

    .brand-copy strong {
        font-size: 18px;
    }

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

    .hero h1 {
        font-size: 38px;
    }

    .hero p,
    .sub-hero p,
    .one-line {
        font-size: 16px;
    }

    .hero-actions,
    .sub-hero-actions {
        display: grid;
    }

    .hero-panel,
    .content-section,
    .detail-wrap,
    .sub-hero,
    .category-overview-list,
    .footer-inner,
    .footer-bottom {
        width: calc(100% - 22px);
    }

    .large-grid,
    .preview-grid,
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .movie-card p {
        display: none;
    }

    .ranking-item {
        grid-template-columns: 62px 34px minmax(0, 1fr);
    }

    .category-overview,
    .sub-hero,
    .detail-info,
    .story-section,
    .side-card {
        padding: 20px;
        border-radius: 20px;
    }

    .detail-poster {
        max-width: 220px;
    }
}
