:root {
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --brand-3: #14b8a6;
  --accent: #f59e0b;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --dark: #0f172a;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 30px 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(--text);
  background: var(--bg);
  font-family: var(--font, Inter, ui-sans-serif, system-ui, "Microsoft YaHei", sans-serif);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.65);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

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

.nav-shell {
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.25);
  transform: translateZ(0);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
}

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

.nav-link {
  position: relative;
  color: #334155;
  font-weight: 650;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.nav-search input,
.mobile-search input {
  width: 190px;
  border: 0;
  outline: 0;
  padding: 8px 8px 8px 12px;
  background: transparent;
  color: var(--text);
}

.nav-search button,
.mobile-search button,
.primary-button,
.secondary-button,
.play-button,
.filter-button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search button,
.mobile-search button {
  padding: 8px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.nav-search button:hover,
.mobile-search button:hover,
.primary-button:hover,
.secondary-button:hover,
.play-button:hover,
.filter-button:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #0f172a;
}

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

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

.mobile-panel nav {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.mobile-link {
  padding: 12px 8px;
  border-radius: 12px;
  color: #334155;
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--brand);
  background: #eff6ff;
}

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding-top: 72px;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 30%), linear-gradient(135deg, #2563eb 0%, #06b6d4 58%, #14b8a6 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
}

.hero-glow-one,
.hero-glow-two {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.72;
}

.hero-glow-one {
  top: 120px;
  left: 8%;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-glow-two {
  right: 8%;
  bottom: 100px;
  width: 340px;
  height: 340px;
  background: rgba(37, 99, 235, 0.22);
}

.hero-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 84px 24px 72px;
}

.hero-heading {
  max-width: 860px;
  text-align: center;
  margin: 0 auto 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  font-weight: 750;
  font-size: 14px;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: #fde68a;
}

.hero-heading p {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.75;
  color: #eff6ff;
}

.hero-stage {
  position: relative;
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 38px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-poster {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 34px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.26);
  isolation: isolate;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.42));
  z-index: 1;
}

.hero-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-poster span {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  max-width: 78%;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 850;
  text-shadow: 0 8px 22px rgba(15, 23, 42, 0.45);
}

.hero-copy {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(30px, 4.3vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0 0 22px;
  color: #eff6ff;
  font-size: 17px;
  line-height: 1.85;
}

.hero-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.hero-meta span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.primary-button {
  color: var(--brand);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.18);
}

.secondary-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(15, 23, 42, 0.24);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

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

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

.section {
  padding: 72px 24px;
}

.section.white {
  background: #ffffff;
}

.section.blue-soft {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.section-shell,
.page-shell {
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.section-heading h2,
.page-hero h1,
.story-block h2,
.player-section h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p,
.page-hero p {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.text-link {
  color: var(--brand);
  font-weight: 800;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: var(--shadow);
}

.movie-cover {
  position: relative;
  display: block;
  min-height: 212px;
  overflow: hidden;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.48));
  z-index: 1;
}

.movie-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.45s ease;
}

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

.cover-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 26px;
  text-align: center;
  font-size: 28px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.movie-cover b {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  font-size: 12px;
}

.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.24);
  font-weight: 850;
  font-style: normal;
}

