:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --card: rgba(15, 23, 42, 0.72);
  --card-strong: rgba(30, 41, 59, 0.88);
  --line: rgba(250, 204, 21, 0.2);
  --line-strong: rgba(250, 204, 21, 0.45);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --accent: #facc15;
  --accent-2: #f59e0b;
  --blue: #38bdf8;
  --purple: #c084fc;
  --shadow: 0 24px 90px rgba(250, 204, 21, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(250, 204, 21, 0.16), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.13), transparent 28%),
    linear-gradient(135deg, #020617 0%, #0f172a 45%, #111827 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 40px rgba(250, 204, 21, 0.08);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #020617;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 35px rgba(250, 204, 21, 0.35);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(10deg) scale(1.06);
}

.brand-name,
.footer-brand {
  font-size: 1.55rem;
  background: linear-gradient(90deg, var(--accent), #fde68a, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

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

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

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

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  color: var(--text);
  border: 1px solid rgba(250, 204, 21, 0.28);
  background: rgba(15, 23, 42, 0.82);
  outline: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.header-search input {
  width: 240px;
  padding: 11px 16px;
  border-radius: 999px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.08);
}

.header-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #020617;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.menu-toggle {
  display: none;
  margin-left: auto;
  color: var(--accent);
  background: transparent;
  border: 0;
  font-size: 1.7rem;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
}

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

.mobile-panel-inner {
  display: grid;
  gap: 14px;
  padding: 18px 0;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
}

.hero {
  position: relative;
  height: 660px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.03);
}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(15, 23, 42, 0.78) 45%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0) 42%);
}

.hero-content {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: 1.14rem;
  line-height: 1.8;
}

.hero-tags,
.tag-row,
.detail-tags,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-row span,
.detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(250, 204, 21, 0.18);
  font-size: 0.82rem;
}

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

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.primary-btn {
  padding: 14px 26px;
  color: #020617;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 45px rgba(250, 204, 21, 0.28);
}

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

.primary-btn.full {
  display: flex;
  width: 100%;
  margin-top: 16px;
}

.ghost-btn {
  padding: 13px 24px;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid var(--line-strong);
}

.hero-poster {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-poster span,
.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  color: #020617;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 45px rgba(250, 204, 21, 0.38);
}

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

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

.hero-dot.active {
  width: 34px;
  background: var(--accent);
}

.intro-strip {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -46px;
}

.intro-strip a {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.intro-strip a:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.intro-strip strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.intro-strip span {
  color: var(--muted);
}

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

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

.section-head h2,
.rank-title h2,
.side-card h2,
.rank-table-section h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-more,
.text-link {
  color: var(--accent);
  font-weight: 900;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.56);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(250, 204, 21, 0.42);
  background: rgba(30, 41, 59, 0.72);
  box-shadow: 0 22px 60px rgba(250, 204, 21, 0.12);
}

.movie-cover {
  position: relative;
  display: block;
  height: 270px;
  overflow: hidden;
  background: #0f172a;
}

.compact-card .movie-cover {
  height: 190px;
}

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

.movie-card:hover .movie-cover img {
  transform: scale(1.1);
}

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent 58%);
}

.play-float {
  width: 54px;
  height: 54px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.duration,
.rank-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 9px;
  color: white;
  background: rgba(2, 6, 23, 0.82);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.rank-badge {
  left: 12px;
  right: auto;
  color: #020617;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.movie-info {
  padding: 18px;
}

.movie-info h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.07rem;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.movie-card:hover .movie-info h2 {
  color: var(--accent);
}

.movie-info p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.movie-meta {
  margin-bottom: 12px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.tag-row span {
  padding: 5px 8px;
  font-size: 0.75rem;
}

.category-band {
  margin-top: 76px;
  padding-bottom: 72px;
  background: rgba(15, 23, 42, 0.38);
  border-top: 1px solid rgba(250, 204, 21, 0.08);
  border-bottom: 1px solid rgba(250, 204, 21, 0.08);
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(250, 204, 21, 0.13);
  background: var(--card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.category-tile img,
.category-tile span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
  opacity: 0.38;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
  opacity: 0.52;
}

.category-tile span {
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.12));
}

.category-tile strong,
.category-tile small {
  position: relative;
}

.category-tile strong {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.category-tile small {
  color: #cbd5e1;
  line-height: 1.6;
}

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

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

.rank-panel,
.side-card,
.detail-card,
.player-card,
.filter-panel,
.rank-table-section {
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.62);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.rank-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.rank-title span {
  color: var(--accent);
  font-size: 1.5rem;
}

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

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

.rank-row:hover {
  background: rgba(30, 41, 59, 0.8);
}

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

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

.rank-row strong {
  color: var(--text);
  font-size: 0.92rem;
}

.rank-row small {
  color: var(--muted-2);
  font-size: 0.76rem;
}

.rank-row em {
  color: var(--accent);
  font-style: normal;
  font-size: 0.78rem;
}

.small-rank {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #020617;
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 900;
}

.subpage {
  padding-top: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb strong {
  color: var(--text);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.15);
  border-radius: var(--radius-xl);
  padding: 58px;
  background:
    radial-gradient(circle at 85% 20%, rgba(250, 204, 21, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.65));
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.85;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 14px;
  align-items: center;
  margin: 26px 0;
  padding: 16px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 14px;
}

.category-movie-grid,
.search-grid,
.rank-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.empty-state {
  display: none;
  padding: 54px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 1.1rem;
}

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

.category-large-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.category-card-large {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(250, 204, 21, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.58);
}

.category-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
}

.category-collage img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}

