:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1e3a8a;
    --color-accent: #06b6d4;
    --color-teal: #14b8a6;
    --color-text: #1f2937;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --color-bg: #f9fafb;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.18);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

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

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

.brand-text {
    font-size: 22px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

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

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    min-width: 180px;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-panel a {
    padding: 9px 12px;
    border-radius: 10px;
    color: #4b5563;
    font-size: 14px;
}

.nav-dropdown-panel a:hover {
    color: var(--color-primary);
    background: #eff6ff;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f3f4f6;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #374151;
}

.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(30, 58, 138, 0.88), rgba(37, 99, 235, 0.70), rgba(15, 23, 42, 0.10)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(0deg, rgba(249, 250, 251, 1), rgba(249, 250, 251, 0));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(34, 211, 238, 0.22), transparent 34%), linear-gradient(90deg, rgba(30, 58, 138, 0.72), rgba(30, 64, 175, 0.52), transparent);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: center;
    min-height: 600px;
}

.hero-copy {
    max-width: 700px;
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #dffafe;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.hero h1 {
    margin: 0 0 22px;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero h1 span {
    color: #67e8f9;
}

.hero p {
    max-width: 680px;
    margin: 0 0 30px;
    color: #eef2ff;
    font-size: 20px;
}

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

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

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

.button-primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: #ffffff;
    box-shadow: 0 18px 32px rgba(37, 99, 235, 0.28);
}

.button-ghost {
    border: 2px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.hero-feature {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.hero-feature img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
}

.hero-feature div {
    padding: 20px;
}

.hero-feature span {
    display: block;
    color: #a5f3fc;
    font-size: 13px;
    font-weight: 800;
}

.hero-feature strong {
    display: block;
    margin: 8px 0;
    font-size: 24px;
}

.hero-feature p {
    margin: 0;
    color: #e0f2fe;
    font-size: 14px;
}

.stats-section {
    position: relative;
    z-index: 3;
    margin-top: -54px;
}

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

.stat-card {
    display: grid;
    gap: 4px;
    place-items: center;
    padding: 26px 18px;
    border: 1px solid rgba(229, 231, 235, 0.72);
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: var(--shadow-soft);
}

.stat-card strong {
    color: var(--color-primary);
    font-size: 32px;
    line-height: 1;
}

.stat-card span {
    color: var(--color-muted);
    font-size: 14px;
}

.section {
    padding: 72px 0;
}

.section-white {
    background: #ffffff;
}

.section-gradient {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.section-heading h2 {
    margin: 0 0 6px;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.1;
}

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

.section-action {
    color: var(--color-primary);
    font-weight: 800;
}

.section-action span {
    transition: transform 0.2s ease;
}

.section-action:hover span {
    display: inline-block;
    transform: translateX(4px);
}

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

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

.category-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #111827;
    box-shadow: var(--shadow-soft);
    transform: translateZ(0);
}

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

.category-card:hover {
    box-shadow: var(--shadow-strong);
}

.category-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.66;
    transition: transform 0.5s ease;
}

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

.category-content {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: grid;
    gap: 8px;
    padding: 20px;
    color: #ffffff;
}

.category-content strong {
    font-size: 24px;
}

.category-content em {
    font-style: normal;
    color: #bfdbfe;
    font-weight: 700;
}

.category-content small {
    color: #e5e7eb;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.72);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.poster-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
}

.poster-wrap img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.poster-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.70), transparent 56%);
}

.badge {
    position: absolute;
    top: 12px;
    padding: 5px 9px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.badge-blue {
    left: 12px;
    background: var(--color-primary);
}

.badge-dark {
    right: 12px;
    background: rgba(15, 23, 42, 0.70);
    backdrop-filter: blur(8px);
}

.rank-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 9px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.play-float {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.90);
    color: var(--color-primary);
    font-size: 22px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: all 0.2s ease;
}

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

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

.movie-card-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

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

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

.movie-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
}

