:root {
    color-scheme: dark;
    --bg: #0b1020;
    --bg-soft: #111827;
    --bg-card: rgba(31, 41, 55, 0.72);
    --bg-card-solid: #1f2937;
    --text: #f8fafc;
    --muted: #a7b0c0;
    --dim: #6b7280;
    --line: rgba(255, 255, 255, 0.12);
    --yellow: #facc15;
    --orange: #f97316;
    --pink: #ec4899;
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --green: #22c55e;
    --radius: 18px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 32rem),
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.16), transparent 30rem),
        linear-gradient(180deg, #0a0f1f 0%, #111827 48%, #05070d 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

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

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 8, 18, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    background: rgba(5, 8, 18, 0.92);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.logo-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--yellow), var(--pink), var(--purple));
    box-shadow: 0 10px 32px rgba(236, 72, 153, 0.32);
    color: #111827;
    font-size: 14px;
}

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

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: #d1d5db;
    font-size: 15px;
    transition: color 0.2s ease, background 0.2s ease;
}

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

.nav-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    min-width: 260px;
}

.nav-search input,
.mobile-nav input,
.filter-line input,
.big-search input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    outline: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    transition: background 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
    height: 42px;
    padding: 0 16px;
    border-radius: 999px 0 0 999px;
}

.nav-search button {
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(135deg, var(--yellow), var(--pink));
    color: #111827;
    font-weight: 900;
    cursor: pointer;
}

input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(250, 204, 21, 0.55);
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.12);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #fff;
}

.mobile-nav {
    display: none;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(17, 24, 39, 0.96);
}

.mobile-nav.is-open {
    display: grid;
    gap: 12px;
}

.mobile-nav a {
    color: #f3f4f6;
    padding: 10px 4px;
}

.mobile-nav form {
    display: flex;
}

.mobile-nav input {
    height: 44px;
    padding: 0 14px;
    border-radius: 12px 0 0 12px;
}

.mobile-nav button {
    border: 0;
    padding: 0 16px;
    border-radius: 0 12px 12px 0;
    background: var(--yellow);
    color: #111827;
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: #05070d;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
    align-items: center;
    gap: 50px;
    width: 100%;
    padding: 112px max(24px, calc((100vw - 1180px) / 2)) 88px;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.18);
    opacity: 0.45;
    transform: scale(1.08);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.74) 42%, rgba(5, 7, 13, 0.9) 100%),
        radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.22), transparent 26rem),
        radial-gradient(circle at 25% 65%, rgba(250, 204, 21, 0.18), transparent 24rem);
}

.hero-copy,
.hero-poster {
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--yellow);
    font-weight: 800;
}

.hero-copy h1 {
    max-width: 780px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 24px;
    color: #d1d5db;
    font-size: 18px;
}

.hero-meta,
.movie-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #d1d5db;
    font-size: 14px;
}

.hero-meta span,
.detail-meta span {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

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

.hero-tags {
    margin: 18px 0 28px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.18);
    color: #d8b4fe;
    font-size: 12px;
}

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

.primary-button,
.ghost-button,
.load-more,
.big-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    min-height: 48px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--yellow), var(--orange), var(--pink));
    color: #111827;
    box-shadow: 0 14px 36px rgba(236, 72, 153, 0.28);
}

.hero-actions a:not(.primary-button),
.section-title a {
    color: var(--yellow);
    font-weight: 800;
}

.primary-button:hover,
.ghost-button:hover,
.load-more:hover,
.big-search button:hover {
    transform: translateY(-2px);
}

.hero-poster {
    display: block;
    width: min(100%, 420px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
    transform: rotate(2deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: max(24px, calc((100vw - 1180px) / 2));
    bottom: 42px;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 42px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
}

.hero-dot.is-active {
    background: linear-gradient(90deg, var(--yellow), var(--pink));
}

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

.section-title {
    margin-bottom: 28px;
}

.section-title span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--yellow);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.section-title h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.row-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

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

.category-tile {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(17, 24, 39, 0.24), rgba(17, 24, 39, 0.9)), var(--tile-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 0.25s ease;
}

.category-tile:hover::before {
    transform: scale(1.12);
}

.category-tile span,
.category-tile strong {
    position: relative;
    z-index: 1;
    display: block;
}

.category-tile span {
    margin-bottom: 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.category-tile strong {
    color: #d1d5db;
    font-size: 14px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: var(--bg-card);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
    transition: transform 0.22s ease, border 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(250, 204, 21, 0.36);
    background: rgba(31, 41, 55, 0.92);
    box-shadow: 0 24px 70px rgba(139, 92, 246, 0.18);
}

.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111827;
}

.movie-poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.28s ease;
}

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

.poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.92);
    color: #111827;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.rank-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--yellow), var(--pink));
    color: #111827;
    font-weight: 900;
}

.movie-info {
    padding: 16px;
}

.movie-info h3 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
}

.movie-info h3 a:hover {
    color: var(--yellow);
}

.movie-info p {
    min-height: 46px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.movie-meta span {
    color: #cbd5e1;
}

.movie-card-compact .movie-info p {
    display: none;
}

.feature-section {
    padding-top: 24px;
}

.ranking-preview {
    padding-top: 24px;
}

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

.horizontal-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(31, 41, 55, 0.58);
    transition: background 0.2s ease, transform 0.2s ease;
}

.horizontal-item:hover {
    background: rgba(31, 41, 55, 0.92);
    transform: translateX(4px);
}

.horizontal-item img {
    width: 92px;
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
}

.horizontal-item strong,
.horizontal-item em {
    display: block;
}

.horizontal-item strong {
    color: #fff;
    font-size: 16px;
}

.horizontal-item em {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
}

.page-hero {
    min-height: 310px;
    display: flex;
    align-items: center;
    padding: 86px max(24px, calc((100vw - 1180px) / 2)) 52px;
    background:
        radial-gradient(circle at 80% 10%, rgba(250, 204, 21, 0.2), transparent 22rem),
        linear-gradient(135deg, rgba(88, 28, 135, 0.9), rgba(49, 46, 129, 0.82));
}

.category-hero {
    background:
        radial-gradient(circle at 70% 10%, rgba(236, 72, 153, 0.26), transparent 22rem),
        linear-gradient(135deg, #312e81, #111827 68%);
}

.ranking-hero {
    background:
        radial-gradient(circle at 72% 12%, rgba(250, 204, 21, 0.23), transparent 22rem),
        linear-gradient(135deg, #7f1d1d, #312e81 76%);
}

.search-hero {
    background:
        radial-gradient(circle at 72% 12%, rgba(59, 130, 246, 0.24), transparent 22rem),
        linear-gradient(135deg, #1e3a8a, #581c87 72%);
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
}

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

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

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

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

.category-card-large {
    overflow: hidden;
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: rgba(31, 41, 55, 0.64);
    transition: transform 0.22s ease, background 0.22s ease;
}

.category-card-large:hover {
    transform: translateY(-4px);
    background: rgba(31, 41, 55, 0.92);
}

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

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

.category-card-large span {
    color: var(--yellow);
    font-weight: 800;
}

.category-card-large h2 {
    margin: 4px 0 8px;
    color: #fff;
}

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

.filter-panel {
    padding-bottom: 20px;
}

.filter-line input {
    height: 52px;
    padding: 0 18px;
    border-radius: 16px;
}

.filter-chips {
    margin-top: 16px;
}

.filter-chip {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #e5e7eb;
    cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
    border-color: rgba(250, 204, 21, 0.5);
    background: rgba(250, 204, 21, 0.16);
    color: #fff;
}

.empty-state {
    display: none;
    padding: 48px 0;
    color: var(--muted);
    text-align: center;
}

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

.rank-page-list {
    display: grid;
    gap: 14px;
}

.rank-row {
    display: grid;
    grid-template-columns: 56px 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(31, 41, 55, 0.62);
}

.rank-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.09);
    color: var(--yellow);
    font-weight: 900;
}

.rank-thumb img {
    width: 120px;
    height: 76px;
    border-radius: 14px;
    object-fit: cover;
}

.rank-content h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 20px;
}

.rank-content p {
    margin: 0 0 8px;
    color: var(--muted);
}

.ghost-button {
    min-height: 40px;
    padding: 0 18px;
    color: #111827;
    background: var(--yellow);
}

