:root {
  --purple-950: #2e1065;
  --purple-900: #4c1d95;
  --purple-800: #5b21b6;
  --purple-700: #6d28d9;
  --purple-600: #9333ea;
  --purple-500: #a855f7;
  --purple-100: #f3e8ff;
  --purple-50: #faf5ff;
  --taro-500: #b794f6;
  --taro-300: #e0c3fc;
  --rose-400: #fb7185;
  --amber-400: #fbbf24;
  --ink: #1f2937;
  --muted: #667085;
  --line: rgba(147, 51, 234, 0.16);
  --shadow-soft: 0 2px 16px rgba(88, 28, 135, 0.08);
  --shadow-purple: 0 14px 44px rgba(147, 51, 234, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 48%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(76, 29, 149, 0.06);
}

.nav-wrap {
  max-width: 1180px;
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple-600), var(--taro-500));
  box-shadow: var(--shadow-purple);
  animation: float 4s ease-in-out infinite;
}

.brand-text,
.footer-brand {
  font-size: 22px;
  background: linear-gradient(90deg, var(--purple-700), var(--taro-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 650;
  color: #475467;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: var(--purple-600);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 14px);
  width: 230px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-purple);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 14px;
}

.dropdown-panel a:hover {
  background: linear-gradient(135deg, var(--taro-500), var(--taro-300));
  color: var(--purple-900);
}

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

.nav-search input,
.mobile-search input,
.home-search input,
.search-panel input,
.filter-input {
  width: 250px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: var(--purple-50);
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 16px;
  outline: none;
  transition: 0.2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.home-search input:focus,
.search-panel input:focus,
.filter-input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.22);
  background: #ffffff;
}

.nav-search button,
.mobile-search button,
.home-search button,
.search-panel button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple-600), var(--taro-500));
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(147, 51, 234, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--purple-50);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--purple-700);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 16px 22px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

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

.mobile-panel a {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--purple-50);
  color: #475467;
  font-weight: 700;
}

.mobile-search {
  display: flex;
  gap: 10px;
}

.mobile-search input {
  width: 100%;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-950), var(--purple-700) 48%, var(--taro-500));
}

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46, 16, 101, 0.92), rgba(76, 29, 149, 0.62), rgba(46, 16, 101, 0.16)), linear-gradient(0deg, rgba(46, 16, 101, 0.92), transparent 56%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2 + 22px));
  top: 50%;
  width: min(640px, calc(100vw - 48px));
  transform: translateY(-50%);
  color: #ffffff;
  animation: slideUp 0.8s ease both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--purple-900);
  background: linear-gradient(135deg, var(--taro-500), var(--taro-300));
  font-weight: 800;
  box-shadow: var(--shadow-purple);
}

.hero-content h1 {
  margin: 18px 0 14px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-content p {
  margin: 0 0 24px;
  max-width: 620px;
  color: #f3e8ff;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.hero-tags span,
.card-tags span,
.detail-tags span {
  display: inline-flex;
  border: 1px solid rgba(168, 85, 247, 0.18);
  color: var(--purple-700);
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 750;
}

.hero-tags span {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 850;
  transition: 0.25s ease;
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple-600), var(--taro-500));
  box-shadow: var(--shadow-purple);
}

.btn.ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.btn:hover,
.movie-card:hover,
.category-tile:hover,
.category-overview-card:hover,
.rank-item:hover {
  transform: translateY(-6px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  border-radius: 999px;
  background: #ffffff;
}

.cloud-pattern {
  position: absolute;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 120px;
  opacity: 0.18;
  color: #ffffff;
  pointer-events: none;
  background: radial-gradient(ellipse at 10% 70%, currentColor 0 22px, transparent 23px), radial-gradient(ellipse at 28% 72%, currentColor 0 32px, transparent 33px), radial-gradient(ellipse at 52% 76%, currentColor 0 26px, transparent 27px), radial-gradient(ellipse at 76% 70%, currentColor 0 34px, transparent 35px);
}

.cloud-pattern.top {
  top: 0;
}

.cloud-pattern.bottom {
  bottom: 0;
  transform: rotate(180deg);
}

.search-band {
  max-width: 1180px;
  margin: -44px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-purple);
  border: 1px solid var(--line);
}

.search-band span,
.page-hero span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--purple-600);
  font-weight: 850;
}

.search-band h2,
.section-heading h2,
.page-hero h1,
.story-block h2,
.side-card h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.search-band h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.search-band p,
.section-heading p,
.page-hero p,
.card-desc,
.card-meta,
.story-block p,
.site-footer p,
.category-overview-card p,
.category-tile small {
  color: var(--muted);
  line-height: 1.8;
}

.home-search,
.search-panel {
  display: flex;
  gap: 12px;
}

.home-search input,
.search-panel input {
  width: 100%;
  background: #ffffff;
}

.content-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px 0;
}

.content-section.cloud-card {
  margin-top: 72px;
  padding: 54px 22px;
  border-radius: 34px;
  background: linear-gradient(135deg, #f5f3ff, #ffffff 50%, #faf5ff);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.section-heading p {
  margin: 4px 0 0;
}

.section-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple-600), var(--taro-500));
  box-shadow: var(--shadow-purple);
  font-size: 24px;
  flex: 0 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff, var(--purple-50));
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  text-align: center;
  transition: 0.25s ease;
}

.category-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 20%, rgba(168, 85, 247, 0.28), transparent 55%);
  transition: 0.25s ease;
}

.category-tile:hover .category-glow {
  opacity: 1;
}

.category-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple-600), var(--taro-500));
  box-shadow: 0 10px 26px rgba(147, 51, 234, 0.26);
  font-size: 24px;
  position: relative;
}