.movie-meta-line span {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f4f6;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

.ranking-panel,
.content-card,
.info-card,
.ranking-table-wrap {
    border: 1px solid rgba(229, 231, 235, 0.76);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.ranking-panel {
    position: sticky;
    top: 88px;
    overflow: hidden;
}

.ranking-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: #ffffff;
}

.ranking-panel-header h2 {
    margin: 0;
    font-size: 20px;
}

.ranking-list {
    margin: 0;
    padding: 10px 20px 18px;
    list-style: none;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.ranking-list li:last-child {
    border-bottom: 0;
}

.ranking-list span {
    color: var(--color-primary);
    font-weight: 900;
}

.ranking-list a {
    font-weight: 700;
}

.ranking-list a:hover {
    color: var(--color-primary);
}

.ranking-list em {
    color: var(--color-muted);
    font-style: normal;
    font-size: 13px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #1e3a8a, #2563eb 56%, #06b6d4);
}

.compact-hero {
    padding: 76px 0 64px;
}

.compact-hero h1,
.category-hero h1 {
    margin: 12px 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

.compact-hero p,
.category-hero p {
    max-width: 780px;
    margin: 0;
    color: #e0f2fe;
    font-size: 18px;
}

.category-hero {
    padding: 70px 0;
}

.hero-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-mini-stats span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-weight: 700;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb a::after {
    content: " /";
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.50);
}

.section-white .breadcrumb,
.breadcrumb:not(.breadcrumb-light) {
    color: #6b7280;
}

.filter-bar {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    align-items: end;
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.filter-bar label,
.global-search-box {
    display: grid;
    gap: 6px;
}

.filter-bar span {
    color: #4b5563;
    font-size: 13px;
    font-weight: 800;
}

.filter-bar input,
.filter-bar select,
.global-search-box input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--color-text);
    outline: none;
}

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

.result-count {
    margin: 8px 0 20px;
    color: var(--color-muted);
    font-weight: 700;
}

.global-search-box {
    grid-template-columns: 1fr auto;
    max-width: 820px;
    margin-top: 28px;
}

.global-search-box button {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.ranking-table-wrap {
    overflow: auto;
}

.ranking-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
}

.ranking-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
}

.ranking-table td strong {
    color: var(--color-primary);
}

.ranking-table td a {
    color: #111827;
    font-weight: 800;
}

.ranking-table td a:hover {
    color: var(--color-primary);
}

.ranking-table small {
    display: block;
    color: var(--color-muted);
    font-weight: 400;
}

.detail-hero {
    min-height: 560px;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(30, 58, 138, 0.75), rgba(15, 23, 42, 0.30)), var(--detail-bg);
    background-size: cover;
    background-position: center;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 24% 20%, rgba(34, 211, 238, 0.18), transparent 32%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 54px 0 64px;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 36px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: linear-gradient(135deg, #1e3a8a, #06b6d4);
}

.detail-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.05;
}

.detail-copy p {
    max-width: 780px;
    margin: 0 0 20px;
    color: #e5e7eb;
    font-size: 19px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 24px;
}

.tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
}

.detail-copy .tag {
    background: rgba(255, 255, 255, 0.16);
    color: #e0f2fe;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 28px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 22px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #020617;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 16 / 9;
}

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

.play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    gap: 12px;
    place-content: center;
    border: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.60), rgba(2, 6, 23, 0.16));
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    font-size: 30px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.30);
}

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

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

.player-message {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: none;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 14px;
}

.player-message:not(:empty) {
    display: block;
}

.content-card,
.info-card {
    padding: 24px;
}

.content-card h2,
.info-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

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

.detail-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 18px;
}

.info-card dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.info-card dl div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.info-card dt {
    color: var(--color-muted);
    font-weight: 800;
}

.info-card dd {
    margin: 0;
    color: #111827;
    font-weight: 700;
}

.info-card a {
    color: var(--color-primary);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 32px;
    padding: 54px 0;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

.site-footer p {
    margin: 10px 0 0;
    color: #9ca3af;
}

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

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

.footer-bottom {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: #9ca3af;
    font-size: 14px;
}

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

.empty-state {
    grid-column: 1 / -1;
    padding: 36px;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    color: var(--color-muted);
    text-align: center;
}

@media (max-width: 1100px) {
    .hero-inner,
    .two-column-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .hero-feature,
    .ranking-panel,
    .detail-sidebar {
        position: static;
    }

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

@media (max-width: 820px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 18px;
        border-top: 1px solid var(--color-border);
        background: #ffffff;
        box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
    }

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

    .nav-link {
        justify-content: flex-start;
    }

    .nav-dropdown-panel {
        position: static;
        display: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown:hover .nav-dropdown-panel,
    .nav-dropdown:focus-within .nav-dropdown-panel {
        display: grid;
    }

    .hero,
    .hero-inner {
        min-height: 640px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 50px 0;
    }

    .stats-grid,
    .movie-grid-three,
    .movie-grid-four,
    .category-grid,
    .category-grid-large,
    .footer-grid,
    .filter-bar,
    .detail-hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .movie-grid-two {
        grid-template-columns: 1fr;
    }

    .detail-hero-grid {
        align-items: start;
    }
}

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

    .hero h1,
    .detail-copy h1 {
        font-size: 36px;
    }

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

    .stats-grid,
    .movie-grid-three,
    .movie-grid-four,
    .category-grid,
    .category-grid-large,
    .footer-grid,
    .filter-bar,
    .detail-hero-grid,
    .global-search-box {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 52px 0;
    }

    .section-heading {
        display: grid;
    }

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