:root {
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --yellow-500: #eab308;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-md: 0 4px 16px rgba(17, 24, 39, 0.08);
    --shadow-xl: 0 22px 50px rgba(17, 24, 39, 0.16);
    --radius-xl: 18px;
    --radius-2xl: 26px;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--gray-800);
    background: linear-gradient(180deg, var(--amber-50), #fff7ed 48%, var(--white));
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500), var(--amber-600));
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.28);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: var(--amber-600);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: var(--white);
    font-weight: 700;
    opacity: 0.92;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    opacity: 1;
    transform: translateY(-1px);
}

.header-search {
    position: relative;
    width: min(290px, 28vw);
}

.site-search-input,
.hero-search-box input,
.filter-input,
.filter-card select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 12px 16px;
    color: var(--gray-800);
    background: rgba(255, 255, 255, 0.94);
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-search-input:focus,
.hero-search-box input:focus,
.filter-input:focus,
.filter-card select:focus {
    border-color: var(--amber-400);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.24);
}

.search-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(420px, 86vw);
    max-height: 420px;
    overflow: auto;
    display: none;
    padding: 10px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 80;
}

.search-panel.is-open {
    display: block;
}

.search-result {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.search-result:hover {
    background: var(--amber-50);
}

.search-result img {
    width: 54px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--amber-100), var(--orange-500));
}

.search-result h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.search-result p,
.search-empty {
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
}

.mobile-nav {
    display: none;
    padding: 0 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(217, 119, 6, 0.96);
}

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

.mobile-nav-link,
.mobile-category-links a {
    display: block;
    padding: 10px 4px;
    color: var(--white);
    font-weight: 700;
}

.mobile-category-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.mobile-category-links a {
    color: var(--amber-100);
    font-size: 14px;
}

.mobile-search {
    position: relative;
    margin-top: 8px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 86px;
    color: var(--white);
    background: radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.28), transparent 32%), linear-gradient(120deg, var(--amber-500), var(--orange-500) 52%, var(--yellow-500));
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--amber-100);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 680px;
    margin: 22px 0 0;
    color: #fff7ed;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.8;
}

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

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

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

.btn-light {
    color: var(--amber-600);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-glass {
    color: var(--white);
    background: rgba(255, 255, 255, 0.17);
    border: 1px solid rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(8px);
}

.btn-amber {
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
    box-shadow: var(--shadow-md);
}

.hero-search-box {
    position: relative;
    max-width: 520px;
    margin-top: 26px;
}

.hero-search-box input {
    min-height: 54px;
    padding: 0 20px;
    font-size: 16px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-chips a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.16);
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.hero-chips a:hover {
    background: rgba(255, 255, 255, 0.28);
}

.hero-stage {
    position: relative;
    min-height: 620px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(92, 45, 8, 0.32);
    background: #2b1405;
}

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

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

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

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.hero-slide-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 34px;
}

.hero-slide-content span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--amber-200);
    font-weight: 800;
}

.hero-slide-content h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.hero-slide-content p {
    margin: 12px 0 18px;
    color: #f9fafb;
    line-height: 1.7;
}

.hero-slide-content a {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--amber-700);
    background: var(--white);
    font-weight: 800;
}

.hero-dots {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
}

.hero-dot.is-active {
    width: 32px;
    background: var(--white);
}

.section-block {
    padding: 58px 0;
}

