:root {
  --bg: #fff7fb;
  --bg-soft: #fff1f7;
  --card: rgba(255, 255, 255, 0.88);
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(236, 72, 153, 0.16);
  --pink: #ec4899;
  --red: #ef4444;
  --orange: #f97316;
  --purple: #8b5cf6;
  --blue: #60a5fa;
  --shadow: 0 18px 45px rgba(190, 24, 93, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(251, 207, 232, 0.9), transparent 34rem),
    radial-gradient(circle at 90% 5%, rgba(219, 234, 254, 0.9), transparent 28rem),
    linear-gradient(135deg, #fff7fb 0%, #eff6ff 44%, #faf5ff 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 241, 247, 0.94), rgba(239, 246, 255, 0.94), rgba(250, 245, 255, 0.94));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 30px rgba(148, 85, 135, 0.12);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.86rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 14px 22px rgba(239, 68, 68, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.nav-link {
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 650;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--pink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.12);
}

.menu-toggle {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  border: 0;
  border-radius: 14px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.12);
}

main {
  min-height: 70vh;
}

.hero-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2.5rem;
}

.hero-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 36px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.42));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.12);
  opacity: 0.35;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 247, 251, 0.96), rgba(255, 247, 251, 0.72), rgba(255, 255, 255, 0.16)),
    radial-gradient(circle at 80% 35%, rgba(236, 72, 153, 0.24), transparent 20rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  padding: 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 3rem;
}

.hero-copy h1,
.page-hero h1,
.detail-card h1 {
  margin: 0;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.9rem);
  background: linear-gradient(90deg, var(--red), var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.eyebrow {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(253, 242, 248, 0.88);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-row span {
  display: inline-flex;
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  color: #9d174d;
  background: rgba(253, 242, 248, 0.9);
  border: 1px solid rgba(249, 168, 212, 0.42);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.primary-btn,
.ghost-btn,
.quick-actions a,
.page-search button,
.hero-search button,
.filter-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.78rem 1.28rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.primary-btn,
.hero-search button,
.page-search button {
  color: #fff;
  background: linear-gradient(90deg, var(--red), var(--orange));
  box-shadow: 0 16px 30px rgba(239, 68, 68, 0.22);
}

.primary-btn:hover,
.hero-search button:hover,
.page-search button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 36px rgba(239, 68, 68, 0.28);
}

.ghost-btn,
.quick-actions a,
.filter-row button {
  color: var(--pink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(249, 168, 212, 0.36);
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.12);
}

.ghost-btn:hover,
.quick-actions a:hover,
.filter-row button:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transform: translateY(-2px);
}

.hero-poster {
  justify-self: center;
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 26px 62px rgba(31, 41, 55, 0.22);
  transform: rotate(2deg);
}

.hero-poster img,
.poster-link img,
.category-card img,
.category-cover img,
.compact-poster img,
.side-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-poster:hover img,
.poster-link:hover img,
.category-card:hover img,
.category-cover:hover img,
.compact-card:hover img,
.side-cover:hover img {
  transform: scale(1.08);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: 1.4rem;
  bottom: 1.4rem;
  display: flex;
  gap: 0.7rem;
}

.hero-controls button {
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(31, 41, 55, 0.13);
  font-size: 2rem;
  line-height: 1;
}

.hero-search,
.page-search,
.filter-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.hero-search {
  position: relative;
  z-index: 8;
  max-width: 760px;
  margin: -1.55rem auto 0;
  padding: 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-search input,
.page-search input,
.filter-row input {
  width: 100%;
  min-height: 2.85rem;
  border: 1px solid rgba(249, 168, 212, 0.35);
  border-radius: 999px;
  padding: 0 1.15rem;
  color: var(--text);
  background: #fff;
  outline: none;
}

.hero-search input:focus,
.page-search input:focus,
.filter-row input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.blob {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.52;
  animation: blob 8s infinite ease-in-out;
  pointer-events: none;
}

.blob-one {
  left: -4rem;
  top: 3rem;
  background: #f9a8d4;
}

.blob-two {
  right: -4rem;
  bottom: 0;
  background: #93c5fd;
  animation-delay: 2s;
}

@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(28px, -42px) scale(1.08);
  }
  66% {
    transform: translate(-24px, 18px) scale(0.92);
  }
}

.section-wrap,
.page-hero,
.detail-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.intro-section {
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto;
}

.section-heading h2,
.section-title-row h2,
.page-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p,
.page-hero p,
.category-overview-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.text-link {
  color: var(--pink);
  font-weight: 800;
}

.text-link:hover {
  color: var(--red);
}

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

.category-card {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(17, 24, 39, 0.78));
}

.category-card span,
.category-card p {
  position: absolute;
  z-index: 2;
  left: 1.05rem;
  right: 1.05rem;
  color: #fff;
}

