:root {
  color-scheme: light;
  --blue-950: #0f172a;
  --blue-900: #172554;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --cyan-500: #06b6d4;
  --cyan-300: #67e8f9;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
  --amber: #f59e0b;
  --radius-xl: 24px;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, #ffffff 0%, var(--slate-50) 42%, #eef6ff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #0f172a 0%, #172554 45%, #0f172a 100%);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.28);
}

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

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

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #60a5fa 0%, #06b6d4 100%);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.35);
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-copy strong {
  font-size: 20px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #bfdbfe, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-copy small {
  color: #bfdbfe;
  font-size: 12px;
  margin-top: 3px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  color: #dbeafe;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.78);
  transform: translateY(-1px);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 14px;
  outline: 0;
  color: #ffffff;
  background: rgba(30, 64, 175, 0.45);
  padding: 11px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 240px;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: #bfdbfe;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: #67e8f9;
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.18);
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(30, 64, 175, 0.55);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

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

.mobile-panel {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-panel nav {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-panel .nav-link {
  justify-content: center;
  background: rgba(15, 23, 42, 0.2);
}

.hero-carousel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #ffffff;
  background: var(--slate-900);
}

.hero-slides {
  position: relative;
  min-height: 640px;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 28%, rgba(6, 182, 212, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(23, 37, 84, 0.78) 48%, rgba(15, 23, 42, 0.38)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.08) 36%, rgba(15, 23, 42, 0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 48px;
  padding: 58px 0 110px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid rgba(103, 232, 249, 0.34);
  border-radius: 999px;
  padding: 7px 13px;
  color: #cffafe;
  background: rgba(14, 116, 144, 0.24);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 760px;
  margin: 18px 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #e0f2fe;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn,
.rank-action,
.filter-empty a,
.category-card a,
.plain-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.rank-action,
.category-card a {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.28);
}

.ghost-btn,
.plain-btn {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.primary-btn:hover,
.ghost-btn:hover,
.rank-action:hover,
.category-card a:hover,
.plain-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.34);
}

.hero-poster {
  position: relative;
  display: block;
  width: min(360px, 100%);
  justify-self: end;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-poster span,
.play-mark {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 14px 36px rgba(6, 182, 212, 0.4);
}

.hero-poster span {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
}

.hero-tools {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  width: min(1280px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-dots,
.hero-quick-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.hero-dot.active {
  background: #67e8f9;
}

.hero-quick-links a {
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.12);
  color: #e0f2fe;
  font-weight: 700;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.page-shell,
.section-shell,
.detail-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.section-shell {
  padding: 70px 0;
}

.section-shell.tight {
  padding-top: 34px;
}

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

.section-head h2,
.page-title h1,
.detail-title h1 {
  margin: 12px 0 10px;
  color: var(--slate-900);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head p,
.page-title p,
.detail-title p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.8;
}

.section-head a {
  color: var(--blue-700);
  font-weight: 800;
}

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

.movie-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dbeafe;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.movie-card:hover .poster-link img,
.rank-row:hover .rank-thumb img,
.related-card:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.82), transparent);
}

.poster-year,
.rank-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.7);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.rank-badge {
  left: auto;
  right: 10px;
  background: linear-gradient(135deg, #f97316, #facc15);
  color: #111827;
}

.play-mark {
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(0.82);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-title,
.rank-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--slate-900);
  font-weight: 900;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-title:hover,
.rank-title:hover {
  color: var(--blue-700);
}

.movie-card-body p,
.rank-info p,
.related-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 44px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 12px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--slate-500);
  font-size: 12px;
}

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

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

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  min-height: 260px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 16%, rgba(103, 232, 249, 0.45), transparent 28%),
    linear-gradient(135deg, #172554, #0f172a);
  box-shadow: var(--shadow-sm);
}

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

.category-card p {
  min-height: 96px;
  margin: 0 0 22px;
  color: #dbeafe;
  line-height: 1.8;
}

.page-title {
  padding: 70px 0 24px;
}

.filter-panel {
  margin: 20px 0 28px;
  padding: 18px;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  color: var(--slate-900);
  background: #ffffff;
  border-color: var(--slate-200);
}

.filter-selects {
  display: flex;
  gap: 12px;
}

