:root {
  --bg: #f8fafc;
  --bg-soft: #eef6fb;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --accent: #0891b2;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 30rem),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #f8fafc 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.26);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

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

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

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

.nav-link {
  position: relative;
  color: #dbeafe;
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #67e8f9;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.42);
}

.header-search input,
.mobile-search input {
  width: 210px;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 8px 12px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: #94a3b8;
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  padding: 8px 16px;
  font-weight: 750;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.14);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #ffffff;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 12px 20px 18px;
  background: #111827;
}

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

.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto 12px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
}

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

.mobile-nav {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
}

.mobile-nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.08);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.12);
}

main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  margin: 28px auto 34px;
  border-radius: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, #020617, #0f172a 46%, #164e63);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.28), transparent 32rem),
    radial-gradient(circle at 82% 72%, rgba(37, 99, 235, 0.25), transparent 30rem);
}

.hero-track {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.78fr);
  gap: 34px;
  align-items: center;
  padding: 64px;
  opacity: 0;
  transform: scale(1.015);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(103, 232, 249, 0.35);
  border-radius: 999px;
  color: #a5f3fc;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(16px);
  font-weight: 750;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.hero-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

.btn-primary,
.btn-ghost,
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.btn-ghost {
  color: #e0f2fe;
  border: 1px solid rgba(224, 242, 254, 0.28);
  background: rgba(15, 23, 42, 0.22);
}

.btn-soft {
  color: #075985;
  background: #e0f2fe;
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.hero-poster {
  position: relative;
  z-index: 2;
}

.hero-poster-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  transform: rotate(2deg);
}

.hero-poster-card img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.hero-poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.62), transparent 58%);
}

.hero-poster-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
}

.hero-poster-caption strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.hero-poster-caption span {
  color: #cbd5e1;
}

.hero-dots {
  position: absolute;
  left: 64px;
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 36px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-dot.is-active {
  background: #67e8f9;
}

.section {
  margin: 40px 0;
}

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

.section-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-desc {
  margin: 8px 0 0;
  color: var(--muted);
}

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

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

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

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.32);
  box-shadow: var(--shadow);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #0f172a;
}

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

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

.poster-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.65));
}

.score-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
}

.score-pill {
  right: 10px;
  bottom: 10px;
}

.rank-badge {
  left: 10px;
  top: 10px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.movie-info {
  padding: 14px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

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

.movie-info h3 a {
  display: -webkit-box;
  overflow: hidden;
  min-height: 46px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-info h3 a:hover {
  color: var(--accent);
}

.movie-info p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 45px;
  margin: 0 0 12px;
  color: #475569;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.tag-row span {
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-size: 12px;
  white-space: nowrap;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 22px;
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.82), rgba(37, 99, 235, 0.86)),
    linear-gradient(135deg, #0f172a, #164e63);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.category-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  font-size: 22px;
}

.category-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #e0f2fe;
}

.category-samples {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: #ffffff;
  font-size: 13px;
}

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 24px;
  align-items: stretch;
}

.feature-box,
.rank-box,
.filter-panel,
.content-panel {
  border: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.feature-box {
  padding: 24px;
}

.rank-box {
  overflow: hidden;
  padding: 18px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 52px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  transform: translateX(3px);
  background: #e0f2fe;
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.rank-item img {
  width: 52px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #0f172a;
}

.rank-text {
  min-width: 0;
}

.rank-text strong,
.rank-text em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-text em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.rank-score {
  color: var(--accent);
  font-weight: 900;
}

.page-hero {
  margin: 28px 0 26px;
  padding: 40px;
  border-radius: 30px;
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 0%, rgba(103, 232, 249, 0.2), transparent 28rem),
    linear-gradient(135deg, #0f172a, #1e293b 60%, #164e63);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.04em;
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: #0891b2;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: #0e7490;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.14);
}

.no-results {
  display: none;
  padding: 24px;
  border-radius: 20px;
  color: var(--muted);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.no-results.is-visible {
  display: block;
}

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

.category-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-wide-media {
  position: relative;
  min-height: 240px;
  background: #0f172a;
}

.category-wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-wide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.52));
}

