:root {
  --bg: #fffaf2;
  --paper: #ffffff;
  --paper-soft: #fff7ed;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fed7aa;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --yellow: #facc15;
  --shadow: 0 20px 45px rgba(194, 65, 12, 0.12);
  --soft-shadow: 0 10px 30px rgba(194, 65, 12, 0.10);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.55), #ffffff 34%, rgba(254, 243, 199, 0.35));
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(253, 186, 116, 0.55);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.24);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong,
.footer-brand {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--orange-dark), var(--amber));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

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

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--orange-dark);
}

.nav-search {
  display: flex;
  align-items: center;
  border: 2px solid #fed7aa;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.nav-search input,
.mobile-search input,
.hero-search input,
.filter-input-wrap input,
.filter-select-wrap select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.nav-search input {
  width: 190px;
  padding: 10px 12px 10px 18px;
}

.nav-search button,
.mobile-search button,
.hero-search button,
.filter-reset {
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fff7ed;
  color: var(--orange-dark);
  font-size: 22px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid #ffedd5;
}

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

.mobile-panel nav {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.mobile-search {
  display: flex;
  border: 2px solid #fed7aa;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 14px;
}

.mobile-search input {
  flex: 1;
  padding: 11px 16px;
}

.mobile-search button {
  padding: 0 18px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffedd5 0%, #fff7ed 42%, #fef3c7 100%);
  padding: 64px 0 72px;
}

.hero-aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(58px);
  opacity: 0.32;
  pointer-events: none;
}

.hero-aurora-one {
  width: 360px;
  height: 360px;
  left: -80px;
  top: 30px;
  background: #fb923c;
}

.hero-aurora-two {
  width: 460px;
  height: 460px;
  right: -120px;
  bottom: -80px;
  background: #facc15;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(251, 146, 60, 0.22);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.08);
}

.hero-copy h1,
.sub-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  background: linear-gradient(90deg, #c2410c, var(--amber), var(--orange));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy p,
.sub-hero p {
  max-width: 680px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.8;
}

.hero-search {
  display: flex;
  width: min(560px, 100%);
  overflow: hidden;
  margin: 28px 0 18px;
  border: 2px solid rgba(251, 146, 60, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--soft-shadow);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 16px 20px;
}

.hero-search button {
  padding: 0 26px;
}

.hero-quick-links,
.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-quick-links a,
.pill-links a {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--orange-dark);
  border: 1px solid rgba(251, 146, 60, 0.20);
  font-weight: 800;
}

.hero-stage {
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-slider {
  position: relative;
  min-height: 486px;
  overflow: hidden;
  border-radius: 32px;
  background: #1f2937;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

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

.hero-image {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(251, 146, 60, 0.45), transparent 36%), linear-gradient(135deg, #111827, #431407);
}

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

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.10) 58%, rgba(0, 0, 0, 0.32));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 36px;
  color: #ffffff;
}

.hero-content h1 {
  margin: 16px 0 10px;
  font-size: clamp(28px, 4.8vw, 48px);
  line-height: 1.12;
}

.hero-content p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.75;
}

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

.hero-meta {
  margin: 18px 0 24px;
}

.hero-meta span,
.movie-meta-line span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
}

.movie-meta-line span,
.detail-meta span {
  color: #6b7280;
  background: #fff7ed;
}

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

.primary-btn,
.secondary-btn,
.text-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 14px 26px rgba(249, 115, 22, 0.22);
}

.secondary-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

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

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  background: #ffffff;
  border-radius: 0 0 32px 32px;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fff7ed;
  font-size: 26px;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fdba74;
  opacity: 0.45;
}

.hero-dot.active {
  width: 28px;
  opacity: 1;
  background: var(--orange);
}

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

.warm-section {
  background: linear-gradient(90deg, rgba(255, 247, 237, 0.92), rgba(254, 243, 199, 0.62));
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
}

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

.section-more,
.text-link {
  color: var(--orange-dark);
  background: #fff7ed;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(253, 186, 116, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(251, 146, 60, 0.50), transparent 42%), linear-gradient(135deg, #111827, #7c2d12);
}

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

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

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(234, 88, 12, 0.92);
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.88);
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
  padding: 18px;
}

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

.movie-info h2 a:hover,
.rank-row h2 a:hover,
.compact-card:hover strong {
  color: var(--orange-dark);
}

.movie-info p {
  margin: 0;
  color: #4b5563;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag-row span {
  padding: 5px 9px;
  color: #854d0e;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1px solid rgba(251, 146, 60, 0.25);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-glow {
  position: absolute;
  right: -34px;
  top: -34px;
  width: 116px;
  height: 116px;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.24);
  transition: transform 0.4s ease;
}

.category-card:hover .category-glow {
  transform: scale(1.65);
}

.category-card h2,
.category-panel h2 {
  position: relative;
  margin: 0 0 10px;
  font-size: 21px;
}

.category-card p,
.category-panel p {
  position: relative;
  margin: 0;
  color: #5f6368;
  line-height: 1.65;
}

.category-preview {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: #9a3412;
  font-size: 13px;
  font-weight: 800;
}

.two-column-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(253, 186, 116, 0.32);
}