.filter-empty {
  display: none;
  margin: 28px 0;
  padding: 28px;
  border-radius: 24px;
  text-align: center;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.filter-empty.is-visible {
  display: block;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 74px 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rank-index {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  font-size: 24px;
  font-weight: 900;
}

.rank-thumb {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #dbeafe;
}

.rank-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.rank-info p {
  min-height: 0;
  margin: 6px 0 10px;
}

.detail-hero {
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #172554 54%, #083344);
}

.detail-hero .detail-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  padding: 54px 0;
}

.detail-cover {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
  color: #bfdbfe;
  font-size: 14px;
}

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

.detail-title h1 {
  color: #ffffff;
}

.detail-title p {
  max-width: 840px;
  color: #dbeafe;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 38px 0 74px;
}

.content-card,
.side-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

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

.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.76));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-orb {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.46);
  font-size: 30px;
}

.player-error {
  display: none;
  padding: 12px 16px;
  color: #fecaca;
  background: #7f1d1d;
}

.player-error.is-visible {
  display: block;
}

.detail-body {
  padding: 28px;
}

.detail-body section {
  padding: 24px 0;
  border-top: 1px solid var(--slate-200);
}

.detail-body section:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-body h2,
.side-card h2 {
  margin: 0 0 14px;
  color: var(--slate-900);
  font-size: 24px;
}

.detail-body p {
  color: var(--slate-700);
  line-height: 1.9;
  margin: 0;
  white-space: pre-line;
}

.review-box {
  border-left: 5px solid var(--amber);
  border-radius: 18px;
  padding: 20px;
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

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

.info-item {
  border-radius: 16px;
  padding: 14px;
  background: var(--slate-50);
}

.info-item small {
  display: block;
  color: var(--slate-500);
  margin-bottom: 5px;
}

.info-item strong {
  color: var(--slate-900);
}

.side-card {
  padding: 22px;
  position: sticky;
  top: 96px;
}

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

.related-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.25s ease;
}

.related-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  color: var(--slate-900);
  font-size: 15px;
}

.related-card p {
  min-height: auto;
  margin: 6px 0 0;
  -webkit-line-clamp: 2;
  font-size: 13px;
}

.text-page {
  padding: 70px 0;
}

.text-card {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 28px;
  padding: clamp(26px, 5vw, 54px);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.text-card h2 {
  margin: 32px 0 12px;
  font-size: 24px;
}

.text-card p,
.text-card li {
  color: var(--slate-700);
  line-height: 1.9;
}

.text-card ul {
  padding-left: 20px;
}

.site-footer {
  color: #dbeafe;
  background: linear-gradient(135deg, #0f172a, #172554);
  padding: 58px 0 28px;
}

.footer-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr 0.9fr;
  gap: 32px;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: #ffffff;
}

.footer-grid p {
  color: #bfdbfe;
  line-height: 1.8;
}

.footer-grid a {
  display: block;
  color: #dbeafe;
  margin: 8px 0;
}

.footer-grid a:hover {
  color: #67e8f9;
}

.footer-logo strong {
  color: #ffffff;
  font-size: 20px;
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(191, 219, 254, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #93c5fd;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .header-search {
    display: none;
  }

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

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

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

  .menu-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 36px;
  }

  .hero-poster {
    display: none;
  }

  .hero-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-hero .detail-shell,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    max-width: 260px;
  }

  .side-card {
    position: static;
  }

  .rank-row {
    grid-template-columns: 56px 120px minmax(0, 1fr);
  }

  .rank-action {
    grid-column: 2 / 4;
  }

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

@media (max-width: 700px) {
  .nav-wrap {
    min-height: 68px;
  }

  .logo-copy small {
    display: none;
  }

  .hero-carousel,
  .hero-slides,
  .hero-content {
    min-height: 560px;
  }

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

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

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

  .section-shell {
    padding: 48px 0;
  }

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

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

  .filter-selects {
    flex-direction: column;
  }

  .detail-body {
    padding: 20px;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 44px 92px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .rank-index {
    width: 42px;
    height: 42px;
    font-size: 18px;
    border-radius: 14px;
  }

  .related-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .mobile-panel nav {
    grid-template-columns: 1fr;
  }
}
