:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef8ff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --teal: #14b8a6;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --orange: #f97316;
  --pink: #ec4899;
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #edf7ff 44%, #f8fafc 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.96), rgba(37, 99, 235, 0.96), rgba(20, 184, 166, 0.96));
  box-shadow: 0 16px 36px rgba(8, 47, 73, 0.26);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 900;
  font-size: 22px;
  color: #0891b2;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 -6px 18px rgba(37, 99, 235, 0.18), 0 12px 24px rgba(8, 47, 73, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand-text em {
  margin-top: 5px;
  font-style: normal;
  font-size: 12px;
  opacity: 0.86;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  opacity: 0.92;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fef08a;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.header-search,
.mobile-search,
.wide-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.wide-search input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 11px 16px;
  outline: none;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.wide-search input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.header-search button,
.mobile-search button,
.wide-search button,
.button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  color: #0f172a;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.wide-search button:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-size: 22px;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
}

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

.mobile-panel nav {
  width: min(1180px, 100%);
  margin: 14px auto 0;
  display: grid;
  gap: 8px;
}

.mobile-panel nav a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.hero-slider {
  position: relative;
  min-height: 560px;
  color: #ffffff;
  overflow: hidden;
  background: radial-gradient(circle at 20% 0%, rgba(14, 165, 233, 0.78), transparent 34%), linear-gradient(120deg, #082f49, #0f172a 56%, #134e4a);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.68) 42%, rgba(2, 6, 23, 0.15) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
  transform: scale(1.03);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 52%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
  padding-right: 420px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #cffafe;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hero-content h1 {
  margin: 18px 0 18px;
  max-width: 720px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

.hero-content p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

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

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.tag-row span {
  color: #0e7490;
  background: #ecfeff;
  border: 1px solid #cffafe;
}

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

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

.button-light {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
}

.hero-poster {
  position: absolute;
  z-index: 2;
  right: max(32px, calc((100vw - 1180px) / 2));
  top: 50%;
  width: min(330px, 28vw);
  aspect-ratio: 2 / 3;
  transform: translateY(-50%) rotate(2deg);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

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

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 34px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.28);
}

.hero-dots button.is-active {
  background: #ffffff;
}

.section-block {
  padding: 58px 0;
}

.intro-strip {
  margin-top: -34px;
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.intro-strip h2,
.section-heading h2,
.content-card h2,
.side-card h2,
.player-card h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.intro-strip p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.wide-search {
  padding: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: var(--soft-shadow);
}

.wide-search input {
  flex: 1;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.18);
}

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

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 16px;
  color: #0e7490;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  font-weight: 900;
}

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

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

.category-card {
  min-height: 250px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  position: relative;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -30%;
  width: 70%;
  height: 70%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(30px);
  border-radius: 50%;
}

.category-card a {
  min-height: 250px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.category-card h2 {
  margin: 32px 0 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.category-card p {
  margin: 0;
  line-height: 1.7;
  opacity: 0.9;
}

.category-count {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
  font-size: 13px;
}

.category-stats,
.movie-meta-row,
.card-actions,
.detail-meta,
.sub-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-stats {
  margin-top: auto;
  padding-top: 20px;
}

.category-stats span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
}

.category-samples {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.category-samples a {
  display: inline;
  min-height: 0;
  padding: 0;
  opacity: 0.88;
  font-size: 13px;
}

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

.gradient-blue-indigo {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.gradient-teal-green {
  background: linear-gradient(135deg, #14b8a6, #22c55e);
}

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

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

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

.gradient-violet-cyan {
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

.gradient-yellow-green {
  background: linear-gradient(135deg, #eab308, #22c55e);
}

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

.gradient-cyan-teal {
  background: linear-gradient(135deg, #06b6d4, #14b8a6);
}

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

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(34, 211, 238, 0.78);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.03);
}

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), transparent);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.38);
}

.movie-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 16px;
}

.movie-meta-row span,
.detail-meta span,
.sub-hero-stats span {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.movie-meta-row span {
  color: #475569;
  background: #f1f5f9;
}

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

.movie-card h3 a:hover {
  color: var(--blue);
}

.movie-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.movie-card-compact .movie-card-body {
  padding: 13px;
}

.movie-card-compact h3 {
  font-size: 16px;
}

.movie-card-compact p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-actions {
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
}

.card-actions a {
  color: var(--blue);
  font-weight: 900;
}

.card-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sub-hero,
.detail-hero {
  color: #ffffff;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.sub-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -45%;
  width: 45%;
  height: 90%;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  filter: blur(30px);
}

.sub-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: #fef08a;
}

