* {
    box-sizing: border-box;
}

:root {
    --blue: #2563eb;
    --deep-blue: #1e3a8a;
    --cyan: #06b6d4;
    --red: #dc2626;
    --text: #111827;
    --muted: #6b7280;
    --soft: #f4f8ff;
    --line: #e5e7eb;
    --shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
    --radius: 20px;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: #fff;
    background: linear-gradient(90deg, #2563eb, #1d4ed8 48%, #0891b2);
    box-shadow: 0 14px 35px rgba(30, 64, 175, 0.24);
}

.header-inner {
    width: min(1200px, calc(100% - 32px));
    height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    color: var(--blue);
    background: #fff;
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.24);
    transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
    transform: scale(1.08) rotate(-3deg);
}

.logo-text {
    white-space: nowrap;
    font-size: 20px;
}

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

.main-nav a,
.mobile-panel a {
    border-radius: 12px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.25s ease, color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-panel a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.header-search {
    display: flex;
    width: 280px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
}

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

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

.header-search button {
    border: 0;
    color: var(--deep-blue);
    padding: 0 16px;
    cursor: pointer;
    font-weight: 700;
    background: #fff;
}

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

.mobile-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
}

.mobile-panel {
    display: none;
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-panel.is-open {
    display: flex;
}

.hero {
    position: relative;
    min-height: 620px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #172554 0%, #1e40af 52%, #164e63 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.2), transparent 30%), rgba(0, 0, 0, 0.28);
}

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

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 58px;
    align-items: center;
    padding: 86px 0;
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: #22d3ee;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.hero-copy h1 span {
    display: block;
    color: #67e8f9;
}

.hero-desc {
    max-width: 680px;
    margin: 24px 0 28px;
    font-size: 20px;
    color: #dbeafe;
}

.hero-search,
.search-panel,
.filter-box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-search {
    max-width: 620px;
    margin-bottom: 24px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
}

.hero-search input,
.search-panel input,
.search-panel select,
.filter-box input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    border-radius: 999px;
    padding: 14px 18px;
    color: var(--text);
    background: #fff;
}

.hero-search button,
.search-panel button {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    cursor: pointer;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.hero-actions,
.detail-meta,
.filter-actions,
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.primary-btn,
.ghost-btn,
.text-link,
.category-overview-text a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 800;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn {
    color: var(--deep-blue);
    background: #fff;
    box-shadow: 0 18px 38px rgba(255, 255, 255, 0.18);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover,
.category-overview-text a:hover {
    transform: translateY(-2px);
}

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

.hero-media {
    position: relative;
    min-height: 420px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(16px) scale(0.98);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

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

.hero-card {
    position: relative;
    display: block;
    height: 420px;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.34);
    transform: translateZ(0);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.hero-card:hover img {
    transform: scale(1.06);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.78));
}

.hero-play {
    position: absolute;
    inset: 0;
    width: 84px;
    height: 84px;
    margin: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    font-size: 36px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}

.hero-card:hover .hero-play {
    transform: scale(1.1);
}

.hero-caption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    display: grid;
    gap: 6px;
}

.hero-caption strong {
    font-size: 26px;
    line-height: 1.2;
}

.hero-caption em,
.hero-caption span {
    color: #e5e7eb;
    font-style: normal;
}

.hero-caption em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -34px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-dots button {
    width: 32px;
    height: 8px;
    border: 0;
    border-radius: 99px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.34);
}

.hero-dots button.is-active {
    background: #67e8f9;
}

.section {
    padding: 70px 0;
}

.white-section {
    background: #fff;
}

.soft-section {
    background: linear-gradient(135deg, #f8fbff, #eef7ff);
}

.dark-section {
    color: #fff;
    background: #0f172a;
}

.tag-section {
    background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

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

.compact-head {
    margin-bottom: 18px;
}

.section-head h2,
.section h2,
.rank-panel h2,
.info-card h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
}

.text-link {
    color: var(--blue);
    background: #eff6ff;
}

.movie-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.poster-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dbeafe;
}

.poster-link img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

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

