:root {
  --bg: #f8fafc;
  --text: #111827;
  --muted: #64748b;
  --card: #ffffff;
  --border: rgba(148, 163, 184, 0.26);
  --primary: #ef4444;
  --primary-dark: #dc2626;
  --accent: #22c55e;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  --radius: 24px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-text {
  white-space: nowrap;
  font-size: 21px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316, #ec4899);
  box-shadow: 0 16px 30px rgba(239, 68, 68, 0.28);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #475569;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.dropdown-button:hover {
  color: #ef4444;
  background: #fff1f2;
}

.nav-dropdown {
  position: relative;
}

.dropdown-button {
  border: 0;
  background: transparent;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 168px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  display: none;
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #475569;
  font-weight: 700;
}

.dropdown-panel a:hover {
  color: #ef4444;
  background: #fff1f2;
}

.nav-dropdown:hover .dropdown-panel {
  display: block;
}

.top-search {
  width: min(310px, 30vw);
  display: flex;
  align-items: center;
  padding: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  border: 1px solid transparent;
}

.top-search:focus-within {
  border-color: rgba(239, 68, 68, 0.35);
  background: #ffffff;
}

.top-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.top-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 14px;
  background: #fff1f2;
  color: #ef4444;
  width: 42px;
  height: 42px;
  font-size: 22px;
  font-weight: 900;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

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

.mobile-nav-panel {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px 22px;
}

.mobile-nav-link,
.mobile-category-grid a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: #475569;
  font-weight: 800;
}

.mobile-nav-link.active,
.mobile-nav-link:hover,
.mobile-category-grid a:hover {
  color: #ef4444;
  background: #fff1f2;
}

.mobile-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 10px 0;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding: 6px;
  border-radius: 16px;
  background: #f1f5f9;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 48%, #ec4899 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.08));
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(62px);
  opacity: 0.45;
  animation: glowPulse 4s ease-in-out infinite;
}

.hero-glow-one {
  width: 320px;
  height: 320px;
  top: 90px;
  left: 8%;
  background: #fde047;
}

.hero-glow-two {
  width: 420px;
  height: 420px;
  right: 8%;
  bottom: 70px;
  background: #fb7185;
  animation-delay: 1.2s;
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.hero-slider {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 650px;
  padding: 54px 20px;
}

.hero-slide {
  position: absolute;
  inset: 54px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.52fr);
  align-items: center;
  gap: 50px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: -54px -20px;
  width: calc(100% + 40px);
  height: calc(100% + 108px);
  object-fit: cover;
  opacity: 0.20;
  filter: blur(2px) saturate(1.15);
  z-index: -1;
}

.hero-copy {
  max-width: 740px;
}

.hero-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: #fde68a;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.hero p,
.page-hero p,
.detail-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-tags,
.detail-meta,
.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span,
.detail-meta span,
.page-hero-meta span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

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

.primary-button,
.ghost-button,
.panel-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.primary-button {
  min-height: 50px;
  padding: 0 28px;
  color: #ef4444;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.primary-button:hover,
.ghost-button:hover,
.panel-link:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.ghost-button {
  min-height: 50px;
  padding: 0 28px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-poster-card {
  justify-self: end;
  width: min(360px, 100%);
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.42);
  transform: rotate(2deg);
}

.hero-poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-poster-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 900;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
}

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

.hero-dot {
  width: 38px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: all 0.2s ease;
}

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

.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 68px 20px;
}

.soft-section {
  max-width: none;
  background: linear-gradient(135deg, #fff7ed, #fefce8);
}

.soft-section > .section-heading,
.soft-section > .movie-grid {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

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

.section-heading .eyebrow,
.panel-heading .eyebrow,
.page-hero .eyebrow,
.detail-hero .eyebrow {
  margin-bottom: 10px;
  color: #ef4444;
  background: #fff1f2;
  border-color: #ffe4e6;
}

.section-heading h2,
.panel-heading h2,
.article-card h2,
.info-panel h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.section-more,
.panel-link {
  color: #ef4444;
  background: #fff1f2;
  padding: 10px 16px;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.large-card .movie-poster,
.feature-card .movie-poster {
  aspect-ratio: 16 / 10;
}

.minimal-card .movie-poster {
  aspect-ratio: 4 / 3;
}

.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);
}

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.68));
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: all 0.25s ease;
}

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

.duration-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.74);
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.movie-card-body {
  padding: 18px;
}

.card-meta,
.card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.card-meta span:first-child {
  color: #16a34a;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 999px;
}

.movie-card h3 {
  margin: 10px 0 8px;
  color: #111827;
  font-size: 19px;
  line-height: 1.3;
}

.movie-card h3 a:hover {
  color: #ef4444;
}

.movie-card p {
  display: -webkit-box;
  margin: 0;
  min-height: 48px;
  color: #64748b;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  color: #475569;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 800;
}

.tag-row-large span {
  font-size: 14px;
  padding: 7px 12px;
}

.card-stats {
  justify-content: space-between;
  margin-top: 14px;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 26px;
  padding: 22px;
  color: #ffffff;
  box-shadow: var(--soft-shadow);
  isolation: isolate;
}

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

