* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f9fafb;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --amber: #f59e0b;
  --red: #ef4444;
  --blue: #2563eb;
  --teal: #0f766e;
  --green: #16a34a;
  --shadow: 0 20px 35px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 12px 24px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.site-nav {
  max-width: 1240px;
  height: 68px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff;
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.28);
  font-size: 14px;
}

.logo-text {
  color: var(--orange-dark);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link,
.mobile-link {
  color: #374151;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--orange-dark);
  background: #fff7ed;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff7ed;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--orange-dark);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 10px 20px 16px;
  background: rgba(255, 255, 255, 0.98);
}

.mobile-menu.open {
  display: grid;
  gap: 8px;
}

.main-wrap,
.page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #f59e0b 52%, #fb923c);
  min-height: 610px;
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.24), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(26px);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.hero-inner {
  max-width: 1240px;
  min-height: 610px;
  margin: 0 auto;
  padding: 72px 24px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: var(--orange-dark);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.hero-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  margin: 20px 0 20px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 950;
  text-wrap: balance;
}

.hero-copy p {
  margin: 0 0 28px;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2.2vw, 23px);
}

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

.hero-tags span,
.card-tags span,
.detail-tags span,
.inline-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

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

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.btn-primary {
  background: #fff;
  color: var(--orange-dark);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover,
.btn-dark:hover,
.btn-soft:hover {
  transform: translateY(-2px);
}

.btn-soft {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(10px);
}

.btn-dark {
  color: #fff;
  background: #111827;
  box-shadow: var(--shadow-soft);
}

.btn-line {
  color: var(--orange-dark);
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-poster-card {
  width: min(420px, 100%);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(14px);
  transform: rotate(2deg);
}

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

.hero-poster-caption {
  padding: 18px 20px 20px;
  background: rgba(15, 23, 42, 0.55);
}

.hero-poster-caption strong {
  display: block;
  font-size: 18px;
}

.hero-poster-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-top: 4px;
}

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

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

.hero-dot.active {
  background: #fff;
}

.section-block {
  padding: 64px 0;
}

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

.section-heading h1,
.section-heading h2,
.page-hero h1,
.category-hero h1,
.detail-title h1 {
  margin: 10px 0 0;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-heading h1,
.page-hero h1,
.category-hero h1,
.detail-title h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p,
.page-hero p,
.category-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section-more {
  flex: 0 0 auto;
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: var(--orange-dark);
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

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

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

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

.movie-card,
.mini-card,
.category-card,
.info-card,
.rank-entry,
.detail-panel,
.player-panel {
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.86);
  box-shadow: var(--shadow-soft);
}

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: #fdba74;
  box-shadow: var(--shadow);
}

.movie-card[hidden] {
  display: none !important;
}

.poster-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #111827;
}

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

.movie-card:hover .poster-wrap img,
.mini-card:hover img,
.category-card:hover .category-cover img,
.related-card:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

.poster-type,
.rank-badge,
.mini-rank {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.poster-type {
  left: 12px;
  bottom: 12px;
  color: #fff;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.92);
  padding: 5px 10px;
  font-size: 12px;
}

.rank-badge,
.mini-rank {
  top: 12px;
  left: 12px;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 10px 18px rgba(249, 115, 22, 0.25);
}

.mini-rank {
  min-width: 28px;
  height: 28px;
  font-size: 12px;
}

.card-body {
  padding: 16px;
}

.card-body h2,
.mini-info h2,
.related-card h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
}

.card-body h2 {
  font-size: 17px;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 14px;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
}

.hot-score {
  color: var(--orange-dark);
}

.card-tags,
.detail-tags,
.inline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mini-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 112px;
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.mini-poster {
  position: relative;
  overflow: hidden;
  background: #111827;
}

