:root {
    --blue: #2563eb;
    --cyan: #06b6d4;
    --teal: #14b8a6;
    --text: #111827;
    --muted: #64748b;
    --line: #e5e7eb;
    --soft: #f1f5f9;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 22px;
}

* {
    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(--text);
    background: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

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

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

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-2deg);
}

.brand-text {
    display: grid;
    gap: 2px;
}

.brand-text strong {
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

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

.nav-links a {
    color: #334155;
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-current {
    color: var(--blue);
}

.top-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    border-radius: 999px;
    padding: 4px;
}

.top-search input {
    width: 190px;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 9px 6px 9px 14px;
    color: #0f172a;
}

.top-search button,
.primary-btn,
.ghost-btn,
.search-page-form button,
.hero-search button {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.top-search button,
.primary-btn,
.search-page-form button,
.hero-search button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26);
}

.primary-btn:hover,
.top-search button:hover,
.search-page-form button:hover,
.hero-search button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34);
}

.ghost-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(15, 23, 42, 0.26);
    backdrop-filter: blur(14px);
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    color: #0f172a;
    width: 42px;
    height: 42px;
}

.home-page,
.page-main,
.detail-main {
    padding-top: 70px;
}

.hero-carousel {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8 0%, #06b6d4 48%, #14b8a6 100%);
}

.hero-slider {
    position: relative;
    min-height: 700px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transform: scale(1.02);
    background-image:
        linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.62) 48%, rgba(15, 23, 42, 0.22) 100%),
        var(--hero-cover),
        linear-gradient(135deg, #2563eb, #06b6d4);
    background-size: cover;
    background-position: center;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.18), transparent 26%),
        radial-gradient(circle at 84% 74%, rgba(34, 211, 238, 0.28), transparent 32%);
}

.hero-content {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 118px 0 210px;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1180px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: #bfdbfe;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero-desc {
    max-width: 760px;
    margin: 26px 0 0;
    color: #dbeafe;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.72;
}

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

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

.hero-tags span,
.detail-tags span,
.tag-row span {
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 800;
}

.hero-tags span {
    color: #e0f2fe;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
}

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

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

.hero-prev,
.hero-next,
.hero-dot {
    border: 0;
    color: #ffffff;
    cursor: pointer;
}

.hero-prev,
.hero-next {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    font-size: 32px;
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

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

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

.hero-search {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 38px;
    transform: translateX(-50%);
    width: min(760px, calc(100% - 32px));
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(18px);
}

.hero-search input {
    flex: 1;
    border: 0;
    outline: 0;
    border-radius: 999px;
    padding: 14px 20px;
    color: #0f172a;
    background: #ffffff;
}

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

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

.section-white {
    background: #ffffff;
}

.section-soft {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.tight-top {
    padding-top: 42px;
}

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

.section-head h2,
.page-hero h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-head span,
.page-hero p {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 17px;
}

.section-kicker {
    color: var(--blue);
}

.section-link {
    color: var(--blue);
    font-weight: 900;
}

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

.category-card {
    position: relative;
    min-height: 185px;
    overflow: hidden;
    border-radius: var(--radius);
    padding: 26px;
    color: #ffffff;
    background-image:
        linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(6, 182, 212, 0.82)),
        var(--category-cover);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(37, 99, 235, 0.24);
}

.category-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    right: -44px;
    top: -44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    transition: transform 0.35s ease;
}

.category-card:hover .category-glow {
    transform: scale(1.45);
}

.category-card-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 12px;
}

.category-card strong {
    font-size: 24px;
    letter-spacing: -0.03em;
}

.category-card em {
    min-height: 48px;
    color: rgba(255, 255, 255, 0.88);
    font-style: normal;
    line-height: 1.55;
}

.category-card span span {
    width: max-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 900;
}

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

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: rgba(37, 99, 235, 0.32);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
}

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

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

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

.poster-mask {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-mask {
    opacity: 1;
}

.poster-play {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.92);
    font-size: 24px;
    padding-left: 4px;
}

.year-badge,
.rank-badge {
    position: absolute;
    z-index: 3;
    top: 12px;
    border-radius: 999px;
    padding: 6px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.year-badge {
    right: 12px;
    background: rgba(15, 23, 42, 0.72);
}

.rank-badge {
    left: 12px;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

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

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card h3 a:hover,
.list-card h3 a:hover,
.detail-article a:hover {
    color: var(--blue);
}

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

.movie-meta-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #64748b;
    font-size: 13px;
}

.movie-meta-line span:first-child {
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    padding: 4px 9px;
    font-weight: 800;
}

.tag-row {
    margin-top: 12px;
}

.tag-row span {
    color: #075985;
    background: #e0f2fe;
    padding: 4px 9px;
    font-size: 12px;
}

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

.list-card {
    position: relative;
    display: flex;
    gap: 16px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.13);
}

