:root {
    color-scheme: dark;
    --bg: #020617;
    --panel: rgba(15, 23, 42, 0.72);
    --panel-strong: rgba(15, 23, 42, 0.92);
    --line: rgba(96, 165, 250, 0.24);
    --line-soft: rgba(255, 255, 255, 0.10);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --weak: #94a3b8;
    --blue: #3b82f6;
    --blue-soft: rgba(59, 130, 246, 0.18);
    --purple: #a855f7;
    --gold: #facc15;
    --radius: 22px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 36rem),
        radial-gradient(circle at 82% 18%, rgba(168, 85, 247, 0.16), transparent 30rem),
        linear-gradient(180deg, #020617 0%, #0f172a 42%, #06112a 100%);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

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

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

img.image-missing {
    opacity: 0;
}

button,
input {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
    overflow-x: hidden;
}

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.menu-open {
    background: rgba(2, 6, 23, 0.90);
    backdrop-filter: blur(18px);
    border-bottom-color: rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-icon {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.10), 0 14px 34px rgba(37, 99, 235, 0.34);
    font-size: 16px;
}

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

.brand-text strong {
    font-size: 22px;
    letter-spacing: 0.02em;
}

.brand-text em {
    margin-top: 5px;
    color: rgba(147, 197, 253, 0.88);
    font-size: 12px;
    font-style: normal;
}

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

.nav-link {
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.84);
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
}

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

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.mobile-nav {
    background: rgba(2, 6, 23, 0.96);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.mobile-nav-inner {
    padding: 14px 0 20px;
    display: grid;
    gap: 8px;
}

.mobile-nav-inner .nav-link {
    display: block;
}

.mobile-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
}

.mobile-category-row a,
.inline-links a {
    padding: 7px 10px;
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.18);
    font-size: 13px;
}

.hero-section {
    position: relative;
    height: 720px;
    overflow: hidden;
    background: #020617;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.04);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.68) 45%, rgba(30, 41, 59, 0.18)),
        linear-gradient(180deg, rgba(2, 6, 23, 0.10), #020617 100%),
        radial-gradient(circle at 80% 30%, rgba(96, 165, 250, 0.28), transparent 26rem);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: center;
    padding-top: 72px;
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #fde68a;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.24);
    font-weight: 700;
}

.hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 6vw, 66px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-copy h2 {
    margin: 0 0 18px;
    color: #93c5fd;
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.15;
}

.hero-copy p {
    max-width: 690px;
    margin: 0 0 26px;
    color: #dbeafe;
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.8;
}

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

.tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    color: #c4b5fd;
    background: rgba(124, 58, 237, 0.14);
    border: 1px solid rgba(167, 139, 250, 0.18);
    font-size: 12px;
    line-height: 1.3;
}

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

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

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.34);
}

.btn-primary:hover {
    box-shadow: 0 18px 48px rgba(37, 99, 235, 0.48);
}

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

.hero-poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(147, 197, 253, 0.28);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(30, 64, 175, 0.50));
    box-shadow: var(--shadow);
}

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

.hero-poster:hover img {
    transform: scale(1.07);
}

.hero-poster span,
.play-mark {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(37, 99, 235, 0.86);
    box-shadow: 0 18px 46px rgba(37, 99, 235, 0.40);
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.hero-controls button {
    border: 0;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.hero-controls > button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
}

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

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    opacity: 0.45;
}

.hero-dot.active {
    width: 28px;
    opacity: 1;
    background: #60a5fa;
}

.section {
    padding: 74px 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.0), rgba(15, 23, 42, 0.24));
}

.section-alt {
    background: linear-gradient(180deg, rgba(30, 58, 138, 0.26), rgba(15, 23, 42, 0.36));
}

.section-search {
    padding: 28px 0 44px;
}

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

.section-head h2 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -0.03em;
}

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

.section-more {
    flex: 0 0 auto;
    color: #60a5fa;
    font-weight: 800;
}

.search-panel {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(147, 197, 253, 0.18);
}

.search-box span {
    color: #93c5fd;
    font-size: 22px;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #ffffff;
    background: transparent;
}

.search-box input::placeholder {
    color: #64748b;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: 999px;
    padding: 8px 13px;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.10);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chip:hover,
.chip.active {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.62);
    border-color: rgba(147, 197, 253, 0.60);
}

.no-results {
    margin-top: 28px;
    padding: 24px;
    text-align: center;
    color: #cbd5e1;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.movie-grid,
.featured-grid,
.category-grid,
.category-page-grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.90), rgba(30, 58, 138, 0.28));
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.68);
    box-shadow: 0 26px 80px rgba(37, 99, 235, 0.18);
}

.poster {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.90), rgba(37, 99, 235, 0.34));
}

.poster::before,
.hero-poster::before,
.small-thumb::before,
.player-shell::before,
.category-mini-posters a::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(96, 165, 250, 0.36), transparent 45%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(49, 46, 129, 0.58));
}

.poster img,
.small-thumb img,
.category-mini-posters img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

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

.poster::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.type-badge,
.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.type-badge {
    left: 12px;
    top: 12px;
    padding: 5px 10px;
    background: rgba(37, 99, 235, 0.86);
}

.year-badge {
    right: 12px;
    bottom: 12px;
    padding: 5px 9px;
    background: rgba(2, 6, 23, 0.70);
}

.rank-badge {
    left: 12px;
    bottom: 12px;
    padding: 5px 10px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.95), rgba(249, 115, 22, 0.90));
}

.play-mark {
    z-index: 3;
    width: 52px;
    height: 52px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-mark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
}

.card-body {
    padding: 18px;
}

.card-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
}

