:root {
  --blue-950: #172554;
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.site-header-inner {
  width: min(100% - 32px, var(--container));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--gray-900);
  white-space: nowrap;
}

.site-logo-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  font-size: 14px;
}

.site-logo-text {
  font-size: 20px;
  letter-spacing: -0.02em;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--blue-600);
}

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

.nav-search input,
.mobile-search input {
  width: 180px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus,
.hero-search input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.nav-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-600);
  cursor: pointer;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--blue-50);
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-700);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 16px;
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

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

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mobile-search input {
  flex: 1;
  width: auto;
}

.hero-section {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  padding-top: 76px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800) 48%, var(--blue-600));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAzMmMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnpNMCAyNGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnoiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLW9wYWNpdHk9Ii4xIiBzdHJva2Utd2lkdGg9IjIiLz48L2c+PC9zdmc+");
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.32), rgba(37, 99, 235, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--container));
  min-height: 524px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 52px;
}

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

.hero-eyebrow,
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-eyebrow {
  color: var(--blue-100);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-copy h1 {
  margin: 20px 0 22px;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  display: block;
  margin-top: 10px;
  color: #bfdbfe;
  font-size: clamp(28px, 4vw, 42px);
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 30px;
  color: #dbeafe;
  font-size: 20px;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--blue-900);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.button-outline {
  color: var(--white);
  background: rgba(29, 78, 216, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.button-primary {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.button-muted {
  color: var(--gray-900);
  background: var(--gray-100);
}

.hero-search {
  display: flex;
  width: min(100%, 640px);
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
}

.hero-search button {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--blue-700);
  cursor: pointer;
  font-weight: 800;
}

.hero-panel {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(18px);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #dbeafe;
  font-size: 14px;
}

.hero-panel-top strong {
  color: var(--white);
}

.hero-feature {
  position: relative;
  display: block;
  overflow: hidden;
  height: 430px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-feature img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.hero-feature-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.88));
}

.hero-feature-text {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.hero-feature-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.hero-feature-text em {
  display: block;
  margin-top: 8px;
  color: #dbeafe;
  font-style: normal;
  font-size: 14px;
}

.stats-section {
  padding: 34px 0;
  background: var(--gray-50);
}

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

.stat-card {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.stat-card strong {
  display: block;
  color: var(--blue-600);
  font-size: 34px;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--gray-600);
  font-weight: 700;
}

.content-section {
  padding: 68px 0;
  background: var(--white);
}

.soft-section {
  background: linear-gradient(135deg, var(--gray-50), var(--blue-50));
}

.hot-section {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  color: var(--white);
}

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

.section-heading h2 {
  margin: 0 0 8px;
  color: inherit;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--gray-600);
  font-size: 18px;
}

.hot-section .section-heading p {
  color: #bfdbfe;
}

.section-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-weight: 800;
}

.hot-section .section-action {
  color: var(--blue-900);
  background: var(--white);
}

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

.category-tile,
.category-overview-main {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 24px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-overview-main:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(37, 99, 235, 0.28);
}

.category-glow {
  position: absolute;
  right: -46px;
  top: -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.category-tile strong,
.category-overview-main strong {
  position: relative;
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.category-tile em,
.category-overview-main em {
  position: relative;
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--blue-900);
  background: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.category-tile span:last-child,
.category-overview-main p {
  position: relative;
  display: block;
  margin: 16px 0 0;
  color: #dbeafe;
  font-size: 14px;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.hot-section .movie-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--gray-900);
}

.movie-poster {
  position: relative;
  display: block;
  height: 286px;
  overflow: hidden;
  background: #dbeafe;
}

.movie-card-compact .movie-poster {
  height: 238px;
}

.movie-poster img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(37, 99, 235, 0.92);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #f97316, #dc2626);
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28);
}

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

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h3 a:hover {
  color: var(--blue-600);
}

.movie-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.movie-tags span,
.detail-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-size: 12px;
  font-weight: 800;
}

.page-main {
  padding-top: 76px;
}

.page-hero {
  padding: 78px 0 64px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.page-eyebrow {
  color: var(--blue-900);
  background: var(--blue-100);
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #dbeafe;
  font-size: 19px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.filter-panel {
  margin-bottom: 28px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hot-section .filter-panel {
  color: var(--gray-900);
}

.filter-title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 900;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 160px 150px 170px;
  gap: 12px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
}

.filter-count {
  margin: 12px 0 0;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 700;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.category-overview-main {
  display: block;
  min-height: 230px;
  border-radius: 0;
}

.category-samples {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
}

.category-samples a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--gray-700);
  background: var(--gray-50);
  font-weight: 700;
}

.category-samples a:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.detail-main {
  background: var(--gray-50);
}

.detail-hero-section {
  padding: 50px 0 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.detail-hero-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.detail-poster img {
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.detail-info {
  padding: 10px 0;
}

.detail-pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--blue-950);
  background: var(--blue-100);
  font-weight: 900;
  font-size: 14px;
}

.detail-info h1 {
  margin: 20px 0 16px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: 20px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.detail-meta-grid div {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-meta-grid span {
  display: block;
  color: #bfdbfe;
  font-size: 13px;
}

.detail-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 17px;
}

.player-section {
  padding-top: 52px;
}

.player-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.player-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.player-heading h2 {
  margin: 0;
  font-size: 24px;
}

.player-heading span {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--blue-700);
  background: var(--blue-50);
  font-weight: 900;
  font-size: 13px;
}

.video-shell {
  position: relative;
  background: var(--gray-950);
  aspect-ratio: 16 / 9;
}

.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: var(--gray-950);
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.18), rgba(3, 7, 18, 0.74));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-overlay-icon {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--white);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
  font-size: 24px;
}

.player-overlay strong {
  font-size: 20px;
}

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

.detail-article,
.detail-side-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.detail-article h2,
.detail-side-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-article p {
  margin: 0 0 24px;
  color: var(--gray-700);
  font-size: 17px;
}

.detail-side-card dl {
  margin: 0;
}

.detail-side-card dt {
  margin-top: 14px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 800;
}

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

.detail-side-card a {
  color: var(--blue-700);
}

.site-footer {
  padding: 44px 0;
  color: #d1d5db;
  background: var(--gray-900);
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 36px;
}

.footer-logo {
  color: var(--white);
}

.footer-brand p {
  max-width: 560px;
  margin: 16px 0 0;
  color: #9ca3af;
}

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

.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--white);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid a:hover {
  color: #93c5fd;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: none;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
  cursor: pointer;
}

.back-to-top.is-visible {
  display: block;
}

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

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

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

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }

  .hero-panel {
    max-width: 420px;
  }

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

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

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

  .detail-hero-card,
  .detail-content-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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

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

  .hero-section,
  .page-main {
    padding-top: 66px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

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

  .hero-search,
  .mobile-search,
  .hero-actions,
  .detail-actions,
  .section-heading,
  .player-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search button {
    width: 100%;
  }

  .stats-grid,
  .category-grid,
  .movie-grid,
  .compact-grid,
  .category-overview-grid,
  .category-overview-card,
  .filter-controls,
  .detail-meta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .movie-poster,
  .movie-card-compact .movie-poster {
    height: 320px;
  }

  .detail-poster img {
    min-height: auto;
  }

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