:root {
  --bg: #fff7fb;
  --surface: #ffffff;
  --surface-strong: #fff1f7;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f5d0e2;
  --pink: #ec4899;
  --pink-dark: #db2777;
  --purple: #8b5cf6;
  --amber: #f59e0b;
  --shadow: 0 22px 45px rgba(190, 24, 93, 0.13);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.22), transparent 32rem),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.16), transparent 30rem),
    linear-gradient(135deg, #fff7fb 0%, #ffffff 48%, #fff7ed 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(251, 207, 232, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111827;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--amber));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.35);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: #4b5563;
  font-weight: 700;
}

.desktop-nav a,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown:hover > button {
  color: var(--pink);
}

.nav-dropdown {
  position: relative;
  padding: 22px 0;
}

.dropdown-panel {
  position: absolute;
  top: 62px;
  right: 0;
  width: 220px;
  display: grid;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
}

.dropdown-panel a:hover {
  background: #fdf2f8;
}

.header-search {
  display: flex;
  align-items: center;
  width: 280px;
  padding: 4px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 10px 12px;
  color: var(--text);
  background: transparent;
}

.header-search button,
.big-search button,
.filter-panel button {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button {
  padding: 10px 16px;
}

.header-search button:hover,
.big-search button:hover,
.filter-panel button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(236, 72, 153, 0.28);
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(135deg, #fce7f3 0%, #faf5ff 48%, #fffbeb 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 64px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 44px -90px 44px auto;
  width: 58%;
  z-index: -2;
  border-radius: 60px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.28)),
    var(--hero-image) center / cover no-repeat;
  filter: saturate(1.08);
  box-shadow: var(--shadow);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 82% 50%, rgba(236, 72, 153, 0.25), transparent 24rem);
}

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

.hero-copy {
  max-width: 680px;
  animation: fadeIn 0.6s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 16px 0 22px;
  color: #111827;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero p,
.page-hero p,
.detail-copy .lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: #4b5563;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.8;
}

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

.hero-tags span,
.tag-row span,
.card-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #be185d;
  background: rgba(252, 231, 243, 0.92);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  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(--pink), var(--pink-dark));
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.32);
}

.secondary-button {
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fbcfe8;
}

.hero-poster {
  width: 100%;
  max-width: 390px;
  justify-self: center;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  transform: rotate(6deg);
  animation: float 4s ease-in-out infinite;
}

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

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.26);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
  width: 34px;
  background: var(--pink);
}

.search-band,
.section-wrap,
.page-hero,
.detail-layout,
.footer-grid {
  width: min(1240px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.search-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  margin-top: 42px;
  padding: 30px;
  border: 1px solid rgba(251, 207, 232, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.search-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
}

.search-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.big-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  background: #fff7fb;
}

.big-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 14px 16px;
  background: transparent;
}

.big-search button {
  padding: 0 24px;
}

.section-wrap {
  padding: 76px 0 0;
}

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

.section-heading h2 {
  margin: 8px 0 0;
  color: #111827;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.section-heading > a {
  color: var(--pink-dark);
  font-weight: 900;
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(251, 207, 232, 0.85);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(190, 24, 93, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #fdf2f8;
}

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

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

.poster-wrap figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.movie-card h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 1.08rem;
  line-height: 1.35;
}

.movie-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
}

.movie-card.compact .card-body {
  padding: 15px;
}

.movie-card.compact p {
  display: none;
}

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

.category-card,
.overview-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, #ffffff, #fdf2f8);
  box-shadow: var(--shadow);
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.category-card h3,
.overview-card h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.category-card p,
.overview-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.75;
}

.category-glow {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  opacity: 0.22;
  background: var(--theme-color, var(--pink));
  filter: blur(4px);
}

.category-thumbs {
  display: flex;
  margin-top: 22px;
}

.category-thumbs img {
  width: 74px;
  aspect-ratio: 3 / 4;
  margin-right: -18px;
  object-fit: cover;
  border: 4px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.13);
}

