:root {
    --bg: #0b0f17;
    --bg-soft: #111827;
    --bg-card: rgba(17, 24, 39, 0.88);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --subtle: #94a3b8;
    --line: rgba(255, 255, 255, 0.12);
    --amber: #f59e0b;
    --amber-dark: #b45309;
    --amber-soft: rgba(245, 158, 11, 0.16);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0));
    transition: background 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
}

.header-inner {
    max-width: 1280px;
    height: 80px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #fff;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.38);
    font-size: 16px;
}

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

.brand strong {
    font-size: 24px;
    letter-spacing: 0.02em;
    color: #fff;
}

.brand em {
    margin-top: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
}

.site-header.is-scrolled .brand strong,
.site-header.is-open .brand strong {
    color: #111827;
}

.site-header.is-scrolled .brand em,
.site-header.is-open .brand em {
    color: #64748b;
}

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

.nav-link {
    padding: 9px 13px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(-1px);
}

.site-header.is-scrolled .nav-link,
.site-header.is-open .nav-link {
    color: #334155;
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active,
.site-header.is-open .nav-link:hover,
.site-header.is-open .nav-link.is-active {
    background: #fef3c7;
    color: #92400e;
}

.header-search,
.mobile-search,
.big-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input,
.filter-bar input {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    outline: none;
    background: rgba(15, 23, 42, 0.52);
    color: #fff;
    padding: 11px 16px;
    min-width: 210px;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.big-search input::placeholder,
.filter-bar input::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.site-header.is-scrolled .header-search input,
.site-header.is-open .header-search input {
    background: #f8fafc;
    color: #0f172a;
    border-color: #e2e8f0;
}

.site-header.is-scrolled .header-search input::placeholder,
.site-header.is-open .header-search input::placeholder {
    color: #94a3b8;
}

.header-search button,
.mobile-search button,
.big-search button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 11px 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.28);
}

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

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

.site-header.is-scrolled .menu-toggle span,
.site-header.is-open .menu-toggle span {
    background: #111827;
}

.mobile-panel {
    display: none;
    padding: 0 24px 22px;
    background: rgba(255, 255, 255, 0.96);
}

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

.mobile-link {
    display: block;
    padding: 13px 14px;
    border-radius: 14px;
    color: #334155;
    font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
    background: #fef3c7;
    color: #92400e;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: center;
    gap: 48px;
    padding: 110px max(24px, calc((100vw - 1280px) / 2 + 24px)) 80px;
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-bg,
.detail-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg img,
.detail-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(26px) saturate(1.1);
    transform: scale(1.12);
    opacity: 0.38;
}

.hero-overlay,
.detail-mask {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 35%, rgba(245, 158, 11, 0.28), transparent 32%), linear-gradient(120deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.84) 50%, rgba(2, 6, 23, 0.62) 100%);
}

.hero-content,
.hero-poster {
    position: relative;
    z-index: 3;
}

.eyebrow {
    margin: 0 0 12px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 6vw, 76px);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.hero h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3.2vw, 42px);
    color: #fde68a;
}

.hero-desc {
    max-width: 760px;
    margin: 0 0 22px;
    color: #cbd5e1;
    font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

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

.primary-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 13px 22px;
    box-shadow: 0 18px 44px rgba(245, 158, 11, 0.30);
}

.primary-btn.small {
    padding: 10px 16px;
    font-size: 14px;
}

.ghost-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px 20px;
    backdrop-filter: blur(10px);
}

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

.hero-poster {
    display: block;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.20), rgba(15, 23, 42, 0.90));
}

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

.hero-poster span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.92);
    color: #fff;
    font-size: 26px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}

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

.hero-dot {
    width: 34px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #f59e0b;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 11;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.34);
    color: #fff;
    font-size: 34px;
    cursor: pointer;
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 10;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    letter-spacing: 0.12em;
}

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

.content-section,
.stats-section {
    padding: 84px 0;
}

.section-muted {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.86));
}

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

.stat-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    padding: 28px;
    text-align: center;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.20);
}

.stat-card strong {
    display: block;
    color: #fbbf24;
    font-size: 34px;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-weight: 700;
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
}

.section-heading span {
    display: block;
    margin-top: 10px;
    color: var(--subtle);
}

.section-more {
    flex-shrink: 0;
    color: #fbbf24;
    background: var(--amber-soft);
    padding: 11px 16px;
}

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

.category-tile {
    position: relative;
    min-height: 260px;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.20), rgba(15, 23, 42, 0.92));
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.tile-posters {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    opacity: 0.30;
}

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

.tile-copy {
    position: relative;
    z-index: 2;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.28));
}

.tile-copy h3 {
    margin: 0 0 10px;
    font-size: 26px;
}

.tile-copy p {
    margin: 0 0 20px;
    color: #cbd5e1;
}

.tile-copy span {
    color: #fbbf24;
    font-weight: 800;
}

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

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

.movie-card {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.86);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.20);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.poster-wrap {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: radial-gradient(circle at 45% 20%, rgba(245, 158, 11, 0.22), transparent 30%), linear-gradient(135deg, #111827, #020617);
}

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

.poster-wrap.no-image img,
.hero-bg.no-image img,
.detail-bg.no-image img,
.hero-poster.no-image img,
.detail-poster.no-image img {
    opacity: 0;
}

.poster-wrap.no-image::after,
.hero-poster.no-image::after,
.detail-poster.no-image::after {
    content: attr(data-title);
    position: absolute;
    left: 16px;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #fde68a;
    text-align: center;
    font-weight: 900;
    font-size: 18px;
    line-height: 1.35;
}

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

.poster-shade {
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.86), transparent);
}

