:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --purple: #a855f7;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --rose: #f43f5e;
  --yellow: #facc15;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #f3e8ff;
  --soft: #fdf2f8;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 45px rgba(236, 72, 153, 0.16);
  --shadow-strong: 0 28px 80px rgba(168, 85, 247, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #fdf2f8 0%, #faf5ff 45%, #eff6ff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(236, 72, 153, 0.12);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.08);
  backdrop-filter: blur(18px);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.32);
}

.logo-text {
  font-size: 24px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.header-search {
  width: 260px;
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.08);
}

.header-search input,
.mobile-search input,
.page-search input {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
}

.header-search input {
  padding: 9px 8px 9px 14px;
}

.header-search button,
.mobile-search button,
.page-search button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.header-search button {
  padding: 8px 14px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff1f7;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--pink);
}

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

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

.mobile-link {
  display: block;
  padding: 10px 0;
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: #fff1f7;
}

.mobile-search input {
  padding: 10px;
}

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

main {
  overflow: hidden;
}

.hero-slider {
  position: relative;
  min-height: 620px;
  color: #ffffff;
  background: linear-gradient(135deg, #f472b6 0%, #a855f7 50%, #60a5fa 100%);
  overflow: hidden;
}

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

.hero-glow-one {
  top: 54px;
  left: 8%;
  width: 170px;
  height: 170px;
}

.hero-glow-two {
  right: 12%;
  top: 160px;
  width: 210px;
  height: 210px;
  background: #f9a8d4;
  animation-delay: 0.8s;
}

.hero-glow-three {
  left: 34%;
  bottom: 70px;
  width: 185px;
  height: 185px;
  background: #c084fc;
  animation-delay: 1.4s;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 52px;
  align-items: center;
  padding: 68px 0 84px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff7fb;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 40px rgba(76, 29, 149, 0.22);
}

.hero-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #fff7fb;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.hero-meta span,
.detail-tags span,
.tag-row span,
.filter-row button,
.meta-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
}

.hero-meta span {
  padding: 8px 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.btn-primary,
.btn-secondary,
.btn-light,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.26);
}

.btn-secondary {
  color: var(--pink);
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(255, 255, 255, 0.18);
}

.btn-light {
  color: var(--pink);
  background: #ffffff;
}

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

.btn-primary:hover,
.btn-secondary:hover,
.btn-light:hover,
.btn-ghost:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.hero-visual {
  position: relative;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-strong);
  transform: rotate(2deg);
}

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

.hero-poster::after,
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.66), transparent);
}

.hero-card-float {
  position: absolute;
  left: -28px;
  bottom: 34px;
  max-width: 245px;
  padding: 18px;
  border-radius: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card-float strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.hero-card-float span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: calc((100% - min(1180px, calc(100% - 32px))) / 2);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  opacity: 0.58;
}

.hero-dot.is-active {
  width: 30px;
  opacity: 1;
  background: #ffffff;
}

.container,
.section-block,
.page-hero-inner,
.detail-wrap,
.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-block {
  padding: 62px 0;
}

.section-soft {
  width: 100%;
  padding: 62px 0;
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.86), rgba(243, 232, 255, 0.9));
}

.section-blue {
  width: 100%;
  padding: 62px 0;
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.92), rgba(236, 254, 255, 0.88));
}

.section-gradient {
  width: 100%;
  padding: 62px 0;
  background: linear-gradient(135deg, #fce7f3, #f3e8ff, #dbeafe);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-link {
  flex-shrink: 0;
  color: var(--pink);
  font-weight: 900;
}

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

.category-pill,
.category-card {
  background: var(--card);
  box-shadow: var(--shadow);
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-pill:nth-child(3n + 2) {
  background: linear-gradient(90deg, var(--rose), var(--pink));
}

.category-pill:nth-child(3n) {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.category-pill:hover,
.category-card:hover,
.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-card-large .poster-wrap {
  aspect-ratio: 16 / 11;
}

.movie-card-small .poster-wrap {
  aspect-ratio: 3 / 4;
}

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

.movie-card:hover img {
  transform: scale(1.08);
}

.poster-type,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
}

.poster-type {
  right: 12px;
  bottom: 12px;
  padding: 6px 11px;
  font-size: 12px;
  background: rgba(236, 72, 153, 0.9);
}

.rank-badge {
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rose), var(--purple));
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.28);
}

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

.movie-card-small .movie-card-body {
  padding: 13px;
}

.movie-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  transition: color 0.2s ease;
}

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

