:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --blue-600: #2563eb;
  --rose-500: #f43f5e;
  --amber-500: #f59e0b;
  --green-500: #22c55e;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.32);
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 9px 13px;
  border-radius: 999px;
  color: #475569;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sky-600);
  background: var(--sky-50);
}

.nav-link.subtle {
  color: #64748b;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #334155;
  border-radius: 2px;
}

.hero {
  position: relative;
  margin-bottom: 72px;
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(90deg, #0f172a, #334155);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.54) 42%, rgba(2, 6, 23, 0.18) 100%);
}

.hero-content {
  position: absolute;
  inset: auto 0 96px 0;
  color: #ffffff;
}

.hero-copy {
  width: min(720px, 100%);
}

.hero-kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(14, 165, 233, 0.92);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-meta span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 14px;
}

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

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

.primary-btn,
.hero-search button {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.25);
  cursor: pointer;
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-link:hover,
.hero-search button:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
  transform: translateY(-50%) scale(1.04);
}

.hero-prev {
  left: 20px;
  transform: translateY(-50%);
}

.hero-next {
  right: 20px;
  transform: translateY(-50%);
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.active {
  width: 34px;
  background: #ffffff;
}

.hero-underlay {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  margin-top: -54px;
}

.hero-search-card,
.hero-rank-card,
.content-card,
.category-card,
.filter-panel {
  border: 1px solid rgba(226, 232, 240, 0.90);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-search-card,
.hero-rank-card {
  padding: 26px;
  backdrop-filter: blur(18px);
}

.hero-search-card > span,
.mini-head span {
  color: var(--sky-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-search-card h2 {
  margin: 8px 0 18px;
  font-size: 28px;
  line-height: 1.22;
}

.hero-search {
  display: flex;
  gap: 12px;
}

.hero-search input,
.search-box input,
.filter-grid select {
  width: 100%;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.hero-search input {
  min-height: 48px;
  padding: 0 18px;
}

.hero-search input:focus,
.search-box input:focus,
.filter-grid select:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.mini-head,
.strip-head,
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.mini-head a,
.strip-head a,
.section-link {
  color: var(--sky-600);
  font-size: 14px;
  font-weight: 800;
}

.mini-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.section-block,
.category-zone {
  padding: 34px 0;
}

.section-head {
  margin-bottom: 28px;
}

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

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-link {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.36);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.13);
}

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

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.72));
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

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

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(14, 165, 233, 0.86);
  box-shadow: 0 16px 34px rgba(14, 165, 233, 0.35);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.type-badge {
  right: 10px;
  top: 10px;
  padding: 5px 9px;
  background: rgba(15, 23, 42, 0.62);
}

.rank-badge {
  left: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding: 0 9px;
  background: rgba(244, 63, 94, 0.92);
}

.movie-info {
  padding: 14px;
}

.movie-info h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.movie-info h2 a:hover,
.row-main h2 a:hover,
.category-sample a:hover {
  color: var(--sky-600);
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

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

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

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

.tag-row span {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--sky-600);
  background: var(--sky-50);
  font-size: 12px;
  font-weight: 700;
}

.tag-row.large span {
  padding: 8px 12px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.15);
}

.category-zone-list {
  display: grid;
  gap: 24px;
}

.category-strip {
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--sky-50), #ffffff);
  overflow: hidden;
}

.strip-head {
  margin-bottom: 18px;
}

.strip-head h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.strip-head p {
  margin: 0;
  color: var(--muted);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 190px;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

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

.movie-row {
  display: grid;
  grid-template-columns: auto 92px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.row-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), #fb7185);
  font-weight: 900;
}

.row-rank.pale {
  color: var(--sky-600);
  background: var(--sky-50);
}

.row-cover {
  display: block;
  overflow: hidden;
  width: 92px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: #e2e8f0;
}

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

.row-main h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.row-main p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.62;
}

.page-hero {
  margin-top: 42px;
  padding: 48px;
  border-radius: var(--radius-xl);
  color: #0f172a;
  background: linear-gradient(135deg, var(--sky-50), #ffffff);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.92);
}

.compact-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.compact-hero p {
  max-width: 760px;
  margin: 0;
  color: #475569;
  line-height: 1.75;
  font-size: 17px;
}

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

.category-card {
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.12);
}

.category-main-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.category-main-link span {
  font-size: 24px;
  font-weight: 900;
}

