:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.58);
  --panel-strong: rgba(15, 23, 42, 0.86);
  --line: rgba(245, 158, 11, 0.18);
  --line-soft: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --amber: #f59e0b;
  --amber-bright: #fbbf24;
  --orange: #f97316;
  --danger: #fb7185;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --shadow-amber: 0 16px 40px rgba(245, 158, 11, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.18), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.16), transparent 30rem),
    linear-gradient(135deg, #020617 0%, #0f172a 55%, #020617 100%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.6;
}

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;
  background: rgba(2, 6, 23, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}

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

.brand-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #020617;
  background: linear-gradient(135deg, var(--amber-bright), var(--orange));
  border-radius: 12px;
  box-shadow: var(--shadow-amber);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  font-size: 1.22rem;
  background: linear-gradient(90deg, var(--amber-bright), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav-link,
.mobile-nav-link {
  color: var(--muted);
  font-weight: 650;
  transition:
    color 0.22s ease,
    background 0.22s ease;
}

.site-nav-link:hover,
.site-nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--amber-bright);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 18px;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: rgba(15, 23, 42, 0.8);
}

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

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.82) 22%, rgba(2, 6, 23, 0.22) 100%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.45) 52%, rgba(2, 6, 23, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: 70vh;
  padding-bottom: 72px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber-bright);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-summary {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
  color: var(--subtle);
  font-size: 0.95rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(10px);
}

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

.primary-button,
.ghost-button,
.quick-search button,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.primary-button,
.quick-search button,
.search-form button {
  color: #111827;
  background: linear-gradient(90deg, var(--amber-bright), var(--orange));
  box-shadow: var(--shadow-amber);
}

.ghost-button {
  color: var(--text);
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover,
.quick-search button:hover,
.search-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.24);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: background 0.2s ease;
  font-size: 2rem;
  line-height: 1;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition:
    width 0.24s ease,
    background 0.24s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--amber-bright);
}

.quick-search-card,
.filter-panel,
.search-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.quick-search,
.search-form {
  display: flex;
  flex: 1;
  max-width: 620px;
  gap: 12px;
}

.quick-search input,
.search-form input,
.filter-control input,
.filter-control select {
  width: 100%;
  min-height: 46px;
  color: var(--text);
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  outline: none;
  background: rgba(2, 6, 23, 0.72);
  padding: 0 14px;
}

.quick-search input:focus,
.search-form input:focus,
.filter-control input:focus,
.filter-control select:focus {
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.content-section {
  padding-top: 70px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--amber-bright), var(--orange));
  box-shadow: var(--shadow-amber);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.section-title p {
  margin: 4px 0 0;
  color: var(--subtle);
}

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

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

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

.six-col {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.mt-24 {
  margin-top: 24px;
}

.movie-card {
  min-width: 0;
}

.movie-card-link,
.large-card-link,
.movie-wide-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: rgba(15, 23, 42, 0.42);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  backdrop-filter: blur(12px);
}

.movie-card-link:hover,
.large-card-link:hover,
.movie-wide-link:hover {
  border-color: rgba(251, 191, 36, 0.58);
  background: rgba(15, 23, 42, 0.66);
  box-shadow: 0 20px 44px rgba(245, 158, 11, 0.12);
  transform: translateY(-5px);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.94));
}

.movie-cover img,
.large-card-link img,
.detail-poster img,
.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card-link:hover img,
.large-card-link:hover img,
.movie-wide-link:hover img {
  transform: scale(1.08);
}

.movie-cover.is-missing::after,
.detail-poster.is-missing::after {
  position: absolute;
  inset: auto 10px 14px;
  content: attr(data-title);
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.movie-score {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 8px;
  color: var(--amber-bright);
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
}

.play-corner {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #111827;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-bright), var(--orange));
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.movie-card-link:hover .play-corner {
  opacity: 1;
  transform: translateY(0);
}

.movie-info {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.movie-info strong {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card-link:hover strong,
.large-card-link:hover strong,
.movie-wide-link:hover strong {
  color: var(--amber-bright);
}

.movie-info small,
.large-card-content small,
.movie-wide-body small {
  color: var(--subtle);
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.movie-tags span,
.detail-tags span,
.search-hints button {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  color: var(--muted);
  font-size: 0.78rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.36);
}

.large-grid {
  gap: 22px;
}

.movie-card-large .large-card-link {
  position: relative;
  aspect-ratio: 16 / 10;
}

.large-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.18));
}

.large-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 7px;
  padding: 20px;
}

.large-card-content strong {
  color: #ffffff;
  font-size: 1.32rem;
  line-height: 1.25;
}

.region-grid,
.category-grid,
.detail-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.region-block,
.category-card,
.content-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.region-block {
  padding: 20px;
}

.region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.region-head h3 {
  margin: 0;
  color: var(--amber-bright);
  font-size: 1.28rem;
}

.region-head a {
  color: var(--subtle);
  font-weight: 700;
}

.region-head a:hover {
  color: var(--amber-bright);
}

.compact-grid {
  gap: 14px;
}

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

.movie-wide-link {
  display: flex;
  align-items: stretch;
}

.movie-cover-wide {
  width: 168px;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
}

.movie-wide-body {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
}

.movie-wide-body strong {
  color: var(--text);
  font-size: 1.15rem;
}

.movie-wide-body span {
  color: var(--muted);
}

