:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f8fafc;
  color: var(--slate-900);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.96);
  color: var(--white);
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.32);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(51, 65, 85, 0.82);
  color: var(--white);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 260px;
}

.header-search input,
.mobile-search input,
.big-search input,
.search-page-form input,
.catalog-filter input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
}

.header-search input {
  height: 40px;
  padding: 0 44px 0 18px;
  background: rgba(51, 65, 85, 0.88);
  color: var(--white);
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.search-page-form input::placeholder {
  color: #94a3b8;
}

.header-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
  color: var(--white);
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: rgba(51, 65, 85, 0.82);
  cursor: pointer;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

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

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

.mobile-search {
  display: flex;
  gap: 10px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 10px;
}

.mobile-search input {
  height: 42px;
  padding: 0 16px;
  background: var(--slate-800);
  color: var(--white);
}

.mobile-search button,
.big-search button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.mobile-search button {
  padding: 0 18px;
}

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-link {
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.9);
  color: #cbd5e1;
}

.mobile-link.active,
.mobile-link:hover {
  color: var(--white);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.48), rgba(37, 99, 235, 0.44));
}

.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  overflow: hidden;
  background: var(--slate-950);
  color: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-image,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(34, 211, 238, 0.24), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.78) 44%, rgba(2, 6, 23, 0.22));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1280px, calc(100% - 32px));
  min-height: calc(100vh - 66px);
  margin: 0 auto;
  max-width: 760px;
  margin-left: max(16px, calc((100% - 1280px) / 2));
  padding: 76px 0 112px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow {
  padding: 8px 16px;
  margin-bottom: 20px;
}

.section-kicker {
  padding: 7px 13px;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.72;
}

.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: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 700;
}

.hero-actions,
.detail-main-text .primary-btn {
  margin-top: 30px;
}

.primary-btn,
.glass-btn,
.outline-btn,
.section-more,
.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.22s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

.primary-btn:hover,
.rank-action:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.36);
}

.glass-btn {
  margin-left: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.54);
  color: var(--white);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

.hero-dot.active {
  width: 32px;
  background: var(--cyan-400);
}

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

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

.section-head h2,
.catalog-toolbar h2,
.overview-text h2,
.copy-card h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-head.light h2,
.section-head.light .section-kicker {
  color: var(--white);
}

.section-more {
  min-height: 40px;
  padding: 0 18px;
  background: #e0f2fe;
  color: #0369a1;
}

.light-link {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.home-search-band {
  background: linear-gradient(180deg, var(--slate-900), var(--slate-800));
  color: var(--white);
}

.search-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 34px;
  align-items: center;
  padding: 50px 0;
}

.search-band-inner h2,
.search-band-inner p {
  margin: 0;
}

.search-band-inner h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}

.search-band-inner p {
  margin-top: 12px;
  color: #cbd5e1;
  line-height: 1.8;
}

.big-search,
.search-page-form {
  display: flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.big-search input,
.search-page-form input {
  height: 50px;
  padding: 0 18px;
  color: var(--slate-900);
}

.big-search button,
.search-page-form button {
  min-width: 106px;
  padding: 0 24px;
}

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

.category-tile {
  position: relative;
  min-height: 232px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--slate-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.28s ease;
}

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

.category-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.95));
}

.category-tile strong,
.category-tile small {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 1;
}

.category-tile strong {
  bottom: 60px;
  font-size: 21px;
}

.category-tile small {
  bottom: 20px;
  color: #dbeafe;
  line-height: 1.5;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  transition: 0.22s ease;
}

.dark-section .movie-card {
  background: rgba(15, 23, 42, 0.84);
  color: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.2);
}

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

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.05);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(2, 6, 23, 0.85));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.play-dot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.2s ease;
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: var(--white);
  font-size: 14px;
}

.movie-info {
  padding: 16px;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.dark-section .movie-meta-line {
  color: #a5f3fc;
}

.movie-info h3 {
  margin: 9px 0 8px;
  color: inherit;
  font-size: 18px;
  line-height: 1.35;
}

.movie-info p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.58;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dark-section .movie-info p {
  color: #cbd5e1;
}

.tag-row span {
  background: #e0f2fe;
  color: #0369a1;
}

.dark-section .tag-row span {
  background: rgba(6, 182, 212, 0.18);
  color: #a5f3fc;
}

.inner-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
  color: var(--white);
}

