:root {
  --rose: #e11d48;
  --rose-dark: #be123c;
  --orange: #f97316;
  --amber: #f59e0b;
  --yellow: #eab308;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f9fafb;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 45%, #fff7ed 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange), var(--amber));
  box-shadow: 0 10px 30px rgba(190, 18, 60, 0.24);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 22px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--orange);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.24);
  font-size: 15px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 650;
}

.desktop-nav a,
.mobile-nav a {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  opacity: 0.82;
}

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

.header-search input,
.mobile-nav input,
.large-search input,
.local-search input {
  width: 230px;
  height: 38px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.header-search button,
.mobile-nav button,
.large-search button {
  height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--rose-dark);
  background: #ffffff;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 16px 20px 20px;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.mobile-nav a,
.mobile-nav form {
  display: block;
  margin: 12px auto;
  width: min(100%, 520px);
  font-weight: 700;
}

.mobile-nav form {
  display: flex;
  gap: 8px;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: #111827;
}

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

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

.hero-bg,
.hero-bg > div {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: linear-gradient(135deg, #111827, #7f1d1d 45%, #f97316);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transform: scale(1.03);
}

.hero-bg > div {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.3);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0 0 22px;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-tags,
.detail-meta,
.card-meta,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-tags span,
.detail-meta span {
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

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

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

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  box-shadow: 0 16px 30px rgba(225, 29, 72, 0.25);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover,
.gradient-box a:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  transition: width 0.25s ease, background 0.25s ease;
}

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

.section {
  padding: 54px 0;
}

.warm-section {
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.9), rgba(255, 247, 237, 0.96));
}

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

.section-head h2,
.text-card h2,
.rank-panel h2,
.aside-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.section-head h2 span,
.text-card h2 span {
  display: inline-block;
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--rose), var(--orange));
}

.section-link {
  color: var(--orange);
  font-weight: 800;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #7f1d1d 46%, #f97316);
}

.poster-frame img,
.poster-pick img,
.related-thumb img,
.preview-stack img,
.tile-preview img,
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.movie-card:hover .poster-frame img,
.poster-pick:hover img,
.related-item:hover img {
  transform: scale(1.08);
}

.region-badge,
.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.region-badge {
  top: 10px;
  right: 10px;
  padding: 4px 9px;
  background: var(--orange);
}

.type-badge {
  left: 10px;
  bottom: 10px;
  padding: 4px 9px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.rank-badge {
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.3);
}

.card-body {
  padding: 18px;
}

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

.card-body h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover h3 a,
.related-item:hover strong {
  color: var(--orange);
}

.card-body p {
  display: -webkit-box;
  min-height: 45px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  justify-content: space-between;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 13px;
}

.card-meta span:last-child {
  overflow: hidden;
  max-width: 62%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #4b5563;
  background: #f3f4f6;
  font-size: 12px;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease;
}

.tag-chip:hover {
  color: var(--orange);
  background: #ffedd5;
}

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

.category-tile,
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  color: #ffffff;
  background: #111827;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile {
  min-height: 220px;
  padding: 26px;
}

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

.category-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 26px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.category-tile h3,
.category-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-tile p,
.category-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.tile-preview {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 150px;
  height: 104px;
  border-radius: 18px;
  overflow: hidden;
  opacity: 0.26;
  transform: rotate(-9deg);
}