.mini-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.mini-info h2 {
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-panel {
  margin: 38px 0 0;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 20px;
  align-items: end;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.filter-panel h2 {
  margin: 10px 0 0;
  font-size: 26px;
  line-height: 1.12;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px 150px;
  gap: 12px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fafb;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px #ffedd5;
}

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

.category-card {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-cover {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: #111827;
}

.category-cover img {
  min-width: 0;
}

.category-info {
  padding: 18px;
}

.category-info h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 950;
}

.category-info p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-band {
  margin: 30px 0 0;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #1f2937 48%, #f97316);
  color: #fff;
  box-shadow: var(--shadow);
}

.rank-band-inner {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: center;
}

.rank-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.rank-band p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
}

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

.rank-entry {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.rank-entry b {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
}

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

.rank-entry span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.page-hero,
.category-hero {
  padding: 68px 0 24px;
}

.page-hero-card,
.category-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 44px;
  background: linear-gradient(135deg, #fff7ed, #ffffff 52%, #fffbeb);
  border: 1px solid #fed7aa;
  box-shadow: var(--shadow-soft);
}

.page-hero-card::after,
.category-hero-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.12);
}

.category-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  align-items: center;
}

.category-feature-poster {
  position: relative;
  z-index: 1;
  height: 360px;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: #111827;
}

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

.detail-shell {
  padding: 38px 24px 0;
}

.breadcrumb {
  max-width: 1240px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.detail-layout {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 28px;
}

.player-panel {
  overflow: hidden;
  border-radius: 26px;
}

.player-frame {
  position: relative;
  background: #050505;
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.54));
  color: #fff;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 20px 46px rgba(249, 115, 22, 0.45);
  font-size: 34px;
  padding-left: 5px;
}

.player-copy {
  padding: 24px;
}

.detail-title h1 {
  margin-top: 0;
}

.detail-title p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.detail-panel {
  border-radius: 26px;
  padding: 24px;
}

.info-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.info-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-row span:first-child {
  color: var(--muted);
  font-weight: 900;
}

.info-row span:last-child {
  color: var(--ink);
  font-weight: 800;
}

.content-panels {
  max-width: 1240px;
  margin: 28px auto 0;
  display: grid;
  gap: 24px;
}

.content-card {
  border-radius: 26px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.content-card p {
  margin: 0;
  color: #374151;
  font-size: 16px;
  line-height: 1.86;
}

.quote-card {
  border-left: 5px solid var(--orange);
  background: #fff7ed;
}

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

.related-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.related-poster {
  height: 170px;
  overflow: hidden;
  background: #111827;
}

.related-card h2 {
  padding: 12px 14px 2px;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.prev-next a {
  display: block;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  font-weight: 900;
}

.prev-next span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.site-footer {
  margin-top: 70px;
  background: #111827;
  color: #fff;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 24px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 34px;
}

.footer-logo {
  color: #fb923c;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.footer-brand p {
  max-width: 520px;
  margin: 12px 0 0;
  color: #cbd5e1;
}

.footer-links h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.footer-link-grid {
  display: grid;
  gap: 9px;
}

.footer-link-grid a {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-link-grid a:hover {
  color: #fb923c;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
  color: #94a3b8;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .detail-layout,
  .category-hero-card,
  .rank-band-inner,
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-poster-card {
    max-width: 360px;
    justify-self: center;
  }

  .hero-poster-card img {
    height: 430px;
  }
}

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

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

  .site-nav {
    padding: 0 18px;
  }

  .logo-text {
    font-size: 19px;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 54px;
    padding-bottom: 72px;
  }

  .hero-poster-card {
    transform: none;
  }

  .section-heading,
  .filter-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

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

  .poster-wrap {
    height: 230px;
  }
}

@media (max-width: 560px) {
  .main-wrap,
  .page-wrap,
  .detail-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-poster-card img {
    height: 360px;
  }

  .movie-grid,
  .movie-grid.compact,
  .movie-list-grid,
  .category-grid,
  .related-grid,
  .prev-next {
    grid-template-columns: 1fr;
  }

  .poster-wrap {
    height: 280px;
  }

  .mini-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .page-hero-card,
  .category-hero-card,
  .rank-band-inner,
  .content-card,
  .detail-panel,
  .player-copy {
    padding: 22px;
  }

  .category-feature-poster {
    height: 320px;
  }
}