.card-body h3 a:hover {
    color: #93c5fd;
}

.card-body p {
    margin: 0 0 14px;
    color: var(--weak);
    line-height: 1.65;
    font-size: 14px;
}

.card-meta,
.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: #93c5fd;
    font-size: 13px;
    margin-bottom: 12px;
}

.large-card .card-body h3 {
    font-size: 21px;
}

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

.horizontal-card {
    display: grid;
    grid-template-columns: 142px 1fr;
    min-height: 190px;
}

.horizontal-poster {
    aspect-ratio: auto;
    min-height: 100%;
}

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

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

.small-card {
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 18px;
}

.small-thumb {
    position: relative;
    overflow: hidden;
    width: 66px;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    background: rgba(30, 41, 59, 0.90);
}

.small-info strong {
    display: block;
    color: #ffffff;
    line-height: 1.35;
}

.small-info em {
    display: block;
    margin-top: 5px;
    color: var(--weak);
    font-size: 12px;
    font-style: normal;
}

.ranking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
}

.recommend-side {
    align-self: start;
    position: sticky;
    top: 96px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid var(--line);
}

.recommend-side h2,
.related-panel h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.category-tile,
.category-page-card {
    padding: 22px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(30, 64, 175, 0.20));
    border: 1px solid var(--line);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.category-main-link,
.category-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.category-main-link strong,
.category-page-head span {
    font-size: 24px;
}

.category-main-link span,
.category-page-card p {
    margin-top: 10px;
    color: var(--weak);
    line-height: 1.7;
}

.category-main-link {
    display: block;
}

.category-page-head em {
    color: #60a5fa;
    font-style: normal;
    font-weight: 800;
}

.category-mini-posters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.category-mini-posters a {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 3 / 4;
    background: rgba(30, 41, 59, 0.9);
}

.page-main {
    padding-top: 76px;
}

.page-hero {
    position: relative;
    padding: 110px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.24), transparent 28rem),
        radial-gradient(circle at 90% 10%, rgba(168, 85, 247, 0.16), transparent 24rem),
        linear-gradient(180deg, #020617, #0f172a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compact-hero {
    padding-bottom: 64px;
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.04em;
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--weak);
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #93c5fd;
}

.breadcrumb strong {
    color: #ffffff;
}

.inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.category-movie-grid {
    margin-top: 30px;
}

.detail-section {
    padding-top: 46px;
}

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

.detail-content {
    display: grid;
    gap: 24px;
}

.player-panel,
.info-panel,
.related-panel {
    border-radius: 26px;
    background: rgba(15, 23, 42, 0.66);
    border: 1px solid var(--line);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-video {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    object-fit: contain;
}

.player-cover {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 24px;
    border: 0;
    color: #ffffff;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72)),
        radial-gradient(circle at center, rgba(37, 99, 235, 0.22), transparent 24rem);
    cursor: pointer;
}

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

.player-cover strong {
    font-size: clamp(20px, 4vw, 34px);
    line-height: 1.2;
}

.player-cover em {
    color: #bfdbfe;
    font-style: normal;
    font-weight: 800;
}

.play-orb {
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 22px 58px rgba(37, 99, 235, 0.42);
    font-size: 26px;
}

.info-panel {
    padding: 26px;
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.detail-title-row h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.04em;
}

.detail-title-row p {
    margin: 0;
    color: #bfdbfe;
    font-size: 18px;
    line-height: 1.7;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.detail-meta span {
    padding: 7px 11px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.22);
    font-size: 13px;
}

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

.article-block {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.article-block h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.article-block p {
    margin: 0;
    color: #d1d5db;
    line-height: 1.92;
    text-align: justify;
}

.review-block {
    margin-top: 24px;
}

.prev-next {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.prev-next a {
    padding: 9px 13px;
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.10);
    border: 1px solid rgba(96, 165, 250, 0.18);
}

.related-panel {
    position: sticky;
    top: 100px;
    padding: 20px;
}

.site-footer {
    border-top: 1px solid rgba(96, 165, 250, 0.18);
    background: rgba(2, 6, 23, 0.86);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
    padding: 48px 0 32px;
}

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

.site-footer p {
    max-width: 420px;
    margin: 16px 0 0;
    color: var(--weak);
    line-height: 1.75;
}

.site-footer h3 {
    margin: 0 0 14px;
    font-size: 17px;
}

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

.site-footer a {
    color: #cbd5e1;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 28px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[hidden] {
    display: none !important;
}

@media (max-width: 1080px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-poster {
        display: none;
    }

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

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

    .recommend-side,
    .related-panel {
        position: static;
    }
}

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

    .mobile-toggle {
        display: inline-grid;
        place-items: center;
    }

    .header-inner {
        height: 66px;
    }

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

    .brand-text strong {
        font-size: 18px;
    }

    .hero-section {
        height: 650px;
    }

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

    .section {
        padding: 56px 0;
    }

    .section-head {
        display: grid;
        align-items: start;
    }

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

    .horizontal-card {
        grid-template-columns: 106px 1fr;
        min-height: 150px;
    }

    .horizontal-body p,
    .horizontal-body .tag-row {
        display: none;
    }

    .detail-title-row {
        display: grid;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 22px, 1180px);
    }

    .hero-section {
        height: 620px;
    }

    .hero-copy p {
        font-size: 15px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .movie-grid,
    .featured-grid,
    .category-grid,
    .category-page-grid {
        grid-template-columns: 1fr;
    }

    .card-body {
        padding: 16px;
    }

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

    .page-hero {
        padding-top: 92px;
    }

    .info-panel,
    .related-panel {
        padding: 18px;
    }
}
