:root {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: rgba(148, 163, 184, 0.28);
  --sky: #0284c7;
  --sky-deep: #0369a1;
  --sky-soft: #e0f2fe;
  --slate: #0f172a;
  --slate-2: #1e293b;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --green: #16a34a;
  --radius: 24px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(14, 165, 233, 0.16), transparent 30rem),
    linear-gradient(180deg, #f8fafc 0%, #eef6ff 42%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--slate);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky), #38bdf8 52%, #0f172a);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.35);
}

.brand-text {
  white-space: nowrap;
  font-size: 20px;
}

.desktop-nav,
.header-categories,
.footer-links,
.mobile-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav {
  margin-left: auto;
}

.nav-link,
.header-categories a,
.footer-links a,
.mobile-nav a,
.card-category,
.section-more,
.breadcrumb a {
  border-radius: 999px;
  color: #475569;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-link,
.header-categories a {
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.is-active,
.header-categories a:hover,
.mobile-nav a:hover {
  color: var(--sky-deep);
  background: var(--sky-soft);
}

.header-categories {
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--sky-soft);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  border-radius: 10px;
  background: var(--sky-deep);
}

.mobile-nav {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
}

.mobile-nav a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
}

main {
  overflow: hidden;
}

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

.hero {
  position: relative;
  min-height: 620px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--slate) 0%, #1e293b 55%, var(--sky-deep) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -140px;
  top: -120px;
  background: rgba(56, 189, 248, 0.24);
  filter: blur(20px);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -110px;
  bottom: -130px;
  background: rgba(245, 158, 11, 0.16);
  filter: blur(18px);
}

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

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

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

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.76) 48%, rgba(15, 23, 42, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 132, 199, 0.14), rgba(15, 23, 42, 0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 42px;
  padding: 70px 0 92px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7dd3fc;
}

.hero h1,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 7vw, 72px);
}

.hero-desc {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.8;
}

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

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

.hero-tags span,
.tag-row span,
.detail-tags span,
.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

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

.tag-row span,
.detail-tags span,
.meta-pill {
  color: var(--sky-deep);
  background: var(--sky-soft);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  box-shadow: 0 16px 30px rgba(2, 132, 199, 0.35);
}

.btn-light {
  color: var(--slate);
  background: rgba(255, 255, 255, 0.92);
}

.btn-ghost {
  color: var(--sky-deep);
  background: var(--sky-soft);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.hero-panel {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(18px);
}

.hero-poster {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #1e293b, #0ea5e9);
}

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

.hero-poster-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.86));
}

.hero-poster-info strong {
  display: block;
  font-size: 22px;
}

.hero-poster-info span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

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

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

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

.search-strip {
  position: relative;
  z-index: 4;
  width: min(1200px, calc(100% - 32px));
  margin: -42px auto 0;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
}

.search-input,
.filter-select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: 0;
  padding: 0 16px;
  color: var(--ink);
  background: #f8fafc;
}

.search-input:focus,
.filter-select:focus {
  border-color: rgba(2, 132, 199, 0.58);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.section {
  padding: 72px 0;
}

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

.section-heading h2,
.page-hero h1 {
  margin: 0;
  color: var(--slate);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.section-heading p,
.page-hero p,
.category-card p,
.detail-copy p,
.footer-inner p {
  color: var(--muted);
  line-height: 1.8;
}

.section-heading p {
  max-width: 720px;
  margin: 10px 0 0;
}

.section-more {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--sky-deep);
  background: var(--sky-soft);
  font-weight: 900;
}

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

.movie-card {
  position: relative;
  min-width: 0;
}

.poster-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.poster-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow);
}

.cover-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(56, 189, 248, 0.65), transparent 36%),
    linear-gradient(135deg, #0f172a, #0284c7 55%, #e0f2fe);
}

.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

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

.cover-glow {
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.66));
}

.poster-year,
.poster-type,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.poster-year {
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.poster-type {
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  color: #075985;
  background: rgba(224, 242, 254, 0.94);
}

.rank-badge {
  left: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.28);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.card-body strong {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.35;
}

.card-meta,
.card-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.card-meta {
  color: var(--sky-deep);
  font-size: 13px;
  font-weight: 800;
  -webkit-line-clamp: 1;
}

.card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  -webkit-line-clamp: 3;
}

.card-category {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 10px;
  color: var(--sky-deep);
  background: rgba(224, 242, 254, 0.92);
  font-size: 12px;
  font-weight: 900;
}

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

