:root {
  --bg: #fff7ed;
  --bg-soft: #fff1f2;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --orange: #f97316;
  --pink: #ec4899;
  --blue: #3b82f6;
  --yellow: #fbbf24;
  --green: #22c55e;
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
  --soft-shadow: 0 10px 30px rgba(249, 115, 22, 0.13);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(251, 191, 36, 0.22), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(236, 72, 153, 0.18), transparent 28%),
    linear-gradient(135deg, #fff7ed 0%, #fff1f2 48%, #eff6ff 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -1;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, rgba(255, 247, 237, 0.94), rgba(253, 242, 248, 0.94), rgba(239, 246, 255, 0.94));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(251, 146, 60, 0.22);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}

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

.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #fdba74, #f472b6);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.28);
  transform: translateZ(0);
  transition: transform 0.25s ease;
}

.brand-icon.small {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(4deg);
}

.brand-name {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 850;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
}

.nav-link {
  color: #374151;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.local-search-input {
  border: 1px solid rgba(251, 146, 60, 0.35);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  border-radius: 999px;
  outline: none;
  min-width: 220px;
  padding: 11px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.local-search-input:focus {
  border-color: rgba(249, 115, 22, 0.75);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
  background: #ffffff;
}

.header-search button,
.mobile-search button {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 237, 213, 0.8);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #7c2d12;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(251, 146, 60, 0.22);
  padding: 16px;
}

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

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mobile-link {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: #374151;
  font-weight: 700;
}

.mobile-link.active,
.mobile-link:hover {
  color: var(--orange);
  background: #fff7ed;
}

main {
  padding-bottom: 12px;
}

.hero-section {
  padding: 32px 0 18px;
}

.hero-frame {
  position: relative;
  height: min(66vw, 520px);
  min-height: 390px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.02);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.62) 44%, rgba(15, 23, 42, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68) 0%, transparent 55%);
}

.hero-copy {
  position: absolute;
  left: clamp(24px, 6vw, 68px);
  bottom: clamp(28px, 6vw, 70px);
  width: min(680px, calc(100% - 48px));
  color: #ffffff;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fde68a;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.04;
  font-weight: 900;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-copy p {
  margin: 0 0 18px;
  max-width: 670px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.72;
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-btn,
.ghost-btn,
.section-more,
.callout-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  padding: 13px 26px;
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.27);
}

.primary-btn:hover,
.section-more:hover,
.callout-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(236, 72, 153, 0.22);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(249, 115, 22, 0.82);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

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

.hero-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hero-thumb {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.hero-thumb img {
  width: 74px;
  height: 66px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 auto;
}

.hero-thumb span {
  font-weight: 800;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-section {
  margin-top: 54px;
}

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

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

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #ec4899);
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.18);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

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

.section-more {
  flex: 0 0 auto;
  padding: 10px 18px;
  color: #ffffff;
  background: linear-gradient(90deg, #fb923c, #f472b6);
}

.block-more {
  width: 100%;
  margin-top: 18px;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(31, 41, 55, 0.16);
}

.movie-card.is-hidden {
  display: none;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #fed7aa, #fbcfe8);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 56%);
  opacity: 0.85;
}

.card-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.25);
}

.rank-badge {
  left: auto;
  right: 12px;
  width: 32px;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 16px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

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

.card-body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.card-meta {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  justify-content: space-between;
}

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

.ranking-panel,
.side-box,
.side-poster-card,
.detail-card,
.player-card,
.filter-toolbar {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.ranking-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ranking-title h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

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

.movie-card-compact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 94px;
}

.movie-card-compact .poster-wrap {
  aspect-ratio: auto;
  height: 100%;
}

.movie-card-compact .card-body {
  padding: 11px;
}

.movie-card-compact .card-body p,
.movie-card-compact .tag-row {
  display: none;
}

.movie-card-compact .card-meta {
  justify-content: flex-start;
}

.movie-card-compact .card-badge {
  display: none;
}

.movie-card-compact .play-mark {
  width: 38px;
  height: 38px;
  opacity: 0.9;
  transform: translate(-50%, -50%) scale(0.9);
}

.pastel-section {
  border-radius: 32px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--soft-shadow);
}

.blue-section {
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.92), rgba(207, 250, 254, 0.72));
}

.warm-section {
  background: linear-gradient(135deg, rgba(252, 231, 243, 0.92), rgba(255, 237, 213, 0.82));
}

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

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