.tile-1,
.category-banner.tile-1 {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.tile-2,
.category-banner.tile-2 {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.tile-3,
.category-banner.tile-3 {
  background: linear-gradient(135deg, #8b5cf6, #db2777);
}

.tile-4,
.category-banner.tile-4 {
  background: linear-gradient(135deg, #f43f5e, #f59e0b);
}

.tile-5,
.category-banner.tile-5 {
  background: linear-gradient(135deg, #ec4899, #fb7185);
}

.tile-6,
.category-banner.tile-6 {
  background: linear-gradient(135deg, #0f766e, #22c55e);
}

.tile-7,
.category-banner.tile-7 {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

.tile-8,
.category-banner.tile-8 {
  background: linear-gradient(135deg, #111827, #f97316);
}

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

.poster-pick {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #111827, #7f1d1d 46%, #f97316);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.13);
}

.poster-pick::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.82));
}

.poster-pick span {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
}

.tag-cloud-card,
.rank-panel,
.text-card,
.player-card,
.aside-card,
.filter-panel {
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.08);
}

.tag-cloud-card {
  padding: 36px;
  background: linear-gradient(90deg, #111827, #000000);
  color: #ffffff;
}

.tag-cloud-card h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.tag-cloud-card p {
  margin: 0 0 20px;
  color: #d1d5db;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud a {
  padding: 8px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}

.tag-cloud a:hover {
  background: linear-gradient(90deg, var(--rose), var(--orange));
}

.page-hero {
  padding: 74px 0;
  color: #ffffff;
}

.gradient-hero {
  background: linear-gradient(90deg, var(--rose), var(--orange), var(--amber));
}

.page-hero.centered {
  text-align: center;
}

.centered {
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.breadcrumbs.dark {
  color: #d1d5db;
}

.category-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.category-card {
  color: var(--ink);
  background: #ffffff;
}

.category-banner {
  position: relative;
  height: 142px;
  overflow: hidden;
}

.category-banner > span {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  color: #ffffff;
  font-size: 58px;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.preview-stack {
  position: absolute;
  right: 18px;
  bottom: -12px;
  display: flex;
  transform: rotate(-8deg);
}

.preview-stack img {
  width: 58px;
  height: 58px;
  margin-left: -14px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

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

.category-card h2 {
  color: var(--ink);
}

.category-card p {
  color: var(--muted);
}

.category-card strong {
  display: inline-block;
  margin-top: 18px;
  color: var(--orange);
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-buttons button {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: #4b5563;
  background: #f3f4f6;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
}

.local-search {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

.local-search input,
.large-search input {
  border: 1px solid var(--line);
  background: #ffffff;
}

.rank-panel {
  margin-bottom: 28px;
  padding: 26px;
  background: linear-gradient(90deg, #fff1f2, #fff7ed);
}

.rank-panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

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

.related-list {
  display: grid;
  gap: 14px;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rank-list .related-item:hover,
.compact .related-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.related-thumb {
  position: relative;
  flex: 0 0 116px;
  width: 116px;
  height: 72px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #111827, #7f1d1d 46%, #f97316);
}

.related-info {
  min-width: 0;
}

.related-info strong,
.related-info em {
  display: block;
}

.related-info strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  transition: color 0.2s ease;
}

.related-info em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.small-rank {
  position: absolute;
  left: 8px;
  top: 8px;
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  font-size: 12px;
  font-weight: 900;
}

.large-search {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.large-search input {
  flex: 1;
  width: auto;
  height: 50px;
  padding: 0 20px;
}

.large-search button {
  height: 50px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
}

.search-status {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 700;
}

.detail-main {
  background: #f9fafb;
}

.detail-top {
  padding: 30px 0;
  background: linear-gradient(180deg, #111827, #1f2937);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.85fr);
  gap: 28px;
  padding-top: 34px;
}

.detail-primary {
  display: grid;
  gap: 24px;
}

.player-card {
  overflow: hidden;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #7f1d1d 46%, #f97316);
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.72));
}

.player-cover.is-hidden {
  display: none;
}

.play-button {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
  box-shadow: 0 18px 46px rgba(225, 29, 72, 0.32);
  font-size: 34px;
  transition: transform 0.2s ease;
}

.play-button:hover {
  transform: scale(1.06);
}

.player-status {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  transform: translateX(-50%);
}

.detail-copy {
  padding: 26px;
}

.detail-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.detail-copy p {
  color: #4b5563;
}

.detail-copy .one-line {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 800;
}

.detail-meta {
  margin: 20px 0;
}

.detail-meta span {
  color: #374151;
  background: #f3f4f6;
}

.detail-tags {
  gap: 8px;
}

.text-card,
.aside-card {
  padding: 26px;
}

.text-card h2,
.aside-card h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.text-card p,
.article-text p,
.aside-card p {
  margin: 0 0 14px;
  color: #4b5563;
}

.detail-aside {
  display: grid;
  align-content: start;
  gap: 22px;
}

.gradient-box {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
}

.gradient-box p {
  color: rgba(255, 255, 255, 0.86);
}

.gradient-box a {
  margin-top: 12px;
  color: var(--rose-dark);
  background: #ffffff;
}

.site-footer {
  margin-top: 64px;
  color: #ffffff;
  background: linear-gradient(180deg, #111827, #000000);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 46px 0;
}

.footer-brand .brand-mark {
  color: #ffffff;
  background: linear-gradient(90deg, var(--rose), var(--orange));
}

.site-footer p {
  max-width: 420px;
  color: #9ca3af;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 8px 0;
  color: #9ca3af;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

.is-hidden-card {
  display: none !important;
}

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

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

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

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

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

  .menu-toggle {
    display: block;
  }

  body.menu-open .mobile-nav {
    display: block;
  }

  .hero {
    min-height: 620px;
  }

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

  .hero-arrow {
    display: none;
  }

  .movie-grid,
  .category-grid,
  .category-overview,
  .rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filter-panel,
  .large-search {
    align-items: stretch;
    flex-direction: column;
  }

  .local-search {
    align-items: stretch;
    flex-direction: column;
  }

  .local-search input,
  .large-search input {
    width: 100%;
  }
}

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

  .brand {
    font-size: 19px;
  }

  .hero {
    height: 72vh;
    min-height: 560px;
  }

  .hero-copy {
    padding: 0 6px;
  }

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

  .hero-actions a {
    width: 100%;
  }

  .movie-grid,
  .category-grid,
  .category-overview,
  .rank-list {
    grid-template-columns: 1fr;
  }

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

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

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

  .related-item {
    align-items: flex-start;
  }
}