.list-rank {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 950;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.list-thumb {
    position: relative;
    width: 148px;
    height: 92px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 14px;
    background: #dbeafe;
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-thumb span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.28);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.list-card:hover .list-thumb span {
    opacity: 1;
}

.list-card-content {
    min-width: 0;
}

.list-card h3 {
    margin: 0 0 8px;
    line-height: 1.35;
}

.list-card p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 94px max(16px, calc((100% - 1180px) / 2));
    color: #ffffff;
    background-image:
        linear-gradient(135deg, rgba(29, 78, 216, 0.92), rgba(6, 182, 212, 0.82)),
        var(--page-cover),
        linear-gradient(135deg, #1d4ed8, #06b6d4);
    background-size: cover;
    background-position: center;
}

.page-hero p {
    max-width: 760px;
    color: #dbeafe;
}

.page-hero .section-kicker {
    color: #fef3c7;
}

.filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 28px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.filter-panel input,
.filter-panel select,
.search-page-form input {
    min-height: 46px;
    border: 1px solid #dbeafe;
    outline: 0;
    border-radius: 999px;
    padding: 0 16px;
    background: #ffffff;
    color: #0f172a;
}

.filter-panel input {
    flex: 1 1 280px;
}

.filter-panel select {
    flex: 0 0 160px;
}

.filter-empty {
    display: none;
    margin: 24px 0 0;
    padding: 18px;
    border-radius: 16px;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    text-align: center;
}

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

.search-page-form {
    display: flex;
    width: min(720px, 100%);
    gap: 10px;
    margin-top: 28px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.search-page-form input {
    flex: 1;
    border: 0;
}

.detail-main {
    background: #f8fafc;
}

.breadcrumb {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
}

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

.detail-top {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr);
    gap: 26px;
    align-items: stretch;
}

.player-shell {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 24px;
    background: #020617;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}

.player-shell video {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: contain;
    background: #020617;
}

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    gap: 14px;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background-image:
        linear-gradient(135deg, rgba(2, 6, 23, 0.82), rgba(15, 23, 42, 0.38)),
        var(--poster-cover);
    background-size: cover;
    background-position: center;
}

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

.big-play {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding-left: 6px;
    color: var(--blue);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
    font-size: 34px;
}

.player-cover strong {
    font-size: 20px;
    letter-spacing: 0.05em;
}

.detail-side {
    border-radius: 24px;
    padding: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1e3a8a 58%, #0891b2);
    box-shadow: var(--shadow);
}

.detail-side h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-one-line {
    margin: 18px 0 0;
    color: #dbeafe;
    line-height: 1.75;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.detail-meta-grid span {
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #e0f2fe;
}

.detail-meta-grid b {
    color: #ffffff;
    font-size: 13px;
}

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

.detail-tags span {
    color: #eff6ff;
    background: rgba(255, 255, 255, 0.14);
}

.detail-content-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    align-items: start;
}

.detail-article,
.related-panel {
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.detail-article {
    padding: 30px;
}

.detail-article h2,
.related-panel h2 {
    margin: 0 0 14px;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.detail-article p {
    margin: 0 0 28px;
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

.related-panel {
    padding: 22px;
    position: sticky;
    top: 92px;
}

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

.mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-cover {
    width: 108px;
    height: 68px;
    border-radius: 12px;
    flex: 0 0 auto;
    background-image: var(--mini-cover), linear-gradient(135deg, #dbeafe, #cffafe);
    background-size: cover;
    background-position: center;
}

.mini-info {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.mini-info strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.mini-info em {
    color: #64748b;
    font-style: normal;
    font-size: 13px;
}

.related-section {
    margin-top: 36px;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(135deg, #0f172a, #1f2937 55%, #111827);
}

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

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

.footer-brand p {
    max-width: 420px;
    margin: 18px 0 0;
    color: #9ca3af;
    line-height: 1.8;
}

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

.footer-links div {
    display: grid;
    gap: 10px;
}

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

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

.footer-bottom {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 28px;
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

@media (max-width: 1080px) {
    .top-search {
        display: none;
    }

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

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

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

    .related-panel {
        position: static;
    }
}

@media (max-width: 820px) {
    .nav-shell {
        height: 64px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

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

    .nav-links a {
        padding: 13px 14px;
        border-radius: 12px;
    }

    .nav-links a:hover {
        background: #eff6ff;
    }

    .home-page,
    .page-main,
    .detail-main {
        padding-top: 64px;
    }

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

    .hero-content {
        padding: 82px 0 190px;
    }

    .hero-actions,
    .page-hero-actions,
    .section-head,
    .search-page-form,
    .hero-search {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .list-card {
        align-items: flex-start;
    }

    .list-thumb {
        width: 120px;
        height: 78px;
    }

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

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

    .brand-text small {
        display: none;
    }

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

    .hero-controls {
        bottom: 142px;
    }

    .movie-grid,
    .movie-grid-dense,
    .category-grid,
    .rank-list {
        grid-template-columns: 1fr;
    }

    .list-card {
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .list-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        grid-column: 1 / -1;
    }

    .player-shell,
    .player-shell video {
        min-height: 260px;
    }

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