:root {
  --page-bg: #fff7ed;
  --page-bg-soft: #fffbeb;
  --panel-bg: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: rgba(251, 146, 60, 0.28);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --black: #0f172a;
  --shadow: 0 20px 45px rgba(124, 45, 18, 0.12);
  --soft-shadow: 0 10px 28px rgba(124, 45, 18, 0.1);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(251, 146, 60, 0.18),
      transparent 34rem
    ),
    linear-gradient(180deg, var(--page-bg), var(--page-bg-soft));
}

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

.header-inner {
  max-width: 1280px;
  min-height: 74px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: #1f2937;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 14px 24px rgba(249, 115, 22, 0.28);
  transition: transform 0.24s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.06) rotate(-4deg);
}

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

.header-search,
.mobile-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 420px;
  min-width: 220px;
}

.header-search input,
.mobile-search input,
.page-search input,
.filter-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.header-search input,
.mobile-search input {
  padding: 11px 88px 11px 16px;
}

.header-search button,
.mobile-search button,
.page-search button,
.primary-btn,
.ghost-btn,
.watch-button {
  border: 0;
  cursor: pointer;
  border-radius: 13px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.header-search button,
.mobile-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  padding: 0 17px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.header-search input:focus,
.mobile-search input:focus,
.page-search input:focus,
.filter-select:focus {
  border-color: rgba(249, 115, 22, 0.72);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
  background: #ffffff;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 700;
  color: #4b5563;
  padding: 10px 0;
  position: relative;
  white-space: nowrap;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--orange-dark);
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange-dark);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 22px;
}

.mobile-panel {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px 18px;
  border-top: 1px solid var(--line);
}

.mobile-panel.open {
  display: grid;
  gap: 10px;
}

.mobile-panel a {
  padding: 10px 0;
  font-weight: 700;
  color: #4b5563;
}

.mobile-search {
  max-width: none;
  min-width: 0;
  margin-top: 14px;
}

.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 75% 22%,
      rgba(249, 115, 22, 0.34),
      transparent 18rem
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.94),
      rgba(0, 0, 0, 0.7) 45%,
      rgba(0, 0, 0, 0.15)
    );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 22px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fed7aa;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
}

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

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 18px 32px rgba(249, 115, 22, 0.28);
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover,
.header-search button:hover,
.mobile-search button:hover,
.page-search button:hover,
.watch-button:hover {
  transform: translateY(-2px);
}

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

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

.hero-tags span,
.tag-row span,
.breadcrumb a,
.breadcrumb span {
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.1);
  color: #c2410c;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(249, 115, 22, 0.8);
  backdrop-filter: blur(10px);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: max(22px, calc((100vw - 1280px) / 2 + 22px));
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 22px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  padding: 0;
}

.hero-dot.active {
  width: 30px;
  background: var(--orange);
}

.hero-arrow:hover,
.hero-dot:hover {
  background: rgba(249, 115, 22, 0.9);
  transform: translateY(-1px);
}

.main-wrap,
.section,
.page-hero,
.detail-wrap {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}

.main-wrap {
  padding-top: 38px;
  padding-bottom: 54px;
}

.section {
  margin-top: 54px;
}

.section-head,
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-kicker {
  color: var(--orange-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section h2,
.page-heading h1,
.detail-title {
  margin: 0;
  color: #1f2937;
  letter-spacing: -0.03em;
}

.section h2,
.page-heading h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-desc,
.page-heading p,
.card-desc,
.mini-desc,
.detail-summary {
  color: var(--muted);
  line-height: 1.75;
}

.section-link {
  color: var(--orange-dark);
  font-weight: 900;
  white-space: nowrap;
}

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: var(--radius-lg);
  background: var(--panel-bg);
  box-shadow: var(--soft-shadow);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.42);
  box-shadow: var(--shadow);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(251, 146, 60, 0.24),
      transparent 12rem
    ),
    linear-gradient(135deg, #111827, #431407);
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.34s ease,
    opacity 0.2s ease;
}

.movie-card:hover .poster-img,
.mini-card:hover .mini-img {
  transform: scale(1.06);
}

.poster-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.year-badge,
.rank-badge,
.mini-rank {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.year-badge {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(17, 24, 39, 0.68);
  backdrop-filter: blur(10px);
}

.rank-badge {
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.card-body {
  padding: 16px;
}

.card-title,
.mini-title {
  display: block;
  color: #1f2937;
  font-weight: 900;
  line-height: 1.35;
}

.card-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.card-title:hover,
.mini-title:hover,
.category-panel:hover h2 {
  color: var(--orange-dark);
}

.card-meta,
.mini-meta {
  margin: 0 0 9px;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.5;
}

.card-desc,
.mini-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 48px;
  margin: 0 0 12px;
  font-size: 14px;
}

.tag-row span {
  background: #ffedd5;
}

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

.category-panel {
  display: flex;
  flex-direction: column;
  min-height: 204px;
  border-radius: var(--radius-xl);
  padding: 22px;
  color: #1f2937;
  border: 1px solid rgba(251, 146, 60, 0.24);
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(251, 146, 60, 0.22),
      transparent 8rem
    ),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-panel h2,
.category-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.category-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.category-panel span {
  margin-top: auto;
  color: var(--orange-dark);
  font-weight: 900;
}

.rail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.spotlight-card {
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow);
}

