:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --red-500: #ef4444;
    --cyan-600: #0891b2;
    --emerald-500: #10b981;
    --white: #ffffff;
    --shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.14);
    --shadow-xl: 0 24px 55px rgba(15, 23, 42, 0.22);
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, var(--slate-50), var(--slate-100));
    color: var(--slate-800);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    color: var(--white);
    background: linear-gradient(90deg, var(--slate-950), var(--slate-900), var(--slate-800));
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.3);
}

.nav-bar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    color: var(--slate-950);
    font-size: 16px;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

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

.brand-copy strong {
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0.04em;
}

.brand-copy em {
    color: #cbd5e1;
    font-style: normal;
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    font-weight: 700;
}

.nav-links a,
.nav-dropdown button {
    color: #e2e8f0;
    background: transparent;
    border: 0;
    padding: 12px 0;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-dropdown:hover button {
    color: var(--amber-400);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 180px;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.96);
    box-shadow: var(--shadow-xl);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: grid;
    gap: 4px;
}

.nav-dropdown-menu a {
    padding: 10px 12px;
    border-radius: 10px;
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    background: var(--slate-950);
}

.hero-track {
    position: relative;
    min-height: 640px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.72), rgba(120, 53, 15, 0.48)), var(--hero-image);
    background-size: cover;
    background-position: center;
    transition: opacity 0.65s ease;
}

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

.hero-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(251, 191, 36, 0.24), transparent 34%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.84));
}

.hero-content {
    position: relative;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 360px;
    align-items: center;
    gap: 48px;
    color: var(--white);
}

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

.eyebrow {
    margin: 0 0 14px;
    color: var(--amber-400);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 0;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-title-link {
    margin: 18px 0 10px;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
}

.hero-title-link a {
    color: var(--amber-400);
}

.hero-copy > p:not(.eyebrow):not(.hero-title-link) {
    max-width: 680px;
    margin: 22px 0 0;
    color: #e2e8f0;
    font-size: 18px;
    line-height: 1.8;
}

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

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

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

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 18px 36px rgba(245, 158, 11, 0.38);
}

.btn-glass,
.btn-ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-poster {
    position: relative;
    align-self: center;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.55);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-poster span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 22px 22px;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

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

.hero-arrow,
.hero-dot {
    border: 0;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
    width: 32px;
    background: var(--amber-400);
}

.hero-thumb-row {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    transform: translateX(-50%);
}

.hero-thumb {
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    color: var(--white);
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(14px);
}

.hero-thumb img {
    width: 66px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
}

.hero-thumb span {
    display: -webkit-box;
    overflow: hidden;
    font-weight: 800;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.section-block,
.search-section {
    padding: 72px 0 0;
}

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

.section-heading p {
    margin: 0 0 4px;
    color: var(--amber-600);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    color: var(--slate-800);
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.03em;
}

.section-heading a {
    color: var(--amber-700);
    font-weight: 900;
}

.section-heading-light h2,
.section-heading-light p,
.section-heading-light a {
    color: var(--white);
}

.search-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr 0.7fr 0.7fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
    margin-bottom: 42px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-lg);
}

.search-box label {
    color: var(--slate-800);
    font-weight: 900;
}

.search-box input,
.search-box select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 0 14px;
    color: var(--slate-800);
    background: var(--white);
    outline: none;
}

.search-box input:focus,
.search-box select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

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

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

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

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

.movie-card {
    min-width: 0;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card-link,
.movie-card-body {
    display: block;
}

.poster-frame {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--slate-900);
}

.poster-frame img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.movie-grid-small .poster-frame img,
.category-movie-grid .poster-frame img {
    aspect-ratio: 3 / 4;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.58));
}

.year-badge,
.play-badge {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.year-badge {
    top: 12px;
    right: 12px;
    min-width: 56px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(245, 158, 11, 0.94);
    font-size: 13px;
    font-weight: 900;
}

.play-badge {
    left: 50%;
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--slate-950);
    background: var(--amber-400);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.38);
    transform: translate(-50%, -50%) scale(0.82);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-body h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 46px;
    margin: 0 0 8px;
    color: var(--slate-800);
    font-size: 17px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.movie-card:hover h3 {
    color: var(--amber-700);
}

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

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

.card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.card-tags span,
.detail-tags span {
    border-radius: 999px;
    color: var(--amber-700);
    background: rgba(245, 158, 11, 0.1);
    font-size: 12px;
    font-weight: 800;
}

.card-tags span {
    padding: 5px 8px;
}

.detail-tags span {
    padding: 8px 12px;
}

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

