:root {
    --bg: #020617;
    --bg-soft: #0f172a;
    --bg-card: rgba(15, 23, 42, 0.78);
    --bg-card-strong: rgba(15, 23, 42, 0.94);
    --line: rgba(34, 211, 238, 0.24);
    --line-strong: rgba(34, 211, 238, 0.48);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted-strong: #cbd5e1;
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --amber: #fbbf24;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(2, 6, 23, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 16% 12%, rgba(34, 211, 238, 0.18), transparent 28rem),
        radial-gradient(circle at 82% 6%, rgba(59, 130, 246, 0.16), transparent 32rem),
        linear-gradient(135deg, #020617 0%, #0b1b3a 42%, #020617 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: "";
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, black, transparent 86%);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(18px);
}

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

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

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.5);
}

.brand-text {
    font-size: 1.35rem;
    background: linear-gradient(90deg, var(--cyan), #93c5fd, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.nav-link,
.nav-category > button {
    color: var(--muted-strong);
    border: 0;
    border-radius: 12px;
    background: transparent;
    padding: 10px 14px;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-category:hover > button {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.nav-category {
    position: relative;
}

.nav-category-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 170px;
    padding: 10px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-category:hover .nav-category-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-category-menu a,
.mobile-menu a {
    display: block;
    border-radius: 12px;
    padding: 9px 12px;
    color: var(--muted-strong);
}

.nav-category-menu a:hover,
.mobile-menu a:hover {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
}

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

.header-search input,
.hero-search input,
.filter-panel input,
.filter-panel select,
.mobile-menu input {
    color: var(--text);
    border: 1px solid var(--line);
    outline: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 12px;
    transition: border 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.header-search input {
    width: 210px;
}

.header-search input:focus,
.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.mobile-menu input:focus {
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.header-search button,
.hero-search button,
.mobile-menu button {
    color: white;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    padding: 10px 14px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 9px 12px;
}

.mobile-menu {
    display: none;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.9);
    padding: 10px;
}

.mobile-menu.is-open {
    display: grid;
    gap: 6px;
}

.mobile-menu form {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.hero-section,
.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(2, 6, 23, 0.98));
}

.hero-section {
    min-height: 690px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    background:
        linear-gradient(to bottom, transparent 0%, rgba(2, 6, 23, 0.72) 58%, #020617 100%),
        radial-gradient(circle at 22% 30%, rgba(34, 211, 238, 0.2), transparent 24rem),
        radial-gradient(circle at 78% 42%, rgba(59, 130, 246, 0.18), transparent 28rem);
}

.hero-grid::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.32;
    background-image:
        repeating-linear-gradient(45deg, rgba(34, 211, 238, 0.12) 0 1px, transparent 1px 58px),
        repeating-linear-gradient(-45deg, rgba(59, 130, 246, 0.08) 0 1px, transparent 1px 58px);
}

.hero-orb {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    filter: blur(44px);
    opacity: 0.52;
    animation: floatOrb 8s ease-in-out infinite;
}

.hero-orb-left {
    width: 260px;
    height: 260px;
    top: 10%;
    left: 4%;
    background: rgba(34, 211, 238, 0.3);
}

.hero-orb-right {
    width: 360px;
    height: 360px;
    right: 2%;
    bottom: 0;
    background: rgba(59, 130, 246, 0.24);
    animation-delay: 1.2s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -16px, 0) scale(1.08); }
}

.hero-inner,
.page-hero-inner,
.detail-hero-inner,
.content-section,
.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    align-items: center;
    gap: 46px;
    padding: 112px 0 96px;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--cyan);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero-copy h1,
.page-hero h1,
.detail-intro h1 {
    margin: 18px 0 18px;
    line-height: 1.05;
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    font-weight: 950;
    letter-spacing: -0.06em;
}

.hero-copy h1 span {
    background: linear-gradient(90deg, var(--cyan), #93c5fd, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p,
.page-hero p,
.detail-lead {
    max-width: 760px;
    color: var(--muted-strong);
    font-size: 1.13rem;
}

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

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

.primary-btn {
    color: white;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 14px 38px rgba(34, 211, 238, 0.28);
}

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

.ghost-btn,
.section-link {
    color: var(--cyan);
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
}

.hero-search {
    display: flex;
    gap: 10px;
    max-width: 580px;
    margin-top: 28px;
}

.hero-search input {
    flex: 1;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 520px;
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.36);
    overflow: hidden;
}

.hero-stats div {
    padding: 18px;
    text-align: center;
}

.hero-stats div + div {
    border-left: 1px solid var(--line);
}

.hero-stats strong {
    display: block;
    color: var(--cyan);
    font-size: 1.85rem;
    line-height: 1;
}

.hero-stats span {
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-stage {
    position: relative;
    min-height: 510px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(15, 23, 42, 0.42);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

.hero-slide-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.18) 55%, rgba(2, 6, 23, 0.4));
}

.hero-slide-content {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 28px;
}

.hero-slide-content span {
    color: var(--cyan);
    font-weight: 800;
}

.hero-slide-content h2 {
    margin: 8px 0;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    line-height: 1.08;
}

.hero-slide-content p {
    display: -webkit-box;
    max-width: 560px;
    color: var(--muted-strong);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-slide-content a {
    display: inline-flex;
    margin-top: 12px;
    color: #031018;
    border-radius: 12px;
    background: var(--cyan);
    padding: 8px 14px;
    font-weight: 900;
}

.hero-dots {
    position: absolute;
    left: 26px;
    bottom: 18px;
    display: flex;
    gap: 8px;
    transform: translateY(34px);
}

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

.hero-dots button.is-active {
    background: var(--cyan);
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 88px;
    fill: #020617;
}

.content-section {
    padding: 54px 0;
}

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

.section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.12;
}

.section-heading p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
}

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

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

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

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