.card-year {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 999px;
    padding: 4px 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: var(--red);
}

.play-float {
    position: absolute;
    inset: 0;
    width: 52px;
    height: 52px;
    margin: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 23px;
    background: rgba(37, 99, 235, 0.92);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-float {
    opacity: 1;
    transform: scale(1);
}

.card-body {
    padding: 14px;
}

.card-title {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: #111827;
    font-weight: 800;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.25s ease;
}

.card-title:hover {
    color: var(--blue);
}

.card-meta,
.card-desc,
.card-tags {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.card-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-tags {
    color: #2563eb;
}

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

.category-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    border-radius: 24px;
    padding: 24px;
    color: #fff;
    isolation: isolate;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-card:hover,
.category-overview:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 62px rgba(15, 23, 42, 0.18);
}

.category-card img {
    position: absolute;
    right: -22px;
    bottom: -26px;
    z-index: -1;
    width: 145px;
    height: 190px;
    object-fit: cover;
    opacity: 0.28;
    transform: rotate(8deg);
    border-radius: 18px;
}

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
}

.category-card strong,
.category-card em,
.category-card small {
    display: block;
}

.category-card strong {
    font-size: 22px;
}

.category-card em {
    margin: 8px 0 14px;
    max-width: 250px;
    color: rgba(255, 255, 255, 0.84);
    font-style: normal;
}

.cat-1 {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.cat-2 {
    background: linear-gradient(135deg, #7c3aed, #db2777);
}

.cat-3 {
    background: linear-gradient(135deg, #dc2626, #f97316);
}

.cat-4 {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.cat-5 {
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

.cat-6 {
    background: linear-gradient(135deg, #16a34a, #65a30d);
}

.cat-7 {
    background: linear-gradient(135deg, #9333ea, #2563eb);
}

.cat-8 {
    background: linear-gradient(135deg, #ea580c, #eab308);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 34px;
    align-items: start;
}

.wide-list {
    display: grid;
    gap: 16px;
}

.wide-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 52px;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, transform 0.25s ease;
}

.wide-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.13);
}

.wide-card img {
    width: 220px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
}

.wide-info {
    display: grid;
    gap: 5px;
}

.wide-info strong {
    font-size: 21px;
}

.wide-info em,
.wide-info small {
    color: #cbd5e1;
    font-style: normal;
}

.wide-card b {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--blue);
    background: #fff;
}

.rank-panel,
.ranking-board,
.ranking-side,
.article-card,
.info-card,
.search-shell {
    border-radius: 24px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.dark-section .rank-panel {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 46px 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    color: #111827;
    background: #f8fafc;
    transition: transform 0.25s ease, background 0.25s ease;
}

.dark-section .rank-row {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.rank-row:hover {
    transform: translateX(4px);
    background: #eff6ff;
}

.dark-section .rank-row:hover {
    background: rgba(37, 99, 235, 0.35);
}

.rank-num {
    color: #2563eb;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}

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

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

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

.rank-main em,
.rank-year {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.dark-section .rank-main em,
.dark-section .rank-year {
    color: #cbd5e1;
}

.tag-cloud a,
.detail-meta span,
.filter-actions button {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    color: #1d4ed8;
    font-weight: 700;
    background: #eff6ff;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.tag-cloud a:hover,
.filter-actions button:hover,
.filter-actions button.is-active {
    color: #fff;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    transform: translateY(-2px);
}

.page-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #172554, #1d4ed8, #0e7490);
}

.slim-hero {
    padding: 86px 0 72px;
}

.page-hero p {
    max-width: 760px;
    color: #dbeafe;
    font-size: 18px;
}

.category-hero {
    padding: 76px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
}

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

.overview-stack {
    display: grid;
    gap: 24px;
    padding: 54px 0;
}

.category-overview {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: center;
    min-height: 280px;
    border-radius: 28px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-overview-text p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.86);
}

.category-overview-text h2 {
    margin: 0 0 12px;
    font-size: 36px;
}

.category-overview-text a {
    color: var(--deep-blue);
    background: #fff;
}

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

.compact-card {
    display: grid;
    gap: 8px;
    overflow: hidden;
    border-radius: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.compact-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    object-fit: cover;
}

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

.compact-card small {
    color: rgba(255, 255, 255, 0.78);
}

.filter-box,
.search-panel {
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #f8fafc;
}

.filter-box {
    align-items: stretch;
    flex-direction: column;
}

.filter-box input {
    width: 100%;
    border: 1px solid var(--line);
}

.filter-actions {
    gap: 9px;
}

.search-panel input,
.search-panel select {
    border: 1px solid var(--line);
}

.search-result-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.search-result-head p {
    color: var(--muted);
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: start;
}

.detail-head {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: #0f172a;
}

.detail-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-bg);
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.55);
    transform: scale(1.08);
}

.detail-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.72));
}

.detail-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
    padding: 72px 0;
}

