
:root {
  --site-blue: #3b82f6;
  --site-cyan: #06b6d4;
  --site-dark: #111827;
  --site-muted: #64748b;
  --site-soft: #eff6ff;
  --site-line: #dbeafe;
  --site-radius: 1.25rem;
  --site-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--site-dark);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.55), #ffffff 28%, rgba(239, 246, 255, 0.45));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1280px;
}

.site-header {
  position: sticky;
  top: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  color: white;
  background: linear-gradient(135deg, var(--site-blue), var(--site-cyan));
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.28);
}

.brand-title {
  letter-spacing: -0.03em;
}

.brand-subtitle {
  color: var(--site-muted);
}

.nav-links a {
  color: #374151;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--site-blue);
}

.nav-search input,
.mobile-panel input,
.search-box input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #bfdbfe;
  outline: none;
  background: rgba(239, 246, 255, 0.72);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: #1f2937;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-search input {
  width: 18rem;
  padding-left: 1.25rem;
}

.nav-search input:focus,
.mobile-panel input:focus,
.search-box input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: transparent;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.mobile-toggle {
  border: 0;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 0.8rem;
  padding: 0.65rem 0.85rem;
  font-size: 1.25rem;
}

.mobile-panel {
  padding: 0 1rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #dbeafe;
}

.mobile-panel a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 700;
  color: #374151;
}

.hero-slider {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 3rem;
  padding: 7rem max(1.5rem, calc((100vw - 1280px) / 2 + 1rem)) 5rem;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(1.1);
  opacity: 0.36;
  transform: scale(1.08);
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 30%, rgba(59, 130, 246, 0.42), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.58) 58%, rgba(2, 6, 23, 0.2)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent 42%);
}

.hero-content,
.hero-image-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
  color: #ffffff;
}

.hero-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.hero-labels span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
}

.hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p {
  margin: 0 0 1.5rem;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.primary-action,
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.65rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-action {
  color: #1d4ed8;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(255, 255, 255, 0.24);
}

.ghost-action {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
}

.primary-action:hover,
.ghost-action:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-image-panel {
  align-self: center;
  justify-self: end;
  width: min(430px, 100%);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.62);
  transform: rotate(2deg);
}

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

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

.hero-dots button {
  width: 0.75rem;
  height: 0.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.section-block {
  position: relative;
}

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

.section-head h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: -0.04em;
}

.section-head p {
  margin: 0.45rem 0 0;
  color: var(--site-muted);
}

.section-more {
  color: var(--site-blue);
  font-weight: 800;
  white-space: nowrap;
}

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

.movie-card {
  border: 1px solid rgba(191, 219, 254, 0.72);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.55), transparent 58%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-card:hover .movie-poster::after {
  opacity: 1;
}

.movie-badge {
  position: absolute;
  z-index: 2;
  right: 0.8rem;
  top: 0.8rem;
  padding: 0.22rem 0.55rem;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.72);
  border-radius: 0.6rem;
  font-size: 0.78rem;
}

.movie-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  color: var(--site-blue);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.movie-tags a,
.movie-tags span {
  display: inline-flex;
  padding: 0.18rem 0.5rem;
  color: #2563eb;
  background: #dbeafe;
  border-radius: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
}

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

.movie-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

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

.movie-card p {
  display: -webkit-box;
  min-height: 3.1rem;
  margin: 0 0 0.85rem;
  overflow: hidden;
  color: var(--site-muted);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: #64748b;
  font-size: 0.85rem;
}

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

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

.category-tile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 13rem;
  padding: 1rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(191, 219, 254, 0.78);
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  min-height: 4.6rem;
}

.category-preview img {
  width: 100%;
  height: 4.6rem;
  object-fit: cover;
  border-radius: 0.7rem;
}

.category-tile strong {
  font-size: 1.2rem;
}

.category-tile span {
  color: var(--site-blue);
  font-weight: 800;
}

.category-tile p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.55;
}

.scroll-row {
  display: grid;
  grid-auto-columns: minmax(310px, 360px);
  grid-auto-flow: column;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1rem;
  scroll-snap-type: x mandatory;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

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

.rank-card,
.ranking-row,
.mini-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  background: #ffffff;
  border: 1px solid rgba(191, 219, 254, 0.72);
  border-radius: 1rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover,
.ranking-row:hover,
.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--site-shadow);
}

.rank-card {
  padding: 0.8rem;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-blue), var(--site-cyan));
  border-radius: 0.9rem;
  font-weight: 900;
}

.rank-card img,
.ranking-row img {
  width: 6.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.8rem;
}

.rank-card strong,
.ranking-row strong,
.mini-card strong {
  display: block;
  margin-bottom: 0.35rem;
}

.rank-card p,
.ranking-row p,
.mini-card p {
  display: -webkit-box;
  margin: 0 0 0.3rem;
  overflow: hidden;
  color: var(--site-muted);
  line-height: 1.45;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.rank-card span:last-child,
.ranking-row span:last-child,
.mini-card span:last-child {
  color: #64748b;
  font-size: 0.85rem;
}

.cta-block > div {
  padding: clamp(2rem, 5vw, 4rem);
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, var(--site-blue), var(--site-cyan));
  border-radius: 2rem;
  box-shadow: var(--site-shadow);
}

.cta-block h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.cta-block p {
  max-width: 740px;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
}

