:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --red: #ef4444;
  --pink: #ec4899;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 68px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 12px 25px rgba(239, 68, 68, 0.28);
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(135deg, var(--orange-dark), var(--red));
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--orange-dark);
  background: #fff7ed;
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-more {
  border: 0;
  background: transparent;
}

.dropdown-panel {
  position: absolute;
  top: 46px;
  right: 0;
  width: 180px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: #475569;
}

.dropdown-panel a:hover {
  background: #fff7ed;
  color: var(--orange-dark);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.header-search input {
  width: 200px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 12px;
}

.header-search button,
.mobile-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.mobile-panel {
  display: none;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

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

.mobile-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.mobile-link {
  display: block;
  padding: 10px 4px;
  color: #475569;
  font-weight: 650;
}

.mobile-link.is-active {
  color: var(--orange-dark);
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #111827;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.68);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 38%, rgba(249, 115, 22, 0.34), transparent 28%),
    linear-gradient(115deg, rgba(17, 24, 39, 0.92) 0%, rgba(30, 41, 59, 0.72) 45%, rgba(239, 68, 68, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  min-height: 620px;
  margin: 0 auto;
  padding: 80px 22px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  align-items: center;
  gap: 48px;
  color: #ffffff;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 12px 0 20px;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow.blue {
  color: var(--blue);
}

.hero-tags,
.detail-tags,
.movie-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin: 24px 0 28px;
}

.hero-tags span,
.detail-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
}

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

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 14px 34px rgba(239, 68, 68, 0.34);
}

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

.btn-light {
  color: var(--orange-dark);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.14);
}