.play-dot {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.92);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
    min-width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #dc2626);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.30);
}

.card-body {
    padding: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 800;
}

.movie-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
}

.movie-card h3 a:hover {
    color: #fbbf24;
}

.movie-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 45px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #cbd5e1;
    font-size: 13px;
}

.tag-row span {
    padding: 4px 8px;
    font-size: 11px;
}

.compact-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: stretch;
}

.compact-card .poster-wrap {
    aspect-ratio: auto;
    min-height: 154px;
}

.compact-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-main,
.detail-main {
    padding-top: 80px;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.24), transparent 30%), linear-gradient(135deg, #0f172a, #020617);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    width: min(980px, calc(100% - 48px));
    margin: 0 auto;
    padding: 76px 0;
}

.page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 780px;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 26px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.88);
    padding: 24px;
}

.overview-copy h2 {
    margin: 0 0 12px;
    font-size: 32px;
}

.overview-copy p {
    margin: 0 0 24px;
    color: #cbd5e1;
}

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

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.88);
    padding: 16px;
}

.filter-bar label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 260px;
}

.filter-bar label span {
    color: #fbbf24;
    font-weight: 800;
}

.filter-bar input {
    width: 100%;
    min-width: 0;
}

.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-filters button {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    padding: 8px 12px;
    cursor: pointer;
}

.quick-filters button.is-active,
.quick-filters button:hover {
    background: #f59e0b;
    color: #fff;
}

.empty-state {
    display: none;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.78);
    padding: 28px;
    text-align: center;
    color: #cbd5e1;
}

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

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

.ranking-list-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.88);
    padding: 22px;
}

.ranking-list-card h2 {
    margin: 0 0 16px;
    color: #fbbf24;
    font-size: 22px;
}

.ranking-list-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.ranking-list-card li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.ranking-list-card li span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 800;
}

.ranking-list-card li em {
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 12px;
    font-style: normal;
}

.detail-hero {
    min-height: 620px;
}

.detail-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: center;
    gap: 46px;
    padding: 90px 0 70px;
}

.detail-poster {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #fbbf24;
}

.breadcrumb strong {
    color: #fff;
}

.detail-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.06;
}

.detail-one-line {
    max-width: 830px;
    margin: 0 0 18px;
    color: #dbeafe;
    font-size: 20px;
}

.player-shell {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #020617;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

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

.player-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.26), rgba(2, 6, 23, 0.72));
    color: #fff;
    cursor: pointer;
    z-index: 5;
}

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

.big-play {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #dc2626);
    font-size: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.player-cover strong {
    font-size: clamp(20px, 3vw, 34px);
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}

.detail-panel {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.90);
    padding: 28px;
}

.detail-panel h2 {
    margin: 0 0 14px;
    color: #fbbf24;
    font-size: 26px;
}

.detail-panel p {
    margin: 0;
    color: #cbd5e1;
    white-space: pre-line;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: #020617;
    padding: 56px 0 30px;
}

.footer-inner {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.footer-brand p {
    max-width: 620px;
    margin: 18px 0 0;
    color: #94a3b8;
}

.footer-logo strong {
    color: #fff;
}

.footer-logo em {
    color: #94a3b8;
}

.footer-links,
.footer-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a,
.footer-cats a {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    color: #cbd5e1;
    padding: 8px 12px;
}

.footer-links a:hover,
.footer-cats a:hover {
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.45);
}

.copyright {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

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

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

    .site-header.is-open .mobile-panel {
        display: block;
    }

    .mobile-search input {
        width: 100%;
        background: #f8fafc;
        color: #0f172a;
        border-color: #e2e8f0;
    }

    .mobile-search input::placeholder {
        color: #94a3b8;
    }

    .hero-slide {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-top: 110px;
    }

    .hero-poster {
        width: min(280px, 70vw);
        justify-self: center;
    }

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

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

@media (max-width: 820px) {
    .header-inner {
        height: 72px;
        padding: 0 16px;
    }

    .brand strong {
        font-size: 21px;
    }

    .hero-slide {
        padding: 96px 20px 72px;
    }

    .hero-arrow {
        display: none;
    }

    .stats-grid,
    .movie-grid,
    .category-grid,
    .rank-grid,
    .ranking-lists,
    .overview-movies,
    .detail-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-inner,
    .footer-inner {
        width: min(100% - 32px, 1280px);
    }

    .section-heading,
    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

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

    .detail-poster {
        width: min(280px, 75vw);
        justify-self: center;
    }

    .compact-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }
}

@media (max-width: 540px) {
    .content-section,
    .stats-section {
        padding: 54px 0;
    }

    .stats-grid,
    .movie-grid,
    .category-grid,
    .rank-grid,
    .ranking-lists,
    .overview-movies,
    .detail-info-grid {
        grid-template-columns: 1fr;
    }

    .compact-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .hero-actions,
    .detail-actions,
    .big-search {
        flex-direction: column;
        align-items: stretch;
    }

    .big-search input {
        width: 100%;
        min-width: 0;
    }

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