* {
    box-sizing: border-box;
}

:root {
    --amber-900: #78350f;
    --amber-800: #92400e;
    --amber-700: #b45309;
    --amber-600: #d97706;
    --amber-500: #f59e0b;
    --orange-700: #c2410c;
    --orange-600: #ea580c;
    --cream: #fff7ed;
    --paper: #ffffff;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --soft: #fffbeb;
    --shadow: 0 16px 50px rgba(120, 53, 15, 0.13);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 45%, #fef3c7 100%);
    min-height: 100vh;
}

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

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

button,
input,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--amber-900), var(--orange-700), var(--amber-800));
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(120, 53, 15, 0.24);
}

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

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

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand strong {
    display: block;
    font-size: 24px;
    letter-spacing: 0.03em;
}

.brand em {
    display: block;
    margin-top: 2px;
    font-style: normal;
    font-size: 12px;
    color: #fde68a;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.desktop-nav a {
    padding: 10px 13px;
    border-radius: 12px;
    font-size: 14px;
    color: #fff7ed;
    transition: background 0.2s ease, color 0.2s ease;
}

.desktop-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fef3c7;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #ffffff;
    border-radius: 999px;
}

.mobile-nav {
    display: none;
    padding: 0 16px 16px;
    background: rgba(120, 53, 15, 0.98);
}

.mobile-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #fff7ed;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.35), transparent 26%), linear-gradient(135deg, #451a03 0%, #9a3412 48%, #78350f 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.08)), radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.2), transparent 28%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    gap: 48px;
    min-height: 620px;
    align-items: center;
    padding: 64px 0;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fde68a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.eyebrow {
    color: var(--amber-700);
    background: #fef3c7;
}

.hero h1 {
    margin: 22px 0 18px;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p {
    margin: 0;
    max-width: 660px;
    color: #ffedd5;
    font-size: 20px;
    line-height: 1.8;
}

.hero-search {
    display: flex;
    gap: 12px;
    max-width: 620px;
    margin: 30px 0 22px;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 14px 16px;
    border-radius: 16px;
    color: #ffffff;
    background: transparent;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.hero-search button,
.primary-link,
.section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    padding: 13px 20px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(194, 65, 12, 0.25);
}

.section-more {
    padding: 10px 16px;
    border-radius: 14px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badges span {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff7ed;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.hero-panel {
    position: relative;
}

.hero-stage {
    position: relative;
    height: 520px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
    background: #111827;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.45s ease, transform 0.75s ease;
}

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

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

.hero-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12) 56%, rgba(0, 0, 0, 0.18));
}

.hero-slide-copy {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    display: grid;
    gap: 8px;
}

.hero-slide-copy strong {
    font-size: 30px;
    line-height: 1.15;
}

.hero-slide-copy em {
    font-style: normal;
    color: #fde68a;
}

.hero-slide-copy span {
    color: #fef3c7;
    line-height: 1.7;
}

.hero-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.hero-controls button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    font-size: 28px;
}

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

.hero-dot {
    width: 10px !important;
    height: 10px !important;
    padding: 0 !important;
    font-size: 0 !important;
    background: rgba(255, 255, 255, 0.42) !important;
}

.hero-dot.is-active {
    width: 28px !important;
    background: #fbbf24 !important;
}