.movie-body {
  padding: 18px;
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.movie-body h3 {
  min-height: 52px;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.movie-body h3 a:hover {
  color: var(--brand);
}

.movie-body p {
  min-height: 52px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.tag-row span {
  color: #1d4ed8;
  background: #dbeafe;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 26px;
  border-radius: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:nth-child(2n) {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

.category-card:nth-child(3n) {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.category-card:nth-child(4n) {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.35s ease;
}

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

.category-card:hover::after {
  transform: scale(1.55);
}

.category-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 24px;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 240px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 128px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.32);
}

.rank-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  font-weight: 850;
}

.rank-thumb {
  position: relative;
  height: 76px;
  overflow: hidden;
  border-radius: 16px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-thumb span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.rank-info h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.rank-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.rank-link {
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 800;
}

.page-hero {
  padding: 150px 24px 64px;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

.page-hero .page-shell {
  display: grid;
  gap: 20px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 62px);
}

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.filter-panel input {
  flex: 1 1 260px;
  min-height: 48px;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: var(--text);
  background: #f8fafc;
  border-radius: 999px;
}

.filter-button {
  min-height: 48px;
  padding: 0 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.empty-state {
  display: none;
  margin-top: 28px;
  padding: 28px;
  border: 1px dashed #bfdbfe;
  border-radius: 22px;
  color: var(--muted);
  background: #ffffff;
  text-align: center;
}

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

.detail-hero {
  position: relative;
  padding: 150px 24px 76px;
  overflow: hidden;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(37, 99, 235, 0.74), rgba(6, 182, 212, 0.72));
  z-index: -1;
}

.detail-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-cover {
  min-height: 430px;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.detail-info h1 {
  margin: 22px 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.detail-one-line {
  margin: 0 0 22px;
  max-width: 760px;
  color: #eff6ff;
  font-size: 19px;
  line-height: 1.85;
}

.detail-info .tag-row span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.detail-actions .primary-button {
  color: var(--brand);
}

.content-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 66px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.story-block,
.player-section,
.side-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.player-section {
  padding: 28px;
  margin-bottom: 28px;
}

.player-section h2,
.story-block h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #ffffff;
  text-align: center;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.28), rgba(2, 6, 23, 0.62));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 30px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.16);
  font-size: 18px;
}

.player-title {
  margin: 18px 0 0;
  color: #dbeafe;
  font-weight: 750;
}

.player-message {
  margin: 14px 0 0;
  min-height: 22px;
  color: #bfdbfe;
  font-size: 14px;
}

.story-block {
  padding: 30px;
  margin-bottom: 28px;
}

.story-block p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 2;
}

.story-block p + h2 {
  margin-top: 32px;
}

.detail-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 94px;
}

.side-card {
  padding: 22px;
}

.side-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

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

.side-list a {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease, color 0.2s ease;
}

.side-list a:hover {
  color: var(--brand);
  background: #eff6ff;
}

.side-list span {
  color: var(--muted);
  font-size: 12px;
}

.related-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 76px;
}

.related-section h2 {
  margin: 0 0 26px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.cta-band {
  overflow: hidden;
  border-radius: 32px;
  padding: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.cta-band p {
  margin: 0;
  max-width: 720px;
  color: #e0f2fe;
  line-height: 1.8;
}

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

.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.65fr) minmax(180px, 0.65fr);
  gap: 42px;
}

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

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

.footer-column h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 18px;
}

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

.footer-links a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
  font-size: 14px;
}

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

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

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

  .detail-side {
    position: static;
  }

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

@media (max-width: 820px) {
  .nav-shell {
    padding: 0 16px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    padding: 58px 16px 52px;
  }

  .hero-slide {
    gap: 22px;
  }

  .hero-poster {
    min-height: 300px;
    border-radius: 26px;
  }

  .hero-copy {
    padding: 24px;
  }

  .section,
  .page-hero,
  .detail-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading {
    display: grid;
  }

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

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

  .rank-thumb,
  .rank-link {
    display: none;
  }

  .detail-cover {
    min-height: 340px;
  }

  .content-grid,
  .related-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-shell,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand-copy small {
    display: none;
  }

  .mobile-search {
    align-items: stretch;
  }

  .mobile-search input {
    width: 100%;
  }

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

  .hero-poster span {
    font-size: 26px;
  }

  .hero-copy h2,
  .detail-info h1 {
    font-size: 34px;
  }

  .hero-actions,
  .detail-actions,
  .cta-actions {
    display: grid;
  }

  .movie-grid,
  .movie-grid.three,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .movie-cover {
    min-height: 230px;
  }

  .page-hero,
  .detail-hero {
    padding-top: 122px;
  }

  .player-section,
  .story-block,
  .side-card {
    padding: 20px;
    border-radius: 22px;
  }
}
