:root {
    --deepblue-950: #000c12;
    --deepblue-900: #00141a;
    --deepblue-850: #002033;
    --deepblue-800: #002840;
    --deepblue-700: #004166;
    --ocean-900: #001a26;
    --ocean-700: #005580;
    --ocean-600: #0077b3;
    --ocean-500: #0099e6;
    --ocean-400: #1ab1ff;
    --ocean-300: #66ccff;
    --teal-500: #00b394;
    --teal-900: #001710;
    --white: #ffffff;
    --text-soft: #c9e8f7;
    --text-muted: #80b4cc;
    --shadow-ocean: 0 16px 48px rgba(0, 153, 230, 0.18);
    --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.28);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text-soft);
    background:
        radial-gradient(circle at top left, rgba(0, 153, 230, 0.20), transparent 30rem),
        linear-gradient(180deg, var(--deepblue-950), var(--deepblue-900) 45%, var(--deepblue-950));
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 80%);
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(102, 204, 255, 0.12);
    background: rgba(0, 20, 26, 0.82);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ocean-500), var(--teal-500));
    box-shadow: var(--shadow-ocean);
    color: var(--white);
    font-size: 15px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > a,
.nav-more > button {
    border: 0;
    color: var(--text-soft);
    background: transparent;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.main-nav > a:hover,
.nav-more > button:hover {
    color: var(--white);
    background: rgba(0, 153, 230, 0.16);
}

.nav-more {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 168px;
    padding: 10px;
    border: 1px solid rgba(102, 204, 255, 0.15);
    border-radius: 16px;
    background: rgba(0, 32, 51, 0.98);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

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

.nav-dropdown a {
    display: block;
    padding: 10px 12px;
    color: var(--text-soft);
    border-radius: 10px;
}

.nav-dropdown a:hover {
    color: var(--white);
    background: rgba(0, 153, 230, 0.18);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(102, 204, 255, 0.18);
    border-radius: 14px;
    background: rgba(0, 40, 64, 0.8);
    color: var(--white);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    border-radius: 2px;
}

.hero {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    background: var(--deepblue-950);
}

.hero-stage {
    position: relative;
    min-height: 70vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    min-height: 70vh;
    opacity: 0;
    transform: scale(1.02);
    background-color: var(--deepblue-900);
    background-size: cover;
    background-position: center;
    transition: opacity 0.7s ease, transform 1.2s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    transform: scale(1);
}

.hero-overlay,
.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 12, 18, 0.96), rgba(0, 20, 26, 0.84) 42%, rgba(0, 20, 26, 0.22)),
        linear-gradient(180deg, rgba(0, 12, 18, 0.1), rgba(0, 12, 18, 0.9));
}

.hero-content {
    position: relative;
    min-height: 70vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 56px;
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--ocean-300);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(38px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.detail-copy p {
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
}

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

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

.hero-tags span,
.tag-cloud span,
.movie-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--ocean-300);
    background: rgba(0, 153, 230, 0.14);
    border: 1px solid rgba(102, 204, 255, 0.14);
    font-size: 12px;
}

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

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

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

.button-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--ocean-500), var(--teal-500));
    box-shadow: var(--shadow-ocean);
}

.button-ghost {
    color: var(--text-soft);
    border-color: rgba(102, 204, 255, 0.22);
    background: rgba(0, 40, 64, 0.55);
}

.button-ghost:hover {
    color: var(--white);
    background: rgba(0, 153, 230, 0.2);
}

.hero-poster,
.detail-poster {
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: 28px;
    background-color: var(--deepblue-800);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(102, 204, 255, 0.18);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
    border: 1px solid rgba(102, 204, 255, 0.16);
    border-radius: 999px;
    background: rgba(0, 20, 26, 0.64);
    backdrop-filter: blur(12px);
}

.hero-arrow,
.hero-dot {
    border: 0;
    cursor: pointer;
    color: var(--white);
    background: transparent;
}

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

.hero-arrow:hover {
    background: rgba(0, 153, 230, 0.25);
}

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

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: rgba(201, 232, 247, 0.36);
}

.hero-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--ocean-400);
}

.content-section {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 64px 0;
}

.nested-section {
    width: 100%;
    padding: 18px 0 0;
}

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

.section-heading h2,
.rank-panel h2,
.text-panel h2,
.sidebar-card h2,
.sitemap-section h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 8px 0 0;
    max-width: 640px;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-link {
    color: var(--ocean-300);
    font-weight: 800;
}

.horizontal-scroll {
    overflow-x: auto;
    padding-bottom: 16px;
    margin: 0 -16px;
    scrollbar-color: var(--ocean-700) transparent;
}

.movie-row {
    display: grid;
    grid-auto-columns: 240px;
    grid-auto-flow: column;
    gap: 18px;
    padding: 0 16px;
}

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

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

.movie-card {
    min-width: 0;
}

