:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --blue: #1e3a8a;
  --cyan: #0891b2;
  --pink: #db2777;
  --rose: #e11d48;
  --red: #dc2626;
  --violet: #7c3aed;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.10);
  --radius: 22px;
  --radius-sm: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0));
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
body:not(.home-page) .site-header {
  color: var(--slate-800);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
}

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

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

.brand-icon,
.footer-logo span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--amber), #f97316);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.34);
}

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

.brand-text strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 3px;
  color: currentColor;
  opacity: 0.72;
}

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

.nav-link,
.mobile-link {
  border-radius: 12px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 15px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.active,
body:not(.home-page) .site-header .nav-link:hover,
body:not(.home-page) .site-header .nav-link.active {
  color: var(--white);
  background: var(--blue);
}

.mobile-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  padding: 8px 16px 16px;
  background: var(--white);
  color: var(--slate-800);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

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

.mobile-link {
  padding: 12px 14px;
}

.mobile-link.active,
.mobile-link:hover {
  color: var(--white);
  background: var(--blue);
}

main {
  min-height: 60vh;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.30), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.60) 48%, rgba(2, 6, 23, 0.18)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.12) 60%);
}

.hero-copy {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  max-width: 1180px;
}

.hero-kicker,
.page-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.28);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  width: min(780px, 100%);
  margin: 18px 0 14px;
  font-size: clamp(40px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p {
  width: min(720px, 100%);
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

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

.primary-btn,
.ghost-btn,
.section-action,
.side-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber), #f97316);
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.30);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-action:hover,
.side-link:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.quick-panel {
  position: relative;
  z-index: 6;
  margin-top: -42px;
}

.quick-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.home-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.home-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: var(--slate-50);
  color: var(--slate-800);
  outline: none;
}

.home-search input {
  min-height: 52px;
  padding: 0 18px;
}

.home-search button {
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-links a {
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-weight: 700;
}

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

.section-white {
  background: var(--white);
}

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

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

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

.section-dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
}

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

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

.section-heading > div:first-child {
  min-width: 0;
}

.section-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--slate-600);
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.section-action,
.side-link {
  color: var(--white);
  background: var(--blue);
  white-space: nowrap;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-700));
}

.card-media img,
.featured-card img,
.rank-item img,
.rank-card-media img,
.detail-poster img,
.detail-backdrop,
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media img {
  transition: transform 0.35s ease;
}

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

.media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.62), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .media-shade {
  opacity: 1;
}

.type-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.70);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.card-body {
  padding: 16px;
}

.card-body h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.card-body h2 a:hover {
  color: var(--blue);
}

.card-body p {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--slate-600);
  font-size: 14px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--slate-500);
  font-size: 13px;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  color: var(--slate-600);
  background: var(--slate-100);
  backdrop-filter: none;
  padding: 5px 8px;
}

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

.featured-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--slate-900);
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.12));
}

.featured-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  color: var(--white);
}

.featured-content strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 30px;
  line-height: 1.1;
}

.featured-content em,
.featured-meta {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.featured-meta {
  margin-top: 10px;
  font-size: 14px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 86px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.rank-num {
  color: #fde68a;
  font-size: 22px;
  font-weight: 900;
}

.rank-item img {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

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

.rank-copy em {
  color: rgba(255, 255, 255, 0.66);
  font-style: normal;
  font-size: 13px;
}

.rank-heat {
  color: #fde68a;
  font-weight: 900;
}

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

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border-radius: var(--radius);
  padding: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-700));
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-thumbs {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0.28;
}

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

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.22));
}

.category-info {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: end;
}

.category-info strong {
  font-size: 26px;
  line-height: 1.1;
}

