:root {
    --bg: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(15, 23, 42, 0.1);
    --emerald: #10b981;
    --emerald-dark: #059669;
    --teal: #0d9488;
    --dark: #020617;
    --card: #ffffff;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
    --soft-shadow: 0 14px 35px rgba(15, 23, 42, 0.1);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 42%, #f1f5f9 100%);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

img {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #0f172a, #0d9488);
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    color: #ffffff;
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
    color: var(--text);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
}

.nav-container {
    max-width: 1280px;
    height: 76px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.35);
}

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

.brand-copy strong,
.footer-brand strong {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.brand-copy small {
    font-size: 12px;
    opacity: 0.78;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 10px 15px;
    border-radius: 14px;
    font-weight: 700;
    color: currentColor;
    opacity: 0.92;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: #ffffff;
    background: #020617;
}

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

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

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

.hero-slide img {
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08);
}

.hero-layer {
    background:
        radial-gradient(circle at 78% 20%, rgba(16, 185, 129, 0.32), transparent 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.72) 45%, rgba(2, 6, 23, 0.18) 100%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.95) 0%, transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 160px 24px 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--emerald);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow span {
    padding: 8px 13px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(12px);
}

.eyebrow span:first-child {
    border-color: transparent;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
}

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

.hero-movie-title {
    margin-top: 18px !important;
    font-size: clamp(28px, 4vw, 54px) !important;
    letter-spacing: -0.04em !important;
    color: rgba(255, 255, 255, 0.92);
}

.hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(17px, 2vw, 22px);
}

.hero-meta,
.detail-meta,
.card-tags,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta {
    margin-top: 22px;
}

.hero-meta span,
.detail-meta span,
.card-tags span,
.tag-cloud span {
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: var(--muted);
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
}

.hero-meta span,
.tag-cloud span {
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.primary-btn,
.ghost-btn,
.quick-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.quick-search button {
    color: #ffffff;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    box-shadow: 0 18px 30px rgba(16, 185, 129, 0.32);
}

.ghost-btn {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover,
.quick-search button:hover {
    transform: translateY(-2px) scale(1.01);
}

.hero-dots {
    position: absolute;
    z-index: 5;
    bottom: 34px;
    left: 50%;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.active {
    width: 34px;
    background: var(--emerald);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.34);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.section-wrap {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 74px 0;
}

.intro-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 32px;
    align-items: center;
}

.intro-strip h2,
.section-heading h2,
.rank-head h2,
.content-card h2,
.info-card h2 {
    margin: 8px 0 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.intro-strip p,
.category-overview-card p,
.page-hero p,
.content-card p {
    color: var(--muted);
    font-size: 17px;
}

.quick-search,
.filter-panel {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(16px);
}

.quick-search input,
.filter-panel input,
.filter-panel select {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.quick-search input {
    min-height: 48px;
    padding: 0 18px;
}

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

.section-heading a,
.rank-head a {
    color: var(--emerald-dark);
    font-weight: 800;
}

.compact {
    margin-bottom: 24px;
}

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

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

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

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

.movie-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: var(--card);
    box-shadow: var(--soft-shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: var(--shadow);
    transform: translateY(-7px);
}

.poster-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #0f172a;
}

.feature-grid .poster-link {
    aspect-ratio: 16 / 10;
}

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

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), transparent 56%);
    opacity: 0.88;
}

.poster-year,
.poster-play {
    position: absolute;
    z-index: 2;
}

.poster-year {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(2, 6, 23, 0.58);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.poster-play {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--emerald-dark);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

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

.card-meta-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--emerald-dark);
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 8px 0 8px;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

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

.movie-card-small h3 {
    font-size: 16px;
}

.movie-card-small .movie-card-body {
    padding: 14px;
}

.movie-card-small p {
    display: none;
}

.card-tags span {
    padding: 5px 9px;
    font-size: 12px;
}

.split-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 30px;
    align-items: start;
}

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

.category-tile {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
    color: #ffffff;
    background: #020617;
    box-shadow: var(--soft-shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-tile img,
.category-glow {
    position: absolute;
    inset: 0;
}

.category-tile img {
    height: 100%;
    object-fit: cover;
    opacity: 0.52;
    transition: transform 0.42s ease, opacity 0.42s ease;
}

.category-tile:hover img {
    opacity: 0.66;
    transform: scale(1.08);
}

.category-glow {
    background:
        radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.5), transparent 28%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 70%);
}

.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 1;
}

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

.category-tile em {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-style: normal;
}

.rank-panel,
.content-card,
.info-card,
.category-overview-card,
.rank-table,
.filter-panel {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--soft-shadow);
}

.rank-panel {
    position: sticky;
    top: 96px;
    padding: 24px;
}

.rank-head {
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
}

.rank-head span {
    color: var(--emerald-dark);
    font-weight: 900;
    letter-spacing: 0.18em;
}

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

