* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-soft: #fff7fb;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #f3dbe8;
  --pink: #ec4899;
  --pink-deep: #db2777;
  --blue: #60a5fa;
  --purple: #8b5cf6;
  --shadow: 0 18px 45px rgba(236, 72, 153, 0.16);
  --shadow-strong: 0 24px 70px rgba(31, 41, 55, 0.20);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.90);
  border-bottom: 1px solid rgba(236, 72, 153, 0.14);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr minmax(220px, 320px);
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

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

.brand-name,
.footer-logo span:last-child {
  font-size: 1.35rem;
  line-height: 1;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-weight: 700;
  color: #4b5563;
}

.site-nav a {
  transition: color 0.2s ease;
}

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

.header-search {
  position: relative;
}

.header-search input,
.big-search input,
.filter-line input {
  width: 100%;
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  height: 42px;
  padding: 0 18px;
}

.big-search input {
  height: 58px;
  padding: 0 24px;
  font-size: 1rem;
}

.header-search input:focus,
.big-search input:focus,
.filter-line input:focus {
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow: 0 16px 38px rgba(236, 72, 153, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

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

.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: none;
  width: min(420px, 92vw);
  max-height: 430px;
  overflow: auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(236, 72, 153, 0.16);
  border-radius: 22px;
  box-shadow: var(--shadow-strong);
}

.search-panel.wide {
  left: 50%;
  right: auto;
  width: min(720px, 92vw);
  transform: translateX(-50%);
}

.search-panel.is-open {
  display: grid;
  gap: 10px;
}

.search-result {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.search-result:hover {
  background: #fff0f7;
}

.search-result img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.search-result strong {
  display: block;
  overflow: hidden;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.02);
}

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

.hero-image,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 18, 0.88), rgba(9, 9, 18, 0.50), rgba(236, 72, 153, 0.30)),
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.35), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  padding: 120px 0 150px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 12px;
  color: #be185d;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.16);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero .eyebrow,
.detail-copy .eyebrow,
.inner-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.tag-row span {
  color: var(--pink-deep);
  background: #fff0f7;
}

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

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

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.30);
}

.ghost-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 36px;
  background: #fff;
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 88px;
  background: #fff;
  clip-path: polygon(0 55%, 8% 62%, 18% 56%, 32% 70%, 46% 55%, 62% 65%, 76% 50%, 90% 62%, 100% 52%, 100% 100%, 0 100%);
}

.section {
  padding: 72px 0;
}

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

.section-head.centered {
  display: block;
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-head h2,
.inner-hero h1,
.detail-copy h1,
.story-panel h2,
.player-head h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-head p,
.inner-hero p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-more {
  min-height: 40px;
  color: var(--pink-deep);
  background: #fff0f7;
}

.big-search {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.category-tile {
  min-height: 190px;
  padding: 22px;
  color: #fff;
}

.category-tile::after,
.category-overview-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.20), rgba(17, 24, 39, 0.84));
}

.category-tile img,
.category-overview-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover img,
.category-overview-card:hover img {
  transform: scale(1.08);
}

.category-tile span,
.category-tile strong {
  display: block;
}

.category-tile span {
  font-size: 1.25rem;
  font-weight: 900;
}

.category-tile strong {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
}

