:root {
  --bg: #f8fafc;
  --bg-strong: #0f172a;
  --panel: #ffffff;
  --panel-soft: rgba(255, 255, 255, 0.86);
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --cyan: #06b6d4;
  --cyan-deep: #0891b2;
  --blue: #2563eb;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 32rem), linear-gradient(135deg, #f8fafc 0%, #ffffff 48%, #e2e8f0 100%);
  color: var(--text);
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a, #1e293b 50%, #0f172a);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.35);
}

.brand-text {
  font-size: 1.28rem;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: #67e8f9;
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  width: 272px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(12px);
}

.nav-search input {
  min-width: 0;
  flex: 1;
  height: 32px;
  border: 0;
  outline: 0;
  color: #ffffff;
  padding: 0 12px;
  background: transparent;
}

.nav-search input::placeholder {
  color: rgba(226, 232, 240, 0.65);
}

.nav-search button {
  height: 32px;
  border: 0;
  padding: 0 14px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #ffffff;
}

.hero-slider {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  background: #0f172a;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.65s ease, transform 0.65s ease;
  transform: scale(1.02);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(6, 182, 212, 0.35), transparent 22rem), linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72) 46%, rgba(15, 23, 42, 0.24));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 74vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.52fr;
  align-items: center;
  gap: 46px;
  padding: 66px 0 82px;
}

.hero-copy {
  color: #ffffff;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #22d3ee;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: rgba(241, 245, 249, 0.88);
  font-size: clamp(1.03rem, 1.9vw, 1.35rem);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  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(--cyan), var(--blue));
  box-shadow: 0 18px 38px rgba(6, 182, 212, 0.32);
}

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

.hero-poster {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
  transform: perspective(1000px) rotateY(-7deg) rotateX(3deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 22px 40px rgba(6, 182, 212, 0.42);
  transform: translate(-50%, -50%);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #ffffff;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(10px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(10px);
}

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

.hero-dot.is-active {
  width: 28px;
  background: #22d3ee;
}

.feature-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 18px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-strip div {
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip strong {
  margin-bottom: 6px;
  font-size: 1.12rem;
  color: #0f172a;
}

.feature-strip span {
  color: var(--muted);
  font-size: 0.93rem;
}

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

.section-shell {
  padding: 70px 0;
}

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

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--cyan-deep);
  font-weight: 800;
  background: rgba(6, 182, 212, 0.1);
}

.compact-heading {
  align-items: center;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.2s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.88));
  opacity: 0.82;
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.9);
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

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

.movie-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.movie-card h3 {
  margin: 0 0 9px;
  font-size: 1.06rem;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-body h3 a:hover,
.related-card a:hover strong {
  color: var(--cyan-deep);
}

.movie-card p {
  min-height: 3.6em;
  margin: 0 0 12px;
  color: #475569;
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-row span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #0e7490;
  font-size: 0.78rem;
  font-weight: 700;
  background: #cffafe;
}

.categories-section {
  padding-top: 44px;
}

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

.category-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 24px;
  color: #ffffff;
  background: #0f172a;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.category-card:hover img {
  transform: scale(1.08);
  opacity: 0.78;
}

.category-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.9));
}

.category-card strong,
.category-card em {
  position: relative;
  z-index: 1;
}

.category-card strong {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.category-card em {
  color: rgba(241, 245, 249, 0.9);
  font-style: normal;
  font-size: 0.92rem;
}

.two-column-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

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

.movie-card-small .movie-card-body {
  padding: 15px;
}

.movie-card-small p,
.preview-grid .movie-card p {
  -webkit-line-clamp: 2;
  min-height: 2.4em;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 74px 44px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.rank-cover {
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
}

.rank-cover img {
  width: 74px;
  height: 96px;
  object-fit: cover;
}

.rank-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #dc2626);
}

.rank-body h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
}