.sub-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.sub-hero p {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.sub-hero-stats {
  margin-top: 22px;
}

.sub-hero-stats span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

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

.filter-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  background: #f8fafc;
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}

.filter-result {
  padding: 13px 16px;
  border-radius: 14px;
  color: #0e7490;
  background: #ecfeff;
  font-weight: 900;
  white-space: nowrap;
}

.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-links a {
  padding: 11px 15px;
  border-radius: 999px;
  color: #0e7490;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  font-weight: 900;
}

.detail-hero {
  background: radial-gradient(circle at 15% 20%, rgba(6, 182, 212, 0.72), transparent 36%), linear-gradient(135deg, #0f172a, #164e63 54%, #1e3a8a);
}

.detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
  align-items: center;
}

.detail-hero .breadcrumb {
  grid-column: 1 / -1;
  margin: 0;
}

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.detail-info h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.detail-one-line {
  margin: 0;
  max-width: 860px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  margin-top: 18px;
}

.detail-meta span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.detail-tags {
  margin-top: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card,
.content-card,
.side-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
  border: 1px solid var(--line);
}

.player-card {
  padding: 22px;
}

.compact-heading {
  margin-bottom: 18px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #020617;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.76));
  cursor: pointer;
}

.play-layer.is-hidden {
  display: none;
}

.play-symbol {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0f172a;
  background: #ffffff;
  font-size: 34px;
  padding-left: 5px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
}

.play-layer span:last-child {
  font-size: 18px;
  font-weight: 900;
}

.content-card,
.side-card {
  padding: 24px;
}

.content-card p {
  margin: 14px 0 0;
  color: #334155;
  font-size: 17px;
  line-height: 2;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.side-card h2 {
  font-size: 24px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  margin: 16px 0 0;
}

.side-card dt {
  color: var(--muted);
  font-weight: 900;
}

.side-card dd {
  margin: 0;
  color: #1e293b;
  line-height: 1.6;
}

.side-card dd a {
  color: var(--blue);
  font-weight: 900;
}

.side-links {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.side-links a {
  display: block;
  padding: 12px;
  border-radius: 14px;
  color: #0e7490;
  background: #ecfeff;
  font-weight: 900;
}

.search-summary {
  margin: -8px 0 24px;
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  margin-top: 40px;
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #0e293b 60%, #083344);
  padding: 52px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 30px;
}

.footer-brand {
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
}

.site-footer p {
  line-height: 1.8;
  margin: 16px 0 0;
}

.site-footer h3 {
  margin: 0 0 15px;
  color: #67e8f9;
}

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

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

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #cffafe;
  background: rgba(255, 255, 255, 0.08);
}

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

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

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

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

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

  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .hero-content {
    padding-right: 0;
    justify-content: flex-end;
    padding-bottom: 118px;
  }

  .hero-poster {
    right: 22px;
    top: 92px;
    width: 170px;
    transform: none;
  }

  .intro-strip {
    grid-template-columns: 1fr;
  }

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

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

  .detail-poster {
    width: min(260px, 72vw);
  }

  .detail-sidebar {
    position: static;
  }
}

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

  .header-inner {
    min-height: 68px;
  }

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

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

  .brand-text em {
    display: none;
  }

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

  .hero-content h1 {
    font-size: 42px;
  }

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

  .hero-poster {
    width: 148px;
  }

  .hero-control {
    display: none;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .category-grid-large,
  .movie-grid,
  .compact-grid,
  .ranking-grid,
  .ranking-page-grid {
    grid-template-columns: 1fr;
  }

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

  .wide-search {
    flex-direction: column;
    border-radius: 24px;
  }

  .wide-search input,
  .wide-search button {
    width: 100%;
  }

  .sub-hero,
  .detail-hero {
    padding: 42px 0;
  }

  .detail-info h1,
  .sub-hero h1 {
    font-size: 36px;
  }

  .player-card,
  .content-card,
  .side-card {
    padding: 18px;
  }
}