.category-main-link strong {
  color: var(--sky-600);
  font-size: 14px;
}

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

.category-sample {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-sample a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #475569;
  background: #f8fafc;
  font-size: 13px;
}

.filter-panel {
  margin-top: 24px;
  padding: 22px;
}

.search-box {
  position: relative;
  margin-bottom: 16px;
}

.search-box span {
  position: absolute;
  left: 18px;
  top: 50%;
  color: #94a3b8;
  transform: translateY(-50%);
  font-size: 22px;
}

.search-box input {
  min-height: 52px;
  padding: 0 18px 0 48px;
}

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

.filter-grid label span {
  display: block;
  margin: 0 0 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.filter-grid select {
  height: 44px;
  padding: 0 14px;
}

.empty-state {
  display: none;
  margin: 30px 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: #ffffff;
  text-align: center;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) saturate(1.05);
  transform: scale(1.05);
  opacity: 0.72;
}

.detail-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.58));
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 42px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  color: #cbd5e1;
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-cover {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.28);
}

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

.detail-copy h1 {
  margin: 18px 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-copy p {
  max-width: 780px;
  margin: 0 0 22px;
  color: #e2e8f0;
  font-size: 18px;
  line-height: 1.78;
}

.detail-meta {
  margin-bottom: 18px;
}

.player-section {
  margin-top: -70px;
  position: relative;
  z-index: 6;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 32px 70px rgba(2, 6, 23, 0.30);
  aspect-ratio: 16 / 9;
}

.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #020617;
  cursor: pointer;
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 14px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.62));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.large-play {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 18px 38px rgba(14, 165, 233, 0.34);
  font-size: 34px;
  cursor: pointer;
}

.play-layer span {
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 34px 0;
}

.content-card {
  padding: 28px;
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.content-card p {
  margin: 0;
  color: #475569;
  line-height: 1.86;
}

.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding: 46px 0 34px;
}

.footer-brand p {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 17px;
}

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

.footer-links a {
  color: #64748b;
  font-size: 14px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 30px;
  border-top: 1px solid #dbe4ef;
  color: #64748b;
  font-size: 14px;
}

.tone-rose {
  background: linear-gradient(135deg, #fff1f2, #ffffff);
}

.tone-red {
  background: linear-gradient(135deg, #fef2f2, #ffffff);
}

.tone-green,
.tone-emerald {
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
}

.tone-sky,
.tone-blue,
.tone-cyan {
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.tone-violet {
  background: linear-gradient(135deg, #f5f3ff, #ffffff);
}

.tone-amber {
  background: linear-gradient(135deg, #fffbeb, #ffffff);
}

.tone-pink {
  background: linear-gradient(135deg, #fdf2f8, #ffffff);
}

.ranking-hero {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.search-hero {
  background: linear-gradient(135deg, #ecfeff, #ffffff);
}

@media (max-width: 1120px) {
  .movie-grid.six,
  .movie-grid.five {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 880px) {
  .site-nav {
    align-items: flex-start;
    min-height: 64px;
    padding: 14px 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .nav-link {
    border-radius: 14px;
  }

  .hero-slider {
    height: 76vh;
    min-height: 620px;
  }

  .hero-content {
    bottom: 116px;
  }

  .hero-underlay {
    margin-top: -34px;
  }

  .hero-search {
    flex-direction: column;
  }

  .mini-card-list {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .brand {
    font-size: 18px;
  }

  .hero-slider {
    min-height: 620px;
  }

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

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

  .hero-arrow {
    display: none;
  }

  .hero-search-card,
  .hero-rank-card,
  .page-hero,
  .category-strip,
  .filter-panel,
  .content-card {
    padding: 20px;
    border-radius: 22px;
  }

  .movie-grid.six,
  .movie-grid.five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .scroll-row {
    grid-auto-columns: 160px;
  }

  .movie-info {
    padding: 12px;
  }

  .movie-info h2 {
    font-size: 15px;
  }

  .row-grid {
    gap: 12px;
  }

  .movie-row {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .row-rank {
    display: none;
  }

  .row-cover {
    width: 74px;
  }

  .row-main h2 {
    font-size: 16px;
  }

  .row-main p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-cover {
    width: 170px;
  }

  .detail-copy h1 {
    font-size: 36px;
  }

  .player-section {
    margin-top: -30px;
  }

  .video-shell {
    border-radius: 20px;
  }

  .large-play {
    width: 70px;
    height: 70px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