.big-search {
    display: flex;
    max-width: 760px;
    margin-top: 26px;
    overflow: hidden;
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.big-search input {
    height: 58px;
    padding: 0 22px;
    border-radius: 999px 0 0 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
}

.big-search button {
    min-width: 130px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(135deg, var(--yellow), var(--pink));
    color: #111827;
}

.search-summary {
    margin-bottom: 24px;
    color: #d1d5db;
    font-size: 18px;
}

.load-more {
    display: none;
    min-height: 46px;
    margin: 30px auto 0;
    padding: 0 26px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.load-more.is-visible {
    display: flex;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 96px 0 62px;
    background: #05070d;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--detail-image);
    background-size: cover;
    background-position: center;
    filter: blur(24px) saturate(1.16);
    opacity: 0.4;
    transform: scale(1.08);
}

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 13, 0.95), rgba(5, 7, 13, 0.74), rgba(5, 7, 13, 0.96)),
        radial-gradient(circle at 72% 20%, rgba(236, 72, 153, 0.22), transparent 26rem);
}

.detail-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 46px;
    align-items: center;
}

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

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

.detail-copy h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
}

.detail-copy p {
    max-width: 760px;
    margin: 0 0 22px;
    color: #d1d5db;
    font-size: 18px;
}

.detail-tags {
    margin: 18px 0 28px;
}

.player-section {
    padding-bottom: 34px;
}

.player-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(17, 24, 39, 0.88);
    box-shadow: var(--shadow);
}

.video-frame {
    position: relative;
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-frame video,
.player-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-frame video {
    object-fit: contain;
    z-index: 1;
}

.player-cover {
    z-index: 2;
    padding: 0;
    border: 0;
    cursor: pointer;
    overflow: hidden;
    background: #000;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.54;
    filter: blur(1px);
}

.player-cover span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--yellow), var(--pink));
    color: #111827;
    font-size: 28px;
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.35);
    transform: translate(-50%, -50%);
}

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

.player-title {
    padding: 22px;
}

.player-title h2 {
    margin: 0 0 8px;
    color: #fff;
}

.player-title p {
    margin: 0;
    color: var(--muted);
}

.detail-content {
    padding-top: 20px;
    padding-bottom: 20px;
}

.detail-article {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background: rgba(31, 41, 55, 0.58);
}

.detail-article h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
}

.detail-article p {
    margin: 0;
    color: #d1d5db;
    font-size: 17px;
}

.site-footer {
    margin-top: 28px;
    padding: 56px max(24px, calc((100vw - 1180px) / 2)) 26px;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.2), #020617 70%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.footer-grid h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px;
}

.footer-grid a {
    display: block;
    margin: 8px 0;
}

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

.footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

@media (max-width: 1080px) {
    .poster-grid-six {
        grid-template-columns: repeat(4, 1fr);
    }

    .poster-grid-four,
    .category-grid,
    .category-large-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-slide {
        grid-template-columns: 1fr 300px;
    }
}

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

    .menu-button {
        display: block;
        margin-left: auto;
    }

    .hero {
        min-height: 760px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 92px;
    }

    .hero-poster {
        width: 220px;
        transform: none;
    }

    .poster-grid-six,
    .poster-grid-four,
    .category-grid,
    .category-large-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .rank-row .ghost-button {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .rank-thumb img {
        width: 86px;
        height: 58px;
    }

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

    .detail-poster {
        width: min(260px, 70vw);
    }
}

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

    .site-logo span:last-child {
        font-size: 15px;
    }

    .hero {
        min-height: 780px;
    }

    .hero-copy h1,
    .detail-copy h1,
    .page-hero h1 {
        letter-spacing: -0.04em;
    }

    .hero-copy p,
    .page-hero p,
    .detail-copy p {
        font-size: 16px;
    }

    .section-shell {
        width: min(100% - 22px, 1180px);
        padding: 42px 0;
    }

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

    .movie-info {
        padding: 12px;
    }

    .movie-info h3 {
        font-size: 15px;
    }

    .movie-info p,
    .tag-row {
        display: none;
    }

    .row-title {
        display: block;
    }

    .row-title a {
        display: inline-block;
        margin-top: 10px;
    }

    .page-hero {
        min-height: 250px;
        padding: 78px 16px 38px;
    }

    .big-search {
        border-radius: 18px;
        display: grid;
    }

    .big-search input,
    .big-search button {
        border-radius: 0;
    }

    .rank-row {
        grid-template-columns: 34px 72px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .rank-number {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .rank-thumb img {
        width: 72px;
        height: 54px;
    }

    .rank-content h2 {
        font-size: 16px;
    }

    .rank-content p {
        display: none;
    }

    .detail-hero {
        min-height: auto;
        padding-top: 88px;
    }

    .detail-article {
        padding: 20px;
    }

    .player-cover span {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }
}
