:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-850: #152033;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-600: #57534e;
  --stone-800: #292524;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --teal-900: #134e4a;
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, 0.18);
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.14);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--slate-900);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--stone-100);
  background: linear-gradient(90deg, var(--slate-900), var(--slate-700), var(--slate-900));
  box-shadow: 0 12px 35px rgba(2, 6, 23, 0.3);
  border-bottom: 1px solid rgba(245, 158, 11, 0.22);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.32);
}

.brand-copy {
  display: grid;
}

.brand strong,
.footer-brand span:last-child {
  font-size: 24px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: -2px;
  color: var(--stone-300);
  font-size: 12px;
}

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

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 650;
  color: var(--stone-200);
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--amber-500);
  transition: right 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.98);
}

.mobile-panel.is-open {
  display: grid;
}

.mobile-link {
  padding: 13px 24px;
  color: var(--stone-200);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 45%, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.82) 42%, rgba(15, 23, 42, 0.35) 76%, rgba(2, 6, 23, 0.65));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1180px;
  padding-top: 28px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(217, 119, 6, 0.9);
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(217, 119, 6, 0.26);
}

.eyebrow.dark {
  color: var(--amber-700);
  background: rgba(245, 158, 11, 0.14);
  box-shadow: none;
}

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

.hero p {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--stone-200);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-meta span,
.hero-meta a,
.meta-line span,
.meta-line a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--stone-100);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-actions,
.detail-copy .btn {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
  box-shadow: 0 18px 38px rgba(217, 119, 6, 0.32);
}

.btn-soft {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  color: #fff;
  font-size: 38px;
  line-height: 0;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

.search-band {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-900), var(--slate-800));
}

.search-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
  padding: 46px 0;
}

.search-grid h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.16;
}

.search-grid p {
  margin: 0;
  color: var(--stone-300);
}

.search-box,
.inline-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(16px);
}

.search-box input,
.inline-search input {
  flex: 1;
  min-width: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: none;
  padding: 0 12px;
}

.inline-search input {
  color: var(--slate-900);
}

.search-box input::placeholder,
.inline-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.inline-search input::placeholder {
  color: var(--slate-600);
}

.search-box button,
.inline-search button {
  color: #fff;
  font-weight: 800;
  background: var(--amber-600);
  border: 0;
  border-radius: 13px;
  padding: 11px 18px;
  cursor: pointer;
}

.section {
  padding: 76px 0;
}

.section-dark {
  color: #fff;
  background: linear-gradient(180deg, var(--slate-800), var(--slate-700));
}

.section-light {
  background: var(--stone-50);
}