.movie-card p {
  display: -webkit-box;
  margin: 9px 0 0;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag-row span {
  padding: 5px 9px;
  color: var(--pink-dark);
  font-size: 12px;
  background: #fce7f3;
}

.horizontal-scroll {
  overflow-x: auto;
  padding-bottom: 12px;
}

.scroll-track {
  display: flex;
  width: max-content;
  gap: 18px;
}

.scroll-track .movie-card {
  width: 265px;
  flex: 0 0 auto;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 54px;
  color: #ffffff;
  background: linear-gradient(135deg, #f472b6, #a855f7, #60a5fa);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #fff7fb;
  font-size: 19px;
  line-height: 1.8;
}

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

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(251, 207, 232, 0.7);
  border-radius: 30px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card strong {
  font-size: 24px;
  font-weight: 950;
}

.category-card p {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.category-card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.category-card li {
  margin-top: 8px;
  color: #4b5563;
  font-size: 14px;
}

.page-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.page-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #fbcfe8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.08);
}

.page-search input {
  padding: 12px 16px;
}

.page-search button {
  padding: 12px 20px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row button {
  border: 0;
  padding: 10px 15px;
  color: var(--pink-dark);
  background: #fce7f3;
}

.filter-row button.is-active,
.filter-row button:hover {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.empty-state {
  display: none;
  padding: 50px 24px;
  text-align: center;
  color: var(--muted);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
}

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

.breadcrumb {
  padding: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--pink-dark);
  font-weight: 800;
}

.detail-wrap {
  padding: 34px 0 70px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  margin-bottom: 34px;
}

.detail-poster {
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, #fce7f3, #dbeafe);
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.detail-copy {
  padding: 34px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.detail-copy h1 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.detail-lead {
  margin: 20px 0 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

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

.meta-chip {
  padding: 8px 13px;
  color: var(--pink-dark);
  background: #fce7f3;
}

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

.detail-tags span {
  padding: 7px 12px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.content-card,
.player-card {
  margin-top: 30px;
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.content-card h2,
.player-card h2 {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 950;
}

.content-card p {
  margin: 0 0 18px;
  color: #374151;
  font-size: 17px;
  line-height: 1.9;
}

.video-player {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #111827;
  box-shadow: 0 22px 58px rgba(17, 24, 39, 0.28);
}

.video-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.18));
  transition: opacity 0.2s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 50%;
  font-size: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.34);
}

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

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

.ranking-item {
  display: grid;
  grid-template-columns: 72px 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 15px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.ranking-num {
  font-size: 30px;
  font-weight: 950;
  text-align: center;
  color: var(--pink);
}

.ranking-thumb {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 2 / 3;
  background: #fce7f3;
}

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

.ranking-copy h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 950;
}

.ranking-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.ranking-heat {
  color: var(--pink-dark);
  font-weight: 950;
  white-space: nowrap;
}

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

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0 34px;
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: #4b5563;
}

.footer-brand p {
  margin: 16px 0 0;
  line-height: 1.8;
}

.footer-col h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 950;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-top: 9px;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(236, 72, 153, 0.16);
  font-size: 14px;
}

@keyframes pulseGlow {
  from {
    transform: scale(0.92);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 1040px) {
  .header-search {
    width: 220px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-stage,
  .hero-slide {
    min-height: 820px;
  }

  .hero-visual {
    max-width: 460px;
    margin: 0 auto;
  }

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

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

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

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

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

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

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

  .hero-slide {
    padding-top: 48px;
  }

  .hero-poster {
    border-radius: 28px;
  }

  .hero-card-float {
    left: 18px;
    right: 18px;
    max-width: none;
  }

  .hero-controls {
    right: 16px;
    left: 16px;
    justify-content: center;
  }

  .section-heading {
    display: block;
  }

  .section-link {
    display: inline-flex;
    margin-top: 12px;
  }

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

  .page-tools {
    grid-template-columns: 1fr;
  }

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

  .detail-poster img {
    min-height: auto;
    aspect-ratio: 2 / 3;
  }

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

  .ranking-item {
    grid-template-columns: 48px 76px minmax(0, 1fr);
  }

  .ranking-heat {
    grid-column: 3;
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: min(100% - 22px, 1180px);
  }

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

  .hero-slider,
  .hero-stage,
  .hero-slide {
    min-height: 790px;
  }

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

  .hero-actions {
    display: grid;
  }

  .btn-primary,
  .btn-secondary,
  .btn-light,
  .btn-ghost {
    width: 100%;
  }

  .section-block,
  .section-soft,
  .section-blue,
  .section-gradient {
    padding: 44px 0;
  }

  .movie-grid,
  .movie-grid-large,
  .movie-grid-small,
  .category-overview {
    grid-template-columns: 1fr;
  }

  .movie-card-small .poster-wrap {
    aspect-ratio: 16 / 10;
  }

  .detail-copy,
  .content-card,
  .player-card {
    padding: 22px;
    border-radius: 24px;
  }
}
