:root {
    --forest-950: #0a140d;
    --forest-900: #152819;
    --forest-800: #224126;
    --forest-700: #2e5534;
    --moss-700: #455234;
    --moss-600: #59693f;
    --moss-500: #6d8350;
    --moss-400: #8a9f6e;
    --earth-950: #1b130e;
    --earth-900: #2b211a;
    --earth-800: #352b1f;
    --parchment-100: #f5f2ed;
    --parchment-200: #ebe4d9;
    --parchment-300: #dfd4c1;
    --parchment-400: #d3c4a9;
    --line: rgba(223, 212, 193, 0.14);
    --shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.25);
    --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--parchment-200);
    background:
        radial-gradient(circle at top left, rgba(109, 131, 80, 0.2), transparent 34rem),
        linear-gradient(180deg, var(--forest-950), var(--forest-900) 44%, var(--earth-950));
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(46, 85, 52, 0.8);
    background: rgba(21, 40, 25, 0.94);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 24px;
}

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

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--parchment-100);
    background: linear-gradient(135deg, var(--moss-700), var(--moss-500));
    box-shadow: inset 0 0 0 1px rgba(245, 242, 237, 0.08), 0 12px 28px rgba(0, 0, 0, 0.32);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    color: var(--parchment-100);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-subtitle {
    margin-top: 4px;
    color: var(--parchment-400);
    font-size: 12px;
}

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

.nav-link {
    position: relative;
    color: var(--parchment-300);
    font-size: 15px;
    font-weight: 650;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 99px;
    background: var(--moss-400);
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--parchment-100);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    color: var(--parchment-100);
    background: rgba(69, 82, 52, 0.8);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    border-radius: 99px;
    background: currentColor;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    padding: 10px 16px 18px;
    background: rgba(21, 40, 25, 0.98);
}

.mobile-nav .nav-link {
    display: block;
    padding: 12px 0;
}

.hero {
    position: relative;
    height: 72vh;
    min-height: 560px;
    overflow: hidden;
    background: var(--forest-950);
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 900ms ease;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 20, 13, 0.92), rgba(10, 20, 13, 0.58), rgba(10, 20, 13, 0.2)),
        linear-gradient(0deg, rgba(10, 20, 13, 1), rgba(10, 20, 13, 0.1) 45%, rgba(10, 20, 13, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 112px;
}

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

.hero-kicker,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--moss-400);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1,
.hero h2,
.page-hero h1,
.detail-copy h1 {
    margin: 0;
    color: var(--parchment-100);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.hero h1,
.hero h2 {
    max-width: 840px;
    font-size: clamp(42px, 7vw, 82px);
    text-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
}

.hero-desc {
    max-width: 700px;
    margin: 22px 0 0;
    color: var(--parchment-200);
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.8;
}

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

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

.hero-tags span,
.detail-tags span,
.card-tags span {
    border: 1px solid rgba(223, 212, 193, 0.16);
    border-radius: 999px;
    color: var(--parchment-100);
    background: rgba(34, 65, 38, 0.78);
    backdrop-filter: blur(8px);
}

.hero-tags span,
.detail-tags span {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
}

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

.primary-btn,
.ghost-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, background 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--moss-600), var(--moss-500));
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.ghost-btn {
    border: 1px solid rgba(223, 212, 193, 0.2);
    color: var(--parchment-100);
    background: rgba(245, 242, 237, 0.06);
    backdrop-filter: blur(10px);
}

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

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(245, 242, 237, 0.12);
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, transform 0.2s ease;
    font-size: 36px;
    line-height: 1;
}

.hero-arrow:hover {
    background: rgba(69, 82, 52, 0.86);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

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

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

.hero-dot.is-active {
    width: 34px;
    background: var(--moss-400);
}

.hero-thumbs {
    position: absolute;
    right: 0;
    bottom: 74px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    pointer-events: none;
}

.hero-thumb {
    display: grid;
    grid-template-columns: 58px 118px;
    align-items: center;
    gap: 10px;
    width: 200px;
    padding: 8px;
    border: 1px solid rgba(245, 242, 237, 0.12);
    border-radius: 16px;
    color: var(--parchment-200);
    background: rgba(10, 20, 13, 0.56);
    box-shadow: var(--shadow-soft);
    opacity: 0.72;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-thumb img {
    width: 58px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
}

.hero-thumb span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hero-thumb.is-active,
.hero-thumb:hover {
    border-color: rgba(138, 159, 110, 0.9);
    opacity: 1;
    transform: translateY(-2px);
}

.intro-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: -42px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(34, 65, 38, 0.72);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.intro-panel h2,
.section-heading h2,
.footer-column h2,
.detail-side h2,
.detail-block h2 {
    margin: 0;
    color: var(--parchment-100);
}

.intro-panel h2 {
    font-size: clamp(24px, 3vw, 36px);
}

.intro-panel p {
    max-width: 780px;
    margin: 12px 0 0;
    color: var(--parchment-300);
    line-height: 1.75;
}

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

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 26px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 740px;
    margin: 0;
    color: var(--parchment-400);
    line-height: 1.7;
}

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

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

.movie-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(223, 212, 193, 0.11);
    border-radius: 18px;
    background: rgba(43, 33, 26, 0.48);
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    border-color: rgba(138, 159, 110, 0.72);
    box-shadow: var(--shadow-strong);
    transform: translateY(-5px);
}