.detail-poster img {
    width: 310px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.45);
}

.detail-line {
    max-width: 850px;
    color: #dbeafe;
    font-size: 20px;
}

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

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

.detail-tags a {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

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

.player-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #020617;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.movie-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-layer {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 16px;
    border: 0;
    cursor: pointer;
    color: #fff;
    text-align: center;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.72));
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-layer.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.player-button {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    font-size: 36px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

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

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

.article-card p {
    color: #334155;
    font-size: 17px;
    text-align: justify;
}

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

.info-card dt {
    color: var(--muted);
    font-size: 13px;
}

.info-card dd {
    margin: -8px 0 8px;
    font-weight: 800;
}

.small-card .card-desc,
.small-card .card-tags {
    display: none;
}

.site-footer {
    color: #cbd5e1;
    background: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    padding: 46px 0;
}

.footer-logo {
    color: #fff;
    font-size: 22px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.footer-links a {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
    color: #fff;
    background: rgba(37, 99, 235, 0.52);
}

.footer-bottom {
    padding: 18px;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.is-filtered-out {
    display: none !important;
}

@media (max-width: 1100px) {
    .header-search {
        display: none;
    }

    .hero-grid,
    .two-column,
    .ranking-layout,
    .detail-content-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-media {
        min-height: 380px;
    }

    .hero-card {
        height: 380px;
    }
}

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

    .mobile-toggle {
        display: block;
        margin-left: auto;
    }

    .header-inner {
        gap: 12px;
    }

    .hero-grid {
        padding: 58px 0 78px;
        gap: 42px;
    }

    .hero-search,
    .search-panel {
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
    }

    .hero-search button,
    .search-panel button {
        width: 100%;
    }

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

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

    .wide-card b {
        display: none;
    }

    .wide-card img {
        width: 120px;
        height: 150px;
        aspect-ratio: auto;
    }

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

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

    .detail-grid {
        padding: 48px 0;
    }

    .detail-poster img {
        width: min(260px, 100%);
    }
}

@media (max-width: 560px) {
    .container,
    .header-inner,
    .mobile-panel {
        width: min(100% - 22px, 1200px);
    }

    .logo-text {
        font-size: 17px;
    }

    .section {
        padding: 48px 0;
    }

    .hero-copy h1,
    .page-hero h1,
    .detail-info h1 {
        font-size: 36px;
    }

    .hero-desc,
    .detail-line {
        font-size: 16px;
    }

    .hero-card,
    .hero-media {
        height: 320px;
        min-height: 320px;
    }

    .hero-caption {
        left: 18px;
        right: 18px;
    }

    .hero-caption strong {
        font-size: 20px;
    }

    .six-grid,
    .four-grid,
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .movie-card {
        border-radius: 14px;
    }

    .card-body {
        padding: 11px;
    }

    .card-title {
        min-height: 40px;
        font-size: 14px;
    }

    .card-desc,
    .card-tags {
        display: none;
    }

    .category-card {
        min-height: 170px;
        padding: 18px;
    }

    .category-card em {
        display: none;
    }

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

    .rank-row img {
        width: 48px;
        height: 64px;
    }

    .rank-year {
        display: none;
    }

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