.rank-no,
.rank-large-no {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 22px rgba(249, 115, 22, 0.20);
}

.rank-no {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.rank-title {
  font-weight: 900;
}

.rank-extra {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.spotlight-box,
.side-box,
.detail-card,
.player-card,
.category-panel {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(253, 186, 116, 0.32);
  box-shadow: var(--soft-shadow);
}

.spotlight-box {
  padding: 28px;
  background: linear-gradient(135deg, #fff7ed, #ffffff 52%, #fef3c7);
}

.spotlight-box h2 {
  margin: 16px 0 10px;
  font-size: 28px;
}

.spotlight-box p {
  color: #4b5563;
  line-height: 1.8;
}

.sub-hero {
  padding: 56px 0;
  background: linear-gradient(135deg, #ffedd5, #fff7ed 44%, #fef3c7);
  border-bottom: 1px solid rgba(253, 186, 116, 0.28);
}

.crumb,
.breadcrumb a {
  color: var(--orange-dark);
  font-weight: 900;
}

.category-panel-wrap {
  display: grid;
  gap: 24px;
  padding: 42px 0 58px;
}

.category-panel {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
}

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

.compact-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #fffaf2;
  border: 1px solid rgba(253, 186, 116, 0.24);
}

.compact-cover {
  width: 86px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1f2937, #7c2d12);
}

.compact-body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.compact-body strong,
.compact-body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-body small {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  padding: 18px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(253, 186, 116, 0.32);
}

.filter-input-wrap,
.filter-select-wrap {
  display: grid;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
}

.filter-input-wrap {
  flex: 1;
  min-width: min(320px, 100%);
}

.filter-input-wrap input,
.filter-select-wrap select {
  width: 100%;
  min-height: 46px;
  border: 2px solid #fed7aa;
  border-radius: 999px;
  padding: 0 16px;
  background: #fffaf2;
}

.filter-reset {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
}

.empty-state {
  display: none;
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
}

.empty-state.show {
  display: block;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 160px 72px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(253, 186, 116, 0.32);
}

.rank-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f2937, #7c2d12);
}

.rank-large-no {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
}

.rank-row h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.rank-row p {
  margin: 0 0 12px;
  color: #4b5563;
  line-height: 1.65;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 34px 0 58px;
  align-items: start;
}

.detail-main {
  min-width: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.player-card {
  overflow: hidden;
  margin-bottom: 22px;
  background: #000000;
}

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

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

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: radial-gradient(circle at 50% 35%, rgba(251, 146, 60, 0.28), transparent 42%), #000000;
  overflow: hidden;
}

.player-cover[hidden] {
  display: none;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.player-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16));
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  color: var(--orange-dark);
  background: rgba(255, 255, 255, 0.96);
  font-size: 38px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin: 14px 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.14;
}

.detail-card h2,
.side-box h2 {
  margin: 28px 0 12px;
  font-size: 22px;
}

.detail-card p,
.side-box p {
  color: #374151;
  line-height: 1.85;
}

.lead-text {
  font-size: 18px;
  color: #111827;
}

.detail-tags {
  margin: 18px 0 4px;
}

.detail-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid #ffedd5;
}

.detail-nav-links a {
  color: var(--orange-dark);
  font-weight: 900;
}

.detail-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 94px;
}

.side-box {
  padding: 22px;
}

.side-compact {
  grid-template-columns: 1fr;
}

.side-cats .pill-links {
  display: flex;
}

.site-footer {
  padding: 42px 0;
  color: #4b5563;
  background: #ffffff;
  border-top: 1px solid rgba(253, 186, 116, 0.32);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1.2fr;
  gap: 28px;
}

.site-footer p {
  max-width: 560px;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 17px;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  font-weight: 800;
}

.footer-links {
  columns: 2;
}

@media (max-width: 1100px) {
  .hero-inner,
  .two-column-area,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage,
  .detail-side {
    position: static;
  }

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

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

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

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

  .hero-shell {
    padding: 42px 0 50px;
  }

  .hero-inner {
    gap: 28px;
  }

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

  .hero-content {
    padding: 24px;
  }

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

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

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

  .rank-large-no {
    position: absolute;
    width: 46px;
    height: 46px;
    margin: -10px 0 0 -10px;
  }

  .rank-row {
    position: relative;
  }

  .rank-row-body {
    grid-column: 2;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .brand-text strong {
    font-size: 19px;
  }

  .brand-text small {
    display: none;
  }

  .hero-search,
  .mobile-search {
    border-radius: 18px;
  }

  .hero-search {
    display: grid;
  }

  .hero-search button {
    min-height: 46px;
  }

  .hero-slider {
    min-height: 390px;
    border-radius: 24px;
  }

  .hero-controls {
    border-radius: 0 0 24px 24px;
  }

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

  .rank-item {
    grid-template-columns: 48px 1fr;
  }

  .rank-extra {
    grid-column: 2;
  }

  .rank-row {
    grid-template-columns: 1fr;
  }

  .rank-cover,
  .rank-row-body {
    grid-column: 1;
  }

  .detail-card,
  .side-box {
    padding: 20px;
  }

  .detail-nav-links {
    display: grid;
  }
}
