:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-100: #f1f5f9;
    --stone-50: #fafaf9;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --rose-500: #f43f5e;
    --white: #ffffff;
    --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.14);
    --shadow-card: 0 16px 40px rgba(15, 23, 42, 0.12);
    --radius-xl: 24px;
    --radius-lg: 18px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--slate-800);
    background: linear-gradient(135deg, #f8fafc 0%, #fafaf9 48%, #f1f5f9 100%);
    -webkit-font-smoothing: antialiased;
}

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

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

button, input, select {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.98), rgba(41, 37, 36, 0.98), rgba(30, 41, 59, 0.98));
    border-bottom: 1px solid rgba(245, 158, 11, 0.22);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(18px);
}

.header-inner {
    max-width: 1280px;
    min-height: 76px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

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

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.35);
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08) rotate(-4deg);
}

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

.brand-text strong {
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--slate-300);
    margin-top: 4px;
    font-size: 0.78rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-link {
    padding: 10px 13px;
    border-radius: 12px;
    color: #f8fafc;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover {
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.header-search {
    display: flex;
    align-items: center;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
}

.header-search input {
    width: 100%;
    color: #fff;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px 14px;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.header-search button,
.search-band button,
.filter-bar button {
    border: 0;
    color: #fff;
    font-weight: 700;
    padding: 10px 16px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

.mobile-panel {
    display: none;
    padding: 16px 22px 22px;
    background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.mobile-panel.is-open {
    display: grid;
    gap: 8px;
    animation: slideDown 0.25s ease-out;
}

.mobile-panel a {
    padding: 12px 14px;
    border-radius: 12px;
    color: #fff;
    font-weight: 650;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-brand {
    color: #fbbf24 !important;
}

main {
    flex: 1;
}

.hero-section {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: radial-gradient(circle at 12% 20%, rgba(245, 158, 11, 0.22), transparent 34%), linear-gradient(135deg, #0f172a 0%, #1c1917 52%, #0f172a 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-track {
    position: relative;
    max-width: 1280px;
    min-height: 640px;
    margin: 0 auto;
    padding: 74px 22px 88px;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    gap: 56px;
    align-items: center;
    min-height: 490px;
}

.hero-slide.is-active {
    display: grid;
    animation: fadeIn 0.7s ease both;
}

.hero-copy {
    display: grid;
    gap: 22px;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: #fbbf24;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(2.45rem, 6vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.detail-info p {
    margin: 0;
    color: #dbeafe;
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-tags,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.tag-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-tags span {
    color: #fff;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

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

.primary-button,
.ghost-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
    color: #fff;
    padding: 14px 24px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 18px 40px rgba(249, 115, 22, 0.35);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
    transform: translateY(-2px) scale(1.02);
}

.ghost-button {
    color: #fff;
    padding: 13px 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
    position: relative;
    display: block;
}

.visual-glow {
    position: absolute;
    inset: -8px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    filter: blur(20px);
    opacity: 0.74;
    transition: opacity 0.3s ease;
}

.hero-visual:hover .visual-glow {
    opacity: 0.95;
}

.hero-visual img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.46);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(-50%);
}

.hero-controls button {
    border: 0;
    color: #fff;
    cursor: pointer;
}

.hero-controls > button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.hero-dot.is-active {
    width: 34px;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
}

.search-band {
    max-width: 1180px;
    margin: -38px auto 28px;
    position: relative;
    z-index: 3;
    padding: 18px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.search-band form {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-band strong {
    color: var(--slate-900);
    white-space: nowrap;
}

.search-band input,
.filter-bar input,
.filter-bar select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0 16px;
    outline: 0;
    color: var(--slate-800);
    background: #fff;
}

.search-band button {
    min-height: 48px;
    border-radius: 14px;
}

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

.quick-links a {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--amber-600);
    font-weight: 800;
    background: #fffbeb;
}

.content-section {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 58px 22px;
}

.warm-section {
    max-width: none;
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

.warm-section > .section-heading,
.warm-section > .movie-grid {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-heading > div {
    display: grid;
    gap: 8px;
}

.section-heading h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--slate-600);
    line-height: 1.75;
}

.section-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 14px 24px rgba(245, 158, 11, 0.25);
}

.section-more {
    color: var(--amber-600);
    padding: 11px 16px;
    background: #fffbeb;
}

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

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

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

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

.movie-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.movie-card-featured {
    grid-column: span 2;
}

.movie-card-link {
    display: grid;
    height: 100%;
}

.poster-wrap {
    position: relative;
    overflow: hidden;
    background: var(--slate-900);
    aspect-ratio: 16 / 10;
}

.movie-card-featured .poster-wrap {
    aspect-ratio: 21 / 9;
}

.poster-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.movie-card:hover .poster-wrap img {
    transform: scale(1.1);
    opacity: 0.82;
}

.type-pill,
.rank-badge,
.compact-rank {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.type-pill {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: rgba(15, 23, 42, 0.78);
}

.rank-badge {
    top: 12px;
    right: 12px;
    min-width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
}

.play-hover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.6), transparent);
    transition: opacity 0.3s ease;
}

.movie-card:hover .play-hover {
    opacity: 1;
}

.movie-card-body {
    padding: 18px;
    display: grid;
    gap: 12px;
}

.movie-card-body h2 {
    margin: 0;
    color: var(--slate-900);
    font-size: 1.08rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.movie-card:hover h2 {
    color: var(--amber-600);
}

.movie-card-body p {
    margin: 0;
    color: var(--slate-600);
    font-size: 0.92rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--slate-500);
    font-size: 0.82rem;
}

.movie-meta span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    color: #cbd5e1;
}

.tag-row span {
    color: var(--amber-600);
    padding: 5px 9px;
    background: #fffbeb;
}

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

.category-card,
.category-overview-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.category-card {
    min-height: 230px;
    padding: 22px;
    display: grid;
    align-content: end;
    color: #fff;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.18));
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card span,
.category-card p {
    position: relative;
    z-index: 2;
}

.category-card span {
    font-size: 1.25rem;
    font-weight: 900;
}

.category-card p {
    margin: 8px 0 0;
    color: #e2e8f0;
    line-height: 1.65;
    font-size: 0.92rem;
}

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

.side-ranking,
.detail-aside,
.prose-card,
.category-overview-card,
.player-card {
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.side-ranking,
.detail-aside {
    position: sticky;
    top: 104px;
    padding: 22px;
    display: grid;
    gap: 12px;
}

.side-ranking h2,
.detail-aside h2,
.prose-card h2 {
    margin: 0 0 8px;
    color: var(--slate-900);
}

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

.compact-card {
    position: relative;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: #f8fafc;
    transition: transform 0.25s ease, background 0.25s ease;
}

.compact-card:hover {
    transform: translateX(4px);
    background: #fffbeb;
}

.compact-card img {
    width: 70px;
    height: 54px;
    object-fit: cover;
    border-radius: 12px;
}

.compact-card strong,
.compact-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-card strong {
    color: var(--slate-900);
    font-size: 0.95rem;
}

.compact-card small {
    margin-top: 4px;
    color: var(--slate-500);
    font-size: 0.8rem;
}

.compact-rank {
    left: 12px;
    top: 12px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.compact-dot {
    position: absolute;
    left: 36px;
    top: 36px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--amber-500);
}

.inner-page {
    padding-bottom: 24px;
}

.page-hero {
    color: #fff;
    background: radial-gradient(circle at 15% 0%, rgba(245, 158, 11, 0.24), transparent 34%), linear-gradient(135deg, #0f172a, #1c1917 55%, #0f172a);
}

.small-hero {
    padding: 72px 22px;
    display: grid;
    gap: 18px;
    place-items: center;
    text-align: center;
}

.small-hero h1 {
    margin: 0;
    max-width: 980px;
}

.small-hero p {
    max-width: 780px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 14px;
    margin-bottom: 26px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
}

.sticky-filter {
    position: sticky;
    top: 94px;
    z-index: 9;
}

.empty-state {
    margin: 28px 0 0;
    padding: 26px;
    text-align: center;
    border-radius: var(--radius-lg);
    color: var(--slate-600);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.category-overview-card {
    padding: 22px;
    display: grid;
    gap: 16px;
}

.category-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.category-overview-head span {
    color: var(--slate-900);
    font-size: 1.28rem;
    font-weight: 900;
}

.category-overview-head strong {
    color: var(--amber-600);
    font-size: 0.92rem;
}

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

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

.detail-hero {
    color: #fff;
    background-size: cover;
    background-position: center;
}

.detail-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 42px 22px 58px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 26px;
    color: #e2e8f0;
    font-size: 0.94rem;
}

.breadcrumb a {
    color: #fbbf24;
}

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

.detail-poster {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44);
}

.detail-info {
    display: grid;
    gap: 18px;
}

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

.detail-meta-grid span {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.detail-meta-grid strong {
    display: block;
    margin-bottom: 5px;
    color: #fbbf24;
    font-size: 0.82rem;
}

.player-section {
    padding-top: 42px;
    padding-bottom: 24px;
}

.player-card {
    overflow: hidden;
    padding: 12px;
    background: linear-gradient(135deg, #0f172a, #1c1917);
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    aspect-ratio: 16 / 9;
}

.movie-video {
    width: 100%;
    height: 100%;
    background: #000;
}

.video-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 16px;
    color: #fff;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.28);
}

.video-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transform: scale(1.02);
}

.play-circle {
    position: relative;
    z-index: 1;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: 0 22px 50px rgba(249, 115, 22, 0.42);
}

.video-cover strong {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
}

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

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

.prose-card {
    padding: 32px;
}

.prose-card h2 {
    margin-top: 0;
    font-size: 1.45rem;
}

.prose-card h2:not(:first-child) {
    margin-top: 30px;
}

.prose-card p {
    margin: 0;
    color: var(--slate-700);
    line-height: 2;
    font-size: 1.03rem;
}

.site-footer {
    margin-top: auto;
    color: #cbd5e1;
    background: linear-gradient(135deg, #0f172a, #1c1917, #0f172a);
    border-top: 1px solid rgba(245, 158, 11, 0.22);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 22px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 42px;
}

.footer-logo strong,
.site-footer h2 {
    display: block;
    color: #fff;
    font-size: 1.1rem;
}

.footer-logo small,
.footer-brand p,
.site-footer p,
.site-footer li {
    color: #94a3b8;
    line-height: 1.8;
}

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

.site-footer a:hover {
    color: #fbbf24;
}

.footer-bottom {
    padding: 18px 22px;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .header-search {
        min-width: 220px;
    }

    .menu-toggle {
        display: inline-flex;
    }

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

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

    .side-ranking,
    .detail-aside {
        position: static;
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: 68px;
    }

    .header-search {
        display: none;
    }

    .hero-track {
        min-height: auto;
        padding-top: 54px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 34px;
        min-height: auto;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: clamp(2.1rem, 12vw, 3.8rem);
    }

    .search-band,
    .search-band form,
    .filter-bar,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .search-band {
        margin: 18px 16px 0;
    }

    .movie-grid,
    .feature-grid,
    .three-grid,
    .four-grid,
    .category-grid,
    .category-overview-grid,
    .wide-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .movie-card-featured {
        grid-column: span 2;
    }

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

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

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .brand-text strong {
        font-size: 1.05rem;
    }

    .brand-text small {
        display: none;
    }

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

    .hero-controls {
        width: calc(100% - 34px);
        justify-content: space-between;
    }

    .hero-dots {
        display: none;
    }

    .movie-grid,
    .feature-grid,
    .three-grid,
    .four-grid,
    .category-grid,
    .category-overview-grid,
    .wide-list {
        grid-template-columns: 1fr;
    }

    .movie-card-featured {
        grid-column: span 1;
    }

    .content-section {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .detail-hero-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .play-circle {
        width: 70px;
        height: 70px;
    }
}
