:root {
  --ice-50: #f0f9ff;
  --ice-100: #e0f2fe;
  --ice-300: #7dd3fc;
  --ice-500: #0ea5e9;
  --ice-600: #0284c7;
  --ice-700: #0369a1;
  --snow-50: #f8fafc;
  --snow-100: #f1f5f9;
  --snow-200: #e2e8f0;
  --snow-400: #94a3b8;
  --snow-500: #64748b;
  --snow-600: #475569;
  --snow-700: #334155;
  --snow-800: #1e293b;
  --snow-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 14px 32px rgba(15, 23, 42, 0.10);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--snow-900);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 42%, #eef6ff 100%);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
  box-shadow: 0 12px 22px rgba(2, 132, 199, 0.28);
  font-size: 14px;
}

.brand-text {
  white-space: nowrap;
  font-size: 20px;
}

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

.nav-link {
  color: var(--snow-700);
  font-weight: 700;
  padding: 9px 4px;
  position: relative;
  transition: color 0.2s ease;
}

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

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

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

.nav-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search-form input,
.filter-panel input,
.filter-panel select,
.feature-search input {
  height: 42px;
  border: 1px solid var(--snow-200);
  border-radius: 999px;
  color: var(--snow-800);
  background: rgba(248, 250, 252, 0.94);
  padding: 0 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.feature-search input:focus {
  border-color: var(--ice-500);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.nav-search-form button,
.feature-search button {
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(2, 132, 199, 0.24);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--ice-50);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ice-700);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--snow-200);
  background: #ffffff;
}

.mobile-menu-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 24px;
  display: grid;
  gap: 12px;
}

.mobile-menu .nav-link {
  display: block;
}

.mobile-category-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-sub-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--snow-700);
  background: var(--snow-50);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  min-height: 610px;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(7, 89, 133, 0.96), rgba(12, 74, 110, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(125, 211, 252, 0.40), transparent 26rem);
  box-shadow: var(--shadow-soft);
}

.hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: -130px;
  top: -130px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.32);
  filter: blur(20px);
}

.hero-slider {
  position: relative;
  min-height: 610px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 38px;
  align-items: center;
  padding: 62px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(22px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ice-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.detail-hero .eyebrow {
  color: var(--ice-300);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

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

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

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span,
.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tag-row span {
  color: var(--ice-700);
  background: var(--ice-50);
}

.hero-actions,
.detail-actions,
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
  box-shadow: 0 16px 32px rgba(2, 132, 199, 0.30);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ghost-button.dark {
  color: var(--ice-700);
  background: var(--ice-50);
  border-color: var(--ice-100);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  transform: rotate(2deg);
  background: rgba(255, 255, 255, 0.10);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 46%, rgba(2, 6, 23, 0.52));
}

.hero-poster img,
.poster-wrap img,
.detail-poster img,
.detail-backdrop img,
.category-thumbs img,
.category-cover-row img,
.compact-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  left: 62px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 28px;
  background: #ffffff;
}

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

.intro-strip,
.feature-panel,
.rank-panel,
.story-card,
.category-overview-card,
.filter-panel {
  border: 1px solid rgba(226, 232, 240, 0.88);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.intro-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.intro-strip h2,
.section-heading h2,
.page-hero h1,
.feature-panel h2,
.story-card h2 {
  margin: 0;
  color: var(--snow-900);
  letter-spacing: -0.04em;
}

.intro-strip h2,
.section-heading h2,
.feature-panel h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.intro-strip p,
.page-hero p,
.category-overview-card p,
.story-card p,
.feature-panel p {
  color: var(--snow-600);
  line-height: 1.85;
}

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

.section-heading.compact {
  align-items: center;
  margin-bottom: 18px;
}

.section-more {
  min-height: 40px;
  color: var(--ice-700);
  background: var(--ice-50);
}

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

.category-card,
.category-overview-card a {
  display: grid;
  gap: 14px;
  height: 100%;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-overview-card a:hover,
.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.category-thumbs,
.category-cover-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.category-thumbs img,
.category-cover-row img {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: var(--ice-100);
}

.category-card span {
  color: var(--ice-700);
  font-weight: 900;
}

.category-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.category-card p {
  margin: 0;
  color: var(--snow-600);
  font-size: 14px;
  line-height: 1.7;
}

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

.movie-card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card[hidden] {
  display: none;
}

.movie-card a {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ice-100), #dbeafe);
}

.poster-wrap img {
  transition: transform 0.38s ease;
}

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

.year-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  z-index: 2;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.year-badge {
  right: 10px;
  padding: 0 9px;
  background: rgba(15, 23, 42, 0.58);
}

.rank-badge {
  left: 10px;
  min-width: 32px;
  padding: 0 9px;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ice-700);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}

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

.movie-info {
  padding: 14px;
}

.movie-info h2 {
  margin: 0 0 8px;
  color: var(--snow-900);
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover h2 {
  color: var(--ice-700);
}

.movie-meta,
.movie-line {
  margin: 0;
  color: var(--snow-500);
  font-size: 13px;
  line-height: 1.65;
}

.movie-line {
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.rank-panel,
.feature-panel {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.feature-panel {
  min-height: 100%;
  display: grid;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(224, 242, 254, 0.78)),
    radial-gradient(circle at 100% 0, rgba(14, 165, 233, 0.24), transparent 18rem);
}

.feature-search {
  margin-top: 18px;
}

.feature-search input {
  flex: 1;
}

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

.compact-link {
  display: grid;
  grid-template-columns: auto 62px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: var(--snow-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.compact-link:hover {
  background: var(--ice-50);
  transform: translateX(4px);
}

.compact-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ice-600);
  font-weight: 900;
  font-size: 12px;
}

.compact-link img {
  width: 62px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: var(--ice-100);
}

.compact-link strong,
.compact-link em {
  display: block;
}

.compact-link strong {
  color: var(--snow-900);
  line-height: 1.35;
}

.compact-link em {
  margin-top: 4px;
  color: var(--snow-500);
  font-style: normal;
  font-size: 12px;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: 58px;
  border-radius: 32px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(7, 89, 133, 0.95), rgba(15, 23, 42, 0.92)),
    radial-gradient(circle at 82% 20%, rgba(125, 211, 252, 0.36), transparent 25rem);
  box-shadow: var(--shadow-soft);
}

.page-hero.slim {
  min-height: 260px;
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(40px, 6vw, 66px);
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--snow-500);
  font-size: 14px;
}

.breadcrumb.light {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a {
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--snow-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border-radius: 14px;
}

.empty-state {
  margin: 18px 0;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: var(--snow-600);
  background: #ffffff;
  text-align: center;
}

.ranking-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.ranking-grid .movie-card:nth-child(-n + 3) .poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(249, 115, 22, 0.32));
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

.detail-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background: var(--snow-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.38)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.92), transparent 55%);
}

