* {
  box-sizing: border-box;
}

:root {
  --orange: #f97316;
  --pink: #ec4899;
  --rose: #f43f5e;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --radius-xl: 24px;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 45%, #fff1f2 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--rose));
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.28);
}

.site-nav {
  width: min(1240px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.22);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.nav-link.is-active,
.mobile-link.is-active {
  color: var(--orange);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.22);
}

.nav-search {
  width: min(260px, 25vw);
}

.nav-search input,
.mobile-search input,
.search-panel input,
.filter-input,
.filter-select {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--slate-900);
  padding: 11px 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.nav-search input::placeholder,
.mobile-search input::placeholder {
  color: #fb7185;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

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

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

main {
  min-height: 70vh;
}

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

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

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.42;
  pointer-events: none;
}

.hero::before {
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.55), transparent 65%);
}

.hero::after {
  bottom: -160px;
  left: -80px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.54), transparent 70%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.1) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.58) 45%, rgba(190, 24, 93, 0.2)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 48%, rgba(2, 6, 23, 0.68));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1240px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  gap: 48px;
  align-items: center;
  padding: 82px 0 92px;
}

.hero-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fed7aa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  backdrop-filter: blur(16px);
}

.hero-title {
  max-width: 760px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-title span,
.gradient-text {
  background: linear-gradient(90deg, #fdba74, #f9a8d4, #fb7185);
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 740px;
  margin: 0;
  color: #e2e8f0;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: var(--slate-900);
  background: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.22);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--rose));
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-tags span,
.tag-list span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #9f1239;
  background: #ffe4e6;
}

.hero-poster-card {
  position: relative;
  justify-self: end;
  width: min(360px, 100%);
  padding: 12px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.46);
  backdrop-filter: blur(18px);
}

.hero-poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
}

.hero-poster-meta {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(2, 6, 23, 0.72);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.4);
  backdrop-filter: blur(16px);
}

.hero-poster-meta strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.hero-poster-meta span {
  color: #fda4af;
  font-size: 13px;
  font-weight: 800;
}

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

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

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

.section {
  padding: 64px 0;
}

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

.section-warm {
  background: linear-gradient(135deg, #ffedd5, #fce7f3, #ffe4e6);
}

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

.section-title {
  margin: 10px 0 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-desc {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--slate-600);
  line-height: 1.8;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(236, 72, 153, 0.22);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #f9a8d4);
}

.poster-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.66));
  opacity: 0.85;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5.35;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-wrap img {
  transform: scale(1.08);
  filter: saturate(1.15);
}

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 48%;
  background: linear-gradient(0deg, rgba(236, 72, 153, 0.46), transparent);
}

.duration-pill,
.category-pill,
.rank-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: rgba(2, 6, 23, 0.66);
  backdrop-filter: blur(10px);
}

.duration-pill {
  right: 12px;
  bottom: 12px;
}

.category-pill {
  left: 12px;
  top: 12px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.rank-badge {
  left: 12px;
  bottom: 12px;
  min-width: 36px;
  justify-content: center;
  color: #7c2d12;
  background: #fed7aa;
}

.movie-info {
  padding: 18px 18px 20px;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0;
  overflow: hidden;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-info h3 a:hover {
  color: var(--orange);
}

.movie-info p {
  display: -webkit-box;
  min-height: 45px;
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.movie-meta span {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--slate-100);
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: 28px;
  align-items: start;
}

.rank-panel,
.search-panel,
.filter-panel,
.detail-card,
.content-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

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

.rank-panel h3 {
  margin: 0 0 18px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  color: var(--slate-700);
  background: linear-gradient(90deg, #fff7ed, #fff1f2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  background: linear-gradient(90deg, #fed7aa, #fbcfe8);
}

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

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

.rank-extra {
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border-radius: 28px;
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -72px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(236, 72, 153, 0.25));
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(249, 115, 22, 0.2);
}

.category-tile-name {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #c2410c;
  background: #ffedd5;
  font-size: 13px;
  font-weight: 900;
}

.category-tile strong {
  display: block;
  margin-top: 18px;
  font-size: 42px;
  letter-spacing: -0.06em;
}

.category-tile p {
  position: relative;
  z-index: 2;
  color: var(--slate-600);
  line-height: 1.7;
}

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

.category-samples span {
  max-width: 100%;
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 999px;
  color: #be123c;
  background: #ffe4e6;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-hero {
  padding: 72px 0 46px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.45), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.55), transparent 32%),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero h1 {
  max-width: 920px;
  margin: 14px 0 12px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--slate-200);
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 14px;
  margin: 0 0 28px;
  padding: 18px;
}

