:root {
  --cyan-50: #ecfeff;
  --cyan-100: #cffafe;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 4px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 22px 50px rgba(15, 23, 42, 0.18);
  --radius-lg: 18px;
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-600), var(--blue-600));
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.3);
}

.brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand-text strong {
  display: block;
  max-width: 260px;
  color: transparent;
  overflow: hidden;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--cyan-600), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-text small {
  color: var(--gray-500);
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 12px;
  color: var(--gray-700);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan-700);
  background: linear-gradient(90deg, rgba(236, 254, 255, 0.95), rgba(239, 246, 255, 0.95));
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 10px 16px 16px;
  border-top: 1px solid var(--gray-200);
}

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

.mobile-nav-link {
  padding: 12px 16px;
  color: var(--gray-700);
  background: var(--white);
  border-radius: 12px;
  font-weight: 700;
}

.mobile-nav-link.active {
  color: var(--cyan-700);
  background: var(--cyan-50);
}

.hero-section {
  position: relative;
  min-height: 700px;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, #0891b2 0%, #2563eb 52%, #1e40af 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-glow-one {
  top: 8%;
  right: 8%;
  width: 340px;
  height: 340px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-glow-two {
  bottom: 16%;
  left: -120px;
  width: 420px;
  height: 420px;
  background: rgba(34, 211, 238, 0.46);
}

.hero-container {
  position: relative;
  z-index: 2;
  padding: 84px 0 120px;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  display: none;
  align-items: center;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.76fr);
  gap: 48px;
  min-height: 470px;
}

.hero-slide.active {
  display: grid;
  animation: fadeUp 0.52s ease both;
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.hero-copy h2 {
  margin: 20px 0 8px;
  color: var(--cyan-100);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 850;
}

.hero-copy p {
  max-width: 760px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.hero-lead {
  font-size: clamp(19px, 2vw, 25px) !important;
}

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

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  color: var(--cyan-700);
  background: var(--cyan-50);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags .tag-pill {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
}

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

.btn-light {
  color: var(--blue-700);
  background: var(--white);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.82);
}

.btn-outline:hover {
  color: var(--blue-700);
  background: var(--white);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--cyan-600), var(--blue-600));
}

.hero-poster {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-poster img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.62));
}

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

.hero-play,
.play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--cyan-700);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%);
}

.hero-play {
  width: 82px;
  height: 82px;
  font-size: 30px;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.24s ease, background 0.24s ease;
}

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

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 720px;
  margin-top: 28px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.hero-search input {
  width: 100%;
  min-height: 48px;
  color: var(--white);
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 14px;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search button {
  color: var(--blue-700);
  background: var(--white);
  border: 0;
  border-radius: 16px;
  padding: 0 24px;
  font-weight: 850;
  cursor: pointer;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-quick-links a {
  color: var(--white);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  line-height: 0;
}

.section {
  padding: 72px 0;
}

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

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

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

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

.stat-card {
  padding: 24px 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--gray-50), var(--white));
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.stat-card strong {
  display: block;
  color: var(--gray-800);
  font-size: 30px;
  line-height: 1.1;
}

.stat-card span {
  color: var(--gray-600);
  font-size: 14px;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0 0 8px;
  color: var(--gray-800);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

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

.section-heading.centered {
  text-align: center;
}

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

.section-heading.compact {
  margin-bottom: 20px;
}

.text-link {
  color: var(--cyan-700);
  font-weight: 850;
}

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

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

.small-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.movie-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  border-color: rgba(8, 145, 178, 0.28);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-media,
.featured-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cyan-600), var(--blue-600));
  aspect-ratio: 16 / 10;
}

.card-media img,
.featured-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s ease;
}

.movie-card:hover .card-media img,
.movie-card:hover .featured-media img {
  transform: scale(1.1);
}

.card-media::after,
.featured-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.56));
}

.card-badge,
.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--cyan-600);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.year-badge {
  right: 12px;
  left: auto;
  background: rgba(17, 24, 39, 0.74);
}

.rank-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.play-mark {
  width: 46px;
  height: 46px;
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.play-mark.large {
  width: 66px;
  height: 66px;
  font-size: 22px;
}

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

.card-body {
  padding: 18px;
}

.card-body h3,
.wide-content h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 8px;
  color: var(--gray-800);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.22s ease;
}

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

.card-body p,
.wide-content p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

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

.category-card {
  display: block;
  min-height: 154px;
  padding: 24px;
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--white), var(--cyan-50));
  border: 1px solid rgba(6, 182, 212, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 900;
}

.category-card p {
  margin: 0 0 14px;
  color: var(--gray-600);
}

