:root {
  color-scheme: light;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #e8edf4;
  --pink: #ec4899;
  --blue: #3b82f6;
  --green: #22c55e;
  --orange: #f97316;
  --red: #ef4444;
  --shadow: 0 20px 55px rgba(30, 41, 59, 0.12);
  --soft-shadow: 0 12px 30px rgba(30, 41, 59, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.96), rgba(239, 246, 255, 0.96), rgba(240, 253, 244, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  font-size: 24px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.35);
}

.logo-text strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #dc2626, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text small {
  display: block;
  margin-top: 4px;
  color: #5f6b7b;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.site-nav > a,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: #3b4658;
  font-weight: 700;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a.is-active,
.nav-dropdown:hover > button {
  color: var(--pink);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: 280px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #475467;
}

.nav-dropdown-panel a:hover {
  color: var(--pink);
  background: #fdf2f8;
}

.header-search {
  display: flex;
  align-items: center;
  width: 260px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.header-search input,
.large-search input,
.mobile-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.header-search input {
  padding: 0 10px 0 14px;
  font-size: 14px;
}

.header-search button,
.mobile-search button,
.large-search button {
  border: 0;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.24);
}

.header-search button {
  padding: 9px 16px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

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

.mobile-panel.is-open {
  display: block;
}

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

.mobile-links a {
  padding: 11px 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: #475467;
  font-weight: 700;
}

.mobile-links a.is-active,
.mobile-links a:hover {
  color: var(--pink);
  background: #fdf2f8;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 6px;
  background: #f8fafc;
  border-radius: 16px;
}

.mobile-search input {
  padding: 0 10px;
}

.mobile-search button {
  padding: 10px 16px;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #0f172a;
}

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

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

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

.hero-image,
.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay,
.detail-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 35%, rgba(236, 72, 153, 0.25), transparent 32%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.22)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.88));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 760px;
  padding: 80px 0 140px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #f9a8d4;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
}

.eyebrow.dark {
  color: var(--pink);
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-tags span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

.tag {
  color: #be185d;
  background: #fdf2f8;
  border-color: #fbcfe8;
}

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

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.28);
}

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

.btn-primary:hover,
.btn-ghost:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.2);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 34px;
  line-height: 1;
}

.hero-arrow:hover {
  background: rgba(236, 72, 153, 0.9);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dots button {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-quick {
  position: absolute;
  z-index: 5;
  right: max(32px, calc((100% - 1200px) / 2));
  bottom: 84px;
  display: grid;
  gap: 12px;
  width: 280px;
}

.hero-quick a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
}

.hero-quick img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-quick span {
  font-weight: 800;
  line-height: 1.35;
}

.page-section {
  padding: 64px 0;
}

.soft-section {
  background: linear-gradient(90deg, #fdf2f8, #eff6ff, #f0fdf4);
}

.search-hero {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  margin-top: -54px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.search-hero h2,
.section-title-block h2,
.category-preview h2,
.rank-side h2,
.movie-info-card h2,
.detail-panel h2 {
  margin: 0;
  color: #1d2738;
}

.search-hero h2 {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.04em;
}

.search-hero p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.large-search {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.large-search input {
  padding: 0 16px;
  min-height: 48px;
}

.large-search button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 24px;
}

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

.section-title-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-bar {
  width: 5px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink), var(--blue));
}

.section-title-block h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.04em;
}

.section-title-block p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-more {
  flex: 0 0 auto;
  color: var(--pink);
  font-weight: 900;
}

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

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-glow {
  position: absolute;
  inset: auto -20% -50% 30%;
  height: 140px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18), transparent 65%);
}

.category-thumbs {
  position: relative;
  display: flex;
  min-height: 88px;
  margin-bottom: 18px;
}

.category-thumbs img {
  width: 78px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
  border: 3px solid #ffffff;
}

.category-thumbs img + img {
  margin-left: -20px;
}

.category-card h3 {
  position: relative;
  margin: 0 0 8px;
  font-size: 21px;
}

.category-card p {
  position: relative;
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.category-enter {
  position: relative;
  display: inline-flex;
  margin-top: 14px;
  color: var(--pink);
  font-weight: 900;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e7eb;
}

.movie-card:not(.movie-card-wide) .poster-link {
  aspect-ratio: 3 / 4;
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.72));
  opacity: 0.85;
}

.play-dot {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding-left: 3px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.28);
  opacity: 0;
  transition: 0.22s ease;
}

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

