:root {
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --yellow-400: #facc15;
  --blue-500: #3b82f6;
  --green-500: #22c55e;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(236, 72, 153, 0.16);
  --shadow: 0 14px 35px rgba(236, 72, 153, 0.14);
  --shadow-strong: 0 22px 60px rgba(249, 115, 22, 0.22);
  --radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--pink-50) 0%, var(--orange-50) 56%, #ffffff 100%);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.94), rgba(255, 247, 237, 0.94));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(236, 72, 153, 0.14);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.08);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  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-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-400), var(--orange-400));
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.28);
  font-size: 15px;
}

.brand-text,
.footer-brand span:last-child {
  font-size: 24px;
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--pink-600);
  background: rgba(252, 231, 243, 0.86);
}

.nav-link:hover,
.mobile-link:hover {
  transform: translateY(-1px);
}

.top-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.08);
}

.top-search input {
  width: 210px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 10px 8px 14px;
  color: var(--text);
}

.top-search button {
  border: 0;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 16px;
  background: linear-gradient(90deg, var(--pink-400), var(--orange-400));
}

.nav-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  color: #374151;
  border-radius: 14px;
  padding: 9px 12px;
}

.mobile-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 16px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-link {
  display: block;
  margin: 4px 0;
}

.mobile-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.quick-cat {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--pink-600);
  background: #fff;
}

main {
  overflow: hidden;
}

.hero {
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 0 20px;
  position: relative;
}

.hero-track {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, var(--pink-400), var(--orange-400));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.02);
  display: flex;
  align-items: center;
  padding: 64px;
  isolation: isolate;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 18%, rgba(250, 204, 21, 0.3), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.46) 44%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 50%);
}

.hero-image-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.hero-content p {
  max-width: 590px;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hero-tags,
.detail-tags,
.movie-tags,
.detail-meta,
.movie-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 700;
}

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

.btn-primary,
.btn-ghost,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  padding: 14px 24px;
  color: #fff;
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.32);
}

.btn-ghost {
  padding: 13px 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

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

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 30px;
  background: #fff;
}

.search-panel,
.listing-tools {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.search-panel h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.search-panel p,
.section-head p,
.page-banner p,
.category-card p,
.category-tile p,
.footer-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.search-box {
  min-width: 320px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(236, 72, 153, 0.18);
  padding: 8px 10px 8px 18px;
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.08);
}

.search-box span {
  font-weight: 900;
  color: var(--pink-600);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 10px 8px;
  color: var(--text);
}

.search-box-wide {
  min-width: min(520px, 100%);
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 20px 0;
}

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

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.section-more,
.text-link {
  color: var(--pink-600);
  background: #fff;
  padding: 10px 16px;
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.1);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.11);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  border: 1px solid rgba(236, 72, 153, 0.09);
}

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

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(236, 72, 153, 0.19);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-100), var(--orange-100));
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

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

.movie-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  transition: color 0.2s ease;
}

.movie-title:hover {
  color: var(--pink-600);
}

.movie-desc {
  min-height: 47px;
  margin: 9px 0 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.movie-meta {
  color: #6b7280;
  font-size: 13px;
}

.movie-meta span:not(:last-child)::after,
.detail-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #d1d5db;
}

.movie-tags {
  margin-top: 12px;
}

.movie-tags a,
.movie-tags span,
.detail-tags span,
.filter-chip,
.detail-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--pink-100);
  color: var(--pink-600);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.movie-tags span {
  background: var(--orange-100);
  color: #c2410c;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.movie-card-wide .poster-link {
  aspect-ratio: 3 / 4;
  height: 100%;
}

.movie-card-wide .movie-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-section {
  padding-top: 48px;
}

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