.hero-poster {
  display: block;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.hero-poster img {
  height: 520px;
  object-fit: cover;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

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

.section-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 22px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2,
.page-hero h1,
.category-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-head p {
  max-width: 700px;
  color: var(--muted);
}

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

.section-head.centered p {
  margin: 10px auto 0;
}

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

.more-link {
  color: var(--orange-dark);
  font-weight: 800;
}

.more-link.blue {
  color: var(--blue);
}

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

.category-tile,
.category-overview-card,
.category-hero,
.cta-band,
.page-hero {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.category-tile {
  min-height: 178px;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--soft-shadow);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.movie-card:hover,
.rank-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 900;
}

.category-tile strong,
.category-overview-card h2 {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

.category-tile em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.category-sample {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.gradient-warm {
  background: linear-gradient(135deg, #f97316, #ef4444, #ec4899);
}

.gradient-orange {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.gradient-rose {
  background: linear-gradient(135deg, #fb7185, #ef4444);
}

.gradient-blue {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.gradient-purple {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

.gradient-green {
  background: linear-gradient(135deg, #16a34a, #84cc16);
}

.gradient-pink {
  background: linear-gradient(135deg, #ec4899, #f97316);
}

.gradient-gold {
  background: linear-gradient(135deg, #ca8a04, #ea580c);
}

.gradient-cyan {
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.gradient-indigo {
  background: linear-gradient(135deg, #4f46e5, #9333ea);
}

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

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

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

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

.movie-card {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-link {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111827;
}

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

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

.year-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  left: 12px;
  right: auto;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.play-dot {
  position: absolute;
  inset: 0;
  width: 54px;
  height: 54px;
  margin: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.94);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.32);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-dot {
  opacity: 1;
  transform: scale(1);
}

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff7ed;
  font-size: 12px;
  font-weight: 700;
}

.movie-card-list .movie-link {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.movie-card-list .poster-wrap {
  height: 100%;
  min-height: 138px;
}

.soft-section {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.cta-band {
  max-width: 1180px;
  margin: 30px auto 70px;
  padding: 44px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.cta-band p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #f97316, #ef4444, #ec4899);
}

.rank-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 25%),
    linear-gradient(135deg, #111827, #f97316 58%, #ef4444);
}

.search-hero {
  background:
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #0f172a, #2563eb 55%, #06b6d4);
}

.page-hero-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 22px;
}

.page-hero p,
.category-hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.compact-hero {
  min-height: 300px;
}

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

.category-overview-card {
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--soft-shadow);
}

.category-main-link {
  display: block;
}

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

.category-overview-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
}

.category-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-picks a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
}

.category-hero {
  max-width: 1240px;
  margin: 34px auto 0;
  border-radius: 34px;
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 36px;
  box-shadow: var(--shadow);
}

.category-hero-copy h1 {
  margin: 10px 0 14px;
}

.category-hero-poster {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.category-hero-poster img {
  height: 230px;
  object-fit: cover;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px 190px auto;
  align-items: end;
  gap: 14px;
  padding: 16px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.filter-panel label {
  display: grid;
  gap: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.filter-input,
.filter-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  padding: 0 12px;
  background: #f8fafc;
  color: #111827;
}

.filter-input:focus,
.filter-select:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.filter-status {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.rank-section {
  padding-top: 20px;
}

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

.rank-row {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row a {
  display: grid;
  grid-template-columns: 60px 92px minmax(0, 1fr) minmax(200px, auto) 80px;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}

.rank-number {
  color: var(--orange-dark);
  font-size: 20px;
  font-weight: 900;
}

.rank-row img {
  width: 92px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-title {
  min-width: 0;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-meta {
  color: var(--muted);
  font-size: 14px;
}

.rank-row strong {
  color: var(--red);
  font-size: 18px;
}

.hidden {
  display: none !important;
}

.breadcrumb {
  max-width: 1240px;
  margin: 26px auto 16px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

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

.detail-top {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(0.42);
  transform: scale(1.08);
}

.detail-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(17, 24, 39, 0.92), rgba(249, 115, 22, 0.36));
}

.detail-layout {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 58px 22px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: center;
  gap: 38px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.38);
}

.detail-poster img {
  height: 420px;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.lead-text {
  margin: 0 0 22px;
  max-width: 830px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

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

.detail-main {
  padding-top: 42px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000000;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.16), rgba(0, 0, 0, 0.18));
  cursor: pointer;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 20px 50px rgba(239, 68, 68, 0.38);
  font-size: 34px;
  padding-left: 6px;
}

.player-shell.is-playing .player-overlay {
  display: none;
}

.detail-columns {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 310px;
  gap: 20px;
}

.story-card,
.info-card {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.story-card h2,
.info-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.story-card p {
  margin: 0;
  color: #334155;
}

.info-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px 12px;
}

.info-card dt {
  color: #64748b;
  font-weight: 800;
}

.info-card dd {
  margin: 0;
}

.inline-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff7ed;
  font-weight: 750;
}

.site-footer {
  margin-top: 30px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 22px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 44px;
}

.footer-logo .brand-text {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-brand p {
  color: #94a3b8;
}

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

.footer-links div {
  display: grid;
  gap: 9px;
}

.footer-links strong {
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 18px 22px;
  text-align: center;
  color: #94a3b8;
}

@media (max-width: 1040px) {
  .header-search {
    display: none;
  }

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

  .hero-poster {
    display: none;
  }

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

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

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

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

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

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

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

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

  .category-hero-poster,
  .detail-poster {
    max-width: 360px;
  }

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

  .rank-row a {
    grid-template-columns: 42px 74px minmax(0, 1fr);
  }

  .rank-meta,
  .rank-row strong {
    display: none;
  }

  .cta-band {
    margin-left: 22px;
    margin-right: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 62px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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

  .hero-carousel,
  .hero-content {
    min-height: 540px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .section-shell {
    padding: 44px 16px;
  }

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

  .movie-card-list .movie-link {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .movie-card-list .poster-wrap {
    min-height: 120px;
  }

  .category-hero {
    margin: 20px 16px 0;
    padding: 28px;
  }

  .detail-layout {
    padding: 36px 16px;
  }

  .detail-poster img {
    height: 300px;
  }

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