.detail-backdrop img {
  filter: blur(7px) saturate(1.15);
  transform: scale(1.04);
  opacity: 0.46;
}

.detail-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 62px;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  background: rgba(255, 255, 255, 0.10);
}

.detail-poster img {
  aspect-ratio: 3 / 4.2;
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 820px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.8;
}

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

.player-section {
  scroll-margin-top: 88px;
}

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

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.52));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.big-play {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--ice-700);
  background: rgba(255, 255, 255, 0.94);
  font-size: 34px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30);
  transform: translateX(3px);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.story-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.story-card h2 {
  font-size: 28px;
}

.story-card p {
  margin: 18px 0 0;
  font-size: 16px;
}

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

.site-footer {
  margin-top: 72px;
  padding: 54px 0 28px;
  color: var(--snow-300);
  background: var(--snow-900);
}

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

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

.site-footer p {
  max-width: 520px;
  color: var(--snow-400);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
}

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

.site-footer a {
  color: var(--snow-300);
}

.site-footer a:hover {
  color: var(--ice-300);
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--snow-500);
  font-size: 14px;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ice-600);
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.30);
  cursor: pointer;
}

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

  .mobile-search {
    display: flex;
  }

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

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

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

  .hero {
    min-height: 780px;
  }

  .hero-slider {
    min-height: 780px;
  }

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

  .hero-poster {
    width: min(300px, 72vw);
    margin: 0 auto;
  }

  .hero-controls {
    left: 36px;
    bottom: 28px;
  }

  .intro-strip,
  .section-heading,
  .split-section,
  .ranking-layout,
  .detail-body,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip,
  .section-heading {
    display: grid;
    align-items: start;
  }

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

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

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

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

  .detail-poster {
    width: min(300px, 75vw);
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-nav {
    width: min(100% - 22px, 1180px);
  }

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

  .hero,
  .page-hero {
    width: min(100% - 22px, 1180px);
    border-radius: 24px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-slider {
    min-height: 720px;
  }

  .hero-slide {
    padding: 26px;
  }

  .hero h1,
  .detail-copy h1,
  .page-hero h1 {
    font-size: 38px;
    letter-spacing: -0.05em;
  }

  .hero-summary,
  .detail-one-line,
  .page-hero p {
    font-size: 16px;
  }

  .section-wrap,
  .detail-content,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 22px, 1180px);
  }

  .page-hero {
    padding: 34px 24px;
  }

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

  .movie-info {
    padding: 12px;
  }

  .movie-line {
    display: none;
  }

  .hero-actions,
  .detail-actions,
  .intro-actions {
    display: grid;
  }

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

  .story-card,
  .rank-panel,
  .feature-panel,
  .intro-strip {
    padding: 22px;
    border-radius: 20px;
  }

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