.movie-card {
    position: relative;
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 22px;
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.24);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(34, 211, 238, 0.14);
}

.movie-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #0f172a;
}

.movie-card.is-compact .movie-poster {
    aspect-ratio: 16 / 10;
}

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

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

.movie-poster::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to top, rgba(2, 6, 23, 0.82), transparent 62%);
}

.poster-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.9);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: all 0.25s ease;
}

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

.rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    min-width: 36px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #04111c;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--amber), #fde68a);
    font-weight: 950;
}

.movie-card-body {
    padding: 15px;
}

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

.movie-card h2 {
    display: -webkit-box;
    min-height: 2.65em;
    margin: 8px 0 6px;
    font-size: 1rem;
    line-height: 1.32;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card h2 a:hover {
    color: var(--cyan);
}

.movie-card p {
    display: -webkit-box;
    min-height: 4.5em;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.movie-card-tags span,
.detail-tags span,
.detail-pills span {
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.08);
    padding: 4px 9px;
    font-size: 0.78rem;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.62fr);
    gap: 28px;
}

.ranking-list {
    display: grid;
    gap: 10px;
}

.tall-list {
    max-height: none;
}

.ranking-row {
    display: grid;
    grid-template-columns: 44px 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.66);
    padding: 10px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.ranking-row:hover {
    border-color: var(--line-strong);
    transform: translateX(4px);
}

.ranking-number {
    color: var(--cyan);
    font-size: 1.15rem;
    font-weight: 950;
    text-align: center;
}

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

.ranking-info {
    display: grid;
    min-width: 0;
}

.ranking-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-info em {
    color: var(--muted);
    font-style: normal;
    font-size: 0.86rem;
}

.ranking-score {
    color: var(--amber);
    font-weight: 900;
}

.category-panel,
.article-card,
.category-card,
.filter-panel,
.player-shell {
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.category-panel {
    padding: 22px;
}

.category-chip-grid,
.category-grid,
.index-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.category-chip-grid a,
.index-link-grid a {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    padding: 14px;
}

.category-chip-grid a:hover,
.index-link-grid a:hover,
.movie-link-index a:hover {
    border-color: var(--line-strong);
    color: var(--cyan);
}

.category-chip-grid span,
.index-link-grid span {
    color: var(--muted);
    font-size: 0.86rem;
}

.page-hero {
    padding: 92px 0 58px;
}

.compact-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    margin-bottom: 16px;
}

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

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

