:root {
    --bg: #f9fafb;
    --paper: #ffffff;
    --paper-soft: #fff7ed;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --amber: #d97706;
    --amber-dark: #92400e;
    --rose: #e11d48;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius: 24px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.96));
    border-bottom: 1px solid rgba(217, 119, 6, 0.12);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(14px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    box-shadow: 0 14px 28px rgba(146, 64, 14, 0.28);
}

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

.brand-text strong,
.footer-brand strong {
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--amber-dark), var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-text small {
    color: var(--muted);
    font-size: 12px;
}

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

.nav-link {
    position: relative;
    color: #374151;
    font-weight: 700;
    padding: 12px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--amber);
    transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--amber-dark);
}

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

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.10);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    background: #374151;
    border-radius: 999px;
}

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

.mobile-nav.is-open {
    display: block;
}

.mobile-nav-panel {
    display: grid;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 18px;
}

.mobile-nav .nav-link {
    display: block;
    padding: 10px 0;
}

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

.mobile-category-links a,
.tag-row span,
.detail-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
}

.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(225, 29, 72, 0.14), transparent 28%),
        radial-gradient(circle at 88% 22%, rgba(217, 119, 6, 0.24), transparent 24%),
        linear-gradient(135deg, #fef3c7, #fff1f2 52%, #fffbeb);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.42) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.35) 25%, transparent 25%);
    background-size: 44px 44px;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    align-items: center;
    gap: 64px;
    min-height: 600px;
    padding: 72px 0;
}

.hero-copy h1 {
    margin: 0 0 22px;
    color: #111827;
    font-size: clamp(44px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

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

.hero-kicker,
.section-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.10);
    color: var(--amber-dark);
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-copy p {
    max-width: 680px;
    margin: 0 0 28px;
    color: #374151;
    font-size: 19px;
}

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

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

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(90deg, var(--amber), var(--amber-dark));
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.28);
}

.btn-ghost {
    color: var(--amber-dark);
    background: rgba(255, 255, 255, 0.88);
    border: 2px solid rgba(217, 119, 6, 0.18);
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    padding: 10px 14px;
    color: #4b5563;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.hero-stats strong {
    color: var(--amber-dark);
    font-size: 22px;
}

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

.hero-tile,
.category-card,
.category-overview-image,
.movie-poster {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #f59e0b, #be123c);
}

.hero-tile {
    min-height: 230px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    transform: rotate(-1deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-tile:nth-child(2),
.hero-tile:nth-child(3) {
    transform: rotate(1deg);
}

.hero-tile:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 55px rgba(17, 24, 39, 0.22);
}

.hero-tile img,
.category-card img,
.movie-poster img,
.category-overview-image img,
.detail-cover img,
.rank-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, opacity 0.2s ease;
}

.hero-tile:hover img,
.category-card:hover img,
.movie-card:hover .movie-poster img,
.category-overview-card:hover img {
    transform: scale(1.08);
}

.hero-tile-overlay,
.category-card-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.72));
}

.hero-tile-text,
.category-card-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: #ffffff;
}

.hero-tile-text strong,
.category-card-content strong {
    display: block;
    font-size: 18px;
    line-height: 1.25;
}

.hero-tile-text small,
.category-card-content small {
    color: rgba(255, 255, 255, 0.82);
}

.feature-strip,
.content-section {
    padding: 74px 0;
}

.feature-strip {
    background: #ffffff;
}

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

.feature-card {
    border: 1px solid rgba(217, 119, 6, 0.10);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #fff7ed);
    padding: 26px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fde68a, #fed7aa);
    color: var(--amber-dark);
    font-weight: 900;
}

.feature-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

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

.section-white {
    background: #ffffff;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading h2,
.page-hero h1 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.section-heading p,
.page-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.movie-grid,
.rank-card-grid,
.category-grid,
.category-overview-grid {
    display: grid;
    gap: 24px;
}

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

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

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

.movie-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 55px rgba(17, 24, 39, 0.16);
}

.movie-poster {
    height: 300px;
}

.play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.year-badge,
.rank-badge {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
}

.year-badge {
    top: 14px;
    right: 14px;
    background: var(--amber);
    padding: 5px 11px;
    font-size: 12px;
}

.rank-badge {
    top: 14px;
    left: 14px;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rose);
}

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

.movie-title {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
}

.movie-title:hover {
    color: var(--amber-dark);
}

.movie-desc {
    display: -webkit-box;
    min-height: 45px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 13px;
}

.movie-meta a {
    color: var(--amber-dark);
    font-weight: 800;
}

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

.movie-card-compact .movie-poster {
    height: 240px;
}

.section-action {
    justify-content: center;
    margin-top: 36px;
}

.category-card {
    min-height: 210px;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(217, 119, 6, 0.16), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(225, 29, 72, 0.12), transparent 28%),
        linear-gradient(135deg, #fffbeb, #fff1f2);
    text-align: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--amber-dark);
    font-weight: 800;
}

.filter-panel,
.search-panel {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 16px;
    align-items: end;
    margin-bottom: 28px;
    border: 1px solid rgba(217, 119, 6, 0.12);
    border-radius: 24px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
}

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

.filter-panel label,
.search-panel label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-weight: 800;
}