.category-tile {
  min-height: 170px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--tile-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18)), linear-gradient(120deg, rgba(236, 72, 153, 0.55), rgba(249, 115, 22, 0.35));
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.category-tile span {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.category-tile p {
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.page-banner {
  margin: 28px auto 0;
  max-width: 1280px;
  padding: 64px 20px;
  border-radius: 0 0 34px 34px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(105deg, var(--pink-400), var(--orange-400));
  box-shadow: var(--shadow-strong);
}

.page-banner h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
}

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

.category-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(236, 72, 153, 0.09);
  box-shadow: var(--shadow);
}

.category-card-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 140px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-100), var(--orange-100));
}

.category-card-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-body {
  padding: 20px;
}

.category-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-card .text-link {
  margin-top: 16px;
}

.listing-tools {
  flex-wrap: wrap;
}

.sticky-tools {
  position: sticky;
  top: 80px;
  z-index: 30;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 0;
  background: #fff;
  color: #4b5563;
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.08);
}

.filter-chip.is-active,
.filter-chip:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
}

.detail-top,
.watch-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 18px;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 30px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(236, 72, 153, 0.12);
  box-shadow: var(--shadow);
}

.detail-poster {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--pink-100), var(--orange-100));
  box-shadow: 0 24px 55px rgba(31, 41, 55, 0.18);
}

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

.detail-badge {
  color: #fff;
  background: linear-gradient(90deg, var(--pink-500), var(--orange-500));
  margin-bottom: 14px;
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

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

.detail-meta {
  color: #6b7280;
  margin-bottom: 18px;
}

.detail-tags span {
  font-size: 13px;
}

.player-shell {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background:
    radial-gradient(circle at center, rgba(236, 72, 153, 0.35), transparent 32%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.36));
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 4;
}

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

.play-icon {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--orange-500));
  font-size: 34px;
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.36);
  padding-left: 5px;
}

.play-title {
  font-size: 20px;
  font-weight: 900;
}

.player-error {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 5;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 999px;
  padding: 10px 16px;
}

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

.detail-copy {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(236, 72, 153, 0.09);
}

.review-copy {
  background: linear-gradient(135deg, #fff, var(--orange-50));
}

.detail-copy h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-copy p {
  margin: 0;
  color: #4b5563;
  line-height: 1.95;
  font-size: 16px;
}

.site-footer {
  margin-top: 70px;
  padding: 46px 20px 24px;
  background: linear-gradient(180deg, var(--pink-50), var(--pink-100));
  border-top: 1px solid rgba(236, 72, 153, 0.16);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.footer-brand span:last-child {
  font-size: 20px;
}

.footer-grid p {
  margin-top: 14px;
  max-width: 520px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

.footer-links a {
  color: #6b7280;
  font-size: 14px;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(236, 72, 153, 0.14);
  color: #6b7280;
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--orange-500));
  box-shadow: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 70;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

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

  .top-search {
    display: none;
  }
}

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

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

  .hero-track {
    min-height: 520px;
    border-radius: 28px;
  }

  .hero-slide {
    padding: 34px 24px 78px;
    align-items: flex-end;
  }

  .hero-content p {
    font-size: 16px;
  }

  .search-panel,
  .listing-tools,
  .section-head,
  .footer-grid,
  .detail-hero,
  .detail-section {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    min-width: 100%;
  }

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

  .movie-card-wide {
    display: block;
  }

  .category-grid,
  .category-list-grid {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }

  .detail-info h1 {
    text-align: left;
  }

  .sticky-tools {
    top: 72px;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .hero,
  .section,
  .detail-top,
  .watch-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    margin-top: 18px;
  }

  .hero-track {
    min-height: 470px;
  }

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

  .hero-tags span {
    font-size: 12px;
  }

  .hero-actions {
    align-items: stretch;
  }

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

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

  .page-banner {
    margin-top: 18px;
    padding: 46px 18px;
    border-radius: 0 0 26px 26px;
  }

  .detail-hero {
    padding: 18px;
    border-radius: 24px;
  }

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

  .play-icon {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }
}
