:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --blue: #2563eb;
  --dark: #0f172a;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f8fafc 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.28);
  font-size: 14px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow: hidden;
}

.desktop-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary-dark);
  background: #ecfeff;
}

.header-search,
.mobile-search,
.hero-inline-search,
.hero-search-band form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.hero-inline-search input,
.hero-search-band input,
.filter-panel input,
.filter-panel select {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 210px;
  padding: 10px 14px;
}

.header-search button,
.mobile-search button,
.hero-inline-search button,
.hero-search-band button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary);
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.hero-inline-search button:hover,
.hero-search-band button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

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

.mobile-panel {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mobile-panel.is-open {
  display: grid;
  gap: 8px;
}

.mobile-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #334155;
  font-weight: 600;
}

.mobile-panel a:hover {
  background: #ecfeff;
  color: var(--primary-dark);
}

.mobile-search {
  margin-bottom: 6px;
}

.mobile-search input {
  min-width: 0;
  flex: 1;
  padding: 10px 14px;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 540px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
}

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

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: min(1240px, calc(100% - 32px));
  transform: translateX(-50%);
  color: #ffffff;
}

.hero-pill,
.page-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.94);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.hero-content h1 {
  max-width: 760px;
  margin: 18px 0 14px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 700px;
  margin: 0 0 28px;
  color: #dbeafe;
  font-size: 19px;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  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, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 16px 30px rgba(8, 145, 178, 0.32);
}

.btn.primary:hover {
  background: var(--primary-dark);
}

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

.btn.soft {
  color: #cffafe;
  background: rgba(8, 145, 178, 0.2);
  border: 1px solid rgba(103, 232, 249, 0.38);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-control.prev {
  left: 24px;
}

.hero-control.next {
  right: 24px;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #ffffff;
}

.hero-search-band {
  width: min(1180px, calc(100% - 32px));
  margin: -44px auto 0;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-search-band h2 {
  margin: 0 0 4px;
  font-size: 24px;
}

.hero-search-band p {
  margin: 0;
  color: var(--muted);
}

.hero-search-band form {
  flex: 0 0 460px;
}

.hero-search-band input,
.hero-inline-search input {
  min-width: 0;
  flex: 1;
  padding: 13px 16px;
}

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

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

.section-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-head a,
.inline-link {
  color: var(--primary-dark);
  font-weight: 800;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.14);
}

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

.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: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.76), transparent);
}

.play-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 145, 178, 0.94);
  font-size: 13px;
  font-weight: 800;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.28);
}

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

.movie-card.compact .movie-card-body {
  padding: 14px;
}

.movie-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card.compact h3 {
  font-size: 16px;
}

.movie-card h3 a:hover {
  color: var(--primary-dark);
}

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

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

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

.tag-row span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

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

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

.category-tile {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  min-height: 90px;
}

.category-covers img {
  height: 92px;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.category-covers img:nth-child(1) {
  grid-row: span 2;
  height: 190px;
}

.category-tile strong {
  font-size: 18px;
}

.category-tile span {
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 20px;
  border-radius: 28px;
  color: #ffffff;
  background: linear-gradient(180deg, #0f172a, #111827);
  box-shadow: var(--shadow);
}

.rank-title {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 900;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.rank-row span {
  color: #67e8f9;
  font-weight: 900;
}

.rank-row img {
  width: 58px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-row strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row em {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.dark-section {
  width: min(1240px, calc(100% - 32px));
  margin-top: 72px;
  padding: 42px;
  border-radius: 32px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 0%, rgba(8, 145, 178, 0.48), transparent 34%), linear-gradient(135deg, #0f172a, #111827 52%, #020617);
}

.dark-section .section-head h2,
.dark-section .movie-card h3,
.dark-section .section-head p {
  color: #ffffff;
}

.page-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 36px auto 0;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px;
  border-radius: 34px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 0%, rgba(103, 232, 249, 0.36), transparent 30%), linear-gradient(135deg, #0f172a, #164e63 54%, #1d4ed8);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.small-hero {
  min-height: 240px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.category-overview-cover {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.category-overview-cover img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 16px;
}

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

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.category-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.category-chip-row span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfeff;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 12px 14px;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 58px 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  font-weight: 900;
}

.rank-card img {
  width: 86px;
  height: 116px;
  object-fit: cover;
  border-radius: 16px;
}

.rank-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.rank-card p {
  margin: 0 0 8px;
  color: #475569;
}

.rank-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

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

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.04);
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.76) 52%, rgba(2, 6, 23, 0.42));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 48px 0;
}

.detail-poster img {
  width: 310px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #a5f3fc;
  font-weight: 700;
}

.detail-info h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-line {
  max-width: 760px;
  margin: 0 0 20px;
  color: #e2e8f0;
  font-size: 19px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e0f2fe;
  font-weight: 700;
}

.detail-tags span {
  background: rgba(103, 232, 249, 0.14);
  color: #cffafe;
}

.detail-actions {
  margin-top: 26px;
}

.detail-section {
  padding-top: 56px;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.player-wrap {
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: var(--shadow);
}

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

.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.08));
  cursor: pointer;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(8, 145, 178, 0.92);
  box-shadow: 0 20px 45px rgba(8, 145, 178, 0.36);
  font-size: 34px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-overlay:hover span {
  transform: scale(1.06);
  background: var(--primary-dark);
}

.play-overlay.is-hidden {
  display: none;
}

.detail-side {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.detail-side h2 {
  margin: 0 0 16px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.detail-side dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
}

.article-section {
  max-width: 940px;
}

.article-section h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.article-section h2:not(:first-child) {
  margin-top: 34px;
}

.article-section p {
  margin: 0;
  color: #334155;
  font-size: 17px;
}

.search-summary {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.site-footer {
  margin-top: 86px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 42px;
  padding: 52px 0 36px;
}

.footer-brand {
  color: #ffffff;
}

.site-footer p {
  max-width: 540px;
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

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

.footer-links a:hover {
  color: #67e8f9;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 18px 16px;
  text-align: center;
  color: #94a3b8;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .desktop-nav a:nth-last-child(n + 7) {
    display: none;
  }

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

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

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

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero {
    height: 66vh;
    min-height: 520px;
  }

  .hero-content {
    bottom: 76px;
  }

  .hero-search-band,
  .page-hero,
  .split-section,
  .player-layout,
  .footer-inner,
  .detail-hero-inner,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .hero-search-band,
  .page-hero {
    display: grid;
  }

  .hero-search-band form,
  .hero-inline-search {
    width: 100%;
    flex: 1 1 auto;
  }

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

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

  .rank-panel {
    position: static;
  }

  .detail-hero-inner {
    min-height: auto;
    padding: 38px 0 52px;
  }

  .detail-poster img {
    width: min(260px, 78vw);
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 18px;
  }

  .hero {
    min-height: 560px;
  }

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

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

  .hero-control {
    display: none;
  }

  .hero-actions,
  .detail-actions {
    display: grid;
  }

  .hero-search-band,
  .page-hero,
  .dark-section {
    padding: 24px;
    border-radius: 24px;
  }

  .section {
    padding-top: 48px;
  }

  .section-head {
    display: grid;
  }

  .movie-grid,
  .compact-grid,
  .editor-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-card {
    grid-template-columns: 44px 74px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-number {
    width: 40px;
    height: 40px;
  }

  .rank-card img {
    width: 74px;
    height: 100px;
  }

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

  .category-overview-cover img {
    height: 130px;
  }

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