.inner-hero .section-shell {
  padding: 76px 0;
}

.inner-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.inner-hero p {
  max-width: 780px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--cyan-400);
}

.overview-list {
  display: grid;
  gap: 28px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.overview-posters img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  object-fit: cover;
  background: var(--slate-900);
}

.overview-text p {
  margin: 12px 0 18px;
  color: var(--slate-600);
  line-height: 1.8;
}

.overview-text ul,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.overview-text li {
  margin: 8px 0;
  color: var(--slate-700);
}

.outline-btn {
  margin-top: 16px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
}

.catalog-toolbar {
  align-items: center;
}

.catalog-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(420px, 100%);
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
  color: var(--slate-600);
  font-weight: 700;
}

.catalog-filter input {
  height: 42px;
  padding: 0 14px;
  background: #f1f5f9;
  color: var(--slate-900);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 94px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.rank-row + .rank-row {
  margin-top: 14px;
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
  color: var(--white);
  font-weight: 900;
}

.rank-cover img {
  width: 94px;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  object-fit: cover;
  background: var(--slate-900);
}

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

.rank-meta {
  color: var(--slate-500);
  font-size: 14px;
  font-weight: 700;
}

.rank-content p {
  margin: 8px 0 0;
  color: var(--slate-600);
  line-height: 1.7;
}

.rank-action {
  background: #e0f2fe;
  color: #0369a1;
}

.search-page-form {
  max-width: 720px;
  margin-top: 26px;
}

.detail-hero {
  min-height: 680px;
}

.detail-bg {
  opacity: 0.35;
  filter: blur(1px);
}

.detail-bg-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.26), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.8));
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 58px 0 74px;
}

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

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 26px;
  object-fit: cover;
  background: var(--slate-900);
  box-shadow: 0 26px 72px rgba(2, 6, 23, 0.48);
}

.detail-main-text h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-main-text p {
  max-width: 840px;
  margin: 18px 0 0;
  color: #dbeafe;
  font-size: 20px;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #e0f2fe;
  font-weight: 800;
}

.detail-tags {
  margin-top: 18px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

.player-wrap video,
.player-cover,
.player-cover img,
.player-cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-wrap video {
  object-fit: contain;
  background: #000;
}

.player-cover {
  z-index: 2;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.72;
}

.player-cover-shade {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), rgba(2, 6, 23, 0.72));
}

.big-play {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-500));
  color: var(--white);
  font-size: 38px;
  box-shadow: 0 20px 54px rgba(6, 182, 212, 0.36);
}

.player-cover.hidden {
  display: none;
}

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

.copy-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.copy-card p {
  margin: 16px 0 0;
  color: var(--slate-600);
  font-size: 17px;
  line-height: 1.9;
}

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

.site-footer {
  background: var(--slate-950);
  color: var(--white);
}

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

.footer-brand p {
  max-width: 520px;
  color: #94a3b8;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 16px;
}

.site-footer li {
  margin: 10px 0;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: var(--cyan-400);
}

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

[hidden],
.is-hidden {
  display: none !important;
}

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

  .movie-grid,
  .catalog-grid,
  .related-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;
  }

  .mobile-toggle {
    display: inline-flex;
  }

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

  .search-band-inner,
  .category-overview-card,
  .detail-layout,
  .detail-copy,
  .footer-shell {
    grid-template-columns: 1fr;
  }

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

  .detail-poster {
    max-width: 300px;
  }

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

  .rank-action {
    grid-column: 2 / -1;
    width: fit-content;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    height: 60px;
  }

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

  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .glass-btn {
    margin-left: 0;
  }

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

  .section-head,
  .catalog-toolbar {
    display: grid;
  }

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

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

  .category-tile {
    min-height: 210px;
  }

  .movie-info {
    padding: 13px;
  }

  .movie-info h3 {
    font-size: 16px;
  }

  .big-search,
  .search-page-form {
    display: grid;
    border-radius: 24px;
  }

  .big-search button,
  .search-page-form button {
    height: 46px;
  }

  .catalog-filter {
    min-width: 0;
    width: 100%;
  }

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

  .detail-main-text p {
    font-size: 17px;
  }

  .player-wrap {
    border-radius: 18px;
  }

  .big-play {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

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

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

  .rank-cover img {
    width: 72px;
  }

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

  .rank-content p {
    display: none;
  }
}

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

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