:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(30, 41, 59, 0.9);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #94a3b8;
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.18);
  --blue: #3b82f6;
  --green: #22c55e;
  --red: #ef4444;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow-amber: 0 24px 70px rgba(245, 158, 11, 0.18);
  --shadow-blue: 0 24px 70px rgba(59, 130, 246, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #020617 0%, #0b1120 44%, #020617 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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: 80;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #111827;
  background: linear-gradient(135deg, #fde68a, #f59e0b, #fb923c);
  box-shadow: 0 0 34px rgba(245, 158, 11, 0.45);
}

.site-logo-text {
  font-size: 21px;
  background: linear-gradient(90deg, #fde68a, #fbbf24, #fdba74);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  color: #d1d5db;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(249, 115, 22, 0.95));
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.24);
}

.nav-link-soft {
  color: #fcd34d;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #e5e7eb;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

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

.mobile-link {
  display: block;
  padding: 13px 14px;
  border-radius: 12px;
  color: #e5e7eb;
}

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

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

.mobile-category-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.hero-slider {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #020617;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.04);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(59, 130, 246, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.65) 46%, rgba(2, 6, 23, 0.35)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.1) 36%, rgba(2, 6, 23, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 360px;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.32);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, #fff7ed, #fbbf24, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
}

.hero-copy p,
.page-hero p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

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

.primary-button,
.secondary-button,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  box-shadow: 0 20px 44px rgba(245, 158, 11, 0.28);
}

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

.secondary-button,
.section-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-blue), 0 28px 80px rgba(0, 0, 0, 0.45);
}

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

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  background: rgba(15, 23, 42, 0.72);
  font-size: 36px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(245, 158, 11, 0.88);
  transform: translateY(-50%) scale(1.05);
}

.hero-arrow-prev {
  left: 20px;
}

.hero-arrow-next {
  right: 20px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 7;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.36);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: #f59e0b;
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.18), rgba(88, 28, 135, 0.12));
}

.section-deep {
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.5), rgba(30, 64, 175, 0.22));
}

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

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.featured-grid,
.rank-mini-grid,
.movie-grid,
.category-grid,
.category-overview-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.88));
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: var(--shadow-amber);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.98));
}

.movie-card-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.movie-grid-wide .movie-card-cover {
  aspect-ratio: 16 / 10;
}

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

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

.movie-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 52%);
}

.movie-card-category,
.movie-card-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.movie-card-category {
  top: 12px;
  left: 12px;
  background: rgba(59, 130, 246, 0.86);
}

.movie-card-year {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.52);
}

.rank-badge {
  top: 12px;
  right: 12px;
  min-width: 34px;
  background: rgba(239, 68, 68, 0.9);
}

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

.movie-card-body h3 {
  min-height: 48px;
  margin: 0 0 10px;
  color: white;
  font-size: 17px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-body p {
  min-height: 44px;
  margin: 0 0 14px;
  color: #aab6c8;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card-meta,
.rank-row-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #94a3b8;
  font-size: 13px;
}

.movie-card-meta span,
.rank-row-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.category-card,
.category-overview-card,
.content-panel,
.filter-panel {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 20px;
}

.category-card::before,
.category-overview-card::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
}

.category-card a:first-child {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.category-card strong {
  font-size: 22px;
}

.category-card span {
  color: #cbd5e1;
  line-height: 1.6;
}

.category-card em {
  width: max-content;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #111827;
  background: #fbbf24;
  font-style: normal;
  font-weight: 900;
}

.category-samples {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-samples a {
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.accent-amber::before { background: linear-gradient(135deg, rgba(245, 158, 11, 0.85), transparent); }
.accent-blue::before { background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), transparent); }
.accent-purple::before { background: linear-gradient(135deg, rgba(168, 85, 247, 0.85), transparent); }
.accent-rose::before { background: linear-gradient(135deg, rgba(244, 63, 94, 0.85), transparent); }
.accent-red::before { background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), transparent); }
.accent-cyan::before { background: linear-gradient(135deg, rgba(6, 182, 212, 0.85), transparent); }
.accent-green::before { background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), transparent); }
.accent-pink::before { background: linear-gradient(135deg, rgba(236, 72, 153, 0.85), transparent); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.18), transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
}