.spotlight-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(251, 146, 60, 0.35),
      transparent 14rem
    ),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86));
}

.spotlight-body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.spotlight-body h3 {
  margin: 0 0 10px;
  font-size: 30px;
}

.spotlight-body p {
  max-width: 720px;
  margin: 0 0 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

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

.mini-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  min-width: 0;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 146, 60, 0.18);
  background: var(--panel-bg);
  box-shadow: var(--soft-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.mini-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(251, 146, 60, 0.24),
      transparent 8rem
    ),
    linear-gradient(135deg, #111827, #431407);
}

.mini-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease;
}

.mini-rank {
  left: 7px;
  top: 7px;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.mini-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.mini-desc {
  min-height: 0;
  margin-bottom: 8px;
  font-size: 13px;
}

.mini-tags span {
  padding: 5px 8px;
}

.page-hero {
  padding-top: 52px;
}

.page-banner {
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(251, 146, 60, 0.2);
  background:
    radial-gradient(
      circle at 85% 18%,
      rgba(249, 115, 22, 0.22),
      transparent 18rem
    ),
    linear-gradient(135deg, #ffffff, #fff7ed);
  box-shadow: var(--shadow);
}

.page-banner h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.page-banner p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.catalog-tools {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 12px;
}

.page-search {
  position: relative;
  display: flex;
}

.page-search input {
  padding: 13px 106px 13px 16px;
}

.page-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  padding: 0 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.filter-select {
  padding: 0 14px;
}

.empty-state {
  display: none;
  border: 1px dashed rgba(249, 115, 22, 0.48);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
}

.empty-state.show {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.detail-wrap {
  padding-top: 34px;
  padding-bottom: 58px;
}

.detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  gap: 28px;
  align-items: start;
}

.detail-panel,
.detail-side,
.article-panel {
  border: 1px solid rgba(251, 146, 60, 0.2);
  border-radius: var(--radius-xl);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
}

.detail-panel {
  overflow: hidden;
}

.watch-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050505;
}

.watch-stage video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  cursor: pointer;
}

.watch-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #111827;
}

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

.watch-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(249, 115, 22, 0.22),
      transparent 15rem
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.78));
}

.watch-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.watch-button:hover {
  transform: translate(-50%, -52%);
}

.watch-stage.started .watch-cover {
  display: none;
}

.detail-copy {
  padding: 24px;
}

.detail-title {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.detail-meta span {
  border-radius: 999px;
  padding: 7px 11px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
  font-size: 13px;
}

.detail-summary {
  margin: 0 0 18px;
  font-size: 16px;
}

.detail-side {
  padding: 18px;
}

.detail-poster {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 2 / 3;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(251, 146, 60, 0.24),
      transparent 12rem
    ),
    linear-gradient(135deg, #111827, #431407);
}

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

.detail-facts {
  display: grid;
  gap: 11px;
  margin-top: 16px;
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(251, 146, 60, 0.16);
}

.fact span:first-child {
  color: var(--faint);
}

.fact span:last-child {
  text-align: right;
  font-weight: 800;
}

.article-panel {
  margin-top: 28px;
  padding: 26px;
}

.article-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.article-panel p {
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.9;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 104px 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(251, 146, 60, 0.18);
  border-radius: var(--radius-lg);
  padding: 12px;
  background: var(--panel-bg);
  box-shadow: var(--soft-shadow);
}

.rank-number {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.rank-row img {
  width: 104px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: #111827;
}

.rank-row h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.rank-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.rank-action {
  color: var(--orange-dark);
  font-weight: 900;
  white-space: nowrap;
}

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

.site-footer {
  margin-top: 28px;
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 22px 28px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 34px;
}

.footer-brand {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 14px;
}

.footer-inner p {
  max-width: 520px;
  margin: 0;
  color: #9ca3af;
  line-height: 1.8;
}

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

.footer-links a {
  color: #d1d5db;
  font-weight: 700;
}

.footer-links a:hover {
  color: #fb923c;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 22px 28px;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

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

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

  .header-search {
    max-width: 460px;
    margin-left: auto;
  }

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

  .rail,
  .detail-top {
    grid-template-columns: 1fr;
  }

  .detail-side {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    align-items: start;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 68px;
  }

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

  .header-search {
    display: none;
  }

  .hero {
    height: 560px;
  }

  .hero-slide::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.26),
      rgba(0, 0, 0, 0.9)
    );
  }

  .hero-content {
    align-items: end;
    padding-bottom: 86px;
  }

  .hero-controls {
    left: 22px;
    right: auto;
    bottom: 26px;
  }

  .section-head,
  .page-heading {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 12px;
  }

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

  .catalog-tools {
    grid-template-columns: 1fr;
  }

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

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

  .rank-row {
    grid-template-columns: 48px 82px 1fr;
  }

  .rank-action {
    grid-column: 3;
  }

  .rank-row img {
    width: 82px;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .main-wrap,
  .section,
  .page-hero,
  .detail-wrap,
  .footer-inner,
  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1,
  .hero h2 {
    font-size: 38px;
  }

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

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

  .mini-card {
    grid-template-columns: 86px 1fr;
  }

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

  .detail-copy,
  .article-panel {
    padding: 18px;
  }

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

  .rank-number {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .rank-row img {
    width: 72px;
    border-radius: 12px;
  }

  .rank-row h2 {
    font-size: 18px;
  }
}
