:root {
  --bg-page: #f8fafc;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-soft: #64748b;
  --text-light: #f8fafc;
  --line: #e2e8f0;
  --accent: #14b8a6;
  --accent-strong: #0f766e;
  --accent-soft: rgba(20, 184, 166, 0.14);
  --gold: #facc15;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.16);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-main);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
  color: var(--text-light);
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.28);
}

.nav-shell {
  width: var(--container);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 21px;
  letter-spacing: 0.02em;
}

.brand-copy span {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 12px;
}

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

.nav-link {
  color: #dbeafe;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #5eead4;
  transform: translateY(-1px);
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 260px;
  background: rgba(51, 65, 85, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  overflow: hidden;
}

.nav-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 10px 86px 10px 16px;
}

.nav-search input::placeholder,
.mobile-search input::placeholder,
.filter-row input::placeholder {
  color: #94a3b8;
}

.nav-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  border: 0;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  padding: 0 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.16);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: #0f172a;
  padding: 18px 16px 24px;
}

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

.mobile-panel nav,
.mobile-categories {
  display: grid;
  gap: 12px;
  width: var(--container);
  margin: 0 auto;
}

.mobile-link,
.mobile-categories a {
  color: #e2e8f0;
  padding: 8px 0;
}

.mobile-link.is-active {
  color: #5eead4;
}

.mobile-search {
  display: flex;
  gap: 8px;
  width: var(--container);
  margin: 16px auto;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(51, 65, 85, 0.82);
  color: #ffffff;
  border-radius: 999px;
  padding: 11px 16px;
  outline: 0;
}

.mobile-search button {
  border: 0;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
  padding: 0 18px;
}

main {
  min-height: 60vh;
}

.hero-slider {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: #000000;
}

.hero-stage,
.hero-slide,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 18%, rgba(20, 184, 166, 0.28), transparent 30%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.72) 40%, rgba(2, 6, 23, 0.18) 100%);
}

.hero-content {
  position: absolute;
  left: max(32px, calc((100vw - 1180px) / 2));
  bottom: 96px;
  max-width: 720px;
  color: #ffffff;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(20, 184, 166, 0.92);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.hero-content h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.hero-content p {
  max-width: 640px;
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero-tags span,
.detail-tags span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 13px;
}

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

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

.primary-button {
  min-height: 48px;
  padding: 0 28px;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 18px 34px rgba(20, 184, 166, 0.35);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  background: var(--accent-strong);
}

.ghost-button {
  min-height: 48px;
  padding: 0 24px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.55);
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.82);
  transform: translateY(-2px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 34px;
  border-radius: 999px;
  background: #5eead4;
}

.hero-category-bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 7;
  width: min(1180px, calc(100vw - 32px));
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 0;
}

.hero-category-bar a {
  min-width: max-content;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  padding: 9px 16px;
  backdrop-filter: blur(10px);
}

.content-section {
  width: var(--container);
  margin: 0 auto;
  padding: 56px 0;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.section-more,
.text-button {
  min-width: max-content;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 11px 18px;
}

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

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
  position: relative;
  height: 265px;
  overflow: hidden;
  background: #0f172a;
}

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

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

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

.card-chip {
  top: 12px;
  left: 12px;
}

.card-duration {
  top: 12px;
  right: 12px;
}

.rank-badge {
  bottom: 12px;
  left: 12px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.poster-summary {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  min-height: 88px;
  display: flex;
  align-items: end;
  padding: 38px 14px 14px;
  color: #ffffff;
  font-size: 14px;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card-link:hover .poster-summary {
  opacity: 1;
  transform: translateY(0);
}

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

.movie-card-body h3 {
  min-height: 52px;
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.movie-card-link:hover h3 {
  color: var(--accent-strong);
}

.movie-meta-line,
.movie-score-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--text-soft);
  font-size: 14px;
}

.movie-meta-line span:first-child {
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  background: #f1f5f9;
  padding: 4px 9px;
  color: #334155;
}

.movie-score-line {
  margin-top: 8px;
  justify-content: flex-start;
}

.star {
  color: var(--gold);
}

.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-md);
  background: #0f172a;
  box-shadow: var(--shadow-sm);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.category-tile span,
.category-tile strong {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
  color: #ffffff;
}

.category-tile span {
  bottom: 58px;
  font-size: 24px;
  font-weight: 900;
}

.category-tile strong {
  bottom: 18px;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.45;
}

.inner-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.35), transparent 26%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 58%, #0f766e 100%);
}

.inner-hero > div {
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0 76px;
}