.section-split {
  color: #fff;
  background: radial-gradient(circle at 78% 14%, rgba(245, 158, 11, 0.18), transparent 28%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.section-title.left {
  align-items: start;
}

.section-title span {
  color: var(--amber-700);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-title a,
.text-link,
.back-link {
  color: var(--amber-700);
  font-weight: 800;
}

.section-title.light span,
.section-title.light a,
.section-dark .text-link,
.section-split .text-link {
  color: var(--amber-300);
}

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

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-dark .movie-card,
.detail-side .side-card {
  background: rgba(30, 41, 59, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--slate-800);
}

.poster-wrap img,
.ranking-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.play-mark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: rgba(217, 119, 6, 0.9);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
}

.rank-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  min-width: 38px;
  justify-content: center;
  padding: 6px 8px;
  color: #fff;
  font-weight: 900;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

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

.card-compact .movie-card-body {
  padding: 16px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 11px;
}

.movie-card .meta-line span,
.ranking-body .meta-line span,
.ranking-body .meta-line a {
  color: var(--slate-700);
  background: var(--stone-100);
  border-color: rgba(15, 23, 42, 0.08);
  backdrop-filter: none;
}

.section-dark .movie-card .meta-line span {
  color: var(--stone-200);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.movie-card h3,
.ranking-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.32;
}

.movie-card h3 a:hover,
.ranking-card h2 a:hover,
.category-sample a:hover,
.footer-links a:hover {
  color: var(--amber-600);
}

.section-dark .movie-card h3 a:hover,
.section-split .rank-info strong:hover {
  color: var(--amber-300);
}

.movie-card p,
.ranking-card p {
  margin: 0 0 14px;
  color: var(--stone-600);
  font-size: 14px;
}

.section-dark .movie-card p {
  color: var(--stone-400);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span {
  display: inline-flex;
  padding: 4px 9px;
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.13);
  border-radius: 999px;
}

.tag-list.large span {
  padding: 6px 12px;
  color: #fff;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

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

.category-card,
.category-overview-card,
.content-panel,
.side-card,
.spotlight-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.category-card {
  display: grid;
  min-height: 170px;
  align-content: space-between;
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.category-card::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 94px;
  height: 94px;
  background: rgba(245, 158, 11, 0.14);
  border-radius: 999px;
}

.category-card span,
.category-card-title {
  color: var(--slate-900);
  font-size: 22px;
  font-weight: 900;
}

.category-card strong {
  color: var(--stone-600);
  font-size: 14px;
  font-weight: 500;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 34px;
  align-items: stretch;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px 58px 1fr 24px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.rank-row:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.rank-num {
  color: var(--amber-300);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.rank-row img {
  width: 58px;
  height: 78px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-info {
  display: grid;
  min-width: 0;
}

.rank-info strong {
  overflow: hidden;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  overflow: hidden;
  color: var(--stone-400);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-arrow {
  color: var(--amber-300);
  font-size: 28px;
}

.spotlight-panel {
  padding: 36px;
  color: #fff;
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.78), rgba(30, 41, 59, 0.88));
  border-color: rgba(245, 158, 11, 0.2);
  backdrop-filter: blur(8px);
}

.spotlight-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.spotlight-panel p {
  color: var(--stone-300);
  margin-bottom: 28px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.masonry-grid {
  columns: 3 260px;
  column-gap: 24px;
}

.masonry-grid .movie-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
}

.page-hero {
  padding: 70px 0;
  color: #fff;
  background: radial-gradient(circle at 82% 24%, rgba(245, 158, 11, 0.18), transparent 28%), linear-gradient(135deg, var(--slate-900), var(--slate-700));
}

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

.page-hero p {
  max-width: 760px;
  color: var(--stone-300);
  font-size: 18px;
}

.page-hero .inline-search {
  max-width: 640px;
  margin-top: 28px;
  background: #fff;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--amber-300);
}

.category-overview-card {
  padding: 26px;
}

.category-overview-card p {
  color: var(--stone-600);
}

.category-sample {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.category-sample a {
  padding: 6px 10px;
  color: var(--slate-700);
  font-size: 13px;
  background: var(--stone-100);
  border-radius: 999px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-chip {
  padding: 9px 16px;
  color: var(--slate-700);
  font-weight: 800;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  cursor: pointer;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: #fff;
  background: var(--amber-600);
}

.empty-state {
  display: none;
  padding: 40px;
  color: var(--stone-600);
  text-align: center;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 14px;
}

.ranking-cover {
  position: relative;
  overflow: hidden;
  height: 156px;
  background: var(--slate-800);
  border-radius: 16px;
}

.ranking-cover span {
  position: absolute;
  left: 8px;
  top: 8px;
  min-width: 34px;
  padding: 5px 8px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  background: rgba(2, 6, 23, 0.78);
  border-radius: 999px;
}

.ranking-body {
  align-self: center;
}

.ranking-body h2 {
  font-size: 22px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--slate-950);
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  filter: blur(8px) saturate(1.15);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.78));
}

.detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 38px;
  align-items: center;
  padding: 68px 0;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--stone-300);
  font-size: 14px;
}

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

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
}

.detail-one-line {
  max-width: 780px;
  color: var(--stone-200);
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.detail-meta span {
  padding: 7px 12px;
  color: var(--stone-100);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.15), rgba(2, 6, 23, 0.55));
  cursor: pointer;
}

.player-start span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  padding-left: 7px;
  color: #fff;
  font-size: 38px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-700));
  border-radius: 999px;
  box-shadow: 0 20px 48px rgba(217, 119, 6, 0.38);
}

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

.content-panel {
  margin-top: 24px;
  padding: 30px;
}

.content-panel h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.content-panel p {
  margin: 0 0 24px;
  color: var(--stone-600);
  font-size: 16px;
}

.detail-side {
  display: grid;
  gap: 18px;
}

.side-card {
  padding: 24px;
  color: #fff;
}

.side-card dl {
  margin: 0;
}

.side-card dt {
  color: var(--stone-400);
  font-size: 13px;
}

.side-card dd {
  margin: 0 0 14px;
  color: var(--stone-100);
  font-weight: 700;
}

.page-switch {
  display: grid;
  gap: 12px;
}

.page-switch a {
  padding: 12px;
  color: var(--stone-200);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.page-switch a:hover {
  color: var(--amber-300);
}

.site-footer {
  color: var(--stone-300);
  background: linear-gradient(90deg, var(--slate-950), var(--slate-800));
  border-top: 1px solid rgba(245, 158, 11, 0.2);
}

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

.footer-brand {
  margin-bottom: 16px;
  color: #fff;
  font-weight: 900;
}

.site-footer p {
  max-width: 520px;
  color: var(--stone-400);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--stone-400);
}

.footer-bottom {
  padding: 18px;
  color: var(--stone-500, #78716c);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

  .menu-toggle {
    display: block;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand strong,
  .footer-brand span:last-child {
    font-size: 20px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-right: 24px;
  }

  .hero-arrow {
    display: none;
  }

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

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

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

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

  .hero {
    min-height: 620px;
  }

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

  .search-box,
  .inline-search {
    flex-direction: column;
  }

  .section {
    padding: 54px 0;
  }

  .movie-grid,
  .catalog-grid,
  .category-grid,
  .overview-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    grid-template-columns: 86px 1fr;
    gap: 12px;
  }

  .ranking-cover {
    height: 126px;
  }

  .player-start span {
    width: 74px;
    height: 74px;
    font-size: 30px;
  }
}
