:root {
  --amber-50: #fff7ed;
  --amber-100: #ffedd5;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.12);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --max-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 45%, #fff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500), var(--amber-500));
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.28);
}

.nav-wrap {
  width: min(var(--max-width), calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  font-weight: 650;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.nav-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 99px;
}

.hero-slider {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--slate-900);
}

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

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

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

.hero-slide.is-active .hero-bg {
  transform: scale(1.12);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.35), transparent 35%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 46%, rgba(15, 23, 42, 0.2) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 42%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100% - var(--max-width)) / 2));
  bottom: 78px;
  width: min(680px, calc(100% - 48px));
  color: #fff;
}

.hero-content h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(245, 158, 11, 0.95);
}

.tag-row span {
  color: var(--gray-600);
  background: var(--gray-100);
}

.hero-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-meta span,
.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 22px;
  transform: translateY(-50%);
}

.hero-next {
  right: 22px;
  transform: translateY(-50%);
}

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

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

.hero-dots button.is-active {
  width: 34px;
  background: var(--amber-500);
}

.home-search-band {
  position: relative;
  z-index: 8;
  width: min(var(--max-width), calc(100% - 32px));
  margin: -36px auto 0;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 20px;
  align-items: center;
  border-radius: var(--radius-xl);
  color: var(--gray-800);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.home-search-band strong {
  display: block;
  font-size: 24px;
}

.home-search-band span {
  color: var(--gray-600);
}

.home-search-form {
  display: flex;
  gap: 10px;
}

.home-search-form input,
.search-console input,
.filter-panel input,
.filter-panel select,
.search-console select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.home-search-form input:focus,
.search-console input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.search-console select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.home-search-form button,
.search-console button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--amber-500), var(--orange-500));
  cursor: pointer;
}

.content-wrap {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.content-section {
  margin-bottom: 76px;
}

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

.heading-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.heading-title span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.22);
}

.section-heading h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(26px, 4vw, 38px);
}

.section-heading p {
  max-width: 480px;
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
  text-align: right;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
}

.card-cover {
  position: relative;
  display: block;
  height: 235px;
  overflow: hidden;
  background: var(--gray-200);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .card-cover img {
  transform: scale(1.1);
}

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: var(--amber-500);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.card-category,
.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 9px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: var(--amber-500);
}

.rank-badge {
  left: 12px;
  right: auto;
  background: rgba(15, 23, 42, 0.82);
}

.card-body {
  padding: 16px;
}

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

.card-body h3 a:hover {
  color: var(--orange-600);
}

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

.card-meta {
  margin-top: 0;
  gap: 8px;
  color: var(--gray-500);
  font-size: 12px;
}

.card-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gray-100);
}

.tag-row {
  margin-top: 12px;
}

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

.category-tile {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

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

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

.category-mask {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.18));
}

.category-count {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.92);
}

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 20px;
  right: 20px;
}

.category-tile strong {
  bottom: 72px;
  font-size: 26px;
}

.category-tile em {
  bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 92px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

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

.panel-head h2 {
  margin: 0;
}

.panel-head a,
.text-link {
  color: var(--orange-600);
  font-weight: 800;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 52px 86px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
}

.rank-thumb {
  display: block;
  width: 86px;
  height: 64px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gray-200);
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.rank-info p {
  margin: 0;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.5;
}

.page-hero {
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.38), transparent 34%),
    linear-gradient(135deg, var(--slate-900), #2f1f0c 54%, var(--orange-600));
}

.small-hero {
  padding: 78px 0;
}

.page-hero > div {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber-300);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 62px);
  letter-spacing: -0.04em;
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

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

.overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.overview-cover {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.overview-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-cover span {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.92);
}

.overview-body {
  padding: 22px;
}

.overview-body h2 {
  margin: 0 0 10px;
}

.overview-body p {
  margin: 0 0 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.overview-body ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--gray-600);
  line-height: 1.8;
}