.category-card-large h2 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.category-card-large p {
  color: var(--muted);
  line-height: 1.75;
}

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

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

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

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

.player-shell video,
.player-cover,
.player-cover img,
.player-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-shell video {
  z-index: 1;
  object-fit: contain;
}

.player-cover {
  z-index: 2;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: var(--text);
  background: #020617;
}

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

.player-cover img {
  object-fit: cover;
  filter: brightness(0.72);
}

.player-gradient {
  background:
    radial-gradient(circle, rgba(250, 204, 21, 0.18), transparent 38%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.84), rgba(2, 6, 23, 0.1));
}

.player-cover strong {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: auto;
  top: calc(50% - 42px);
  color: #020617;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(250, 204, 21, 0.36);
  font-size: 1.7rem;
}

.detail-card {
  padding: 32px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.detail-card h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.round-action {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(30, 41, 59, 0.85);
}

.detail-meta {
  margin-bottom: 20px;
  color: var(--muted);
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.3);
}

.detail-tags {
  margin-bottom: 24px;
}

.detail-tags .main-tag {
  color: #020617;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.one-line {
  margin-bottom: 24px;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  background: rgba(250, 204, 21, 0.08);
}

.one-line h2,
.detail-text h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.25rem;
}

.one-line p,
.detail-text p {
  margin: 0 0 22px;
  color: #cbd5e1;
  line-height: 1.95;
  font-size: 1.03rem;
}

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

.side-card {
  padding: 18px;
}

.poster-card img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.related-section {
  padding-top: 38px;
}

.rank-table-section {
  margin-top: 34px;
  padding: 24px;
}

.wide-rank-list .rank-row {
  grid-template-columns: 34px 96px minmax(0, 1fr) auto;
}

.wide-rank-list .rank-row img {
  width: 96px;
  height: 62px;
}

.site-footer {
  margin-top: 86px;
  background: rgba(2, 6, 23, 0.86);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-grid p,
.footer-links a,
.footer-bottom {
  color: var(--muted);
  line-height: 1.8;
}

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(250, 204, 21, 0.13);
}

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

  .menu-toggle {
    display: block;
  }

  .hero-content,
  .layout-two,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-side,
  .rank-panel {
    display: none;
  }

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

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

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

  .header-inner {
    height: 64px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .hero {
    height: 620px;
  }

  .hero-content {
    align-items: end;
    padding-bottom: 86px;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 14vw, 4.4rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .intro-strip,
  .filter-panel,
  .category-card-large,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 18px;
  }

  .page-hero {
    padding: 34px 24px;
  }

  .movie-grid,
  .category-grid,
  .category-movie-grid,
  .search-grid,
  .rank-card-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .movie-cover,
  .compact-card .movie-cover {
    height: 210px;
  }

  .movie-info {
    padding: 14px;
  }

  .movie-info p {
    display: none;
  }

  .detail-card {
    padding: 22px;
  }

  .wide-rank-list .rank-row,
  .rank-row {
    grid-template-columns: auto 70px minmax(0, 1fr);
  }

  .rank-row em {
    display: none;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .category-grid,
  .category-movie-grid,
  .search-grid,
  .rank-card-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .movie-cover,
  .compact-card .movie-cover {
    height: 260px;
  }

  .hero-actions {
    display: grid;
  }
}
