:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --cyan-400: #22d3ee;
  --green-400: #4ade80;
  --amber-400: #fbbf24;
  --orange-400: #fb923c;
  --red-500: #ef4444;
  --rose-500: #f43f5e;
  --indigo-500: #6366f1;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f3d4e4;
  --card: rgba(255, 255, 255, 0.88);
  --shadow: 0 20px 45px rgba(236, 72, 153, 0.15);
  --radius: 24px;
}

* {
  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(--text);
  background: linear-gradient(135deg, var(--pink-50) 0%, #ffffff 45%, var(--blue-50) 100%);
  min-height: 100vh;
}

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

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

button, input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(219, 39, 119, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500), var(--blue-500));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.28);
}

.brand-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-500), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.desktop-nav a,
.mobile-nav a {
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--pink-500);
}

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

.search-form input,
.mobile-search input,
.wide-search input {
  width: 220px;
  border: 1px solid #f9a8d4;
  outline: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form input:focus,
.mobile-search input:focus,
.wide-search input:focus {
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.search-form button,
.mobile-search button,
.wide-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.22);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  color: var(--pink-500);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid #fce7f3;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-nav.is-open {
  display: grid;
  gap: 14px;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.mobile-search input {
  width: 100%;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-400) 0%, var(--purple-400) 50%, var(--blue-400) 100%);
}

.hero-stage {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.28;
  background: #ffffff;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-glow-one {
  width: 180px;
  height: 180px;
  top: 50px;
  left: 7%;
}

.hero-glow-two {
  width: 240px;
  height: 240px;
  top: 180px;
  right: 9%;
  background: #fbcfe8;
  animation-delay: 1.3s;
}

.hero-glow-three {
  width: 190px;
  height: 190px;
  bottom: 60px;
  left: 36%;
  background: #ddd6fe;
  animation-delay: 2.1s;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 56px;
  align-items: center;
  padding: 80px 0 96px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-copy h1,
.sub-hero h1,
.detail-copy h1 {
  margin: 16px 0;
  line-height: 1.05;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.06em;
}

.hero-copy p,
.sub-hero p,
.detail-copy p {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.7;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  font-weight: 750;
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 650;
}

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

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

.primary-btn,
.ghost-btn,
.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--pink-500);
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.ghost-btn {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.primary-btn:hover,
.ghost-btn:hover,
.rank-action:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 35px 70px rgba(55, 65, 81, 0.25);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(236, 72, 153, 0.86);
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 28px;
  backdrop-filter: blur(12px);
}

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

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

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

.category-strip,
.content-section {
  padding: 56px 0;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.category-pill,
.about-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  color: #ffffff;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-pill:hover,
.about-chip:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 26px 42px rgba(236, 72, 153, 0.22);
}