.filter-panel,
.search-console {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(150px, 1fr)) auto auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.filter-panel label,
.search-console label {
  display: grid;
  gap: 7px;
  color: var(--gray-700);
  font-weight: 700;
}

.filter-result,
.search-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--orange-600);
  font-weight: 900;
  background: var(--amber-100);
}

.empty-state {
  padding: 38px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--gray-600);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.search-summary {
  margin-bottom: 22px;
}

.detail-wrap {
  padding-top: 32px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--gray-600);
}

.breadcrumb a {
  color: var(--orange-600);
  font-weight: 800;
}

.detail-hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: stretch;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #fff7ed);
  box-shadow: var(--shadow-soft);
}

.detail-cover {
  overflow: hidden;
  border-radius: 22px;
  background: var(--gray-200);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.detail-meta-grid span {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--gray-200);
}

.detail-meta-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gray-500);
  font-size: 12px;
}

.detail-tags {
  margin-bottom: 24px;
}

.player-section {
  margin: 42px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.28);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.24), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-500));
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.35);
}

.player-overlay strong {
  font-size: 24px;
}

.player-overlay em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 16px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 24px;
  margin-bottom: 70px;
}

.prose-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.prose-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.prose-card p {
  margin: 0 0 24px;
  color: var(--gray-700);
  line-height: 2;
}

.prose-card p:last-child {
  margin-bottom: 0;
}

.review-card {
  background: linear-gradient(135deg, #fff7ed, #fff);
}

.accent-orange .category-count,
.accent-orange .overview-cover span {
  background: #f97316;
}

.accent-teal .category-count,
.accent-teal .overview-cover span {
  background: #14b8a6;
}

.accent-red .category-count,
.accent-red .overview-cover span {
  background: #ef4444;
}

.accent-cyan .category-count,
.accent-cyan .overview-cover span {
  background: #06b6d4;
}

.accent-slate .category-count,
.accent-slate .overview-cover span {
  background: #475569;
}

.accent-amber .category-count,
.accent-amber .overview-cover span {
  background: #d97706;
}

.accent-rose .category-count,
.accent-rose .overview-cover span {
  background: #e11d48;
}

.accent-violet .category-count,
.accent-violet .overview-cover span {
  background: #7c3aed;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

.footer-grid {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
  color: #fff;
}

.footer-grid p {
  margin: 0 0 12px;
  line-height: 1.8;
}

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

.footer-grid a:hover {
  color: var(--amber-300);
}

.footer-small {
  color: #94a3b8;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  padding: 20px;
  text-align: center;
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
}

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

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }

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

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

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

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(217, 119, 6, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.is-open {
    display: flex;
  }

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

  .nav-link:hover,
  .nav-link.is-active {
    background: rgba(255, 255, 255, 0.14);
  }

  .hero-slider {
    height: 560px;
  }

  .hero-arrow {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    bottom: 72px;
  }

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

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

  .overview-grid,
  .overview-card,
  .detail-hero,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .overview-cover {
    min-height: 220px;
  }

  .detail-cover img {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .brand-text {
    font-size: 20px;
  }

  .hero-slider {
    height: 520px;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-meta {
    font-size: 13px;
  }

  .hero-arrow {
    display: none;
  }

  .home-search-form {
    flex-direction: column;
  }

  .section-heading {
    display: grid;
    gap: 10px;
  }

  .section-heading p {
    text-align: left;
  }

  .movie-grid,
  .movie-grid-compact,
  .movie-grid-related,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .card-cover {
    height: 260px;
  }

  .rank-item {
    grid-template-columns: 42px 72px 1fr;
    gap: 10px;
  }

  .rank-num {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .rank-thumb {
    width: 72px;
    height: 58px;
  }

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

  .detail-hero {
    padding: 18px;
  }

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

  .player-status {
    position: static;
    border-radius: 0;
  }
}