.card-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--earth-800);
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

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

.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12), transparent);
    opacity: 0.76;
    transition: opacity 0.24s ease;
}

.movie-card:hover .card-cover::after {
    opacity: 0.92;
}

.play-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(89, 105, 63, 0.92);
    font-size: 13px;
    font-weight: 800;
}

.rank-no {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: var(--parchment-100);
    background: rgba(10, 20, 13, 0.78);
    font-size: 16px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.rank-no.wide {
    width: auto;
    min-width: 46px;
    padding: 0 8px;
}

.card-body {
    padding: 16px;
}

.card-tags {
    margin-bottom: 10px;
}

.card-tags span {
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 750;
}

.card-body h3 {
    margin: 0;
    color: var(--parchment-100);
    font-size: 18px;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: #fff;
}

.card-meta {
    margin: 8px 0 0;
    color: var(--moss-400);
    font-size: 13px;
    font-weight: 700;
}

.card-desc {
    display: -webkit-box;
    min-height: 48px;
    margin: 10px 0 0;
    overflow: hidden;
    color: var(--parchment-400);
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.compact-card .card-body h3 {
    font-size: 16px;
}

.compact-card .card-desc {
    min-height: 0;
}

.section-more {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.category-section {
    padding: 72px 0;
    background: rgba(53, 43, 31, 0.25);
}

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

.category-tile {
    min-height: 180px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(34, 65, 38, 0.76), rgba(43, 33, 26, 0.62)),
        radial-gradient(circle at top right, rgba(138, 159, 110, 0.16), transparent 70%);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
    border-color: rgba(138, 159, 110, 0.7);
    transform: translateY(-4px);
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    border-radius: 14px;
    color: #fff;
    background: var(--moss-600);
    font-weight: 900;
}

.category-tile strong,
.category-tile em {
    display: block;
}

.category-tile strong {
    color: var(--parchment-100);
    font-size: 20px;
}

.category-tile em {
    margin-top: 9px;
    color: var(--parchment-400);
    font-size: 13px;
    font-style: normal;
    line-height: 1.6;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 16px;
    margin-bottom: 26px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 20, 13, 0.38);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box span {
    color: var(--parchment-300);
    font-size: 14px;
    font-weight: 800;
}

.search-box input,
.filter-selects select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(223, 212, 193, 0.16);
    border-radius: 12px;
    color: var(--parchment-100);
    background: rgba(21, 40, 25, 0.78);
    outline: 0;
}

.search-box input {
    padding: 0 14px;
}

.filter-selects {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-selects select {
    min-width: 132px;
    padding: 0 10px;
}

.filter-selects button {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--moss-700);
    cursor: pointer;
}

.empty-state {
    display: none;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--parchment-300);
    text-align: center;
    background: rgba(43, 33, 26, 0.45);
}

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

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 76px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 20% 5%, rgba(138, 159, 110, 0.22), transparent 36rem),
        linear-gradient(135deg, rgba(34, 65, 38, 0.92), rgba(10, 20, 13, 0.92));
}

.page-hero h1 {
    max-width: 880px;
    font-size: clamp(38px, 6vw, 68px);
}

.page-hero p {
    max-width: 780px;
    margin: 20px 0 0;
    color: var(--parchment-300);
    font-size: 18px;
    line-height: 1.8;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--parchment-400);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--parchment-100);
}

.category-overview-grid {
    display: grid;
    gap: 20px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(43, 33, 26, 0.46);
    box-shadow: var(--shadow-soft);
}

.category-cover {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 10;
}

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