.ranking-mini,
.ranking-list {
  display: grid;
  gap: 10px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto 54px;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: rgba(15, 23, 42, 0.48);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.ranking-item:hover {
  border-color: rgba(251, 191, 36, 0.58);
  background: rgba(15, 23, 42, 0.78);
  transform: translateX(4px);
}

.ranking-number {
  color: var(--amber-bright);
  font-size: 1.2rem;
  font-weight: 900;
}

.ranking-title {
  overflow: hidden;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-meta {
  color: var(--subtle);
  font-size: 0.9rem;
}

.ranking-score {
  justify-self: end;
  color: var(--amber-bright);
  font-weight: 900;
}

.page-hero {
  padding: 78px 0 58px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(249, 115, 22, 0.08)),
    rgba(15, 23, 42, 0.22);
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.category-page-hero {
  background:
    radial-gradient(circle at 16% 10%, rgba(251, 191, 36, 0.16), transparent 30rem),
    rgba(15, 23, 42, 0.32);
}

.category-card {
  overflow: hidden;
}

.category-card-link {
  position: relative;
  display: block;
  min-height: 176px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.category-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.86;
}

.from-amber-500.to-orange-500 {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.from-rose-500.to-pink-500 {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.from-sky-500.to-cyan-500 {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.from-violet-500.to-fuchsia-500 {
  background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

.from-emerald-500.to-teal-500 {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.from-indigo-500.to-blue-500 {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
}

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

.from-lime-500.to-green-500 {
  background: linear-gradient(135deg, #84cc16, #22c55e);
}

.from-yellow-500.to-amber-500 {
  background: linear-gradient(135deg, #eab308, #f59e0b);
}

.from-cyan-500.to-blue-500 {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.from-purple-500.to-indigo-500 {
  background: linear-gradient(135deg, #a855f7, #6366f1);
}

.from-pink-500.to-rose-500 {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.category-card-body {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 7px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.08));
}

.category-card-body strong {
  font-size: 1.55rem;
}

.category-card-body small {
  font-weight: 800;
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.filter-panel {
  align-items: end;
  margin-top: 28px;
}

.filter-control {
  display: grid;
  min-width: 148px;
  gap: 7px;
}

.filter-control.grow {
  flex: 1;
}

.filter-control label {
  color: var(--subtle);
  font-size: 0.9rem;
  font-weight: 700;
}

.empty-state {
  margin: 28px 0 0;
  padding: 26px;
  color: var(--subtle);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.search-panel {
  display: grid;
}

.search-form {
  max-width: none;
}

.search-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-hints button {
  cursor: pointer;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 58px;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  filter: blur(4px);
  transform: scale(1.05);
}

.detail-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(2, 6, 23, 0.72) 60%, rgba(2, 6, 23, 0.52) 100%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--subtle);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--amber-bright);
}

.detail-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.64);
  box-shadow: var(--shadow);
}

.detail-score {
  top: 14px;
  right: 14px;
  font-size: 0.9rem;
}

.detail-copy h1 {
  font-size: clamp(2.1rem, 6vw, 4.2rem);
}

.detail-one-line {
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.player-section {
  margin-top: 22px;
}

.video-player {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #000000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

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

.player-start {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: white;
  border: 0;
  background:
    radial-gradient(circle, rgba(245, 158, 11, 0.24), transparent 14rem),
    rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.player-start span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #111827;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-bright), var(--orange));
  box-shadow: var(--shadow-amber);
  font-size: 2rem;
}

.player-start strong {
  font-size: 1.2rem;
}

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

.player-status {
  position: absolute;
  right: 16px;
  bottom: 12px;
  left: 16px;
  z-index: 2;
  margin: 0;
  color: var(--subtle);
  font-size: 0.88rem;
  text-align: center;
  pointer-events: none;
}

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

.detail-content-grid {
  grid-template-columns: 1fr 1fr 320px;
  padding-top: 34px;
}

.content-card {
  padding: 24px;
}

.content-card h2 {
  margin: 0 0 14px;
  color: var(--amber-bright);
  font-size: 1.38rem;
}

.content-card p {
  margin: 0;
  color: var(--muted);
}

.detail-meta-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-meta-card dt {
  color: var(--subtle);
  font-size: 0.84rem;
}

.detail-meta-card dd {
  margin: -8px 0 0;
  color: var(--text);
  font-weight: 750;
}

.detail-meta-card a {
  color: var(--amber-bright);
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
  padding: 44px 0;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--amber-bright);
  font-size: 1.05rem;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 8px;
  color: var(--subtle);
  font-size: 0.95rem;
}

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

.footer-bottom {
  padding: 18px 16px;
  color: #64748b;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

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

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

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

  .detail-meta-card {
    grid-column: 1 / -1;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero-content {
    min-height: 76vh;
  }

  .hero-content {
    padding-bottom: 82px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search-card,
  .filter-panel {
    display: grid;
    align-items: stretch;
  }

  .quick-search,
  .search-form {
    display: grid;
  }

  .six-col,
  .four-col,
  .two-col,
  .region-grid,
  .category-grid,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .ranking-item {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .ranking-meta {
    display: none;
  }
}

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

  .hero-meta {
    gap: 8px;
  }

  .movie-grid.six-col,
  .movie-grid.four-col,
  .category-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .large-grid,
  .region-grid .movie-grid {
    grid-template-columns: 1fr;
  }

  .movie-wide-link {
    display: grid;
  }

  .movie-cover-wide {
    width: 100%;
  }

  .movie-info strong {
    min-height: 38px;
    font-size: 0.92rem;
  }

  .movie-info small,
  .movie-tags span {
    font-size: 0.72rem;
  }

  .content-card {
    padding: 18px;
  }
}
