:root {
  --site-cyan: #06b6d4;
  --site-blue: #2563eb;
  --site-pink: #db2777;
  --site-yellow: #facc15;
  --site-dark: #111827;
  --site-text: #374151;
  --site-muted: #6b7280;
  --site-border: rgba(15, 23, 42, 0.10);
  --site-shadow: 0 20px 60px rgba(15, 23, 42, 0.13);
  --site-radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--site-text);
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.14), transparent 30rem),
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.13), transparent 28rem),
    linear-gradient(135deg, #ecfeff 0%, #ffffff 48%, #fdf2f8 100%);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    "PingFang SC",
    sans-serif;
}

img {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(236, 254, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav-bar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(90deg, #0891b2, #db2777);
  -webkit-background-clip: text;
  background-clip: text;
}

.logo-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb 55%, #db2777);
  box-shadow: 0 14px 28px rgba(6, 182, 212, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-weight: 700;
  color: #374151;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #06b6d4, #db2777);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0891b2;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-form {
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.search-form input {
  width: min(18vw, 250px);
  min-width: 160px;
  padding: 0.75rem 0.95rem;
  color: #111827;
  background: transparent;
  outline: none;
}

.search-form button,
.mobile-menu-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.search-form button {
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.search-form button:hover,
.mobile-menu-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.18);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-panel {
  display: none;
  padding: 0 0 1rem;
}

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

.mobile-panel nav {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.mobile-panel a {
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.75);
}

.hero {
  position: relative;
  height: clamp(420px, 66vh, 660px);
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition:
    opacity 900ms ease,
    transform 1200ms ease;
  transform: scale(1.04);
}

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

.hero-slide::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.82) 0%, rgba(15, 23, 42, 0.58) 48%, rgba(2, 6, 23, 0.18) 100%),
    radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.26), transparent 24rem);
}

.hero-slide::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-text {
  max-width: 720px;
  animation: rise-in 680ms ease both;
}

.hero-kicker,
.section-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(12px);
  font-weight: 900;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 650px;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.85;
}

.hero-meta,
.detail-meta,
.card-meta,
.rank-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.hero-meta {
  margin-bottom: 1.4rem;
}

.meta-pill,
.type-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.meta-pill {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.type-pill {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.95), rgba(37, 99, 235, 0.95));
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.28);
}

.tag {
  color: #075985;
  background: #cffafe;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.primary-button,
.secondary-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.primary-button {
  padding: 0.88rem 1.25rem;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
}

.secondary-button {
  padding: 0.88rem 1.25rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.secondary-button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 28px;
  display: flex;
  gap: 0.5rem;
  transform: translateX(50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

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

.category-strip {
  padding: 2rem 0 1.2rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(8, 145, 178, 0.12);
  border-radius: 999px;
  color: #334155;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  font-weight: 900;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.category-chip:hover,
.category-chip.active {
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.22);
}

.section {
  padding: clamp(2.2rem, 6vw, 4.8rem) 0;
}

.section.alt {
  background: linear-gradient(90deg, rgba(207, 250, 254, 0.74), rgba(219, 234, 254, 0.74), rgba(252, 231, 243, 0.74));
}

.section.white {
  background: rgba(255, 255, 255, 0.8);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-title {
  margin: 0;
  color: #111827;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-subtitle {
  max-width: 760px;
  margin: 0.7rem 0 0;
  color: var(--site-muted);
  line-height: 1.8;
}

.grid {
  display: grid;
  gap: 1.35rem;
}

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

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

.grid.detail-layout {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.82fr);
  align-items: start;
}

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.28), transparent 45%),
    linear-gradient(135deg, #0f172a, #1e3a8a);
}

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

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

.poster-link::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.74));
}

.play-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.92);
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.35);
}

.movie-card-body {
  padding: 1.1rem;
}

.movie-title {
  margin: 0 0 0.5rem;
  color: #111827;
  font-size: 1.06rem;
  line-height: 1.35;
  font-weight: 950;
}

.movie-title a:hover {
  color: #0891b2;
}