.category-card {
    padding: 22px;
}

.category-card > a span {
    color: var(--cyan);
    font-weight: 900;
}

.category-card h2 {
    margin: 10px 0 8px;
    font-size: 1.5rem;
}

.category-card p {
    color: var(--muted);
}

.category-card ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.category-card li + li {
    margin-top: 8px;
}

.category-card li a {
    color: var(--muted-strong);
}

.category-card li a:hover {
    color: var(--cyan);
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 160px auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    margin-bottom: 24px;
}

.filter-panel label {
    display: grid;
    gap: 6px;
    color: var(--muted-strong);
    font-size: 0.9rem;
}

.filter-panel input,
.filter-panel select {
    width: 100%;
}

.filter-result {
    color: var(--cyan);
    font-weight: 800;
    padding: 10px 0;
}

.detail-hero {
    padding: 48px 0 36px;
}

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

.detail-poster {
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.66);
    box-shadow: var(--shadow);
}

.detail-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 20px;
    object-fit: cover;
}

.detail-intro h1 {
    font-size: clamp(2.2rem, 6vw, 5rem);
}

.detail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

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

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

.player-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

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

.player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-cover-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(34, 211, 238, 0.22), transparent 28%), linear-gradient(to top, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.28));
}

.player-button {
    position: relative;
    z-index: 2;
    width: 86px;
    height: 86px;
    color: white;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 38px rgba(34, 211, 238, 0.55);
    cursor: pointer;
    font-size: 2rem;
    transition: transform 0.25s ease;
}

.player-cover:hover .player-button {
    transform: scale(1.08);
}

.player-title {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 24px;
    z-index: 2;
    display: grid;
    gap: 4px;
}

.player-title strong {
    font-size: clamp(1.2rem, 3vw, 2.2rem);
}

.player-title span {
    color: var(--muted-strong);
}

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

.article-card {
    padding: 24px;
}

.article-card h2 {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.article-card p {
    color: var(--muted-strong);
    margin: 0;
}

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

.movie-link-index a {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    padding: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-link-index a span {
    color: var(--cyan);
    font-weight: 800;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(2, 6, 23, 0.78);
    margin-top: 34px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.9fr;
    gap: 28px;
    padding: 42px 0;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
    color: var(--muted);
}

.footer-grid h2 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.footer-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-grid li + li {
    margin-top: 8px;
}

.footer-grid a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(34, 211, 238, 0.14);
    padding: 16px 0 24px;
    font-size: 0.92rem;
}

[hidden] {
    display: none !important;
}

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

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .header-search {
        display: none;
    }

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

    .hero-stage {
        min-height: 430px;
    }

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

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

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

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

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

    .hero-section {
        min-height: auto;
    }

    .hero-inner {
        padding: 74px 0 68px;
    }

    .hero-actions,
    .hero-search {
        flex-direction: column;
    }

    .hero-stats,
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .hero-stats div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .hero-stage {
        min-height: 360px;
        border-radius: 22px;
    }

    .content-section {
        padding: 36px 0;
    }

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

    .movie-grid,
    .featured-grid,
    .small-grid,
    .two-grid,
    .category-grid,
    .category-chip-grid,
    .index-link-grid,
    .movie-link-index {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .movie-card-body {
        padding: 12px;
    }

    .movie-card p {
        -webkit-line-clamp: 2;
        min-height: 3em;
    }

    .ranking-row {
        grid-template-columns: 34px 50px minmax(0, 1fr);
    }

    .ranking-score {
        display: none;
    }

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

    .player-button {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .movie-grid,
    .featured-grid,
    .small-grid,
    .two-grid,
    .category-grid,
    .category-chip-grid,
    .index-link-grid,
    .movie-link-index {
        grid-template-columns: 1fr;
    }

    .page-hero,
    .detail-hero {
        padding-top: 62px;
    }
}