.category-tile {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 126px;
  overflow: hidden;
}

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

.category-info {
  padding: 18px;
}

.category-info h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.category-info p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.category-info span {
  display: inline-flex;
  color: var(--orange);
  font-weight: 900;
}

.callout-section,
.inner-hero {
  border-radius: 32px;
  padding: clamp(32px, 5vw, 58px);
  background: linear-gradient(120deg, rgba(255, 237, 213, 0.9), rgba(252, 231, 243, 0.86), rgba(219, 234, 254, 0.78));
  box-shadow: var(--soft-shadow);
}

.callout-section {
  text-align: center;
}

.callout-section h2,
.inner-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.callout-section p,
.inner-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.callout-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.callout-links a {
  padding: 12px 20px;
  color: #ffffff;
  background: linear-gradient(90deg, #3b82f6, #ec4899);
}

.small-hero,
.category-hero,
.ranking-hero,
.search-hero {
  margin-top: 32px;
}

.toolbar-section {
  margin-top: 26px;
}

.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.filter-toolbar .local-search-input {
  flex: 1 1 320px;
  min-width: 0;
}

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

.filter-chip {
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  color: #64748b;
  background: #f3f4f6;
  font-weight: 850;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  transform: translateY(-1px);
}

.empty-state {
  display: none;
  margin-top: 22px;
  padding: 44px 24px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

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

.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--orange);
  font-weight: 800;
}

.player-card {
  padding: 14px;
  margin-bottom: 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay.player-overlay-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.big-play {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  color: #ffffff;
  font-size: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 20px 42px rgba(236, 72, 153, 0.35);
}

.detail-card {
  padding: clamp(22px, 4vw, 34px);
}

.detail-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.detail-category {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  color: #ffffff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.detail-card h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.small-btn {
  padding: 10px 16px;
  font-size: 14px;
}

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

.detail-meta span {
  color: #6b7280;
  background: #f3f4f6;
}

.detail-tags {
  margin-bottom: 22px;
}

.detail-card h2 {
  margin: 24px 0 10px;
  font-size: 22px;
  font-weight: 900;
}

.detail-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.95;
  font-size: 16px;
}

.detail-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.side-poster-card {
  overflow: hidden;
}

.side-poster-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.side-poster-card div {
  padding: 18px;
}

.side-poster-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.side-poster-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.side-box {
  padding: 18px;
}

.side-box h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 900;
}

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

.site-footer {
  margin-top: 72px;
  background: linear-gradient(90deg, rgba(255, 237, 213, 0.92), rgba(252, 231, 243, 0.92), rgba(219, 234, 254, 0.86));
  border-top: 1px solid rgba(251, 146, 60, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 46px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 950;
  font-size: 20px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  color: #64748b;
  line-height: 1.8;
}

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

.site-footer a {
  color: #64748b;
  font-weight: 700;
}

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

.footer-bottom {
  padding: 18px;
  text-align: center;
  color: #64748b;
  border-top: 1px solid rgba(251, 146, 60, 0.18);
}

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

  .header-search {
    margin-left: auto;
  }

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

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

  .ranking-panel,
  .detail-side {
    position: static;
  }

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

@media (max-width: 820px) {
  .nav-bar {
    min-height: 66px;
  }

  .header-search {
    display: none;
  }

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

  .hero-frame {
    min-height: 430px;
    height: 72vh;
    border-radius: 26px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.48) 66%, rgba(15, 23, 42, 0.24) 100%);
  }

  .hero-copy {
    left: 22px;
    bottom: 58px;
    width: calc(100% - 44px);
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

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

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

  .filter-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-headline {
    flex-direction: column;
  }
}

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

  .brand-icon {
    width: 36px;
    height: 36px;
  }

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

  .hero-section {
    padding-top: 18px;
  }

  .hero-frame {
    min-height: 460px;
    border-radius: 22px;
  }

  .hero-meta span {
    min-height: 26px;
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .hero-thumbs,
  .featured-grid,
  .compact-grid,
  .category-grid,
  .category-grid-large {
    grid-template-columns: 1fr;
  }

  .movie-card-compact {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .poster-wrap {
    aspect-ratio: 16 / 11;
  }

  .inner-hero,
  .callout-section,
  .pastel-section {
    border-radius: 24px;
    padding: 26px 20px;
  }

  .page-section {
    margin-top: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 34px 0;
  }

  .mobile-links {
    grid-template-columns: 1fr;
  }
}