.small-hero {
  padding: 82px 0 62px;
}

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

.breadcrumb a {
  color: #fbbf24;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 20px;
  border-radius: var(--radius-xl);
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.75fr));
  gap: 14px;
}

.filter-field {
  display: grid;
  gap: 8px;
}

.filter-field span {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

.filter-field input,
.filter-field select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.58);
  outline: none;
  padding: 0 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: rgba(245, 158, 11, 0.72);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.filter-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #94a3b8;
}

.filter-status strong {
  color: #fbbf24;
}

.empty-state {
  display: none;
  padding: 40px;
  text-align: center;
  color: #cbd5e1;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.62);
}

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

.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 24px;
}

.category-overview-head,
.category-overview-meta,
.category-overview-samples {
  position: relative;
  z-index: 2;
}

.category-overview-head h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.category-overview-head p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.category-overview-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0;
}

.category-overview-meta span {
  color: #fbbf24;
  font-size: 28px;
  font-weight: 900;
}

.category-overview-meta a {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

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

.category-overview-samples a {
  display: grid;
  gap: 7px;
}

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

.category-overview-samples span {
  color: #e5e7eb;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.rank-row-link {
  display: grid;
  grid-template-columns: 58px 92px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.rank-row-link:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(30, 41, 59, 0.92);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #111827;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  font-size: 18px;
  font-weight: 900;
}

.rank-row img {
  width: 92px;
  height: 110px;
  border-radius: 16px;
  object-fit: cover;
}

.rank-row-main h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rank-row-main p {
  margin: 0 0 12px;
  color: #aab6c8;
  line-height: 1.7;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 72px;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.38;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(1.1);
  transform: scale(1.08);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.68)), linear-gradient(0deg, #020617, transparent 45%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

.detail-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.detail-poster {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

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

.detail-info h1 {
  font-size: clamp(40px, 5.4vw, 72px);
}

.detail-one-line {
  max-width: 820px;
  margin: 18px 0 20px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  margin-bottom: 18px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: white;
  background: radial-gradient(circle, rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.7));
  transition: opacity 0.25s ease;
}

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

.play-circle {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #111827;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.38);
  font-size: 32px;
}

.player-overlay strong {
  max-width: 90%;
  font-size: 24px;
  text-align: center;
}

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

.content-panel {
  padding: 26px;
  border-radius: var(--radius-xl);
}

.content-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.content-panel p {
  margin: 0;
  color: #dbe3f0;
  font-size: 16px;
  line-height: 1.95;
}

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

.detail-neighbor-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.detail-neighbor-links a {
  padding: 11px 16px;
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}

.site-footer {
  padding: 60px 0 24px;
  color: #cbd5e1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.68), #000000);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.site-footer h2 {
  margin: 0 0 16px;
  color: #fbbf24;
  font-size: 19px;
}

.site-footer p,
.site-footer li {
  margin: 0;
  color: #94a3b8;
  line-height: 1.75;
}

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #64748b;
  font-size: 13px;
}

[hidden] {
  display: none !important;
}

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

  .mobile-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
  }

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

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

  .filter-field-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .hero-slider,
  .hero-content {
    min-height: 720px;
  }

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

  .hero-poster,
  .detail-poster {
    max-width: 280px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: 38px;
  }

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

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

  .rank-row-link {
    grid-template-columns: 48px 78px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-row img {
    width: 78px;
    height: 96px;
  }

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

@media (max-width: 560px) {
  .site-header-inner {
    height: 62px;
  }

  .site-logo-text {
    font-size: 18px;
  }

  .hero-slider,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 34px;
    padding-bottom: 54px;
  }

  .hero-arrow {
    display: none;
  }

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

  .movie-grid,
  .featured-grid,
  .rank-mini-grid,
  .category-grid,
  .related-grid,
  .category-overview-samples,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-cover,
  .movie-grid-wide .movie-card-cover {
    aspect-ratio: 16 / 10;
  }

  .page-hero {
    padding: 64px 0 48px;
  }

  .detail-hero {
    padding: 30px 0 54px;
  }

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

  .rank-number {
    width: max-content;
    padding: 0 14px;
  }

  .rank-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}