.inner-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.category-list-large {
  display: grid;
  gap: 22px;
}

.category-card-large {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.category-cover {
  min-height: 230px;
  background: #0f172a;
}

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

.category-card-copy {
  padding: 26px 28px 26px 0;
}

.category-card-copy h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.category-card-copy p {
  margin: 0 0 18px;
  color: var(--text-soft);
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.mini-links a {
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  padding: 7px 12px;
  font-size: 14px;
}

.filter-panel {
  padding-top: 38px;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 190px 190px;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.filter-row label {
  display: grid;
  gap: 7px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

.filter-row input,
.filter-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
  color: var(--text-main);
  padding: 12px 14px;
  outline: 0;
}

.filter-row input:focus,
.filter-row select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.movie-card.is-hidden {
  display: none;
}

.top-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.top-rank-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0f172a;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.top-rank-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.top-rank-card:hover img {
  transform: scale(1.08);
  opacity: 0.78;
}

.top-rank-card span,
.top-rank-card h2,
.top-rank-card p,
.top-rank-card strong {
  position: absolute;
  left: 22px;
  right: 22px;
  z-index: 2;
}

.top-rank-card span {
  top: 22px;
  width: max-content;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  padding: 7px 12px;
  font-weight: 900;
}

.top-rank-card h2 {
  bottom: 112px;
  margin: 0;
  font-size: 28px;
}

.top-rank-card p {
  bottom: 48px;
  margin: 0;
  color: #dbeafe;
}

.top-rank-card strong {
  bottom: 18px;
  color: #fef08a;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #020617;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  filter: blur(4px);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(20, 184, 166, 0.24), transparent 28%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.82) 55%, rgba(15, 23, 42, 0.66) 100%);
}

.detail-shell {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: 34px 0 60px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 28px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #5eead4;
}

.detail-main {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 34px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  margin: 0 0 14px;
  max-width: 880px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 840px;
  margin: 0 0 20px;
  color: #dbeafe;
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.detail-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 13px;
}

.detail-copy .primary-button {
  margin-top: 28px;
}

.player-section {
  padding-bottom: 24px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #020617;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(20, 184, 166, 0.32), rgba(2, 6, 23, 0.36) 32%, rgba(2, 6, 23, 0.78) 100%);
  font-size: 20px;
  font-weight: 900;
}

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

.play-mark {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 20px 45px rgba(20, 184, 166, 0.42);
  font-size: 32px;
  text-indent: 4px;
}

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

.detail-article article,
.detail-article aside {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.detail-article h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.detail-article p {
  margin: 0 0 24px;
  color: #334155;
  font-size: 17px;
}

.detail-article p:last-child {
  margin-bottom: 0;
}

.detail-article dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.detail-article dl div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-article dt {
  color: var(--text-soft);
}

.detail-article dd {
  margin: 0;
  font-weight: 700;
}

.detail-article dd a {
  color: var(--accent-strong);
}

.site-footer {
  margin-top: 40px;
  background: #0f172a;
  color: #cbd5e1;
}

.footer-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.2fr;
  gap: 28px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.footer-shell p {
  margin: 0;
  max-width: 520px;
  color: #94a3b8;
}

.footer-links,
.footer-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-content: start;
}

.footer-links a,
.footer-categories a {
  color: #cbd5e1;
}

.footer-links a:hover,
.footer-categories a:hover {
  color: #5eead4;
}

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

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

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

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

  .detail-main,
  .detail-article,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 320px;
  }
}

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

  .nav-shell {
    height: 64px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy span {
    display: none;
  }

  .hero-slider {
    height: 76vh;
    min-height: 620px;
  }

  .hero-content {
    left: 16px;
    right: 16px;
    bottom: 120px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-category-bar {
    width: calc(100vw - 24px);
  }

  .content-section {
    padding: 38px 0;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

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

  .poster-frame {
    height: 225px;
  }

  .movie-card-body {
    padding: 13px;
  }

  .movie-card-body h3 {
    font-size: 15px;
  }

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

  .category-card-copy {
    padding: 22px;
  }

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

  .inner-hero > div {
    padding: 54px 0 58px;
  }

  .detail-shell {
    padding-bottom: 42px;
  }

  .detail-main {
    gap: 22px;
  }

  .detail-copy h1 {
    font-size: 38px;
  }

  .detail-one-line {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .movie-grid,
  .category-grid,
  .top-rank-grid {
    grid-template-columns: 1fr;
  }

  .poster-frame {
    height: 320px;
  }

  .hero-actions {
    display: grid;
  }

  .detail-poster {
    max-width: none;
  }
}
