:root {
    --twilight-950: #3b0764;
    --twilight-900: #581c87;
    --twilight-800: #6b21a8;
    --twilight-700: #7e22ce;
    --twilight-600: #9333ea;
    --twilight-500: #a855f7;
    --twilight-300: #d8b4fe;
    --dusk-600: #c026d3;
    --dusk-400: #e879f9;
    --sunset-500: #f97316;
    --sunset-300: #fdba74;
    --ink: #ffffff;
    --muted: rgba(255, 255, 255, 0.68);
    --soft: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.16);
    --panel: rgba(255, 255, 255, 0.1);
    --shadow: 0 28px 80px rgba(23, 3, 40, 0.45);
    --radius: 24px;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(216, 180, 254, 0.16), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(249, 115, 22, 0.12), transparent 30%),
        linear-gradient(135deg, var(--twilight-950), var(--twilight-900) 48%, #4a044e);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

main {
    min-height: 70vh;
}

.gradient-text {
    background: linear-gradient(90deg, var(--twilight-300), var(--dusk-400), var(--sunset-300));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass-effect {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(34, 4, 58, 0.72);
    backdrop-filter: blur(18px);
}

.header-shell {
    width: min(1280px, calc(100% - 32px));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--twilight-600), var(--dusk-600));
    box-shadow: 0 18px 34px rgba(147, 51, 234, 0.32);
    font-weight: 900;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.nav-link,
.mobile-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    font-weight: 700;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
    color: var(--twilight-300);
}

.nav-link:hover {
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 4px;
}

.header-search input,
.mobile-search input,
.filter-row input,
.filter-row select {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.header-search input {
    width: 220px;
    padding: 10px 14px;
}

.header-search button,
.mobile-search button {
    padding: 10px 14px;
    color: #fff;
    border-radius: 14px;
    background: rgba(147, 51, 234, 0.72);
}

.header-search input:focus,
.mobile-search input:focus,
.filter-row input:focus,
.filter-row select:focus {
    border-color: var(--twilight-300);
    background: rgba(255, 255, 255, 0.14);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
    border-radius: 999px;
}

.mobile-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 24px 24px;
    background: rgba(59, 7, 100, 0.94);
}

.mobile-panel nav {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.mobile-search {
    display: flex;
    gap: 10px;
}

.mobile-search input {
    width: 100%;
    padding: 11px 14px;
}

.hero-slider {
    position: relative;
    min-height: 82vh;
    overflow: hidden;
    margin-bottom: 56px;
}

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

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.02);
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.hero-slide img,
.sub-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(249, 115, 22, 0.15));
}

.hero-overlay,
.sub-hero > span,
.category-hero > span,
.category-tile > span {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(59, 7, 100, 0.98), rgba(59, 7, 100, 0.72) 40%, rgba(59, 7, 100, 0.04)),
        linear-gradient(90deg, rgba(59, 7, 100, 0.92), rgba(59, 7, 100, 0.24) 58%, rgba(0, 0, 0, 0.08));
}

.hero-overlay::after,
.sub-hero > span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.14), rgba(139, 92, 246, 0.12), transparent 62%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    min-height: 82vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 130px 0 104px;
}

.hero-content h1 {
    max-width: 780px;
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 7vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    text-shadow: 0 0 32px rgba(167, 139, 250, 0.55);
}

.hero-content p {
    max-width: 720px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.75;
}

.hero-badges,
.hero-tags,
.card-tags,
.detail-tags,
.side-tags,
.wide-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-badges {
    margin-bottom: 18px;
}

.hero-badges a,
.hero-badges span,
.hero-tags span,
.card-tags span,
.card-tags a,
.detail-tags span,
.side-tags a,
.kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(147, 51, 234, 0.48);
    border: 1px solid rgba(216, 180, 254, 0.22);
    backdrop-filter: blur(10px);
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-tags {
    margin-bottom: 28px;
}

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

.btn-primary,
.btn-ghost,
.btn-plain {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 16px;
    font-weight: 900;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--twilight-600), var(--dusk-600), var(--sunset-500));
    box-shadow: 0 18px 42px rgba(139, 92, 246, 0.38);
}

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

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
}