.category-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(224, 242, 254, 0.74)),
    radial-gradient(circle at 85% 0%, rgba(14, 165, 233, 0.22), transparent 55%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-card strong {
  display: block;
  color: var(--slate);
  font-size: 24px;
}

.category-card p {
  margin: 10px 0 20px;
}

.category-card span {
  color: var(--sky-deep);
  font-weight: 900;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 56px 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

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

.rank-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a, #0284c7);
}

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

.rank-info strong {
  display: block;
  margin-bottom: 6px;
  color: var(--slate);
  font-size: 17px;
}

.rank-info span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-hero {
  padding: 78px 0 46px;
  background:
    radial-gradient(circle at 78% 8%, rgba(14, 165, 233, 0.18), transparent 28rem),
    linear-gradient(180deg, rgba(224, 242, 254, 0.76), rgba(255, 255, 255, 0));
}

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

.category-preview {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.category-preview + .category-preview {
  margin-top: 24px;
}

.preview-copy h2 {
  margin: 0;
  color: var(--slate);
  font-size: 30px;
  font-weight: 900;
}

.preview-copy p {
  color: var(--muted);
  line-height: 1.8;
}

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

.preview-grid .movie-card .card-desc,
.preview-grid .movie-card .card-category {
  display: none;
}

.preview-grid .card-body {
  padding: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  padding: 6px 10px;
  background: rgba(224, 242, 254, 0.72);
  color: var(--sky-deep);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.88fr);
  gap: 28px;
  align-items: start;
}

.player-shell {
  overflow: hidden;
  border-radius: 32px;
  background: #020617;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.34);
}

.video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.42);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-badge {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky), var(--sky-deep));
  box-shadow: 0 18px 42px rgba(14, 165, 233, 0.42);
  font-size: 36px;
  transform: translateZ(0);
}

.player-meta {
  padding: 22px 24px 26px;
  color: #e2e8f0;
  background: linear-gradient(180deg, #020617, #0f172a);
}

.player-meta h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 24px;
}

.player-meta p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.8;
}

.detail-card,
.detail-copy,
.side-panel {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.detail-card {
  overflow: hidden;
}

.detail-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #0f172a, #0284c7);
}

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

.detail-title {
  padding: 22px;
}

.detail-title h1 {
  font-size: clamp(30px, 4vw, 48px);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.detail-tags {
  margin-top: 16px;
}

.detail-copy {
  margin-top: 26px;
  padding: 28px;
}

.detail-copy h2,
.side-panel h2 {
  margin: 0 0 14px;
  color: var(--slate);
  font-size: 26px;
  font-weight: 900;
}

.detail-copy p {
  margin: 0 0 18px;
  font-size: 17px;
}

.side-panel {
  padding: 22px;
}

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

.side-link {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  transition: background-color 0.2s ease;
}

.side-link:hover {
  background: var(--sky-soft);
}

.side-link img {
  width: 64px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #0284c7);
}

.side-link strong {
  display: block;
  color: var(--slate);
  line-height: 1.4;
}

.side-link span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.no-results {
  display: none;
  padding: 26px;
  border-radius: 24px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.search-results-title {
  margin: 28px 0 20px;
  color: var(--slate);
  font-size: 28px;
  font-weight: 900;
}

.site-footer {
  margin-top: 40px;
  padding: 46px 0;
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #0f172a 58%, #075985);
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
}

.footer-brand {
  color: #ffffff;
  font-size: 24px;
}

.footer-inner p {
  max-width: 560px;
  color: #94a3b8;
}

.footer-links {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 8px 12px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
  color: #ffffff;
  background: rgba(14, 165, 233, 0.35);
}

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

  .hero-content,
  .detail-layout,
  .category-preview,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 56px 0 86px;
  }

  .hero-panel {
    display: none;
  }

  .search-strip {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading {
    display: block;
  }

  .section-more {
    display: inline-flex;
    margin-top: 16px;
  }

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

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

  .rank-item .btn {
    grid-column: 1 / -1;
  }

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

  .detail-copy,
  .side-panel {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container,
  .header-inner,
  .footer-inner,
  .mobile-nav,
  .hero-content,
  .search-strip {
    width: min(100% - 22px, 1200px);
  }

  .brand-text {
    font-size: 18px;
  }

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

  .hero h1 {
    font-size: 38px;
  }
}
