* {
  box-sizing: border-box;
}

:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-900: #78350f;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --red-500: #ef4444;
  --pink-500: #ec4899;
  --blue-500: #3b82f6;
  --cyan-500: #06b6d4;
  --purple-500: #a855f7;
  --violet-600: #7c3aed;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --black: #000000;
  --shadow-sm: 0 4px 12px rgba(120, 53, 15, 0.08);
  --shadow-md: 0 14px 35px rgba(120, 53, 15, 0.14);
  --shadow-lg: 0 24px 60px rgba(120, 53, 15, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--amber-50), #fff7ed 42%, var(--white));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -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(251, 191, 36, 0.45);
  background: rgba(255, 251, 235, 0.94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 18px;
}

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

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 12px 25px rgba(234, 88, 12, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 18px 36px rgba(234, 88, 12, 0.35);
}

.brand-text strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  background: linear-gradient(90deg, var(--amber-700), var(--orange-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  display: block;
  color: var(--amber-700);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--amber-900);
  border-radius: 12px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a {
  padding: 10px 13px;
  font-size: 14px;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--amber-900);
  background: var(--amber-100);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-search {
  display: flex;
  align-items: center;
  width: 300px;
  border: 1px solid var(--amber-200);
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
}

.header-search input {
  width: 100%;
  padding: 10px 14px 10px 18px;
  border: 0;
  outline: 0;
  color: var(--gray-700);
}

.header-search button {
  padding: 10px 16px;
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  cursor: pointer;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--amber-900);
  background: var(--amber-100);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 20px;
}

.mobile-nav a {
  padding: 12px 14px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 20% 10%, rgba(252, 211, 77, 0.45), transparent 34%), linear-gradient(135deg, #92400e, #c2410c 50%, #7c2d12);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  background: rgba(254, 215, 170, 0.22);
}

.hero::after {
  width: 320px;
  height: 320px;
  left: -130px;
  bottom: -120px;
  background: rgba(253, 186, 116, 0.22);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 620px;
  margin: 0 auto;
  padding: 64px 24px 54px;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 42px;
}

.hero-slide.is-active {
  display: grid;
}

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

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(254, 243, 199, 0.35);
  border-radius: 999px;
  color: #ffedd5;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 640px;
  margin: 0 0 26px;
  color: #ffedd5;
  font-size: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-meta span,
.meta-pill-row span,
.detail-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.hero-meta span {
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

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

.primary-link,
.secondary-link,
.hero-actions a,
.page-actions a,
.page-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-link,
.hero-actions a:first-child,
.page-actions a:first-child,
.page-actions button {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.26);
  cursor: pointer;
}

.secondary-link,
.hero-actions a:not(:first-child),
.page-actions a:not(:first-child) {
  color: var(--amber-900);
  background: var(--white);
}