.section-heading,
.category-overview-head,
.detail-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading span {
    color: var(--amber-600);
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-heading h2,
.category-overview-head h2,
.detail-content h1 {
    margin: 4px 0 0;
    color: var(--gray-800);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}

.section-heading a,
.category-overview-head a {
    color: var(--amber-600);
    font-weight: 800;
}

.compact-heading h2 {
    font-size: 28px;
}

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

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

.movie-card,
.category-overview-card,
.info-card,
.player-card,
.rank-panel,
.filter-card {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.movie-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.movie-card-link {
    display: block;
    height: 100%;
}

.movie-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: linear-gradient(135deg, var(--amber-100), var(--orange-500));
}

.movie-card-wide .movie-thumb {
    aspect-ratio: 16 / 9;
}

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

.movie-card:hover .movie-thumb img,
.related-card:hover img,
.rank-item:hover img {
    transform: scale(1.08);
}

.movie-score,
.movie-year {
    position: absolute;
    z-index: 1;
    border-radius: 999px;
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
    box-shadow: var(--shadow-md);
}

.movie-score {
    top: 12px;
    right: 12px;
    padding: 6px 9px;
    background: var(--amber-500);
}

.movie-year {
    bottom: 12px;
    left: 12px;
    padding: 5px 9px;
    background: rgba(17, 24, 39, 0.72);
}

.movie-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.26);
    font-size: 42px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .movie-play {
    opacity: 1;
}

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

.movie-card-body h3 {
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--gray-800);
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.movie-card:hover h3,
.related-card:hover h3,
.rank-item:hover h3 {
    color: var(--amber-600);
}

.movie-card-body p {
    display: -webkit-box;
    min-height: 42px;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.movie-tags span,
.detail-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    color: #92400e;
    background: var(--amber-100);
    font-size: 12px;
    font-weight: 800;
}

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

.category-tile {
    min-height: 182px;
    padding: 24px;
    border-radius: 24px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.category-tile h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.category-tile p {
    margin: 0 0 18px;
    color: #fff7ed;
    line-height: 1.65;
}

.category-tile div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tile span {
    max-width: 100%;
    overflow: hidden;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.rank-panel {
    position: sticky;
    top: 90px;
    padding: 24px;
}

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

.rank-item {
    border-radius: 18px;
    background: var(--white);
    transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
    background: var(--amber-50);
    transform: translateX(3px);
}

.rank-item a {
    display: grid;
    grid-template-columns: 46px 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
}

.slim-rank .rank-item a {
    grid-template-columns: 38px 58px minmax(0, 1fr) auto;
    gap: 10px;
}

.rank-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
    font-weight: 900;
}

.rank-item img {
    width: 72px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.rank-content {
    min-width: 0;
}

.rank-content h3 {
    margin: 0 0 6px;
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-content p {
    display: -webkit-box;
    margin: 0 0 6px;
    overflow: hidden;
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.rank-meta {
    overflow: hidden;
    color: var(--gray-500);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-item strong {
    color: var(--amber-600);
    white-space: nowrap;
}

.page-hero {
    padding: 58px 0;
    color: var(--white);
    background: linear-gradient(90deg, var(--amber-500), var(--orange-500), var(--yellow-500));
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 52px);
}

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

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.detail-wrap .breadcrumbs {
    color: var(--gray-500);
}

.breadcrumbs a:hover {
    color: var(--amber-100);
}

.detail-wrap .breadcrumbs a:hover {
    color: var(--amber-600);
}

.category-overview-list {
    display: grid;
    gap: 28px;
    padding: 48px 0 70px;
}

.category-overview-card {
    padding: 28px;
}

.category-overview-head p {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--gray-600);
    line-height: 1.7;
}

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

.related-card {
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.related-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: linear-gradient(135deg, var(--amber-100), var(--orange-500));
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-thumb span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.2);
    font-size: 32px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.related-card:hover .related-thumb span {
    opacity: 1;
}

.related-card h3,
.related-card p {
    margin: 0;
    padding: 0 12px;
}

.related-card h3 {
    overflow: hidden;
    padding-top: 12px;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-card p {
    padding-top: 4px;
    padding-bottom: 14px;
    color: var(--gray-500);
    font-size: 13px;
}

.filter-card {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) repeat(4, minmax(130px, 180px));
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px;
}

.rank-filter {
    grid-template-columns: minmax(220px, 1fr) minmax(130px, 180px);
}

.filter-card select {
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--white);
}

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

.empty-state {
    display: none;
    margin: 30px 0;
    padding: 34px;
    border-radius: 24px;
    color: var(--gray-600);
    background: var(--white);
    box-shadow: var(--shadow-md);
    text-align: center;
    font-weight: 800;
}

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

.detail-wrap {
    padding: 42px 0 24px;
}

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

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

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

.player-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    color: var(--white);
    background: #000;
    cursor: pointer;
}

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

.cover-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.76));
}

