:root {
  --bg: #fff7ed;
  --surface: #ffffff;
  --surface-soft: #fffaf0;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(234, 88, 12, 0.16);
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --amber: #f59e0b;
  --yellow: #facc15;
  --slate: #0f172a;
  --shadow: 0 18px 45px rgba(124, 45, 18, 0.16);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.22), transparent 34rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 46%, #fff7ed 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #ea580c 0%, #d97706 52%, #eab308 100%);
  box-shadow: 0 14px 30px rgba(154, 52, 18, 0.24);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #f97316;
  background: #ffffff;
  box-shadow: inset 0 -4px 10px rgba(234, 88, 12, 0.15);
}

.brand-text {
  font-size: 1.28rem;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.top-search {
  width: min(290px, 26vw);
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.top-search input,
.large-search input,
.inline-filter input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
}

.top-search input {
  color: #ffffff;
  padding: 10px 12px 10px 16px;
}

.top-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.top-search button {
  border: 0;
  padding: 9px 14px;
  color: #9a3412;
  background: #ffffff;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  border-radius: 999px;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: opacity 0.5s ease, transform 0.8s ease;
}

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

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

.hero-bg {
  background:
    radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.35), transparent 28rem),
    linear-gradient(135deg, #1f2937, #7c2d12 55%, #111827);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(1.1) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.72) 44%, rgba(15, 23, 42, 0.32) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.78), transparent 36%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  align-items: center;
  gap: 46px;
  padding: 62px 0 76px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-carousel .eyebrow {
  color: #facc15;
}

.hero-desc {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  line-height: 1.9;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-list span {
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
}

.hero-tags span {
  padding: 8px 12px;
  color: #ffedd5;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

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

.primary-btn {
  min-height: 44px;
  padding: 0 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.32);
}

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

.primary-btn.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.primary-btn.full {
  width: 100%;
}

.ghost-btn {
  min-height: 44px;
  padding: 0 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 480px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.38), rgba(245, 158, 11, 0.22));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(1.5deg);
}

.hero-poster-img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.hero-control {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dot.is-active {
  width: 32px;
  background: #facc15;
}

.search-band,
.section-block,
.page-main,
.site-footer,
.footer-grid,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.search-band {
  margin-top: -40px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 460px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.search-band h2,
.section-head h2,
.page-hero h1,
.detail-content h1 {
  margin: 0;
  color: var(--slate);
}

.search-band p,
.page-hero p,
.category-card-large p,
.detail-content .lead,
.story-card p,
.rank-info p,
.movie-line,
.footer-grid p {
  color: var(--muted);
}

.large-search,
.inline-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 237, 213, 0.7);
}

.large-search input,
.inline-filter input {
  padding: 12px 14px;
}

.large-search button,
.inline-filter button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  font-weight: 850;
}

.section-block {
  margin-top: 58px;
}

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

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.text-link {
  color: var(--orange-dark);
  font-size: 0.96rem;
}

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

.category-tile {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #7c2d12, #f97316);
  box-shadow: 0 16px 34px rgba(124, 45, 18, 0.16);
}

.tile-bg,
.tile-bg::after {
  position: absolute;
  inset: 0;
}

.tile-bg {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.42), rgba(15, 23, 42, 0.72));
}

.tile-bg::after {
  content: "";
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.12));
}

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

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  font-size: 1.2rem;
}