.poster-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(236, 72, 153, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.card-body {
  padding: 16px;
}

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

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

.card-desc {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #7a8798;
  font-size: 13px;
}

.card-meta span:first-child {
  color: #d97706;
  font-weight: 900;
}

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

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

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

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 74px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  box-shadow: var(--soft-shadow);
}

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

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

.rank-main strong {
  display: block;
  line-height: 1.4;
}

.rank-main em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.rank-score {
  color: #d97706;
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 70% 25%, rgba(236, 72, 153, 0.34), transparent 35%),
    linear-gradient(135deg, #111827, #1e3a8a 55%, #831843);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 96px 0 84px;
}

.small-hero .container {
  padding-bottom: 72px;
}

.page-hero h1,
.detail-hero h1 {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p,
.detail-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.overview-grid {
  margin-top: -96px;
  position: relative;
  z-index: 2;
}

.category-preview {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

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

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

.category-preview-head a {
  flex: 0 0 auto;
  color: var(--pink);
  font-weight: 900;
}

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

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

.full-rank .rank-row {
  grid-template-columns: 52px 92px 1fr 90px;
}

.full-rank .rank-row img {
  width: 92px;
  height: 64px;
}

.rank-side,
.movie-info-card,
.detail-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
}

.rank-side {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.side-card-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #475467;
  padding: 9px 16px;
  font-weight: 800;
}

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

.search-status {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  min-height: 460px;
  background: #0f172a;
}

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

.detail-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  margin-top: -56px;
}

.player-section {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow);
}

.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #020617;
  object-fit: contain;
}

.player-start {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.42);
  z-index: 5;
}

.player-start span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.player-start.is-hidden {
  display: none;
}

.player-message {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 14px;
  z-index: 4;
}

.movie-info-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px;
}

.movie-info-card > img {
  width: 130px;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.movie-info-card h2 {
  font-size: 22px;
  line-height: 1.3;
}

.movie-info-card dl {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 9px 12px;
  margin: 14px 0;
  font-size: 14px;
}

.movie-info-card dt {
  color: #98a2b3;
}

.movie-info-card dd {
  margin: 0;
  color: #344054;
  font-weight: 700;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-content {
  display: grid;
  gap: 24px;
  padding: 42px 0 72px;
}

.detail-panel {
  padding: 28px;
}

.detail-panel p {
  color: #475467;
  line-height: 1.9;
  margin: 14px 0 0;
}

.detail-panel .section-head {
  margin-bottom: 22px;
}

.left-actions {
  margin-top: 24px;
}

.left-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
}

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

  .hero-quick {
    display: none;
  }

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

  .rank-side {
    position: static;
  }
}

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

  .logo-text strong {
    font-size: 20px;
  }

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

  .hero-content {
    padding: 82px 0 104px;
  }

  .hero-arrow {
    display: none;
  }

  .search-hero {
    grid-template-columns: 1fr;
    margin-top: -38px;
    border-radius: 22px;
  }

  .large-search {
    border-radius: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .large-search button {
    width: 100%;
  }

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

  .section-head,
  .category-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-layout {
    margin-top: -34px;
  }

  .player-section {
    min-height: 320px;
    border-radius: 22px;
  }

  .movie-info-card {
    grid-template-columns: 110px 1fr;
  }

  .movie-info-card > img {
    width: 110px;
    height: 154px;
  }

  .rank-row,
  .full-rank .rank-row {
    grid-template-columns: 38px 70px 1fr;
  }

  .rank-row img,
  .full-rank .rank-row img {
    width: 70px;
    height: 50px;
  }

  .rank-score {
    grid-column: 3;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner,
  .mobile-panel,
  .hero-content {
    width: min(100% - 24px, 1200px);
  }

  .logo-text small {
    display: none;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .mobile-links {
    grid-template-columns: 1fr;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-hero h1 {
    font-size: 34px;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-dots {
    bottom: 22px;
  }

  .page-section {
    padding: 42px 0;
  }

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

  .poster-link,
  .movie-card:not(.movie-card-wide) .poster-link {
    aspect-ratio: 16 / 10;
  }

  .detail-hero-content {
    padding: 64px 0 74px;
  }

  .movie-info-card {
    grid-template-columns: 1fr;
  }

  .movie-info-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .player-section {
    min-height: 240px;
  }

  .player-start {
    min-height: 52px;
    padding: 0 20px;
  }
}