.primary-link:hover,
.secondary-link:hover,
.hero-actions a:hover,
.page-actions a:hover,
.page-actions button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-visual {
  position: relative;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
  background: rgba(255, 255, 255, 0.15);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.hero-card-float {
  position: absolute;
  right: -18px;
  bottom: 28px;
  max-width: 280px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  background: rgba(17, 24, 39, 0.55);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.hero-card-float strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.hero-card-float span {
  color: #fed7aa;
  font-size: 14px;
}

.hero-dots {
  position: absolute;
  left: 24px;
  bottom: 28px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 62px;
  background: var(--white);
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-title > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: var(--shadow-sm);
}

.section-title h2,
.page-title h1,
.detail-copy h2,
.detail-related h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.section-title p,
.page-title p {
  margin: 6px 0 0;
  color: var(--gray-500);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 54px;
}

.category-tile {
  min-height: 112px;
  padding: 20px 14px;
  border-radius: 24px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-lg);
}

.category-tile strong {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 17px;
}

.category-icon {
  display: block;
  text-align: center;
  font-size: 34px;
}

.from-amber-to-orange { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.from-pink-to-rose { background: linear-gradient(135deg, #ec4899, #e11d48); }
.from-yellow-to-amber { background: linear-gradient(135deg, #eab308, #d97706); }
.from-red-to-orange { background: linear-gradient(135deg, #ef4444, #f97316); }
.from-sky-to-blue { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.from-zinc-to-slate { background: linear-gradient(135deg, #3f3f46, #0f172a); }
.from-violet-to-purple { background: linear-gradient(135deg, #8b5cf6, #9333ea); }
.from-fuchsia-to-purple { background: linear-gradient(135deg, #d946ef, #7e22ce); }
.from-emerald-to-teal { background: linear-gradient(135deg, #10b981, #0f766e); }
.from-cyan-to-sky { background: linear-gradient(135deg, #06b6d4, #0284c7); }
.from-stone-to-zinc { background: linear-gradient(135deg, #57534e, #27272a); }
.from-indigo-to-violet { background: linear-gradient(135deg, #6366f1, #7c3aed); }
.from-lime-to-emerald { background: linear-gradient(135deg, #84cc16, #059669); }
.from-orange-to-rose { background: linear-gradient(135deg, #f97316, #e11d48); }
.from-neutral-to-stone { background: linear-gradient(135deg, #525252, #44403c); }
.from-teal-to-cyan { background: linear-gradient(135deg, #14b8a6, #0891b2); }

.content-section {
  margin-bottom: 62px;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  overflow: hidden;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.featured-cover {
  position: relative;
  overflow: hidden;
}

.featured-cover img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.featured-cover:hover img {
  transform: scale(1.05);
}

.featured-play,
.card-play {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.featured-play {
  left: 28px;
  bottom: 28px;
  width: 68px;
  height: 68px;
  font-size: 28px;
}

.featured-copy {
  padding: 42px;
}

.featured-copy .section-kicker {
  color: var(--amber-900);
  background: var(--amber-100);
}

.featured-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.featured-copy p {
  margin: 0 0 22px;
  color: var(--gray-700);
  font-size: 17px;
}

.meta-pill-row,
.detail-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-pill-row {
  margin-bottom: 24px;
}

.meta-pill-row span {
  padding: 8px 12px;
  color: var(--amber-900);
  background: var(--amber-100);
}

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

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

.movie-scroller {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
}

.movie-scroller .movie-card {
  flex: 0 0 310px;
  scroll-snap-align: start;
}

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-poster {
  position: relative;
  overflow: hidden;
  background: var(--amber-100);
}

.card-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.card-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.card-play {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--gray-500);
  font-size: 12px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

.card-body h3 a:hover {
  color: var(--amber-700);
}

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

.tag-list span,
.detail-tags span {
  padding: 5px 9px;
  color: var(--amber-900);
  background: var(--amber-100);
  font-size: 12px;
}

.rank-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
}

.rank-list {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: var(--amber-50);
  transform: translateX(3px);
}

.rank-number {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: var(--white);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  font-weight: 900;
}

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

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.rank-info em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.page-hero {
  padding: 64px 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
}

.page-title {
  max-width: 1280px;
  margin: 0 auto;
}

.page-title h1 {
  color: var(--white);
  font-size: clamp(36px, 6vw, 60px);
}

.page-title p {
  max-width: 760px;
  color: #ffedd5;
  font-size: 18px;
}

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

.category-overview-card {
  padding: 26px;
  border-radius: 26px;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-overview-card h2 {
  margin: 12px 0 8px;
  font-size: 28px;
}

.category-overview-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--amber-700);
  font-weight: 700;
}

.breadcrumb span {
  color: var(--gray-500);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 200px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  outline: 0;
  background: var(--white);
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.detail-hero {
  color: var(--white);
  background: linear-gradient(135deg, #111827, #78350f 58%, #c2410c);
}

.detail-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 58px;
}

.detail-heading {
  max-width: 980px;
  margin-bottom: 26px;
}

.detail-heading h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.detail-heading p {
  margin: 0;
  color: #fed7aa;
  font-size: 18px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: var(--black);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.player-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.68));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding-left: 6px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
  font-size: 38px;
}

.detail-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
}

.detail-cover {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}

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

.detail-copy {
  display: grid;
  gap: 22px;
}

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

.info-table div {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--amber-50);
}

.info-table span {
  display: block;
  color: var(--gray-500);
  font-size: 13px;
}

.info-table strong {
  display: block;
  margin-top: 3px;
}

.text-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.text-card h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.text-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
}

.detail-related {
  margin-top: 52px;
}

.site-footer {
  color: #fef3c7;
  background: linear-gradient(180deg, #78350f, #451a03);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px;
}

.footer-logo {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 26px;
  font-weight: 900;
}

.footer-inner p {
  margin: 0;
  max-width: 520px;
  color: #fde68a;
}

.footer-links,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a,
.footer-tags a {
  color: #fde68a;
  border-radius: 999px;
}

.footer-links a {
  width: 100%;
}

.footer-tags a {
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.08);
}

.empty-state {
  padding: 42px;
  border-radius: 26px;
  text-align: center;
  color: var(--gray-500);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

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

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

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

  .hero-inner {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-slide,
  .featured-card,
  .rank-panel,
  .detail-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-card-float {
    right: 16px;
    bottom: 16px;
  }

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

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

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

  .detail-grid {
    gap: 24px;
  }

  .detail-cover {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .brand-text strong {
    font-size: 19px;
  }

  .brand-text small {
    display: none;
  }

  .hero-inner,
  .main-wrap,
  .page-wrap,
  .detail-shell,
  .detail-main {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .hero p {
    font-size: 17px;
  }

  .hero-card-float {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .hero-dots {
    position: static;
    margin-top: 24px;
  }

  .category-strip,
  .category-overview-grid,
  .movie-grid,
  .movie-grid.compact,
  .info-table {
    grid-template-columns: 1fr;
  }

  .featured-cover img {
    min-height: 280px;
  }

  .featured-copy {
    padding: 26px;
  }

  .movie-scroller .movie-card {
    flex-basis: 260px;
  }

  .page-hero {
    padding: 48px 16px;
  }
}
