:root {
    color-scheme: light;
    --bg: #f8fafc;
    --panel: #ffffff;
    --ink: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #f3f4f6;
    --deep: #0f172a;
    --accent: #1f2937;
    --accent-soft: rgba(17, 24, 39, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f3f4f6 52%, #f5f5f4 100%);
    color: var(--ink);
}

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

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

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(14px);
}

.nav-shell {
    max-width: 1180px;
    height: 68px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #111827;
    background: #f3f4f6;
    border-radius: 14px;
    transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
    transform: scale(1.08);
}

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

.brand-title {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

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

.nav-link {
    position: relative;
    font-weight: 650;
    color: #374151;
    transition: color 0.22s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    transition: width 0.22s ease;
}

.nav-link:hover {
    color: #111827;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    background: #f3f4f6;
    border-radius: 12px;
    cursor: pointer;
}

.menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: #374151;
}

.mobile-nav {
    display: none;
    padding: 12px 22px 18px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

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

.mobile-link {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 650;
    color: #374151;
}

.mobile-link:hover {
    background: #f9fafb;
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    max-width: 1180px;
    min-height: 560px;
    margin: 26px auto 20px;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, #111827 0%, #1f2937 48%, #0f172a 100%);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.85));
    z-index: 1;
}

.hero-slider {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.58fr);
    gap: 42px;
    align-items: center;
    padding: 68px 64px 96px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(18px) saturate(1.1);
    transform: scale(1.08);
    opacity: 0.34;
    z-index: 0;
}

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

.eyebrow {
    margin: 0 0 12px;
    color: #d1d5db;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.hero h2 {
    margin: 18px 0 0;
    font-size: clamp(26px, 3.8vw, 48px);
    line-height: 1.08;
}

.hero-summary {
    max-width: 650px;
    margin: 18px 0 0;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.8;
}

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

.hero-tags {
    margin-top: 24px;
}

.hero-tags span,
.tag-row span,
.detail-tags a {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #f9fafb;
    font-size: 12px;
    font-weight: 700;
}

.tag-row span,
.detail-tags a {
    background: #f3f4f6;
    color: #4b5563;
}

.hero-actions,
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.primary-button,
.ghost-button,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.primary-button {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

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

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.18);
}

.ghost-button.light {
    color: #ffffff;
}

.hero-poster {
    justify-self: end;
    width: min(330px, 100%);
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.42);
    transform: rotate(1.5deg);
}

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

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

.poster-glow {
    position: absolute;
    inset: auto 22px 20px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    filter: blur(8px);
}

.hero-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 34px 24px;
}

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

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

.hero-dot.is-active {
    width: 58px;
    background: #ffffff;
}

.hero-mini-list {
    display: flex;
    gap: 10px;
    max-width: 56%;
    overflow-x: auto;
    scrollbar-width: none;
}

.hero-mini-list::-webkit-scrollbar,
.movie-row::-webkit-scrollbar {
    display: none;
}

.hero-mini-card {
    flex: 0 0 190px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-mini-card img {
    width: 48px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
}

.hero-mini-card strong,
.hero-mini-card em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-mini-card strong {
    font-size: 13px;
}

.hero-mini-card em {
    margin-top: 3px;
    color: #d1d5db;
    font-size: 12px;
    font-style: normal;
}

.home-search-wrap,
.movie-section,
.category-section,
.rank-section,
.content-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 22px;
}

.home-search-wrap {
    display: grid;
    grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
    gap: 24px;
    align-items: end;
}

.home-search-copy p,
.section-heading p,
.page-hero p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.home-search-copy h2,
.section-heading h2,
.page-hero h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.search-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-field span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.search-field input,
.filter-group select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 14px;
    color: #111827;
    background: #ffffff;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-field input:focus,
.filter-group select:focus {
    border-color: #9ca3af;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.filter-group {
    display: flex;
    align-items: end;
    gap: 10px;
}

.no-results {
    margin: 18px 0 0;
    padding: 16px 18px;
    border-radius: 16px;
    color: #6b7280;
    background: #ffffff;
    border: 1px solid var(--line);
}

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

.section-more {
    min-height: 40px;
    padding: 0 14px;
    color: #374151;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.movie-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scrollbar-width: none;
}

.movie-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.compact-card {
    flex: 0 0 210px;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.13);
}

.movie-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e5e7eb;
}

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

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

.movie-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.58));
    opacity: 0.78;
}

.play-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    color: #111827;
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-badge {
    opacity: 1;
    transform: translateY(0);
}

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