.category-tile em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.45;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(234, 88, 12, 0.12);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(124, 45, 18, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.movie-card:hover {
  border-color: rgba(249, 115, 22, 0.32);
  box-shadow: 0 22px 46px rgba(124, 45, 18, 0.18);
  transform: translateY(-5px);
}

.poster-link,
.poster-box {
  display: block;
}

.poster-box {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(250, 204, 21, 0.38), transparent 42%),
    linear-gradient(145deg, #7c2d12, #f97316 52%, #111827);
}

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

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

.badge {
  position: absolute;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 850;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.type-badge {
  left: 10px;
  top: 10px;
}

.year-badge {
  right: 10px;
  bottom: 10px;
  background: rgba(234, 88, 12, 0.84);
}

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

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

.movie-card h3 a:hover,
.rank-info h3 a:hover,
.mini-links a:hover {
  color: var(--orange-dark);
}

.movie-meta,
.movie-line {
  margin: 0;
}

.movie-meta {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 750;
}

.movie-line {
  margin-top: 8px;
  min-height: 48px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.9rem;
}

.tag-list {
  margin-top: 12px;
}

.tag-list span {
  padding: 5px 8px;
  color: #c2410c;
  background: #ffedd5;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(124, 45, 18, 0.08);
}

.rank-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  background: linear-gradient(145deg, #7c2d12, #f97316);
}

.rank-number {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #7c2d12;
  background: #facc15;
  font-weight: 900;
}

.rank-info h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.rank-info p {
  margin: 0 0 7px;
  font-size: 0.92rem;
}

.split-sections {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.compact-section {
  width: 100%;
}

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

.page-main {
  padding: 42px 0 24px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 20%, rgba(250, 204, 21, 0.34), transparent 28rem),
    linear-gradient(135deg, #7c2d12, #ea580c 50%, #0f172a);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.page-hero p {
  max-width: 780px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.category-hero .inline-filter,
.search-hero .large-search {
  max-width: 780px;
  margin-top: 24px;
}

.flat-section {
  width: 100%;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: #9a3412;
  font-size: 0.94rem;
  font-weight: 750;
}

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

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

.category-card-large {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(124, 45, 18, 0.08);
}

.category-cover {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  background: linear-gradient(145deg, #7c2d12, #f97316);
}

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

.category-card-large p {
  margin: 0 0 12px;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.mini-links a {
  padding: 6px 9px;
  border-radius: 999px;
  color: #c2410c;
  background: #ffedd5;
  font-size: 0.86rem;
  font-weight: 750;
}

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

.detail-main {
  width: min(1180px, calc(100% - 32px));
}

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

.player-area {
  min-width: 0;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.video-element {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.22), rgba(15, 23, 42, 0.12)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.12));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.42);
  font-size: 2rem;
  padding-left: 5px;
}

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

.detail-side {
  display: grid;
  gap: 16px;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  background: linear-gradient(145deg, #7c2d12, #f97316);
  box-shadow: var(--shadow);
}

.detail-content {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.detail-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.detail-content .lead {
  max-width: 920px;
  margin: 0;
  font-size: 1.08rem;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.detail-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.detail-meta dt {
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 850;
}

.detail-meta dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 750;
}

.story-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(124, 45, 18, 0.07);
}

.story-card h2 {
  margin: 0 0 10px;
  color: var(--slate);
}

.story-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
}

.related-section {
  width: 100%;
}

.site-footer {
  margin-top: 70px;
  margin-bottom: 24px;
  border-radius: 28px;
  color: #ffffff;
  background: linear-gradient(180deg, #1f2937, #0f172a);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.footer-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 34px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
  color: #fbbf24;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 34px 24px;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-message {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 18px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
}

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

  .hero-content {
    grid-template-columns: 1fr 300px;
  }

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

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

@media (max-width: 860px) {
  .nav-shell {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding: 11px 0;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
  }

  .hero-poster {
    min-height: 300px;
    max-width: 260px;
    transform: none;
  }

  .hero-poster-img {
    min-height: 300px;
  }

  .search-band,
  .split-sections,
  .detail-layout,
  .category-list-large,
  .rank-list,
  .rank-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 620px) {
  .hero-control {
    display: none;
  }

  .hero-copy h1 {
    font-size: 2.65rem;
  }

  .hero-desc {
    font-size: 0.98rem;
  }

  .search-band,
  .page-hero,
  .story-card {
    padding: 22px;
  }

  .large-search,
  .inline-filter {
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
  }

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

  .rank-card,
  .category-card-large {
    grid-template-columns: 96px 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .movie-grid,
  .all-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .category-cover,
  .rank-poster {
    max-width: 180px;
  }
}