.theme-pink { --theme-color: #ec4899; }
.theme-amber { --theme-color: #f59e0b; }
.theme-orange { --theme-color: #f97316; }
.theme-purple { --theme-color: #8b5cf6; }
.theme-slate { --theme-color: #334155; }
.theme-red { --theme-color: #ef4444; }
.theme-violet { --theme-color: #7c3aed; }
.theme-rose { --theme-color: #f43f5e; }
.theme-yellow { --theme-color: #eab308; }
.theme-green { --theme-color: #22c55e; }
.theme-cyan { --theme-color: #06b6d4; }
.theme-blue { --theme-color: #3b82f6; }

.theme-pink,
.theme-amber,
.theme-orange,
.theme-purple,
.theme-slate,
.theme-red,
.theme-violet,
.theme-rose,
.theme-yellow,
.theme-green,
.theme-cyan,
.theme-blue {
  background:
    radial-gradient(circle at right top, color-mix(in srgb, var(--theme-color) 25%, transparent), transparent 45%),
    linear-gradient(135deg, #ffffff, #fff7fb);
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rank-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num desc";
  gap: 2px 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid #fbcfe8;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(190, 24, 93, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-item span {
  grid-area: num;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-weight: 900;
}

.rank-item strong {
  grid-area: title;
  overflow: hidden;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item em {
  grid-area: desc;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-hero {
  margin-top: 42px;
  padding: clamp(48px, 8vw, 88px);
  border: 1px solid rgba(251, 207, 232, 0.85);
  border-radius: 36px;
  background:
    radial-gradient(circle at right top, rgba(236, 72, 153, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(253, 242, 248, 0.84));
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 980px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px auto;
  gap: 12px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid rgba(251, 207, 232, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(190, 24, 93, 0.08);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #fbcfe8;
  outline: 0;
  padding: 13px 14px;
  border-radius: 16px;
  color: var(--text);
  background: #fff7fb;
}

.filter-panel button {
  padding: 0 18px;
}

.overview-card {
  padding: 0;
}

.overview-main {
  position: relative;
  display: block;
  padding: 28px;
}

.overview-links {
  display: grid;
  gap: 8px;
  padding: 0 28px 28px;
}

.overview-links a {
  overflow: hidden;
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.7);
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.overview-links a:hover {
  color: var(--pink-dark);
  background: #fdf2f8;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 56px 92px minmax(0, 1fr) 64px;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(251, 207, 232, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(190, 24, 93, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.rank-card img {
  width: 92px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}

.rank-content {
  display: grid;
  gap: 7px;
}

.rank-content strong {
  color: #111827;
  font-size: 1.12rem;
}

.rank-content em,
.rank-content small {
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-card b {
  justify-self: end;
  color: var(--pink-dark);
  font-size: 1.2rem;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 247, 251, 0.96), rgba(255, 255, 255, 0.82), rgba(255, 247, 251, 0.74)),
    var(--detail-image) center / cover no-repeat;
  filter: saturate(1.1);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(236, 72, 153, 0.16), transparent 28rem);
}

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

.detail-poster {
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 30px 65px rgba(15, 23, 42, 0.25);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--pink-dark);
}

.detail-copy h1 {
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

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

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 28px;
}

.player-panel,
.story-panel {
  padding: 24px;
  border: 1px solid rgba(251, 207, 232, 0.92);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.compact-heading {
  margin-bottom: 16px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #020617;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.22);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #020617;
}

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

.play-overlay span {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 18px 35px rgba(236, 72, 153, 0.38);
  font-size: 2rem;
}

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

.story-panel h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 1.4rem;
}

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

.site-footer {
  margin-top: 90px;
  padding: 54px 0 28px;
  border-top: 1px solid rgba(251, 207, 232, 0.9);
  background: linear-gradient(180deg, rgba(253, 242, 248, 0.7), rgba(252, 231, 243, 0.95));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 36px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer p {
  color: #6b7280;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-links a:hover {
  color: var(--pink-dark);
  background: #ffffff;
}

.copyright {
  width: min(1240px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 207, 232, 0.85);
  text-align: center;
}

.is-filtered-out {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(6deg);
  }

  50% {
    transform: translateY(-12px) rotate(6deg);
  }
}

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

  .mobile-menu-button {
    display: inline-flex;
    margin-left: auto;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #fbcfe8;
    border-radius: 14px;
    color: var(--pink-dark);
    background: #fff7fb;
    cursor: pointer;
  }

  .mobile-nav {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid #fbcfe8;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

  .mobile-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: #4b5563;
    background: #fff7fb;
    font-weight: 800;
  }

  .hero-slide {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 46px 0 86px;
  }

  .hero-slide::before {
    inset: auto 0 46px;
    width: 100%;
    height: 42%;
  }

  .hero-poster {
    max-width: 240px;
    justify-self: start;
  }

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

  .category-grid,
  .overview-grid,
  .rank-list,
  .footer-grid,
  .detail-content {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .hero {
    min-height: 720px;
  }

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

  .search-band,
  .big-search,
  .filter-panel,
  .detail-layout,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .big-search {
    border-radius: 24px;
  }

  .big-search button {
    min-height: 46px;
  }

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

  .movie-grid,
  .category-grid,
  .overview-grid,
  .rank-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .rank-card {
    grid-template-columns: 46px 70px minmax(0, 1fr);
  }

  .rank-card b {
    display: none;
  }

  .rank-card img {
    width: 70px;
  }

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

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

  .page-hero,
  .search-band,
  .player-panel,
  .story-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-actions {
    width: 100%;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