.category-card em {
  color: var(--cyan-700);
  font-style: normal;
  font-weight: 850;
}

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

.movie-card-wide {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
}

.wide-media {
  aspect-ratio: auto;
  min-height: 138px;
}

.wide-content {
  padding: 22px 24px;
}

.page-hero {
  color: var(--white);
  background: linear-gradient(120deg, var(--cyan-600), var(--blue-600));
  padding: 56px 0;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--cyan-50);
  font-size: 19px;
}

.content-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  padding: 34px 0 72px;
}

.filter-panel {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.filter-panel h2,
.filter-panel h3 {
  margin: 0 0 14px;
  color: var(--gray-800);
}

.filter-panel h3 {
  margin-top: 22px;
  font-size: 15px;
}

.search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-700);
  font-weight: 800;
}

.list-search,
.sort-select,
.support-form input,
.support-form textarea {
  width: 100%;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  outline: 0;
  padding: 11px 13px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.list-search:focus,
.sort-select:focus,
.support-form input:focus,
.support-form textarea:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.filter-stack,
.mini-filter-row {
  display: grid;
  gap: 8px;
}

.mini-filter-row {
  grid-template-columns: repeat(2, 1fr);
}

.filter-btn,
.mini-filter {
  width: 100%;
  padding: 10px 12px;
  color: var(--gray-700);
  text-align: left;
  background: var(--gray-50);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.22s ease, background 0.22s ease;
}

.filter-btn:hover,
.filter-btn.active,
.mini-filter:hover,
.mini-filter.active {
  color: var(--white);
  background: var(--cyan-600);
}

.listing-area {
  min-width: 0;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.list-toolbar h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: 28px;
}

.sort-select {
  max-width: 190px;
}

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

.hidden-card {
  display: none !important;
}

.category-overview {
  padding: 52px 0 72px;
}

.category-overview-block {
  margin-bottom: 44px;
}

.ranking-page {
  padding: 52px 0 72px;
}

.big-ranking {
  gap: 18px;
}

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

.detail-hero {
  color: var(--white);
  background: linear-gradient(120deg, var(--cyan-600), var(--blue-700));
  padding: 52px 0 64px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.detail-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

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

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

.detail-info h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--cyan-50);
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.detail-meta span {
  padding: 7px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 800;
}

.detail-tags .tag-pill {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.player-section {
  background: var(--gray-900);
  padding: 42px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #020617;
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  aspect-ratio: 16 / 9;
}

.movie-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #020617;
}

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

.player-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  color: var(--cyan-700);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  font-size: 32px;
  box-shadow: var(--shadow-md);
}

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

.player-shell.is-playing .player-overlay {
  opacity: 0;
  visibility: hidden;
}

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

.detail-article,
.detail-side,
.prose-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.detail-article {
  padding: 32px;
}

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

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

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

.detail-side dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

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

.detail-side dd {
  margin: 0;
  color: var(--gray-800);
}

.detail-side a {
  color: var(--cyan-700);
  font-weight: 850;
}

.prose-page {
  padding: 52px 0 72px;
}

.prose-card {
  max-width: 860px;
  padding: 34px;
}

.support-form {
  display: grid;
  gap: 18px;
}


.site-footer {
  color: var(--gray-300);
  background: linear-gradient(180deg, var(--gray-900), #020617);
}

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

.brand-footer .brand-text strong {
  color: var(--white);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.brand-footer .brand-text small {
  color: var(--cyan-100);
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--gray-300);
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 17px;
}

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

.site-footer a {
  color: var(--gray-300);
  transition: color 0.22s ease;
}

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

.footer-bottom {
  padding: 18px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: var(--gray-500);
  font-size: 14px;
}

.support-form label {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-weight: 850;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .filter-panel {
    position: static;
  }

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

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

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

  .hero-container {
    padding: 54px 0 96px;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-slide {
    gap: 28px;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 330px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search button {
    min-height: 46px;
  }

  .section {
    padding: 52px 0;
  }

  .movie-grid,
  .featured-grid,
  .all-movies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section-heading.split,
  .list-toolbar {
    align-items: start;
    flex-direction: column;
  }

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

  .wide-content {
    padding: 16px;
  }

  .detail-cover {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-text small {
    display: none;
  }

  .hero-copy h1,
  .detail-info h1 {
    letter-spacing: -0.035em;
  }

  .hero-actions,
  .detail-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .movie-grid,
  .featured-grid,
  .all-movies-grid,
  .small-grid,
  .stats-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-wide {
    grid-template-columns: 1fr;
  }

  .wide-media {
    aspect-ratio: 16 / 10;
  }

  .page-hero {
    padding: 42px 0;
  }

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