.rank-body p {
  margin: 0 0 8px;
  color: #475569;
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-watch {
  padding: 8px 13px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #164e63);
  background-size: cover;
  background-position: center;
}

.slim-hero {
  min-height: 330px;
}

.page-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.62));
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(241, 245, 249, 0.88);
  font-size: 1.12rem;
}

.page-search {
  width: min(620px, 100%);
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.page-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: #ffffff;
  background: transparent;
}

.page-search input::placeholder {
  color: rgba(241, 245, 249, 0.68);
}

.page-search button {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  cursor: pointer;
}

.filter-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.filter-panel label {
  flex-shrink: 0;
  color: #0f172a;
  font-weight: 900;
}

.filter-panel input {
  width: 100%;
  border: 1px solid #cbd5e1;
  outline: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #ffffff;
}

.overview-stack {
  display: grid;
  gap: 28px;
}

.category-overview-card {
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
}

.category-overview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}

.category-overview-head h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.category-overview-head p {
  margin: 0;
  color: var(--muted);
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}

.detail-hero-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(6, 182, 212, 0.3), transparent 22rem), linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.75));
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  padding: 48px 0 64px;
}

.breadcrumb,
.breadcrumb-sep {
  display: inline-block;
  margin-bottom: 28px;
  color: rgba(226, 232, 240, 0.82);
  font-weight: 700;
}

.breadcrumb:hover {
  color: #67e8f9;
}

.breadcrumb-sep {
  margin-left: 8px;
  margin-right: 8px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 20px;
  color: rgba(241, 245, 249, 0.88);
  font-size: 1.15rem;
}

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

.detail-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(241, 245, 249, 0.92);
  background: rgba(255, 255, 255, 0.08);
}

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

.player-section {
  padding: 54px 0 24px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 22px 42px rgba(6, 182, 212, 0.42);
}

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

.player-error {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 12px 14px;
  border-radius: 16px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.86);
}

.player-error.is-visible {
  display: block;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0 54px;
}

.content-card {
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

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

.related-section {
  padding: 8px 0 42px;
}

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

.related-card a {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.related-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.related-card strong,
.related-card span {
  display: block;
  padding: 0 14px;
}

.related-card strong {
  padding-top: 13px;
  line-height: 1.35;
}

.related-card span {
  padding-bottom: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.detail-navs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 0 70px;
}

.detail-navs a {
  padding: 18px;
  border-radius: 18px;
  color: #0f172a;
  font-weight: 800;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 36px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #94a3b8;
}

.footer-logo .brand-mark {
  width: 32px;
  height: 32px;
}

.footer-group h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-group a {
  display: block;
  margin: 8px 0;
  color: #94a3b8;
}

.footer-group a:hover {
  color: #67e8f9;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 30px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #94a3b8;
  font-size: 0.92rem;
}

.is-filtered-out {
  display: none !important;
}

.image-waiting img,
img.image-hidden {
  opacity: 0;
}

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

  .hero-content,
  .detail-grid,
  .two-column-section {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    width: min(360px, 74vw);
    transform: none;
  }

  .feature-strip,
  .movie-grid,
  .category-grid,
  .preview-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 4px 0 0;
    padding: 10px 0 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .hero-slider,
  .hero-content {
    min-height: 780px;
  }

  .hero-content {
    align-content: center;
    padding-top: 42px;
  }

  .hero-controls {
    bottom: 16px;
  }

  .feature-strip,
  .movie-grid,
  .category-grid,
  .preview-grid,
  .latest-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding: 48px 0;
  }

  .section-heading,
  .category-overview-head,
  .filter-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .rank-cover img {
    width: 62px;
    height: 84px;
  }

  .rank-watch {
    grid-column: 1 / -1;
    text-align: center;
  }

  .page-search {
    flex-direction: column;
    border-radius: 22px;
  }

  .page-search input {
    min-height: 44px;
  }

  .detail-cover {
    width: min(260px, 78vw);
  }

  .detail-navs,
  .footer-shell {
    grid-template-columns: 1fr;
  }
}