.btn-plain {
    color: rgba(255, 255, 255, 0.82);
}

.hero-controls {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.hero-arrow,
.hero-dot {
    color: #fff;
    background: transparent;
}

.hero-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.14);
}

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

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

.hero-dot.is-active {
    width: 28px;
    background: var(--twilight-300);
}

.intro-strip,
.page-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.intro-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: -98px;
    margin-bottom: 72px;
    position: relative;
    z-index: 6;
}

.intro-strip a {
    min-height: 116px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.intro-strip strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.16rem;
}

.intro-strip span {
    color: var(--muted);
    line-height: 1.6;
}

.page-shell {
    padding-bottom: 78px;
}

.content-section {
    margin-bottom: 72px;
}

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

.section-head h2 {
    margin: 12px 0 0;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.section-head p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
    margin: 10px 0 0;
}

.section-head > a {
    color: var(--twilight-300);
    font-weight: 900;
    white-space: nowrap;
}

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

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

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

.poster-frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px rgba(25, 3, 42, 0.34);
}

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

.poster-frame:hover img {
    transform: scale(1.08);
    filter: saturate(1.1) brightness(1.05);
}

.poster-shade {
    position: absolute;
    inset: 0;
    opacity: 0.88;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 58%);
}

.score-pill,
.rank-badge,
.meta-line {
    position: absolute;
    z-index: 2;
}

.score-pill {
    top: 10px;
    right: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
    background: rgba(249, 115, 22, 0.92);
}

.rank-badge {
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--sunset-500), var(--dusk-600));
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.32);
}

.meta-line {
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-style: normal;
}

.meta-line em {
    font-style: normal;
}

.card-copy {
    padding: 12px 2px 0;
}

.card-copy h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.35;
}

.card-copy h3 a:hover {
    color: var(--twilight-300);
}

.card-copy p {
    min-height: 42px;
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    gap: 6px;
}

.card-tags span,
.card-tags a {
    min-height: auto;
    padding: 4px 8px;
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.08);
}

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

.category-tile,
.category-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    min-height: 190px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.category-tile img,
.category-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.category-tile:hover img,
.category-hero:hover img {
    transform: scale(1.08);
}

.category-tile strong,
.category-tile em {
    position: relative;
    z-index: 2;
    display: block;
    padding: 0 22px;
}

.category-tile strong {
    margin-top: 86px;
    font-size: 1.35rem;
}

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

.sub-hero {
    position: relative;
    min-height: 56vh;
    margin-bottom: 58px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.sub-hero > img {
    position: absolute;
    inset: 0;
}

.sub-hero > div {
    position: relative;
    z-index: 2;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 130px 0 64px;
}

.sub-hero h1 {
    max-width: 850px;
    margin: 14px 0 16px;
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.sub-hero p:not(.kicker) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.12rem;
    line-height: 1.75;
}

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

.category-block {
    display: grid;
    grid-template-columns: 0.95fr 1.55fr;
    gap: 22px;
    align-items: stretch;
}

.category-hero {
    min-height: 360px;
    display: flex;
    align-items: flex-end;
}

.category-hero div {
    position: relative;
    z-index: 2;
    padding: 28px;
}

.category-hero h2 {
    margin: 0 0 10px;
    font-size: 2rem;
}

.category-hero p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
    margin: 0 0 18px;
}

.category-hero em {
    color: var(--twilight-300);
    font-style: normal;
    font-weight: 900;
}

.filter-panel {
    margin: -20px 0 42px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(18px);
}

.filter-row {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 14px;
}

.filter-row label {
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
    font-size: 0.86rem;
}

.filter-row input,
.filter-row select {
    width: 100%;
    padding: 12px 14px;
}

.filter-row option {
    color: #1f1032;
}

.empty-state {
    padding: 28px;
    border-radius: 22px;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
}

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

.wide-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 16px;
    min-width: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.wide-poster {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

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

.wide-copy {
    position: relative;
    min-width: 0;
}

.wide-rank {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--twilight-600), var(--sunset-500));
    font-weight: 900;
}