.category-tile p {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.soft-panel {
  width: min(1220px, calc(100% - 24px));
  margin: 0 auto;
  padding-right: 18px;
  padding-left: 18px;
  background: linear-gradient(135deg, #fff7fb, #f1f7ff);
  border-radius: 34px;
}

.gradient-band {
  background: linear-gradient(90deg, #fbf0ff, #fff0f7, #eef6ff);
}

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

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

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(236, 72, 153, 0.10);
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3f4f6;
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  background: rgba(17, 24, 39, 0.34);
  transition: opacity 0.24s ease;
}

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

.region-badge,
.rank-badge,
.source-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: #fff;
  background: var(--pink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
}

.rank-badge {
  right: 12px;
  left: auto;
  background: linear-gradient(135deg, #f59e0b, var(--pink));
}

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-info h3 a:hover {
  color: var(--pink-deep);
}

.movie-meta {
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.movie-desc {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #4b5563;
  font-size: 0.88rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.compact-card .movie-info h3 {
  min-height: auto;
}

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

.inner-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(236, 72, 153, 0.40), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(96, 165, 250, 0.42), transparent 34%),
    linear-gradient(135deg, #111827, #3b1634 56%, #111827);
}

.inner-hero {
  padding: 78px 0 88px;
}

.inner-hero h1,
.inner-hero p {
  color: #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

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

.crumb-sep {
  color: rgba(255, 255, 255, 0.48);
}

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

.category-overview-card {
  display: flex;
  align-items: flex-end;
  min-height: 240px;
  padding: 24px;
  color: #fff;
}

.category-overview-card span,
.category-overview-card strong {
  display: block;
}

.category-overview-card span {
  font-size: 1.35rem;
  font-weight: 900;
}

.category-overview-card strong {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.86);
}

.category-overview-card p {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.filter-box {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(236, 72, 153, 0.12);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.filter-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.filter-line strong {
  min-width: 76px;
}

.filter-line input {
  max-width: 420px;
  height: 42px;
  padding: 0 16px;
}

.quick-filters button {
  min-height: 34px;
  padding: 0 12px;
  color: #4b5563;
  background: #f9fafb;
  border: 1px solid #edf2f7;
  border-radius: 999px;
  cursor: pointer;
}

.quick-filters button.is-active,
.quick-filters button:hover {
  color: #fff;
  background: var(--pink);
  border-color: var(--pink);
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 74px 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(236, 72, 153, 0.10);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.rank-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
}

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

.rank-number {
  color: var(--pink);
  font-size: 1.6rem;
  font-weight: 900;
  text-align: center;
}

.rank-copy h3 {
  margin: 0;
  font-size: 1rem;
}

.rank-copy h3 a:hover {
  color: var(--pink-deep);
}

.rank-copy p {
  display: -webkit-box;
  margin: 4px 0;
  overflow: hidden;
  color: #4b5563;
  font-size: 0.9rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.detail-hero {
  min-height: 620px;
  background: #111827;
}

.detail-bg,
.detail-shade {
  position: absolute;
  inset: 0;
}

.detail-shade {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.68), rgba(236, 72, 153, 0.28)),
    linear-gradient(0deg, #111827, transparent 45%);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px 0 88px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 38px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 8px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

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

.detail-copy h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.detail-one-line {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.detail-tags {
  margin-top: 18px;
}

.detail-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.player-panel,
.story-panel {
  background: #fff;
  border: 1px solid rgba(236, 72, 153, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.player-panel {
  overflow: hidden;
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
}

.player-head .eyebrow {
  margin-bottom: 8px;
}

.source-badge {
  position: static;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020617;
}

.movie-video {
  display: block;
  width: 100%;
  height: 100%;
  background: #020617;
}

.video-play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #fff;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.30), rgba(17, 24, 39, 0.66));
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-play-button span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  padding-left: 5px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.34);
  font-size: 2rem;
}

.video-play-button strong {
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.34);
  border-radius: 999px;
}

.video-shell.is-playing .video-play-button {
  visibility: hidden;
  opacity: 0;
}

.player-status {
  margin: 0;
  padding: 14px 22px 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.story-panel {
  padding: 26px;
}

.story-panel h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.story-panel h2:not(:first-child) {
  margin-top: 24px;
}

.story-panel p {
  margin: 0;
  color: #374151;
}

.detail-meta-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.detail-meta-list div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.detail-meta-list dt {
  color: var(--muted);
}

.detail-meta-list dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  margin-top: 42px;
  background: linear-gradient(180deg, #fafafa, #f3f4f6);
  border-top: 1px solid #e5e7eb;
}

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

.footer-brand p {
  max-width: 420px;
  color: var(--muted);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links strong {
  margin-bottom: 6px;
}

.footer-links a {
  color: #4b5563;
  font-size: 0.92rem;
}

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

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

.footer-category-links strong {
  grid-column: 1 / -1;
}

.footer-bottom {
  padding: 18px;
  color: var(--muted);
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.is-hidden {
  display: none !important;
}

.empty-state {
  padding: 30px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed rgba(236, 72, 153, 0.25);
  border-radius: 20px;
  text-align: center;
}

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

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

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

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(236, 72, 153, 0.16);
    border-radius: 22px;
    box-shadow: var(--shadow-strong);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .header-search {
    grid-column: 1 / -1;
    width: 100%;
    padding-bottom: 12px;
  }

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

  .hero-content {
    padding-top: 96px;
  }

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .catalog-grid,
  .related-grid,
  .home-rank-list,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-cover {
    width: min(260px, 70vw);
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .hero h1,
  .detail-copy h1 {
    font-size: 2.35rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
  }

  .section-more {
    margin-top: 14px;
  }

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .catalog-grid,
  .related-grid,
  .home-rank-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 64px 38px 1fr;
    gap: 10px;
  }

  .filter-line {
    align-items: stretch;
  }

  .filter-line input {
    max-width: none;
  }
}