.filter-panel input,
.filter-panel select,
.search-panel input,
.search-panel select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    background: #f9fafb;
    padding: 0 14px;
    color: var(--text);
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-panel input:focus,
.search-panel select:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.10);
}

.filter-count,
.search-count {
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 700;
}

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

.category-overview-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    overflow: hidden;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.category-overview-image {
    min-height: 250px;
}

.category-overview-body {
    padding: 26px;
}

.category-overview-body span {
    color: var(--amber-dark);
    font-size: 13px;
    font-weight: 900;
}

.category-overview-body h2 {
    margin: 8px 0 8px;
    font-size: 26px;
}

.category-overview-body p {
    margin: 0 0 14px;
    color: var(--muted);
}

.category-sample-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.category-sample-links a {
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.text-link {
    color: var(--amber-dark);
    font-weight: 900;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 74px 74px 1fr auto;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    padding: 12px 16px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
    transform: translateX(4px);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.10);
}

.rank-number {
    color: var(--rose);
    font-size: 24px;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

.rank-row img {
    width: 74px;
    height: 92px;
    border-radius: 14px;
}

.rank-info {
    display: grid;
    gap: 4px;
}

.rank-info strong {
    font-size: 17px;
}

.rank-info small {
    color: var(--muted);
}

.rank-arrow {
    color: var(--amber-dark);
    font-weight: 900;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    background: #111827;
    color: #ffffff;
}

.detail-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.26;
    filter: blur(4px);
    transform: scale(1.04);
}

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

.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.88));
}

.detail-hero-inner {
    position: relative;
    z-index: 2;
    padding: 64px 0;
}

.detail-hero .breadcrumb {
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.68);
}

.detail-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 42px;
    align-items: center;
}

.detail-cover {
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

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

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

.detail-one-line {
    max-width: 820px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
}

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

.detail-meta span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    padding: 7px 12px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
}

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

.detail-tags span {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #020617;
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.28);
}

.player-shell video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
}

.player-play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.92);
    color: #ffffff;
    padding: 14px 22px;
    font-weight: 900;
    transform: translate(-50%, -50%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.player-play-button span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.player-shell.is-playing .player-play-button {
    opacity: 0;
    pointer-events: none;
}

.player-status {
    position: absolute;
    left: 18px;
    bottom: 14px;
    margin: 0;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.62);
    color: rgba(255, 255, 255, 0.82);
    padding: 7px 12px;
    font-size: 13px;
}

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

.detail-article,
.detail-side-card {
    border-radius: 28px;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.detail-article h2,
.detail-side-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

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

.detail-side-card dl {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px 16px;
    margin: 0;
}

.detail-side-card dt {
    color: var(--muted);
    font-weight: 800;
}

.detail-side-card dd {
    margin: 0;
    color: #111827;
    font-weight: 700;
}

.detail-side-card a {
    color: var(--amber-dark);
}

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

.map-category-block {
    border-radius: 26px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.map-category-block h2 {
    margin: 0 0 16px;
}

.map-category-block h2 a {
    color: var(--amber-dark);
}

.map-category-block ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-category-block li a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 6px;
    color: #374151;
    font-size: 14px;
}

.map-category-block li a:hover {
    color: var(--amber-dark);
}

.map-category-block li span {
    color: var(--muted);
}

.site-footer {
    background: linear-gradient(135deg, #111827, #1f2937 52%, #111827);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    padding: 58px 0;
}

.footer-brand .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
}

.footer-about p,
.footer-notes,
.footer-links a,
.footer-bottom {
    color: rgba(255, 255, 255, 0.66);
}

.footer-about p {
    margin: 16px 0 0;
}

.footer-count {
    font-size: 14px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fbbf24;
}

.footer-links,
.footer-notes {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--amber-dark);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.22);
}

.back-to-top.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.is-hidden-by-filter {
    display: none !important;
}

.image-missing {
    opacity: 0;
}

@media (max-width: 1100px) {
    .movie-grid,
    .rank-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

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

    .hero-grid {
        max-width: 720px;
    }

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

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

    .mobile-menu-button {
        display: inline-flex;
    }

    .header-inner {
        min-height: 70px;
    }

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

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

    .hero-inner {
        min-height: auto;
        gap: 34px;
        padding: 54px 0;
    }

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

    .hero-grid,
    .feature-grid,
    .movie-grid,
    .rank-card-grid,
    .category-grid,
    .category-overview-grid,
    .map-grid,
    .map-category-block ul {
        grid-template-columns: 1fr;
    }

    .hero-tile {
        min-height: 210px;
    }

    .content-section,
    .feature-strip {
        padding: 52px 0;
    }

    .movie-poster {
        height: 260px;
    }

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

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

    .category-overview-image {
        min-height: 230px;
    }

    .rank-row {
        grid-template-columns: 48px 58px 1fr;
        gap: 10px;
    }

    .rank-row img {
        width: 58px;
        height: 76px;
    }

    .rank-arrow {
        display: none;
    }

    .detail-hero-inner {
        padding: 44px 0;
    }

    .detail-hero .breadcrumb {
        justify-content: flex-start;
    }

    .detail-meta span {
        font-size: 13px;
    }

    .player-play-button {
        padding: 10px 16px;
    }

    .footer-bottom-inner {
        flex-direction: column;
    }
}