.movie-card a {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(0, 40, 64, 0.92), rgba(0, 26, 38, 0.92));
    border: 1px solid rgba(102, 204, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.movie-card a:hover {
    transform: translateY(-6px);
    border-color: rgba(26, 177, 255, 0.38);
    box-shadow: var(--shadow-ocean);
}

.poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    background-color: var(--deepblue-800);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.poster::after,
.mini-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 12, 18, 0.8));
}

.poster-type {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.58);
    font-size: 12px;
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    background: rgba(0, 153, 230, 0.82);
    box-shadow: var(--shadow-ocean);
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.movie-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.movie-card-body strong {
    color: var(--white);
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-one-line {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    color: var(--ocean-300);
    font-size: 12px;
}

.movie-meta em,
.ranking-meta,
.mini-copy em {
    font-style: normal;
}

.movie-tags {
    gap: 6px;
}

.movie-tags span {
    min-height: 24px;
    padding: 2px 8px;
    font-size: 11px;
}

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

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

.category-card {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background-color: var(--deepblue-800);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(102, 204, 255, 0.14);
    box-shadow: var(--shadow-card);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 20, 26, 0.94), rgba(0, 85, 128, 0.38)),
        linear-gradient(180deg, transparent, rgba(0, 12, 18, 0.82));
}

.category-card-copy {
    position: absolute;
    inset: auto 18px 18px 18px;
    display: grid;
    gap: 6px;
}

.category-card-copy strong {
    color: var(--white);
    font-size: 24px;
}

.category-card-copy em,
.category-card-copy small {
    color: var(--text-soft);
    font-style: normal;
}

.rank-panel,
.sidebar-card,
.text-panel,
.player-card,
.category-overview-card,
.sitemap-section {
    border: 1px solid rgba(102, 204, 255, 0.14);
    border-radius: var(--radius-xl);
    background: rgba(0, 40, 64, 0.72);
    box-shadow: var(--shadow-card);
}

.rank-panel,
.sidebar-card {
    align-self: start;
    padding: 24px;
    position: sticky;
    top: 92px;
}

.rank-panel-header p {
    margin: 10px 0 22px;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.mini-item {
    display: grid;
    grid-template-columns: auto 54px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(0, 20, 26, 0.55);
    transition: background 0.2s ease, transform 0.2s ease;
}

.mini-item:hover {
    transform: translateX(4px);
    background: rgba(0, 153, 230, 0.14);
}

.rank-number,
.ranking-index {
    color: var(--ocean-400);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.mini-poster {
    position: relative;
    width: 54px;
    height: 76px;
    border-radius: 12px;
    background-color: var(--deepblue-700);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.mini-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.mini-copy strong {
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-copy em {
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-main {
    min-height: 70vh;
}

.page-hero {
    position: relative;
    padding: 92px 0 54px;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 153, 230, 0.32), transparent 28rem),
        linear-gradient(135deg, rgba(0, 12, 18, 0.98), rgba(0, 40, 64, 0.72));
    border-bottom: 1px solid rgba(102, 204, 255, 0.12);
}

.compact-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
}

.category-hero,
.search-hero {
    overflow: hidden;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 0.7fr));
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(102, 204, 255, 0.14);
    border-radius: var(--radius-xl);
    background: rgba(0, 40, 64, 0.68);
}

.slim-toolbar {
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, 0.25fr));
}

.catalog-toolbar label {
    display: grid;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.catalog-toolbar input,
.catalog-toolbar select,
.search-box-large input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(102, 204, 255, 0.16);
    color: var(--white);
    background: rgba(0, 20, 26, 0.82);
    outline: none;
}

.catalog-toolbar input:focus,
.catalog-toolbar select:focus,
.search-box-large input:focus {
    border-color: var(--ocean-400);
    box-shadow: 0 0 0 4px rgba(26, 177, 255, 0.12);
}

.search-box-large {
    margin-bottom: 18px;
}

.search-box-large input {
    min-height: 64px;
    padding: 0 22px;
    font-size: 20px;
}

.result-count {
    margin: 0 0 20px;
    color: var(--ocean-300);
    font-weight: 800;
}

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

.category-overview-card {
    min-height: 360px;
    overflow: hidden;
    background-color: var(--deepblue-800);
    background-size: cover;
    background-position: center;
}

.category-overview-body {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(0, 20, 26, 0.16), rgba(0, 12, 18, 0.94)),
        linear-gradient(135deg, rgba(0, 153, 230, 0.16), rgba(0, 179, 148, 0.10));
}

.category-overview-body h2 {
    margin: 0;
    color: var(--white);
    font-size: 34px;
}

.category-overview-body p {
    margin: 0;
    line-height: 1.7;
}

.sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sample-links a {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--ocean-300);
    background: rgba(0, 153, 230, 0.13);
    font-size: 13px;
}

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