.movie-desc {
  display: -webkit-box;
  min-height: 3.3em;
  margin: 0.7rem 0 0;
  overflow: hidden;
  color: #64748b;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

.large-card .poster-link {
  aspect-ratio: 16 / 11;
}

.large-card .movie-title {
  font-size: 1.22rem;
}

.horizontal-list {
  display: grid;
  gap: 1rem;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
}

.horizontal-card .poster-link {
  height: 100%;
  aspect-ratio: auto;
}

.horizontal-card .movie-card-body {
  padding: 1.3rem;
}

.ranking-list {
  display: grid;
  gap: 0.8rem;
}

.rank-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem;
  border: 1px solid var(--site-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.rank-item:hover {
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateX(4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

.rank-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  font-weight: 950;
}

.rank-title {
  margin: 0 0 0.28rem;
  color: #111827;
  font-size: 1rem;
  font-weight: 950;
}

.rank-title a:hover {
  color: #0891b2;
}

.rank-meta {
  color: #64748b;
  font-size: 0.86rem;
}

.page-hero {
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.page-hero-card {
  overflow: hidden;
  border: 1px solid rgba(8, 145, 178, 0.16);
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 24%, rgba(34, 211, 238, 0.28), transparent 22rem),
    linear-gradient(135deg, #0f172a 0%, #164e63 46%, #1d4ed8 100%);
  box-shadow: var(--site-shadow);
}

.page-hero-inner {
  padding: clamp(2rem, 5vw, 4rem);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.85;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 1.25rem;
  border: 1px solid var(--site-border);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.24), transparent 11rem),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.category-card h2 {
  margin: 0 0 0.75rem;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 950;
}

.category-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.search-panel {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--site-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.search-large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 22px;
  background: #ffffff;
}

.search-large input,
.select-control {
  width: 100%;
  padding: 1rem 1.1rem;
  color: #0f172a;
  background: #ffffff;
  outline: none;
}

.search-large button {
  padding: 0 1.3rem;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  font-weight: 950;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.select-control {
  width: auto;
  min-width: 180px;
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 18px;
}

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

.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(14px);
  transform: scale(1.08);
  opacity: 0.52;
}

.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.75), rgba(2, 6, 23, 0.5)),
    radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.24), transparent 24rem);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  padding: clamp(2.4rem, 7vw, 5rem) 0;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(6, 182, 212, 0.3), transparent 14rem),
    #0f172a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.detail-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-intro {
  max-width: 840px;
  margin: 1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.9;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

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

.content-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--site-border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.content-card + .content-card {
  margin-top: 1.3rem;
}

.content-card h2,
.content-card h3 {
  margin: 0 0 1rem;
  color: #111827;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.content-card h2 {
  font-size: 1.55rem;
}

.content-card h3 {
  font-size: 1.18rem;
}

.content-card p {
  margin: 0;
  color: #475569;
  line-height: 1.95;
}

.content-card p + p {
  margin-top: 0.85rem;
}

.player-section {
  padding-top: 2.2rem;
}

.video-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.24);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(6, 182, 212, 0.16), transparent 18rem),
    rgba(0, 0, 0, 0.30);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.video-player.is-playing .player-overlay {
  visibility: hidden;
  opacity: 0;
}

.player-button {
  display: grid;
  width: clamp(70px, 10vw, 96px);
  height: clamp(70px, 10vw, 96px);
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.35);
  font-size: 2.6rem;
}

.player-toolbar {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45), rgba(2, 6, 23, 0.75));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.video-player:hover .player-toolbar,
.video-player.is-paused .player-toolbar {
  opacity: 1;
}

.player-toolbar button {
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.player-status {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cta-band {
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.28), transparent 22rem),
    linear-gradient(135deg, #0891b2, #2563eb);
}

.cta-inner {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1rem;
  text-align: center;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.cta-inner p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #0f172a 52%, #172554);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.footer-title {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 950;
}

.footer-list {
  display: grid;
  gap: 0.5rem;
}

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

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

.footer-desc {
  max-width: 420px;
  margin: 1rem 0 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.footer-bottom {
  padding: 1.1rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  text-align: center;
}

.empty-result {
  display: none;
  padding: 2rem;
  border-radius: 24px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-weight: 800;
}

.empty-result.show {
  display: block;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .grid.cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .header-actions .search-form {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .mobile-panel .search-form {
    display: flex;
  }

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

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

  .horizontal-card {
    grid-template-columns: 1fr;
  }

  .horizontal-card .poster-link {
    aspect-ratio: 16 / 10;
  }

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

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

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

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 1rem, 1180px);
  }

  .nav-bar {
    min-height: 68px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    height: 560px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .grid.cards,
  .grid.featured,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .search-large {
    grid-template-columns: 1fr;
  }

  .search-large button {
    padding: 0.9rem;
  }

  .select-control {
    width: 100%;
  }

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