.tone-pink { --tone-a: #f472b6; --tone-b: #ec4899; }
.tone-purple { --tone-a: #c084fc; --tone-b: #a855f7; }
.tone-rose { --tone-a: #fb7185; --tone-b: #f43f5e; }
.tone-red { --tone-a: #fb7185; --tone-b: #ef4444; }
.tone-amber { --tone-a: #fbbf24; --tone-b: #f59e0b; }
.tone-indigo { --tone-a: #818cf8; --tone-b: #6366f1; }
.tone-blue { --tone-a: #60a5fa; --tone-b: #3b82f6; }
.tone-green { --tone-a: #4ade80; --tone-b: #22c55e; }
.tone-orange { --tone-a: #fb923c; --tone-b: #f97316; }
.tone-cyan { --tone-a: #22d3ee; --tone-b: #06b6d4; }

.category-pill,
.about-chip,
.category-card {
  background: linear-gradient(135deg, var(--tone-a), var(--tone-b));
}

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

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.section-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  box-shadow: var(--shadow);
  font-weight: 900;
}

.section-more {
  color: var(--pink-500);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(236, 72, 153, 0.22);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #fce7f3, #dbeafe);
}

.movie-card-large .poster-link {
  aspect-ratio: 16 / 10;
}

.movie-card-small .poster-link {
  aspect-ratio: 4 / 5;
}

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

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

.poster-year,
.poster-play {
  position: absolute;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.58);
  backdrop-filter: blur(12px);
}

.poster-year {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.poster-play {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(236, 72, 153, 0.9);
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.32);
}

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

.movie-meta {
  color: var(--pink-500);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.movie-card-small h3 {
  font-size: 17px;
}

.movie-card h3 a:hover {
  color: var(--pink-500);
}

.movie-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.movie-card-small p {
  font-size: 14px;
}

.tag-row span {
  color: var(--pink-600);
  background: var(--pink-50);
}

.content-band {
  padding: 64px 0;
  margin: 28px 0;
}

.band-pink {
  background: linear-gradient(90deg, #fdf2f8, #faf5ff);
}

.band-blue {
  background: linear-gradient(90deg, #eff6ff, #ecfeff);
}

.band-rainbow {
  background: linear-gradient(135deg, #fce7f3, #f3e8ff, #dbeafe);
}

.horizontal-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 28px;
  scroll-snap-type: x mandatory;
}

.horizontal-card {
  width: 260px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.sub-hero,
.detail-hero {
  color: #ffffff;
  padding: 76px 0;
  background: linear-gradient(135deg, var(--pink-400), var(--purple-400), var(--blue-400));
}

.sub-hero.tone-pink,
.sub-hero.tone-purple,
.sub-hero.tone-rose,
.sub-hero.tone-red,
.sub-hero.tone-amber,
.sub-hero.tone-indigo,
.sub-hero.tone-blue,
.sub-hero.tone-green,
.sub-hero.tone-orange,
.sub-hero.tone-cyan,
.detail-hero.tone-pink,
.detail-hero.tone-purple,
.detail-hero.tone-rose,
.detail-hero.tone-red,
.detail-hero.tone-amber,
.detail-hero.tone-indigo,
.detail-hero.tone-blue,
.detail-hero.tone-green,
.detail-hero.tone-orange,
.detail-hero.tone-cyan {
  background: linear-gradient(135deg, var(--tone-a), var(--tone-b));
}

.sub-hero h1 {
  margin-bottom: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

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

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

.category-card {
  border-radius: 30px;
  padding: 24px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.category-card-main span {
  font-weight: 900;
  opacity: 0.9;
}

.category-card-main h2 {
  margin: 10px 0 8px;
  font-size: 30px;
}

.category-card-main p {
  max-width: 720px;
  margin: 0 0 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

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

.category-samples a {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.category-samples img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.category-samples span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border-radius: 12px;
  padding: 7px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.56);
  font-size: 12px;
  font-weight: 800;
}

.filter-panel,
.search-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border: 1px solid #fbcfe8;
  border-radius: 24px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.filter-panel strong,
.search-status {
  color: var(--pink-600);
  font-weight: 900;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 72px 92px 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.rank-number {
  color: var(--pink-500);
  font-size: 30px;
  font-weight: 950;
}

.rank-poster {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #fce7f3, #dbeafe);
}

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

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

.rank-info h2 a:hover {
  color: var(--pink-500);
}

.rank-info p,
.rank-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.rank-meta {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

.rank-action {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500));
}

.wide-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 680px;
  gap: 10px;
  margin-top: 24px;
}

.wide-search input {
  width: 100%;
}

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

.detail-cover {
  overflow: hidden;
  border-radius: 32px;
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 64px rgba(17, 24, 39, 0.22);
}

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

.player-section {
  padding: 48px 0 18px;
}

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  text-align: center;
  padding: 24px;
  z-index: 2;
}

.player-wrap.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.overlay-play {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--pink-500);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  font-size: 28px;
}

.player-overlay strong {
  font-size: clamp(22px, 4vw, 42px);
}

.player-overlay em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

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

.detail-main,
.detail-side,
.about-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  padding: 28px;
}

.detail-main h2,
.detail-side h2,
.about-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
  color: #111827;
}

.detail-main p,
.about-panel p {
  margin: 0 0 24px;
  color: #4b5563;
  line-height: 1.9;
  font-size: 17px;
}

.detail-main p:last-child,
.about-panel p:last-child {
  margin-bottom: 0;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.detail-side dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  color: #111827;
  line-height: 1.6;
}

.detail-side a {
  color: var(--pink-500);
  font-weight: 850;
}

.pager-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.pager-links a {
  border-radius: 20px;
  padding: 18px 20px;
  color: var(--pink-600);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  font-weight: 850;
}

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

.about-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  margin-top: 50px;
  background: linear-gradient(90deg, #fce7f3, #f3e8ff, #dbeafe);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 30px;
  padding: 46px 0;
}

.footer-brand strong {
  display: block;
  margin-bottom: 12px;
  font-size: 26px;
  color: var(--pink-600);
}

.footer-brand p {
  max-width: 460px;
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
  align-content: start;
}

.footer-links a {
  color: #374151;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--pink-500);
}

.image-missing {
  opacity: 0;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

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

  .menu-toggle {
    display: block;
  }

  .hero-stage,
  .hero-carousel {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 0 110px;
  }

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

  .feature-grid,
  .compact-grid,
  .latest-grid,
  .library-grid,
  .category-grid,
  .search-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 62px;
  }

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

  .hero-copy h1,
  .sub-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

  .hero-copy p,
  .sub-hero p,
  .detail-copy p {
    font-size: 17px;
  }

  .category-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .category-pill {
    flex: 0 0 auto;
  }

  .feature-grid,
  .compact-grid,
  .latest-grid,
  .library-grid,
  .category-grid,
  .search-grid,
  .related-grid,
  .small-rank-grid,
  .category-card-grid {
    grid-template-columns: 1fr;
  }

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

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

  .rank-item {
    grid-template-columns: 50px 78px 1fr;
  }

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

  .wide-search,
  .mobile-search {
    grid-template-columns: 1fr;
  }

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