.filter-input,
.filter-select {
  border-radius: 16px;
  background: var(--slate-100);
  box-shadow: inset 0 0 0 1px var(--slate-200);
}

.search-panel {
  padding: 24px;
  margin-bottom: 30px;
}

.search-panel input {
  min-height: 58px;
  border-radius: 18px;
  background: var(--slate-100);
  font-size: 18px;
}

.search-results-status {
  margin: 14px 0 0;
  color: var(--slate-600);
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--white);
}

.detail-hero {
  padding: 48px 0 56px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.74), rgba(190, 24, 93, 0.38)),
    var(--detail-bg, linear-gradient(135deg, var(--slate-950), var(--slate-800));
  background-size: cover;
  background-position: center;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 350px);
  gap: 34px;
  align-items: end;
}

.detail-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.detail-desc {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--slate-200);
  font-size: 18px;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.16);
  padding: 12px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(16px);
}

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

.watch-section {
  padding: 48px 0 26px;
}

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

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

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.38), transparent 32%),
    rgba(2, 6, 23, 0.38);
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--pink));
  font-size: 34px;
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.4);
}

.play-overlay strong {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.56);
  backdrop-filter: blur(12px);
}

.player-shell.is-playing .play-overlay,
.player-shell.has-loaded .play-overlay {
  opacity: 0;
  visibility: hidden;
}

.player-note {
  margin-top: 14px;
  color: var(--slate-600);
  font-size: 14px;
}

.detail-card {
  padding: 24px;
}

.detail-card h2,
.content-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.detail-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-card div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
}

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

.detail-card dd {
  margin: 0;
  color: var(--slate-800);
  font-weight: 700;
}

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

.content-card {
  padding: 28px;
}

.content-card p {
  margin: 0 0 16px;
  color: var(--slate-700);
  font-size: 16px;
  line-height: 1.9;
}

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

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

.related-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(90deg, #fff7ed, #fff1f2);
}

.related-item:hover {
  color: var(--orange);
}

.related-item img {
  width: 82px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.related-item strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.related-item span {
  display: block;
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.no-results {
  display: none;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--slate-600);
  text-align: center;
  font-weight: 800;
}

.no-results.is-visible {
  display: block;
}

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

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 54px 0;
}

.footer-brand h2 {
  margin: 0 0 12px;
  width: max-content;
  font-size: 26px;
  background: linear-gradient(90deg, #fdba74, #f9a8d4);
  background-clip: text;
  color: transparent;
}

.footer-brand p,
.footer-col p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
}

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

.footer-col h3 {
  margin: 0 0 8px;
  color: #fdba74;
  font-size: 15px;
}

.footer-col a {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
}

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

  .home-split,
  .watch-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .rank-panel {
    position: static;
  }
}

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

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    height: 64px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster-card {
    justify-self: start;
    width: min(320px, 100%);
  }

  .section-head {
    display: block;
  }

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

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

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

@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }

  .hero {
    min-height: 710px;
  }

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

  .hero-title,
  .detail-title,
  .page-hero h1 {
    letter-spacing: -0.05em;
  }

  .movie-grid,
  .movie-grid.three-col,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-extra {
    grid-column: 2;
  }

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

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