.category-overview-card h2 {
    margin: 0;
    color: var(--parchment-100);
    font-size: 28px;
}

.category-overview-card p {
    margin: 12px 0 0;
    color: var(--parchment-300);
    line-height: 1.7;
}

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

.category-sample-links a {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--parchment-200);
    background: rgba(21, 40, 25, 0.6);
    font-size: 13px;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 56px;
    background: var(--forest-950);
}

.detail-bg,
.detail-bg-mask {
    position: absolute;
    inset: 0;
}

.detail-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) saturate(1.1);
    opacity: 0.36;
    transform: scale(1.08);
}

.detail-bg-mask {
    background:
        linear-gradient(90deg, rgba(10, 20, 13, 0.96), rgba(10, 20, 13, 0.72)),
        linear-gradient(0deg, rgba(10, 20, 13, 1), transparent 62%);
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
}

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

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(245, 242, 237, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 3 / 4;
    background: var(--earth-900);
}

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

.detail-copy h1 {
    max-width: 860px;
    font-size: clamp(36px, 6vw, 70px);
}

.detail-line {
    max-width: 840px;
    margin: 20px 0 0;
    color: var(--parchment-200);
    font-size: 18px;
    line-height: 1.8;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.detail-meta span {
    padding: 9px 12px;
    border-radius: 12px;
    color: var(--parchment-100);
    background: rgba(245, 242, 237, 0.08);
}

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

.detail-copy .primary-btn {
    margin-top: 28px;
}

.player-section {
    padding-top: 34px;
}

.player-stage {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(245, 242, 237, 0.12);
    border-radius: 24px;
    background: #050805;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

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

.play-trigger {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.16));
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.play-trigger span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(89, 105, 63, 0.92);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    font-size: 40px;
    text-indent: 5px;
}

.play-trigger.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding-top: 34px;
}

.detail-main,
.detail-side {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(43, 33, 26, 0.46);
    box-shadow: var(--shadow-soft);
}

.detail-main {
    padding: 28px;
}

.detail-block + .detail-block {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.detail-block h2,
.detail-side h2 {
    font-size: 24px;
}

.detail-block p {
    margin: 14px 0 0;
    color: var(--parchment-300);
    font-size: 16px;
    line-height: 1.9;
}

.detail-side {
    align-self: start;
    padding: 24px;
}

.detail-side dl {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px 12px;
    margin: 18px 0 0;
}

.detail-side dt {
    color: var(--moss-400);
    font-weight: 800;
}

.detail-side dd {
    margin: 0;
    color: var(--parchment-200);
}

.related-section {
    padding-bottom: 80px;
}

.site-footer {
    margin-top: 84px;
    border-top: 1px solid rgba(46, 85, 52, 0.82);
    background: rgba(10, 20, 13, 0.94);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 42px;
    padding: 46px 0 28px;
}

.footer-brand p,
.footer-bottom p {
    color: var(--parchment-400);
}

.footer-brand p {
    max-width: 520px;
    margin: 18px 0 0;
    line-height: 1.8;
}

.footer-column h2 {
    font-size: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.footer-links a {
    color: var(--parchment-300);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--parchment-100);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 34px;
    border-top: 1px solid var(--line);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

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

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

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

    .hero-thumbs {
        display: none;
    }

    .detail-layout {
        grid-template-columns: 240px 1fr;
    }
}

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

    .mobile-toggle {
        display: flex;
    }

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

    .hero {
        height: 76vh;
        min-height: 580px;
    }

    .hero-content {
        padding-bottom: 86px;
    }

    .hero-arrow {
        display: none;
    }

    .intro-panel,
    .filter-panel,
    .detail-content,
    .footer-grid,
    .category-overview-card {
        grid-template-columns: 1fr;
    }

    .intro-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-selects {
        align-items: stretch;
        flex-direction: column;
    }

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

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

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

    .detail-poster {
        width: min(280px, 100%);
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .container {
        width: min(100% - 22px, 1200px);
    }

    .brand-name {
        font-size: 15px;
    }

    .brand-subtitle {
        font-size: 11px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .hero {
        min-height: 540px;
    }

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

    .hero-desc {
        font-size: 15px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-btn,
    .ghost-btn {
        width: 100%;
    }

    .movie-grid,
    .ranking-grid,
    .related-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-cover {
        aspect-ratio: 16 / 9;
    }

    .detail-main,
    .detail-side {
        padding: 20px;
    }

    .play-trigger span {
        width: 74px;
        height: 74px;
        font-size: 32px;
    }
}