.ranking-row a {
    display: grid;
    grid-template-columns: 72px 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(102, 204, 255, 0.12);
    background: rgba(0, 40, 64, 0.66);
}

.ranking-main {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.ranking-main strong {
    color: var(--white);
    font-size: 17px;
}

.ranking-main em {
    color: var(--text-muted);
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-meta {
    color: var(--ocean-300);
    white-space: nowrap;
    font-size: 13px;
}

.detail-hero {
    position: relative;
    background-color: var(--deepblue-900);
    background-size: cover;
    background-position: center;
}

.detail-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    gap: 44px;
    padding-top: 72px;
    padding-bottom: 72px;
}

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

.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(0, 40, 64, 0.62);
    border: 1px solid rgba(102, 204, 255, 0.13);
}

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

.detail-content {
    display: grid;
    gap: 24px;
}

.player-card {
    overflow: hidden;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #000;
    background-size: cover;
    background-position: center;
}

.player-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.36);
    pointer-events: none;
}

.main-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

.player-start {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    gap: 10px;
    width: 142px;
    height: 142px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    background: rgba(0, 153, 230, 0.88);
    box-shadow: var(--shadow-ocean);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.player-start span {
    font-size: 34px;
}

.player-start strong {
    font-size: 15px;
}

.player-start:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.player-card.is-playing .player-start {
    opacity: 0;
    visibility: hidden;
}

.player-source {
    margin: 0;
    padding: 14px 18px;
    color: var(--text-muted);
    font-size: 13px;
    background: rgba(0, 20, 26, 0.76);
}

.text-panel {
    padding: 26px;
}

.text-panel h2 {
    margin-bottom: 14px;
    font-size: 28px;
}

.text-panel p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.9;
}

.text-panel p + p {
    margin-top: 12px;
}

.lead-text {
    color: var(--white) !important;
    font-weight: 700;
}

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

.info-table dl div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(102, 204, 255, 0.12);
}

.info-table dt {
    color: var(--text-muted);
}

.info-table dd {
    margin: 0;
    color: var(--white);
}

.info-table a {
    color: var(--ocean-300);
}

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

.prev-next a {
    padding: 16px;
    border-radius: 16px;
    color: var(--ocean-300);
    background: rgba(0, 40, 64, 0.72);
    border: 1px solid rgba(102, 204, 255, 0.13);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.sitemap-section {
    padding: 24px;
}

.sitemap-section h2 {
    margin-bottom: 18px;
    font-size: 26px;
}

.sitemap-section h2 a {
    color: var(--white);
}

.sitemap-section ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-section li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(102, 204, 255, 0.12);
}

.sitemap-section li a {
    color: var(--text-soft);
}

.sitemap-section li span {
    color: var(--text-muted);
    font-size: 13px;
    white-space: nowrap;
}

.site-footer {
    margin-top: 40px;
    border-top: 1px solid rgba(102, 204, 255, 0.12);
    background: rgba(0, 12, 18, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.4fr;
    gap: 32px;
    padding: 40px 0;
}

.footer-grid p {
    max-width: 460px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: var(--text-soft);
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0, 153, 230, 0.11);
}

.footer-links a:hover {
    color: var(--white);
    background: rgba(0, 153, 230, 0.22);
}

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

@media (max-width: 1080px) {
    .movie-grid,
    .compact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .rank-panel,
    .sidebar-card {
        position: static;
    }

    .hero-content {
        grid-template-columns: 1fr 240px;
        gap: 32px;
    }
}

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

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid rgba(102, 204, 255, 0.16);
        border-radius: 18px;
        background: rgba(0, 20, 26, 0.98);
        box-shadow: var(--shadow-card);
    }

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

    .nav-more,
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 8px;
        background: rgba(0, 40, 64, 0.66);
    }

    .hero-content,
    .detail-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 56px;
    }

    .hero-poster,
    .detail-poster {
        display: none;
    }

    .hero h1,
    .detail-copy h1 {
        font-size: clamp(36px, 14vw, 64px);
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

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

    .catalog-toolbar,
    .slim-toolbar {
        grid-template-columns: 1fr;
    }

    .ranking-row a {
        grid-template-columns: 48px 52px minmax(0, 1fr);
    }

    .ranking-meta {
        grid-column: 3;
    }

    .prev-next {
        grid-template-columns: 1fr;
    }
}

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

    .header-inner {
        min-height: 64px;
    }

    .hero,
    .hero-stage,
    .hero-slide {
        min-height: 620px;
    }

    .movie-grid,
    .compact-grid,
    .category-grid,
    .overview-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .movie-row {
        grid-auto-columns: 78vw;
    }

    .category-overview-body,
    .text-panel,
    .rank-panel,
    .sidebar-card {
        padding: 20px;
    }

    .player-start {
        width: 110px;
        height: 110px;
    }

    .footer-grid {
        padding: 30px 0;
    }
}