.category-info em {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

.tone-amber { background: linear-gradient(135deg, #92400e, #f59e0b); }
.tone-red { background: linear-gradient(135deg, #7f1d1d, #dc2626); }
.tone-blue { background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.tone-cyan { background: linear-gradient(135deg, #164e63, #0891b2); }
.tone-pink { background: linear-gradient(135deg, #831843, #db2777); }
.tone-slate { background: linear-gradient(135deg, #020617, #475569); }
.tone-violet { background: linear-gradient(135deg, #4c1d95, #7c3aed); }
.tone-rose { background: linear-gradient(135deg, #881337, #e11d48); }

.page-hero {
  padding: 148px 0 72px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.35), transparent 24%),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero-inner {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.page-hero p {
  width: min(760px, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 20px;
  background: var(--slate-50);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.filter-panel input,
.filter-panel select {
  min-height: 48px;
  padding: 0 14px;
}

.filter-selects {
  display: flex;
  gap: 12px;
}

.empty-state {
  display: none;
  margin: 28px 0 0;
  padding: 24px;
  border-radius: 18px;
  text-align: center;
  color: var(--slate-600);
  background: var(--slate-100);
}

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

.rank-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rank-card {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.rank-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--slate-900);
}

.rank-ribbon {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber), #f97316);
  font-weight: 900;
}

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

.rank-card-body h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rank-card-body p {
  margin: 0 0 12px;
  color: var(--slate-600);
}

.detail-hero {
  position: relative;
  min-height: 620px;
  padding: 136px 0 72px;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-950);
}

.detail-backdrop,
.detail-shade {
  position: absolute;
  inset: 0;
}

.detail-backdrop {
  filter: blur(2px);
  transform: scale(1.04);
}

.detail-shade {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.60)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.10));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: var(--slate-800);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.breadcrumb em {
  color: rgba(255, 255, 255, 0.92);
  font-style: normal;
}

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

.detail-one-line {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.detail-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
}

.detail-copy .primary-btn {
  margin-top: 24px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #000;
  box-shadow: var(--shadow);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  color: var(--white);
  background: #000;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.16));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(245, 158, 11, 0.94);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.34);
  transform: translate(-50%, -50%);
  font-size: 34px;
}

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

.detail-article,
.detail-side,
.prose-card {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-article,
.prose-card {
  padding: 30px;
}

.detail-article h2,
.detail-side h2,
.prose-card h2 {
  margin: 0 0 14px;
  color: var(--slate-900);
  font-size: 26px;
}

.detail-article p,
.prose-card p {
  margin: 0 0 20px;
  color: var(--slate-700);
  font-size: 17px;
}

.detail-side {
  padding: 24px;
  align-self: start;
}

.detail-side dl {
  margin: 0;
}

.detail-side dt {
  color: var(--slate-500);
  font-size: 13px;
}

.detail-side dd {
  margin: 4px 0 14px;
  color: var(--slate-900);
  font-weight: 800;
}

.side-link {
  width: 100%;
  margin-top: 10px;
}

.prose-card {
  max-width: 880px;
  margin: 0 auto;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 34px;
  padding: 52px 0 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.footer-brand p {
  max-width: 460px;
  margin: 16px 0 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 17px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 14px;
}

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

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

  .detail-inner {
    grid-template-columns: 280px 1fr;
  }
}

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

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-slider {
    min-height: 620px;
  }

  .hero-copy {
    bottom: 74px;
  }

  .hero-arrow {
    display: none;
  }

  .home-search,
  .filter-panel,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .featured-grid,
  .rank-grid,
  .compact-grid,
  .movie-grid,
  .category-movie-grid,
  .rank-card-grid,
  .category-grid,
  .category-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-poster {
    width: min(320px, 74vw);
  }

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

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

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

  .brand-icon,
  .footer-logo span {
    width: 38px;
    height: 38px;
  }

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

  .brand-text small {
    font-size: 12px;
  }

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

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

  .movie-grid,
  .compact-grid,
  .category-movie-grid,
  .rank-card-grid,
  .category-grid,
  .category-grid-large,
  .featured-grid,
  .rank-grid {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 38px 76px 1fr;
  }

  .rank-heat {
    display: none;
  }

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

  .player-button {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