.wide-title {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 900;
}

.wide-title:hover {
    color: var(--twilight-300);
}

.wide-copy p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.58;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wide-meta span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
}

.detail-layout {
    padding-top: 118px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.68);
}

.breadcrumb a:hover {
    color: var(--twilight-300);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 28px;
    align-items: start;
}

.detail-main {
    min-width: 0;
}

.player-card,
.detail-copy,
.side-card {
    border-radius: 24px;
}

.player-card {
    padding: 12px;
    margin-bottom: 24px;
}

.video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #05010a;
}

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

.player-center {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 78px;
    height: 78px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--twilight-600), var(--dusk-600));
    box-shadow: 0 20px 46px rgba(147, 51, 234, 0.44);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.video-player.is-playing .player-center,
.video-player.is-playing .player-state {
    opacity: 0;
    pointer-events: none;
}

.player-state {
    position: absolute;
    left: 50%;
    top: calc(50% + 58px);
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.player-controls {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-player:hover .player-controls,
.video-player:focus-within .player-controls {
    opacity: 1;
    transform: translateY(0);
}

.player-controls button {
    min-height: 34px;
    padding: 0 12px;
    color: #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.player-controls button:hover {
    background: rgba(255, 255, 255, 0.26);
}

.detail-copy {
    padding: 30px;
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-title-row h1 {
    margin: 14px 0 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
}

.detail-score {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 16px;
    color: #fff;
    background: rgba(249, 115, 22, 0.88);
}

.lead-text {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
    line-height: 1.85;
}

.detail-copy h2 {
    margin: 28px 0 12px;
    font-size: 1.42rem;
}

.detail-copy p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.9;
}

.detail-tags {
    margin-bottom: 16px;
}

.detail-side {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 20px;
}

.side-card {
    padding: 20px;
}

.side-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.side-card h2 {
    margin: 0 0 16px;
    font-size: 1.2rem;
}

.side-card dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.side-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-card dl div:last-child {
    border-bottom: 0;
}

.side-card dt {
    color: rgba(255, 255, 255, 0.58);
}

.side-card dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.side-tags a {
    background: rgba(255, 255, 255, 0.08);
}

.related-section {
    margin-top: 64px;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(59, 7, 100, 0.42);
    backdrop-filter: blur(10px);
}

.footer-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px;
    padding: 46px 0 34px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-inner h2 {
    margin: 0 0 16px;
    font-size: 1rem;
}

.footer-inner p,
.footer-links a {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
}

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

.footer-links a:hover {
    color: var(--twilight-300);
}

.footer-bottom {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 30px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.92rem;
}

.fade-in {
    animation: fadeIn 0.7s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    .desktop-nav,
    .header-search {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

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

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

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

    .detail-side {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .header-shell {
        height: 66px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .hero-slider,
    .hero-content {
        min-height: 78vh;
    }

    .hero-content {
        padding: 104px 0 92px;
    }

    .intro-strip {
        grid-template-columns: 1fr;
        margin-top: -70px;
    }

    .movie-grid,
    .compact-grid,
    .mini-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .category-grid,
    .category-block,
    .ranking-list,
    .footer-inner,
    .detail-side {
        grid-template-columns: 1fr;
    }

    .category-hero {
        min-height: 280px;
    }

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

    .wide-card {
        grid-template-columns: 92px 1fr;
    }

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

@media (max-width: 540px) {
    .hero-badges,
    .hero-tags,
    .hero-actions {
        gap: 8px;
    }

    .hero-content h1,
    .sub-hero h1 {
        letter-spacing: -0.04em;
    }

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

    .card-copy p {
        min-height: 0;
    }

    .sub-hero {
        min-height: 48vh;
    }

    .sub-hero > div {
        padding: 100px 0 48px;
    }

    .detail-layout {
        padding-top: 92px;
    }

    .detail-copy,
    .side-card {
        padding: 18px;
    }

    .detail-title-row {
        flex-direction: column;
    }

    .player-center {
        width: 62px;
        height: 62px;
        font-size: 1.55rem;
    }
}