.category-wide-body {
  padding: 24px;
}

.category-wide-body h2 {
  margin: 0 0 10px;
  font-size: 27px;
}

.category-wide-body p {
  margin: 0 0 16px;
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.mini-list a {
  overflow: hidden;
  color: #334155;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-list a:hover {
  color: var(--accent);
}

.detail-wrap {
  padding-top: 28px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 8%, rgba(34, 211, 238, 0.22), transparent 28rem),
    linear-gradient(135deg, #020617, #0f172a 58%, #164e63);
  box-shadow: var(--shadow);
}

.detail-poster {
  min-height: 520px;
  background: #0f172a;
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.detail-main .breadcrumbs {
  color: #a5f3fc;
}

.detail-main h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-lead {
  max-width: 820px;
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: 18px;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.12);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 28px;
}

.detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-weight: 700;
}

.player-section,
.detail-section {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.player-section h2,
.detail-section h2 {
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.16), rgba(2, 6, 23, 0.66));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.play-bubble {
  display: inline-grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 20px 45px rgba(6, 182, 212, 0.35);
  font-size: 34px;
  transform: translateY(-6px);
}

.play-label {
  display: block;
  margin-top: 18px;
  font-size: 18px;
  font-weight: 800;
}

.source-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.source-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #0f172a;
  background: #f8fafc;
  padding: 9px 14px;
  font-weight: 800;
}

.source-btn.is-current,
.source-btn:hover {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.detail-copy {
  display: grid;
  gap: 18px;
}

.copy-block {
  padding: 20px;
  border-radius: 22px;
  background: #f8fafc;
}

.copy-block h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.copy-block p {
  margin: 0;
  color: #334155;
}

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

.search-shell {
  display: grid;
  gap: 22px;
}

.search-box-large {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.search-box-large input {
  flex: 1;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: 0;
  padding: 0 16px;
}

.search-box-large button {
  border: 0;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  padding: 0 24px;
  font-weight: 900;
}

.search-results {
  display: grid;
  gap: 18px;
}

.result-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.result-card img {
  width: 118px;
  height: 170px;
  object-fit: cover;
  border-radius: 16px;
  background: #0f172a;
}

.result-card h3 {
  margin: 4px 0 8px;
  font-size: 22px;
}

.result-card p {
  margin: 0 0 12px;
  color: #475569;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  margin-top: 50px;
  color: #cbd5e1;
  background: linear-gradient(90deg, #0f172a, #1e293b, #0f172a);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px 20px 20px;
}

.footer-brand {
  max-width: 520px;
}

.footer-brand strong {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: #ffffff;
  font-size: 20px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-content: flex-start;
  justify-content: flex-end;
  max-width: 520px;
}

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

.copyright {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 1180px) {
  .movie-grid,
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .feature-panel,
  .categories-overview {
    grid-template-columns: 1fr;
  }

  .desktop-nav {
    gap: 12px;
  }

  .header-search input {
    width: 160px;
  }
}

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

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

  .hero {
    min-height: 760px;
  }

  .hero-track {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 34px 26px 74px;
  }

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

  .hero-dots {
    left: 28px;
    bottom: 24px;
  }

  .detail-hero,
  .category-wide {
    grid-template-columns: 1fr;
  }

  .detail-main {
    padding: 28px;
  }

  .detail-poster {
    min-height: auto;
    max-height: 560px;
  }

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

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  main {
    padding: 0 14px 42px;
  }

  .nav-wrap {
    padding: 12px 14px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero {
    margin-top: 18px;
    border-radius: 24px;
  }

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

  .hero p {
    font-size: 15px;
  }

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

  .movie-info {
    padding: 12px;
  }

  .movie-info h3 {
    font-size: 15px;
  }

  .section-head {
    display: grid;
  }

  .page-hero {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .player-section,
  .detail-section {
    padding: 16px;
    border-radius: 22px;
  }

  .search-box-large {
    display: grid;
  }

  .result-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .result-card img {
    width: 88px;
    height: 126px;
  }

  .result-card h3 {
    font-size: 18px;
  }
}