.movie-card-body h2 {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.movie-card-body h2 a:hover {
    color: #4b5563;
}

.movie-meta {
    margin: 0 0 9px;
    color: #6b7280;
    font-size: 13px;
}

.movie-one-line {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
    gap: 20px;
}

.library-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

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

.category-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-covers {
    position: relative;
    display: flex;
    min-height: 128px;
    margin-bottom: 16px;
}

.category-covers img {
    width: 34%;
    aspect-ratio: 3 / 4;
    border: 4px solid #ffffff;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.category-covers img + img {
    margin-left: -8%;
}

.category-card span {
    font-size: 20px;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.category-card p {
    margin: 10px 0 0;
    color: #6b7280;
    line-height: 1.7;
}

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

.rank-list {
    grid-template-columns: 1fr;
}

.rank-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.rank-cover {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
}

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

.rank-cover span {
    position: absolute;
    top: 10px;
    left: 10px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(17, 24, 39, 0.84);
    font-weight: 900;
}

.rank-body {
    align-self: center;
}

.rank-body h2 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.25;
}

.rank-body p {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: #4b5563;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rank-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rank-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
}

.page-main {
    min-height: 60vh;
}

.page-hero {
    max-width: 1180px;
    margin: 26px auto 0;
    padding: 66px 42px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(135deg, #111827 0%, #1f2937 55%, #0f172a 100%);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.slim-hero {
    min-height: 260px;
}

.category-hero,
.rank-hero {
    min-height: 290px;
}

.page-hero p {
    color: #d1d5db;
}

.category-intro {
    max-width: 720px;
    margin-top: 16px !important;
    color: #e5e7eb !important;
    font-size: 17px !important;
    line-height: 1.8;
    letter-spacing: 0 !important;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.category-overview-cover {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 3 / 4;
}

.category-overview-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overview-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.category-overview-card p {
    margin: 0 0 14px;
    color: #4b5563;
    line-height: 1.7;
}

.category-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-link-row a {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
}

.detail-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 8px 0 22px;
    color: #6b7280;
    font-size: 14px;
}

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

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

.player-card,
.detail-text-card,
.detail-info-card {
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.player-card {
    overflow: hidden;
}

.player-shell {
    position: relative;
    overflow: hidden;
    background: #000000;
}

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

.player-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
    cursor: pointer;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.large-play {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    color: #111827;
    background: rgba(255, 255, 255, 0.94);
    font-size: 30px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.player-overlay strong {
    font-size: 18px;
}

.player-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 8px;
}

.player-title-row h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.16;
    letter-spacing: -0.05em;
}

.player-title-row span {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    color: #ffffff;
    background: #111827;
    font-size: 20px;
    font-weight: 900;
}

.player-card > p {
    margin: 0;
    padding: 0 22px 24px;
    color: #4b5563;
    line-height: 1.8;
}

.detail-text-card {
    margin-top: 22px;
    padding: 24px;
}

.detail-text-card h2,
.detail-info-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.detail-text-card p {
    margin: 0 0 14px;
    color: #374151;
    font-size: 16px;
    line-height: 1.9;
}

.detail-text-card p:last-child {
    margin-bottom: 0;
}

.detail-side {
    position: sticky;
    top: 94px;
}

.detail-poster {
    width: 100%;
    border-radius: 26px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.detail-info-card {
    margin-top: 18px;
    padding: 22px;
}

dl {
    margin: 0;
}

dl div {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

dt {
    color: #6b7280;
    font-weight: 800;
}

dd {
    margin: 0;
    color: #111827;
}

.detail-tags {
    margin-top: 16px;
}

.detail-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.detail-nav-links a {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    color: #374151;
    font-weight: 750;
    box-shadow: var(--shadow-soft);
}

.related-section {
    padding-left: 0;
    padding-right: 0;
}

.site-footer {
    margin-top: 60px;
    color: #d1d5db;
    background: linear-gradient(135deg, #111827 0%, #1f2937 54%, #0f172a 100%);
}

.footer-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 0.7fr 0.9fr;
    gap: 36px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.footer-brand p {
    max-width: 460px;
    margin: 0;
    color: #9ca3af;
    line-height: 1.8;
}

.footer-column h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 16px;
}

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

.footer-column li + li {
    margin-top: 9px;
}

.footer-column a {
    color: #9ca3af;
}

.footer-column a:hover {
    color: #ffffff;
}

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

[hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .hero-slide {
        grid-template-columns: minmax(0, 1fr);
        padding: 50px 34px 150px;
    }

    .hero-poster {
        justify-self: start;
        width: 230px;
        display: none;
    }

    .hero-mini-list {
        max-width: 100%;
    }

    .home-search-wrap,
    .detail-layout,
    .footer-shell,
    .category-overview-grid {
        grid-template-columns: 1fr;
    }

    .search-panel {
        grid-template-columns: 1fr;
    }

    .filter-group {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .filter-group select {
        flex: 1 1 160px;
    }

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

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

    .detail-side {
        position: static;
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 18px;
    }

    .detail-info-card {
        margin-top: 0;
    }
}

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

    .menu-button {
        display: block;
    }

    .nav-shell {
        height: 64px;
        padding: 0 16px;
    }

    .brand-title {
        font-size: 18px;
    }

    .brand-subtitle {
        display: none;
    }

    .hero {
        min-height: 620px;
        margin: 16px 12px 8px;
        border-radius: 24px;
    }

    .hero-slide {
        padding: 42px 22px 190px;
    }

    .hero-summary {
        font-size: 16px;
    }

    .hero-bottom {
        display: grid;
        padding: 0 18px 18px;
    }

    .hero-mini-card {
        flex-basis: 176px;
    }

    .home-search-wrap,
    .movie-section,
    .category-section,
    .rank-section,
    .content-shell,
    .detail-main {
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-hero {
        margin: 16px 12px 0;
        padding: 44px 22px;
        border-radius: 24px;
    }

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

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

    .compact-card {
        flex-basis: 178px;
    }

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

    .movie-card-body h2 {
        font-size: 15px;
    }

    .movie-one-line {
        font-size: 13px;
    }

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

    .rank-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 12px;
    }

    .rank-body h2 {
        font-size: 18px;
    }

    .category-overview-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .detail-layout {
        gap: 18px;
    }

    .player-title-row {
        flex-direction: column;
        padding: 18px 16px 8px;
    }

    .player-card > p,
    .detail-text-card,
    .detail-info-card {
        padding-left: 16px;
        padding-right: 16px;
    }

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

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

    .detail-nav-links {
        grid-template-columns: 1fr;
    }

    .footer-shell {
        padding: 36px 16px;
    }
}