.cta-block a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0 1.4rem;
  color: #1d4ed8;
  background: #ffffff;
  border-radius: 999px;
  font-weight: 900;
}

.page-hero,
.search-hero {
  color: #ffffff;
  padding: 4.5rem 0;
}

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

.cyan-hero {
  background: linear-gradient(135deg, #0891b2, #3b82f6);
}

.rank-hero {
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
}

.search-hero {
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 30%), linear-gradient(135deg, #2563eb, #06b6d4 62%, #1d4ed8);
}

.page-hero h1,
.search-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: -0.05em;
}

.page-hero p,
.search-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  line-height: 1.75;
}

.search-hero p {
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

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

.breadcrumb:not(.light) {
  color: rgba(255, 255, 255, 0.86);
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(150px, 0.8fr)) auto;
  gap: 0.8rem;
  align-items: end;
  margin-bottom: 0.75rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid rgba(191, 219, 254, 0.74);
  border-radius: 1.25rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.filter-panel label {
  display: grid;
  gap: 0.4rem;
}

.filter-panel label span {
  color: #475569;
  font-size: 0.85rem;
  font-weight: 800;
}

.filter-panel button {
  min-height: 2.9rem;
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-blue), var(--site-cyan));
  border-radius: 999px;
  padding: 0 1rem;
  font-weight: 900;
  cursor: pointer;
}

.filter-count {
  margin: 0 0 1.5rem;
  color: var(--site-muted);
  font-weight: 700;
}

.empty-state {
  margin-top: 2rem;
  padding: 3rem 1rem;
  color: var(--site-muted);
  text-align: center;
  background: #ffffff;
  border: 1px dashed #bfdbfe;
  border-radius: 1.25rem;
}

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

.category-sidebar,
.detail-side {
  position: sticky;
  top: 6.2rem;
}

.category-sidebar,
.side-card,
.content-card,
.player-card {
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(191, 219, 254, 0.72);
  border-radius: 1.35rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
}

.category-sidebar h2,
.side-card h2,
.content-card h2,
.player-card h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

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

.mini-card {
  padding: 0.65rem;
}

.mini-card img {
  width: 4.8rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 0.75rem;
}

.mini-rank {
  display: none;
}

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

.ranking-row {
  padding: 1rem;
}

.ranking-index {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  border-radius: 1rem;
  font-weight: 900;
}

.search-box {
  position: relative;
  max-width: 760px;
  margin: 2rem auto 1rem;
}

.search-box input {
  min-height: 4rem;
  padding: 0 4rem 0 1.5rem;
  font-size: 1.1rem;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.2);
}

.search-box button {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  color: #64748b;
  background: transparent;
  border-radius: 999px;
  font-size: 1.7rem;
  transform: translateY(-50%);
  cursor: pointer;
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 760px;
  margin: 0 auto;
}

.search-chips button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

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

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--detail-image);
  background-position: center;
  background-size: cover;
  filter: blur(24px);
  opacity: 0.32;
  transform: scale(1.08);
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 10%, rgba(6, 182, 212, 0.3), transparent 34%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.62)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.9), transparent 55%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.detail-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1.6rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.detail-info h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.detail-info p {
  max-width: 760px;
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  line-height: 1.75;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.detail-meta span {
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.detail-main {
  display: grid;
  gap: 1.4rem;
}

.video-shell {
  position: relative;
  overflow: hidden;
  background: #000000;
  border-radius: 1.2rem;
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.25);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.7rem;
  border: 0;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.54);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  color: var(--site-blue);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 2rem;
  box-shadow: 0 18px 45px rgba(255, 255, 255, 0.22);
}

.player-overlay strong {
  font-size: 1.15rem;
}

.video-shell.is-playing .player-overlay {
  display: none;
}

.player-status {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 4;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(2, 6, 23, 0.64);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  pointer-events: none;
}

.content-card p {
  margin: 0;
  color: #374151;
  font-size: 1.03rem;
  line-height: 1.9;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-cloud a {
  padding: 0.48rem 0.85rem;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  font-weight: 800;
}

.side-card {
  margin-bottom: 1.25rem;
}

.side-card dl {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.65rem 1rem;
  margin: 0;
}

.side-card dt {
  color: #64748b;
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: #1f2937;
}

.site-footer {
  margin-top: 3rem;
}

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

.footer-logo {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--site-blue), var(--site-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-grid h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--site-muted);
  line-height: 1.7;
}

.footer-grid a:hover {
  color: var(--site-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  color: #64748b;
  border-top: 1px solid #dbeafe;
}

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

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

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

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

  .category-sidebar,
  .detail-side {
    position: static;
  }
}

@media (max-width: 820px) {
  .hero-slider {
    min-height: 780px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 5.5rem;
    align-items: start;
  }

  .hero-image-panel {
    justify-self: start;
    width: min(260px, 70vw);
    order: -1;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }

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

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

  .detail-cover {
    max-width: 260px;
  }
}

@media (max-width: 560px) {
  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .movie-grid,
  .category-grid,
  .category-grid.large,
  .ranking-list,
  .footer-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 820px;
  }

  .page-hero,
  .search-hero {
    padding: 3.2rem 0;
  }

  .ranking-row,
  .rank-card {
    align-items: flex-start;
  }

  .ranking-row img,
  .rank-card img {
    width: 5rem;
    height: 4rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