.category-tile:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, color-mix(in srgb, var(--cat-color) 75%, #000 25%), rgba(15, 23, 42, 0.44));
}

.category-tile strong,
.category-tile em,
.category-tile p {
  position: relative;
  display: block;
}

.category-tile strong {
  margin-top: 78px;
  font-size: 28px;
  line-height: 1;
}

.category-tile em {
  margin-top: 8px;
  font-style: normal;
  font-weight: 900;
  color: #fde68a;
}

.category-tile p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.ranking-panel,
.info-panel,
.article-card,
.player-card {
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--soft-shadow);
}

.ranking-panel {
  padding: 24px;
}

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

.compact-movie {
  display: grid;
  grid-template-columns: auto 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.compact-movie:hover {
  background: #fff1f2;
  transform: translateX(4px);
}

.compact-movie img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

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

.compact-movie strong {
  color: #111827;
}

.compact-movie em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.rank-num {
  color: #ef4444;
  font-size: 18px;
  font-weight: 1000;
}

.panel-link {
  width: 100%;
  margin-top: 18px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--page-color, #ef4444), #f97316 55%, #ec4899);
}

.page-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  padding: 70px 20px;
}

.page-hero > div,
.detail-hero-content {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 28%), rgba(15, 23, 42, 0.22);
}

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

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.filter-panel label span {
  display: block;
  margin: 0 0 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.filter-count {
  margin: 0;
  color: #ef4444;
  font-weight: 900;
}

.category-overview-card {
  display: block;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-thumb-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 180px;
  overflow: hidden;
  background: color-mix(in srgb, var(--cat-color) 38%, #0f172a 62%);
}

.category-thumb-stack img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  opacity: 0.90;
}

.category-overview-body {
  padding: 22px;
}

.category-overview-body span {
  color: var(--cat-color);
  font-weight: 900;
}

.category-overview-body h2 {
  margin: 8px 0;
  font-size: 28px;
}

.category-overview-body p {
  margin: 0;
  color: #64748b;
}

.ranking-hero,
.search-hero,
.category-hero {
  --page-color: #ef4444;
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

.detail-hero {
  min-height: 560px;
  padding: 70px 20px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: blur(2px) saturate(1.1);
}

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

.detail-cover {
  width: 280px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

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

.player-card,
.article-card,
.info-panel {
  padding: 22px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #020617;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  border: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.68));
  transition: opacity 0.25s ease;
}

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

.play-overlay span {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.35);
  font-size: 28px;
}

.play-overlay strong {
  font-size: 20px;
}

.article-card h2,
.info-panel h2 {
  margin-bottom: 14px;
  font-size: 26px;
}

.article-card p {
  margin: 0;
  color: #475569;
  font-size: 17px;
}

.detail-sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 92px;
}

.info-panel dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.info-panel dt {
  color: #94a3b8;
  font-weight: 900;
}

.info-panel dd {
  margin: 0;
  color: #334155;
  font-weight: 800;
}

.sidebar-related {
  display: grid;
  gap: 10px;
}

.prev-next-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.prev-next-links a {
  flex: 1 1 260px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #ef4444;
  background: #fff1f2;
  font-weight: 900;
}

.search-page-form {
  display: flex;
  gap: 10px;
  max-width: 760px;
  margin-top: 30px;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(12px);
}

.search-page-form input {
  color: #ffffff;
  padding: 0 14px;
}

.search-page-form input::placeholder {
  color: rgba(255, 255, 255, 0.80);
}

.search-page-form button {
  min-height: 48px;
  padding: 0 26px;
}

.search-status {
  margin-bottom: 24px;
  color: #475569;
  font-weight: 900;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding: 54px 20px;
}

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

.footer-about p,
.site-footer p {
  color: #94a3b8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  text-align: center;
  padding: 18px 20px;
}

.footer-bottom p {
  margin: 0;
}

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

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

  .hero-poster-card {
    display: none;
  }

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

  .detail-sidebar,
  .sticky-panel {
    position: static;
  }
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

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

  .hero-slide {
    inset: 36px 20px;
  }

  .hero h1,
  .page-hero h1,
  .detail-hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero p,
  .page-hero p,
  .detail-hero p {
    font-size: 17px;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    margin-top: 14px;
  }

  .three-grid,
  .four-grid,
  .two-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .detail-cover {
    width: min(240px, 70vw);
  }

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

@media (max-width: 560px) {
  .nav-shell {
    min-height: 64px;
  }

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

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

  .hero {
    min-height: 590px;
  }

  .hero-slider {
    min-height: 590px;
    padding: 34px 16px;
  }

  .hero-slide {
    inset: 34px 16px;
  }

  .hero-actions,
  .search-page-form {
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .search-page-form button {
    width: 100%;
  }

  .content-section {
    padding: 46px 16px;
  }

  .three-grid,
  .four-grid,
  .two-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .movie-card p {
    min-height: auto;
  }

  .page-hero,
  .detail-hero {
    padding: 52px 16px;
  }

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