.category-card span {
  bottom: 3.2rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.category-card p {
  bottom: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  line-height: 1.5;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(31, 41, 55, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(253, 242, 248, 0.9), rgba(239, 246, 255, 0.9));
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.62));
}

.play-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.35);
}

.movie-card-body {
  padding: 1rem;
}

.movie-meta-line,
.detail-meta,
.compact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.movie-meta-line span,
.detail-meta span {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(249, 250, 251, 0.9);
}

.movie-card h2,
.compact-card h2,
.category-overview-card h2 {
  margin: 0.7rem 0 0.46rem;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 900;
}

.movie-card h2 a:hover,
.compact-card h2 a:hover,
.category-overview-card h2 a:hover {
  color: var(--pink);
}

.movie-card p,
.compact-card p {
  display: -webkit-box;
  margin: 0 0 0.85rem;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.6fr);
  gap: 1.5rem;
}

.rank-list {
  display: grid;
  gap: 0.9rem;
}

.compact-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  padding: 0.72rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compact-card:hover {
  transform: translateX(4px);
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.14);
}

.compact-poster {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(253, 242, 248, 0.88);
}

.rank-num {
  display: inline-grid;
  place-items: center;
  min-width: 1.8rem;
  height: 1.8rem;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  font-size: 0.82rem;
  font-weight: 900;
}

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

.page-hero {
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  text-align: center;
}

.simple-hero,
.category-hero,
.search-hero {
  max-width: 920px;
}

.page-search {
  max-width: 640px;
  margin: 1.4rem auto 0;
}

.filter-panel {
  padding-top: 1rem;
}

.filter-row {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.sticky-filter {
  position: sticky;
  top: 5.2rem;
  z-index: 20;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
}

.filter-chips button {
  border: 1px solid rgba(249, 168, 212, 0.36);
  border-radius: 999px;
  padding: 0.48rem 0.78rem;
  color: #9d174d;
  background: rgba(255, 255, 255, 0.84);
  font-weight: 750;
  transition: all 0.2s ease;
}

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

.empty-message {
  margin: 2rem 0;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: #fff;
  text-align: center;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.category-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.category-links a {
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  color: var(--pink);
  background: rgba(253, 242, 248, 0.9);
  font-size: 0.84rem;
  font-weight: 760;
}

.mini-hero .hero-slider,
.mini-hero .hero-content {
  min-height: 420px;
}

.mini-hero .hero-content {
  padding: 3rem;
}

.mini-hero .hero-copy h1 {
  font-size: clamp(2rem, 4vw, 4.1rem);
}

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

.detail-layout {
  padding-top: 2rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 1.2rem;
}

.player-card,
.detail-card,
.side-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.player-card {
  padding: 0.85rem;
}

.video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #111827;
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 0.7rem;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.58));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.player-overlay span {
  width: 4.6rem;
  height: 4.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 20px 42px rgba(239, 68, 68, 0.35);
  font-size: 1.75rem;
}

.player-overlay strong {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

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

.detail-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.detail-card h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.detail-card h2,
.side-card h2,
.site-footer h2 {
  margin: 1.55rem 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.detail-card p {
  margin: 0 0 1rem;
  color: #4b5563;
  line-height: 1.9;
  font-size: 1.02rem;
}

.detail-tags {
  margin: 1rem 0 0;
}

.detail-side {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
}

.side-cover {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-xl);
  background: rgba(253, 242, 248, 0.92);
  box-shadow: var(--shadow);
}

.side-card {
  padding: 1.1rem;
}

.side-card h2 {
  margin-top: 0;
}

.side-card p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.65rem 0;
  color: #4b5563;
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
}

.side-card p:last-child {
  border-bottom: 0;
}

.side-card span {
  color: var(--muted);
}

.related-section {
  padding-top: 1rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 2rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-links a {
  padding: 0.4rem 0.68rem;
  border-radius: 999px;
  color: #9d174d;
  background: rgba(253, 242, 248, 0.9);
  font-weight: 760;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.copyright {
  max-width: 1280px;
  margin: 2rem auto 0;
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .category-grid,
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .two-column,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .side-cover {
    max-width: 260px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
  }

  .nav-extra {
    display: none;
  }

  .hero-shell {
    padding-top: 1.2rem;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1.4rem;
  }

  .hero-poster {
    width: min(70vw, 280px);
    transform: none;
  }

  .hero-search,
  .page-search,
  .filter-row {
    border-radius: 24px;
    flex-direction: column;
  }

  .hero-search button,
  .page-search button,
  .filter-row button {
    width: 100%;
  }

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

  .category-overview-card,
  .detail-side {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 0.72rem 0.9rem;
  }

  .brand-text {
    font-size: 1.06rem;
  }

  .hero-shell,
  .section-wrap,
  .page-hero,
  .detail-layout {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

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

  .hero-content {
    padding: 1.35rem;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

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

  .compact-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

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