.rank-item,
.rank-row {
    display: grid;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item {
    grid-template-columns: 42px 54px 1fr;
    padding: 9px;
}

.rank-item:hover,
.rank-row:hover {
    background: rgba(16, 185, 129, 0.08);
    transform: translateX(3px);
}

.rank-number {
    color: var(--emerald-dark);
    font-size: 18px;
    font-weight: 900;
}

.rank-item img {
    width: 54px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-info {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.rank-info strong,
.rank-row strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank-info em,
.rank-row em,
.podium-card em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.page-hero {
    min-height: 420px;
    padding: 150px 24px 72px;
    color: #ffffff;
    background:
        radial-gradient(circle at 75% 20%, rgba(16, 185, 129, 0.36), transparent 32%),
        linear-gradient(135deg, #020617, #0f172a 55%, #064e3b);
}

.page-hero > div {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.page-hero h1 {
    max-width: 860px;
    margin: 12px 0 0;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.82);
}

.page-actions .ghost-btn {
    color: #ffffff;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 26px;
    padding: 20px;
}

.category-cover {
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 10;
    background: #020617;
}

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

.category-overview-card h2 {
    margin: 6px 0;
    font-size: 30px;
    letter-spacing: -0.035em;
}

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

.category-preview-links a {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--emerald-dark);
    background: rgba(16, 185, 129, 0.1);
    font-weight: 700;
}

.filter-panel {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 160px 220px;
    border-radius: 24px;
    padding: 18px;
}

.filter-panel label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select {
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.podium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

.podium-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 24px;
    border-radius: 30px;
    color: #ffffff;
    background: #020617;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.podium-card img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
}

.podium-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.95), transparent 68%);
}

.podium-rank,
.podium-card strong,
.podium-card em {
    position: relative;
    z-index: 1;
}

.podium-rank {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    font-size: 26px;
    font-weight: 900;
}

.podium-card strong {
    font-size: 26px;
    line-height: 1.2;
}

.podium-card em {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
}

.rank-table {
    padding: 14px;
}

.rank-row {
    grid-template-columns: 56px 58px minmax(0, 1fr) 180px 58px;
    padding: 10px 14px;
}

.rank-row img {
    width: 58px;
    height: 76px;
    border-radius: 12px;
    object-fit: cover;
}

.rank-row span,
.rank-row b {
    color: var(--emerald-dark);
    font-weight: 900;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 126px 24px 72px;
    color: #ffffff;
    background: #020617;
}

.detail-backdrop,
.detail-backdrop img,
.detail-backdrop span {
    position: absolute;
    inset: 0;
}

.detail-backdrop img {
    height: 100%;
    object-fit: cover;
    opacity: 0.26;
    filter: blur(2px) saturate(1.2);
}

.detail-backdrop span {
    background:
        radial-gradient(circle at 74% 12%, rgba(16, 185, 129, 0.38), transparent 30%),
        linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.64));
}

.detail-wrap {
    position: relative;
    z-index: 1;
    width: min(1280px, 100%);
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.breadcrumb a {
    color: #ffffff;
}

.detail-main {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 38px;
    align-items: center;
}

.detail-poster {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.detail-copy h1 {
    max-width: 900px;
    margin: 10px 0 16px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.detail-one-line {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
}

.detail-meta {
    margin: 22px 0;
}

.player-section {
    padding-bottom: 40px;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #000000;
    box-shadow: 0 28px 90px rgba(2, 6, 23, 0.28);
    aspect-ratio: 16 / 9;
}

.movie-player {
    width: 100%;
    height: 100%;
    display: block;
    background: #000000;
}

.player-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle at center, rgba(16, 185, 129, 0.28), transparent 30%),
        linear-gradient(0deg, rgba(2, 6, 23, 0.42), rgba(2, 6, 23, 0.1));
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.player-overlay.is-hidden {
    display: none;
}

.player-overlay span {
    width: 84px;
    height: 84px;
    padding-left: 5px;
    border-radius: 50%;
    color: var(--emerald-dark);
    background: rgba(255, 255, 255, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.player-overlay strong {
    font-size: 20px;
}

.detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
    align-items: start;
}

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

.content-card + .content-card {
    margin-top: 24px;
}

.content-card h2,
.info-card h2 {
    font-size: 28px;
}

.info-card {
    position: sticky;
    top: 96px;
}

.info-card dl {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px 16px;
    margin: 18px 0 0;
}

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

.info-card dd {
    margin: 0;
    min-width: 0;
}

.hidden-by-filter {
    display: none !important;
}

.site-footer {
    color: #ffffff;
    background: linear-gradient(135deg, #020617, #111827 52%, #042f2e);
}

.footer-inner {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 64px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
    gap: 42px;
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-brand p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.62);
}

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

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

.footer-links h3 {
    margin: 0 0 6px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
    color: #5eead4;
}

.footer-bottom {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
}

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

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

    .split-showcase,
    .intro-strip,
    .detail-content,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

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

    .site-nav {
        position: absolute;
        top: 76px;
        right: 16px;
        left: 16px;
        display: none;
        padding: 14px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow);
    }

    .site-header.nav-open .site-nav {
        display: grid;
    }

    .site-nav a {
        color: var(--text);
    }

    .hero-arrow {
        display: none;
    }

    .hero-content {
        padding-top: 130px;
    }

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

    .filter-panel {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

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

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

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

    .rank-row em {
        display: none;
    }
}

@media (max-width: 560px) {
    .nav-container,
    .section-wrap,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 28px, 1280px);
        padding-right: 0;
        padding-left: 0;
    }

    .nav-container {
        height: 68px;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy small {
        display: none;
    }

    .hero-content {
        padding: 112px 14px 90px;
    }

    .section-wrap {
        padding: 48px 0;
    }

    .quick-search,
    .section-heading,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .feature-grid,
    .movie-grid,
    .archive-grid,
    .compact-grid,
    .category-grid,
    .podium-grid,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .detail-hero {
        padding-top: 116px;
    }

    .player-shell {
        border-radius: 20px;
    }
}