.page-hero {
    color: #ffffff;
    background: linear-gradient(135deg, #78350f, #c2410c 56%, #92400e);
    padding: 72px 0;
    text-align: center;
}

.page-hero h1 {
    margin: 20px auto 14px;
    max-width: 900px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

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

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

.soft-section {
    background: rgba(255, 255, 255, 0.42);
}

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

.section-head h2 {
    margin: 14px 0 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

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

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

.movie-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 70px rgba(120, 53, 15, 0.2);
}

.poster-wrap {
    position: relative;
    display: block;
    height: 255px;
    overflow: hidden;
    background: #111827;
}

.movie-card-large .poster-wrap {
    height: 330px;
}

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

.movie-card:hover .poster-wrap img,
.editor-card:hover img,
.category-card:hover img,
.mini-card:hover img,
.rank-card:hover img {
    transform: scale(1.08);
}

.poster-wrap::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.movie-card:hover .poster-wrap::after {
    opacity: 1;
}

.badge,
.duration {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: var(--amber-600);
}

.duration {
    top: 12px;
    right: 12px;
    padding: 6px 9px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
}

.play-mark {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--amber-600);
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.movie-body strong {
    color: #111827;
    font-size: 17px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-line {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.movie-meta span,
.movie-score span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f3f4f6;
}

.movie-score span:first-child {
    color: #92400e;
    background: #fef3c7;
}

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

.category-card {
    position: relative;
    min-height: 210px;
    border-radius: 24px;
    overflow: hidden;
    color: #ffffff;
    background: #111827;
    box-shadow: var(--shadow);
}

.category-card img,
.category-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
}

.category-card span {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.category-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.category-card em {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: normal;
    color: #fde68a;
    font-size: 13px;
    line-height: 1.6;
}

.ranking-entry {
    background: linear-gradient(135deg, rgba(253, 230, 138, 0.78), rgba(255, 237, 213, 0.78));
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    align-items: center;
}

.ranking-copy h2 {
    margin: 18px 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.ranking-copy p {
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 24px;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 25px rgba(120, 53, 15, 0.08);
}

.rank-num,
.rank-card-num {
    color: var(--amber-700);
    font-weight: 900;
    font-size: 22px;
}

.rank-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.rank-info {
    color: var(--muted);
    font-size: 13px;
}

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

.editor-card {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.editor-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.editor-card span {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 24px;
}

.editor-card em {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--amber-600);
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}

.editor-card strong {
    font-size: 23px;
    line-height: 1.3;
}

.editor-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.category-overview-grid {
    display: grid;
    gap: 24px;
}

.category-overview-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.category-cover {
    height: 240px;
    overflow: hidden;
    border-radius: 22px;
    background: #111827;
}

.category-overview-body h2 {
    margin: 10px 0;
    font-size: 30px;
}

.category-overview-body p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.8;
}

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

.mini-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    padding: 8px;
    border-radius: 16px;
    background: #f9fafb;
    transition: background 0.2s ease;
}

.mini-card:hover {
    background: #fff7ed;
}

.mini-card img {
    width: 96px;
    height: 62px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.mini-card strong {
    display: block;
    color: #111827;
    line-height: 1.35;
}

.mini-card em {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 220px));
    gap: 14px;
    align-items: end;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.filter-bar label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.filter-bar input,
.filter-bar select {
    width: 100%;
    border: 1px solid var(--line);
    outline: 0;
    border-radius: 16px;
    padding: 13px 14px;
    color: #111827;
    background: #ffffff;
}

.filter-bar input:focus,
.filter-bar select:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.empty-state {
    display: none;
    padding: 28px;
    border-radius: 22px;
    text-align: center;
    color: var(--muted);
    background: #ffffff;
}

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

.pager-links,
.detail-pager {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.pager-links a,
.detail-pager a {
    padding: 12px 16px;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    font-weight: 800;
}

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

.rank-card {
    display: grid;
    grid-template-columns: 64px 112px minmax(0, 1fr) 70px;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.rank-card img {
    width: 112px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.35s ease;
}

.rank-card-body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rank-card-body strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 18px;
}

.rank-card-body em,
.rank-card-body span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.rank-card-score {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    font-weight: 900;
}

.breadcrumb {
    background: #111827;
    color: #d1d5db;
}

.breadcrumb .container {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
}

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

.detail-section {
    padding: 34px 0 64px;
}

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

.player-shell {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #000000;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

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

.player-start {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 86px;
    height: 86px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
    transform: translate(-50%, -50%);
    cursor: pointer;
    font-size: 32px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.player-start:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.player-shell.is-playing .player-start,
.player-shell.is-loading .player-start {
    opacity: 0;
    pointer-events: none;
}

.player-status {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 5;
    display: none;
    padding: 12px 14px;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(12px);
    text-align: center;
}

.player-status.is-visible {
    display: block;
}

.detail-card,
.side-card {
    margin-top: 22px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.detail-card {
    padding: 28px;
}

.detail-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px;
}

.detail-labels span {
    padding: 7px 11px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--amber-600);
    font-size: 13px;
    font-weight: 800;
}

.detail-card h1 {
    margin: 0 0 12px;
    color: #111827;
    font-size: clamp(30px, 5vw, 50px);
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.detail-one-line {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.8;
}

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

.detail-meta span {
    padding: 8px 11px;
    border-radius: 999px;
    color: #92400e;
    background: #fef3c7;
    font-size: 13px;
    font-weight: 800;
}

.detail-block {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.detail-block h2,
.side-card h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 22px;
}

.detail-block p,
.side-card p {
    margin: 0;
    color: #374151;
    line-height: 1.95;
    white-space: pre-line;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list span {
    padding: 8px 12px;
    border-radius: 999px;
    color: #374151;
    background: #f3f4f6;
    font-size: 13px;
}

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

.side-card {
    padding: 20px;
}

.side-card + .side-card {
    margin-top: 18px;
}

.side-category .primary-link {
    margin-top: 16px;
}

.site-footer {
    color: #d1d5db;
    background: linear-gradient(90deg, #111827, #1f2937, #111827);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 36px;
    padding: 48px 0 34px;
}

.footer-brand {
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
}

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

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

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.site-footer a:hover {
    color: #fbbf24;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 14px;
}

[hidden] {
    display: none !important;
}

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

    .mobile-toggle {
        display: block;
    }

    .mobile-nav.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

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

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

    .detail-side {
        position: static;
    }

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

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

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

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

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

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

    .brand em {
        display: none;
    }

    .hero-inner {
        padding: 42px 0;
        gap: 30px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-search {
        flex-direction: column;
        border-radius: 18px;
    }

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

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

    .movie-grid,
    .featured-grid,
    .category-grid,
    .editor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .poster-wrap,
    .movie-card-large .poster-wrap {
        height: 250px;
    }

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

    .category-cover {
        height: 220px;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

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

    .rank-info,
    .rank-card-score {
        grid-column: 2;
    }

    .rank-card img {
        grid-row: span 2;
        width: 76px;
        height: 96px;
    }

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

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

@media (max-width: 520px) {
    .mobile-nav.is-open {
        grid-template-columns: 1fr;
    }

    .movie-grid,
    .featured-grid,
    .category-grid,
    .editor-grid {
        grid-template-columns: 1fr;
    }

    .poster-wrap,
    .movie-card-large .poster-wrap {
        height: 360px;
    }

    .hero-stage {
        height: 380px;
    }

    .hero-slide-copy strong {
        font-size: 24px;
    }

    .detail-card {
        padding: 20px;
    }

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