.category-tile {
    min-height: 154px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 22px;
    border-radius: 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800) 55%, rgba(245, 158, 11, 0.78));
    box-shadow: var(--shadow-lg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

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

.category-tile span {
    display: -webkit-box;
    overflow: hidden;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.6;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.ranking-section {
    margin-top: 86px;
    padding: 72px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 5%, rgba(245, 158, 11, 0.28), transparent 34%),
        linear-gradient(135deg, var(--slate-950), var(--slate-900) 55%, #451a03);
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 360px;
    gap: 36px;
    align-items: start;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ranking-item a {
    display: grid;
    grid-template-columns: 52px 86px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
}

.rank-number {
    color: var(--amber-400);
    font-size: 24px;
    font-weight: 900;
}

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

.ranking-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
}

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

.ranking-copy em {
    color: #cbd5e1;
    font-style: normal;
    font-size: 13px;
}

.ranking-panel {
    position: sticky;
    top: 102px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
}

.ranking-panel h2 {
    margin: 0 0 16px;
    font-size: 30px;
}

.ranking-panel p {
    color: #e2e8f0;
    line-height: 1.8;
}

.page-hero {
    padding: 72px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 10%, rgba(251, 191, 36, 0.26), transparent 32%),
        linear-gradient(110deg, var(--slate-950), var(--slate-900), #78350f);
}

.page-hero h1 {
    margin: 14px 0 14px;
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 780px;
    color: #dbeafe;
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a {
    color: var(--amber-400);
}

.breadcrumb span::before,
.breadcrumb a + a::before {
    content: "/";
    margin-right: 10px;
    color: #94a3b8;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    padding: 18px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.category-cover {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.category-cover img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.category-cover span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 38px 16px 16px;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84));
}

.category-overview-card h2 {
    margin: 8px 0 10px;
    font-size: 26px;
}

.category-overview-card p {
    color: var(--slate-600);
    line-height: 1.7;
}

.category-sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.category-sample-links a {
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--amber-700);
    background: rgba(245, 158, 11, 0.1);
    font-size: 13px;
    font-weight: 800;
}

.player-hero {
    padding: 34px 0 42px;
    background: var(--slate-950);
}

.breadcrumb-dark {
    margin-bottom: 22px;
}

.player-box {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

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

.play-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--slate-950);
    background: radial-gradient(circle, rgba(15, 23, 42, 0.16), rgba(2, 6, 23, 0.58));
}

.play-cover span {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    border-radius: 50%;
    background: var(--amber-400);
    font-size: 36px;
    box-shadow: 0 20px 50px rgba(251, 191, 36, 0.34);
    transition: transform 0.2s ease, background 0.2s ease;
}

.play-cover:hover span {
    transform: scale(1.07);
    background: var(--amber-500);
}

.play-cover.is-hidden {
    display: none;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    padding: 48px 0 0;
}

.detail-card {
    margin-bottom: 22px;
    padding: 24px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.detail-card h2 {
    margin: 0 0 14px;
    color: var(--slate-800);
    font-size: 24px;
}

.detail-card p {
    margin: 0;
    color: var(--slate-700);
    line-height: 1.9;
}

.detail-title-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
}

.detail-title-row img {
    width: 180px;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    object-fit: cover;
}

.detail-title-row h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.04em;
}

.detail-title-row .eyebrow {
    margin-top: 4px;
}

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

.related-list {
    position: sticky;
    top: 98px;
}

.related-card {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.related-card:hover {
    background: var(--slate-50);
}

.related-card img {
    width: 104px;
    height: 74px;
    border-radius: 12px;
    object-fit: cover;
}

.related-card span {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.related-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--slate-800);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.quick-links {
    display: grid;
    gap: 12px;
}

.quick-links a {
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--amber-700);
    background: rgba(245, 158, 11, 0.1);
    font-weight: 900;
}

.site-footer {
    margin-top: 90px;
    color: #cbd5e1;
    background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    padding: 46px 0;
}

.footer-grid h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-size: 18px;
}

.footer-grid p {
    margin: 0;
    line-height: 1.8;
}

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

.footer-grid a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    padding: 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #94a3b8;
}

.footer-bottom p {
    margin: 0;
}

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

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

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

    .hero-content {
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 880px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        padding: 18px;
        border-radius: 18px;
        background: rgba(15, 23, 42, 0.98);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.open {
        display: grid;
        gap: 12px;
    }

    .nav-dropdown-menu {
        position: static;
        display: grid;
        margin-top: 8px;
        box-shadow: none;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        align-content: center;
        padding: 60px 0 190px;
    }

    .hero-poster {
        display: none;
    }

    .hero-thumb-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-controls {
        bottom: 156px;
    }

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

    .ranking-layout,
    .detail-layout,
    .category-overview-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ranking-panel,
    .related-list {
        position: static;
    }

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

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

    .brand-copy em {
        display: none;
    }

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

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

    .hero-actions {
        display: grid;
    }

    .hero-thumb-row {
        display: none;
    }

    .hero-controls {
        bottom: 34px;
    }

    .section-heading {
        display: grid;
        align-items: start;
    }

    .movie-grid-featured,
    .movie-grid-small,
    .category-movie-grid,
    .category-grid,
    .ranking-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

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

    .movie-card-body h3 {
        font-size: 15px;
    }

    .ranking-item a {
        grid-template-columns: 1fr;
    }

    .ranking-item img {
        width: 100%;
        height: 120px;
    }

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

    .detail-title-row img {
        width: min(220px, 100%);
    }
}