.category-tile strong,
.category-overview-card h2 {
  position: relative;
  color: var(--ink);
  font-size: 17px;
}

.category-tile small {
  position: relative;
  font-size: 13px;
}

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

.feature-grid .movie-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.movie-card {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(147, 51, 234, 0.1);
  transition: 0.25s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow-purple);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-100), #ffffff);
}

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

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

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(46, 16, 101, 0.82);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 850;
}

.card-body {
  padding: 18px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.card-title a:hover {
  color: var(--purple-600);
}

.card-meta {
  margin: 0 0 10px;
  font-size: 13px;
}

.card-desc {
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}

.card-tags span {
  font-size: 12px;
  padding: 5px 9px;
}

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

.rank-grid.long-list {
  grid-template-columns: repeat(3, 1fr);
}

.rank-item {
  display: grid;
  grid-template-columns: 46px 76px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.rank-number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber-400), var(--rose-400));
  font-weight: 900;
}

.rank-item img {
  width: 76px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--purple-50);
}

.rank-copy {
  display: grid;
  gap: 7px;
}

.rank-copy strong {
  color: var(--ink);
  line-height: 1.35;
}

.rank-copy em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.section-more {
  margin-top: 28px;
  text-align: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 22px;
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff, var(--purple-50) 46%, #ede9fe);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.26), transparent 66%);
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero.slim {
  padding-top: 74px;
  padding-bottom: 74px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 18px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.category-hero .crumbs {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--taro-300);
}

.category-hero .crumbs a:hover {
  color: var(--purple-600);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.filter-input {
  width: min(420px, 100%);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--purple-700);
  background: var(--purple-50);
  cursor: pointer;
  font-weight: 800;
}

.filter-chip.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple-600), var(--taro-500));
}

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

.category-overview-card {
  min-height: 230px;
}

.category-overview-card h2 {
  margin: 4px 0 0;
}

.category-overview-card p {
  margin: 0;
}

.category-overview-card strong {
  color: var(--purple-600);
}

.search-page {
  padding-bottom: 44px;
}

.search-panel {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.search-summary {
  margin: 10px 0 24px;
  color: var(--purple-700);
  font-weight: 850;
}

.detail-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--purple-950);
}

.detail-hero > img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  opacity: 0.4;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46, 16, 101, 0.95), rgba(46, 16, 101, 0.55), rgba(46, 16, 101, 0.18)), linear-gradient(0deg, rgba(46, 16, 101, 0.95), transparent 56%);
}

.detail-copy {
  position: absolute;
  left: max(22px, calc((100vw - 1180px) / 2 + 22px));
  bottom: 68px;
  width: min(780px, calc(100vw - 44px));
  color: #ffffff;
}

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

.detail-copy p {
  max-width: 760px;
  margin: 0;
  color: #f3e8ff;
  font-size: 20px;
  line-height: 1.75;
}

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

.detail-meta span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(10px);
  font-weight: 750;
}

.detail-layout {
  max-width: 1180px;
  margin: -52px auto 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 24px;
  align-content: start;
}

.player-section,
.story-block,
.side-card,
.next-prev {
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.player-section {
  padding: 14px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.movie-player,
.player-cover,
.player-cover img,
.player-dim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-player {
  z-index: 1;
  background: #000000;
}

.player-cover {
  z-index: 2;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #000000;
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.72;
}

.player-dim {
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15), rgba(46, 16, 101, 0.76));
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--purple-700);
  background: #ffffff;
  box-shadow: var(--shadow-purple);
  font-size: 34px;
  transform: translate(-50%, -50%);
}

.story-block,
.side-card {
  padding: 28px;
}

.story-block h2,
.side-card h2 {
  margin-bottom: 14px;
  font-size: 26px;
}

.story-block p {
  margin: 0;
  font-size: 17px;
}

.side-card dl {
  margin: 0;
  display: grid;
  gap: 13px;
}

.side-card dt {
  color: var(--muted);
  font-size: 13px;
}

.side-card dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.side-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple-600), var(--taro-500));
  box-shadow: var(--shadow-purple);
  font-weight: 900;
}

.next-prev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
}

.next-prev a {
  padding: 16px;
  border-radius: 18px;
  background: var(--purple-50);
  color: var(--purple-700);
  font-weight: 800;
}

.next-prev a:hover {
  background: linear-gradient(135deg, var(--purple-600), var(--taro-500));
  color: #ffffff;
}

.site-footer {
  margin-top: 86px;
  padding: 54px 22px 22px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

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

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 8px 0;
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--purple-600);
}

.footer-bottom {
  max-width: 1180px;
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(-42%);
  }

  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

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

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

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

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

  .rank-grid.long-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .nav-wrap {
    height: 64px;
    padding: 0 16px;
  }

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

  .hero-carousel {
    min-height: 560px;
  }

  .hero-content {
    top: 54%;
  }

  .hero-arrow {
    display: none;
  }

  .search-band {
    margin: 0 14px;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .home-search,
  .search-panel,
  .filter-bar,
  .mobile-search {
    flex-direction: column;
  }

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

  .movie-grid,
  .rank-grid,
  .rank-grid.long-list {
    grid-template-columns: 1fr;
  }

  .feature-grid .movie-card:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .content-section,
  .content-section.cloud-card {
    padding-top: 50px;
  }

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

  .filter-input {
    width: 100%;
  }

  .detail-hero,
  .detail-hero > img {
    min-height: 560px;
    height: 560px;
  }

  .detail-copy {
    bottom: 46px;
  }

  .detail-copy p {
    font-size: 17px;
  }

  .detail-layout {
    margin-top: -28px;
  }

  .next-prev {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
    gap: 18px;
  }
}

@media (max-width: 460px) {
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

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

  .rank-item img {
    width: 66px;
    height: 88px;
  }
}
