:root {
  --page-bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #059669;
  --brand-dark: #047857;
  --brand-soft: #ecfdf5;
  --cyan: #0891b2;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.16);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 21px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), #0f766e);
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 12px;
  color: #475569;
  font-size: 15px;
  font-weight: 650;
  transition: all 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.header-search {
  position: relative;
  width: min(310px, 28vw);
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 46px 0 16px;
  color: #0f172a;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  border-color: rgba(5, 150, 105, 0.75);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.search-button {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--brand);
}

.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(420px, 88vw);
  max-height: 420px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  display: none;
}

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

.search-result {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

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

.search-result-poster {
  width: 54px;
  height: 36px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f766e, #0f172a);
}

.search-result-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result strong {
  display: block;
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
}

.search-result span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
}

.mobile-menu {
  display: none;
  padding: 0 0 16px;
  border-top: 1px solid var(--line);
}

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

.mobile-menu a {
  display: block;
  padding: 12px 8px;
  color: #475569;
  font-weight: 700;
}

.mobile-search {
  position: relative;
  margin-top: 10px;
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #064e3b, #0f172a 55%, #164e63);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.62) 45%, rgba(15, 23, 42, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(680px, 100%);
  padding: 76px 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(167, 243, 208, 0.28);
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(5, 150, 105, 0.2);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 750;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p {
  margin: 0 0 28px;
  max-width: 620px;
  color: #e2e8f0;
  font-size: clamp(17px, 2vw, 21px);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
  font-size: 13px;
  font-weight: 700;
}

.hero .badge {
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.14);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.26);
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 18px 34px rgba(5, 150, 105, 0.32);
}

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

.hero-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
}

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

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

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

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

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

.section {
  padding: 64px 0;
}

.section-soft {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.section-green {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), #0f766e);
}

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

.section-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-title::before {
  content: "";
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), #14b8a6);
}

.section-green .section-title::before {
  background: rgba(255, 255, 255, 0.58);
}

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

.section-green .section-desc {
  color: #d1fae5;
}

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

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 150, 105, 0.28);
  box-shadow: var(--shadow-lg);
}

.movie-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #064e3b, #0f172a);
}

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.18) 48%, rgba(15, 23, 42, 0.74) 100%);
}

.play-float {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(15, 23, 42, 0.18);
  transition: opacity 0.22s ease;
}

.movie-card:hover .play-float {
  opacity: 1;
}

.play-bubble {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.28);
}

.card-rank,
.card-quality {
  position: absolute;
  z-index: 3;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
}

.card-rank {
  left: 12px;
}

.card-quality {
  right: 12px;
}

.movie-body {
  padding: 16px;
}

.movie-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 820;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover .movie-title {
  color: var(--brand);
}

.movie-desc {
  margin: 0 0 14px;
  min-height: 46px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.horizontal-card .movie-poster {
  border-radius: 14px;
}

.category-card {
  display: block;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(5, 150, 105, 0.76));
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 20px;
  color: #d1fae5;
}

.category-count {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 800;
}

.page-hero {
  padding: 58px 0;
  color: #ffffff;
  background: radial-gradient(circle at 20% 0%, rgba(20, 184, 166, 0.52), transparent 34%), linear-gradient(135deg, #059669, #0f766e 58%, #0f172a);
}

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

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

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

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

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.filter-chip {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #475569;
  background: #f1f5f9;
  font-weight: 750;
  transition: all 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #ffffff;
  background: var(--brand);
}

.pagination-note {
  margin-top: 28px;
  padding: 16px 18px;
  color: #475569;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.player-section {
  background: #020617;
}

.player-wrap {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}

.site-player {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.player-start-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.player-message {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.88);
}

.player-message.is-visible {
  display: block;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 28px;
  padding: 42px 0 64px;
}

.detail-panel,
.sidebar-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.detail-panel {
  padding: clamp(22px, 4vw, 34px);
}

.detail-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.content-block {
  margin-top: 26px;
}

.content-block h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

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

.review-box {
  padding: 22px;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
}

.sidebar-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.sidebar-panel h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

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

.side-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.side-item:hover {
  background: #f8fafc;
}

.side-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #064e3b, #0f172a);
}

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

.side-title {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.38;
  font-weight: 820;
}

.side-desc {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 54px 150px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.rank-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #064e3b, #0f172a);
}

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

.rank-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 850;
}

.rank-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.rank-score {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 900;
}

.info-page {
  max-width: 900px;
  padding: 46px 0 70px;
}

.info-card {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.info-card h2 {
  margin: 28px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
  font-size: 26px;
}

.info-card h2:first-child {
  margin-top: 0;
}

.info-card p,
.info-card li {
  color: #334155;
  font-size: 16px;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #111827 55%, #064e3b);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding: 46px 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 850;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
}

.footer-grid p {
  margin: 14px 0 0;
  color: #94a3b8;
}

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

.footer-links a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #6ee7b7;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--brand);
  box-shadow: var(--shadow-lg);
}

.back-top.is-visible {
  display: flex;
}

.image-fallback {
  position: relative;
  background: linear-gradient(135deg, #064e3b, #0f172a 70%);
}

.image-fallback::before {
  content: attr(data-fallback-title);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: #ffffff;
  text-align: center;
  font-weight: 850;
}

.image-fallback img {
  display: none;
}

@media (max-width: 1080px) {
  .header-search {
    display: none;
  }

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

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

  .sidebar-panel {
    position: static;
  }
}

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

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

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

  .hero-control {
    display: none;
  }

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

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

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

  .rank-score {
    grid-column: 3;
    justify-self: start;
  }

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

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

  .logo {
    font-size: 18px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

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

  .hero-copy {
    padding: 54px 0 74px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 44px 0;
  }

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

  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .movie-title {
    font-size: 17px;
  }

  .page-hero {
    padding: 40px 0;
  }

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

  .rank-thumb {
    display: none;
  }

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

  .side-item {
    grid-template-columns: 96px 1fr;
  }
}