.big-play {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 999px;
    color: var(--amber-600);
    background: rgba(255, 255, 255, 0.94);
    font-size: 40px;
    box-shadow: var(--shadow-xl);
}

.cover-caption {
    position: absolute;
    right: 28px;
    bottom: 24px;
    left: 28px;
    z-index: 1;
    overflow: hidden;
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 900;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-box.is-playing .player-cover {
    display: none;
}

.detail-content {
    padding: 28px;
}

.detail-title-line {
    align-items: flex-start;
    margin-bottom: 16px;
}

.detail-title-line strong {
    flex: 0 0 auto;
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--white);
    background: var(--amber-500);
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--gray-600);
}

.detail-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--gray-100);
}

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

.article-text h2 {
    margin: 26px 0 12px;
    font-size: 22px;
}

.article-text p {
    margin: 0 0 16px;
    color: var(--gray-700);
    font-size: 17px;
    line-height: 1.9;
}

.article-text blockquote {
    margin: 0;
    padding: 22px;
    border-left: 5px solid var(--amber-500);
    border-radius: 16px;
    color: var(--gray-700);
    background: linear-gradient(90deg, var(--amber-50), #fff7ed);
    line-height: 1.85;
}

.info-card {
    position: sticky;
    top: 90px;
    padding: 22px;
}

.info-card img {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    background: linear-gradient(135deg, var(--amber-100), var(--orange-500));
}

.info-card dl {
    margin: 22px 0;
}

.info-card dl div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.info-card dt {
    color: var(--gray-500);
}

.info-card dd {
    margin: 0;
    color: var(--gray-800);
    font-weight: 800;
}

.full-btn {
    width: 100%;
}

.full-rank {
    gap: 12px;
}

.full-rank .rank-item {
    box-shadow: var(--shadow-md);
}

.site-footer {
    margin-top: 40px;
    color: #d1d5db;
    background: linear-gradient(180deg, var(--gray-800), var(--gray-900));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
    gap: 32px;
    padding: 46px 0;
}

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

.site-footer h2 {
    margin: 0 0 14px;
    color: var(--amber-400);
    font-size: 18px;
}

.site-footer p {
    margin: 0;
    color: #9ca3af;
    line-height: 1.8;
}

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

.site-footer li {
    margin: 0 0 10px;
}

.site-footer a:hover {
    color: var(--amber-400);
}

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

[data-movie-card].is-hidden {
    display: none;
}

@media (max-width: 1180px) {
    .hero-grid,
    .split-layout,
    .detail-grid {
        grid-template-columns: 1fr;
    }

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

    .rank-panel,
    .info-card {
        position: static;
    }

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

@media (max-width: 960px) {
    .nav-links,
    .header-search {
        display: none;
    }

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

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

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, var(--max-width));
    }

    .brand-text {
        font-size: 17px;
    }

    .hero {
        padding: 54px 0 62px;
    }

    .hero-stage {
        min-height: 460px;
        border-radius: 24px;
    }

    .hero-slide-content {
        padding: 24px;
    }

    .hero-slide-content h2 {
        font-size: 26px;
    }

    .section-heading,
    .category-overview-head,
    .detail-title-line {
        align-items: flex-start;
        flex-direction: column;
    }

    .movie-grid,
    .movie-grid-wide,
    .category-grid,
    .related-grid,
    .category-page-grid,
    .footer-grid,
    .filter-card,
    .rank-filter {
        grid-template-columns: 1fr;
    }

    .rank-item a,
    .slim-rank .rank-item a {
        grid-template-columns: 40px 62px minmax(0, 1fr);
    }

    .rank-item strong {
        grid-column: 3;
    }

    .detail-content,
    .category-overview-card {
        padding: 22px;
    }

    .cover-caption {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }
}
