:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --red: #dc2626;
  --orange: #f97316;
  --amber: #f59e0b;
  --dark: #0f172a;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.25);
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--red);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #374151;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
  gap: 4px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.active {
  background: #fff1f2;
}

.hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--dark);
}

.hero-track,
.hero-slide,
.hero-bg,
.hero-layer {
  position: absolute;
  inset: 0;
}

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

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

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

.hero-layer {
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 115, 22, 0.45), transparent 38%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.72) 45%, rgba(15, 23, 42, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  padding: 120px 0 210px;
  color: #ffffff;
}

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

.hero-tags span,
.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.hero-content h1,
.hero-content h2 {
  max-width: 760px;
  margin: 18px 0 14px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: #fed7aa;
}

.hero-desc {
  max-width: 720px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.primary-btn,
.ghost-btn,
.outline-btn,
.search-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.search-box button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.25);
}

.primary-btn:hover,
.search-box button:hover,
.ghost-btn:hover,
.outline-btn:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

.outline-btn {
  color: var(--red);
  background: #ffffff;
  border: 1px solid #fecaca;
}

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

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 140px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

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

.hero-dot.is-active {
  width: 28px;
  border-radius: 99px;
  background: #ffffff;
}

.hero-preview {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 32px;
  width: min(1240px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  transform: translateX(-50%);
}

.hero-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-mini.is-active {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-mini img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-mini span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.search-panel,
.content-section,
.footer-grid {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  margin-top: -58px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 8;
}

.search-panel h2,
.section-heading h2,
.page-hero h1,
.detail-info h1,
.detail-article h2,
.detail-side h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.search-panel h2 {
  font-size: 26px;
}

.search-panel p,
.section-heading p,
.page-hero p,
.card-body p,
.detail-line,
.detail-article p,
.detail-side,
.site-footer p {
  color: var(--muted);
}

.search-box {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.search-box input,
.filter-input input,
.filter-select select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.search-box input {
  min-height: 46px;
  padding: 0 10px;
}

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

.content-section.tinted {
  width: 100%;
  max-width: none;
  padding: 72px max(16px, calc((100% - 1240px) / 2)) 0;
  background: linear-gradient(180deg, transparent, #fff7ed 18%, #fff7ed 84%, transparent);
}

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

.section-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.section-heading p {
  margin: 6px 0 0;
}

.section-link {
  color: var(--red);
  font-weight: 800;
}

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: #fecaca;
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.14);
}

.poster {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111827;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.82));
  opacity: 0.82;
}

.year-badge,
.play-badge {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
}

.year-badge {
  top: 12px;
  right: 12px;
  min-width: 52px;
  min-height: 28px;
  padding: 3px 8px;
  border-radius: 9px;
  background: var(--red);
  font-size: 12px;
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--red);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

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

.card-body h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.tag-row span {
  background: #fff1f2;
  color: var(--red);
}

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

.movie-card.compact {
  display: grid;
  grid-template-columns: 118px 1fr;
}

.movie-card.compact .poster {
  height: 100%;
  aspect-ratio: auto;
}

.movie-card.compact .card-body h3 {
  min-height: auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.rank-panel,
.detail-side {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 20px;
}

.compact-heading {
  align-items: start;
  margin-bottom: 18px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #f9fafb;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: #fff1f2;
  transform: translateX(4px);
}

.rank-num {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 58px;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-info {
  min-width: 0;
}

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

.rank-info small {
  color: var(--muted);
}

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

.category-card,
.category-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

.category-card div,
.tile-body {
  padding: 18px;
}

.category-card h3,
.tile-body h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.category-card p,
.tile-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(249, 115, 22, 0.36), transparent 32%),
    linear-gradient(135deg, #111827, #1e293b 60%, #7f1d1d);
  color: #ffffff;
}

.page-hero-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fed7aa;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
}

.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(38px, 6vw, 62px);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

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

.category-tile {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.tile-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 100%;
  min-height: 190px;
}

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

.tile-body span {
  display: inline-flex;
  margin-top: 16px;
  color: var(--red);
  font-weight: 900;
}

.toolbar {
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.wide-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 220px;
}

.filter-input,
.filter-select {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 800;
}

.filter-input input,
.filter-select select {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f9fafb;
}

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

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

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

.detail-hero {
  min-height: 520px;
}

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

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px);
  transform: scale(1.08);
  opacity: 0.46;
}

.detail-bg::after {
  content: "";
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.76));
}

.detail-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 24px;
}

.detail-poster {
  margin: 0;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

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

.detail-info h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
}

.detail-line {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.detail-meta {
  margin: 20px 0;
}

.detail-meta span {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-tags {
  margin-bottom: 26px;
}

.player-section {
  width: min(1240px, calc(100% - 32px));
  margin: -40px auto 0;
  position: relative;
  z-index: 5;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: var(--shadow);
}

.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45));
  cursor: pointer;
}

.play-layer.is-hidden {
  display: none;
}

.big-play {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 50%;
  color: var(--red);
  background: rgba(255, 255, 255, 0.94);
  font-size: 38px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

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

.detail-article,
.detail-side {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

.detail-article h2 + p {
  margin-top: 12px;
}

.detail-article p + h2 {
  margin-top: 28px;
}

.detail-article p {
  font-size: 17px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px 14px;
  margin: 18px 0 22px;
}

.detail-side dt {
  color: var(--muted);
}

.detail-side dd {
  margin: 0;
  font-weight: 800;
}

.site-footer {
  margin-top: 72px;
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #111827 58%, #1f2937);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 52px 0 34px;
}

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

.site-footer h3 {
  margin: 0 0 16px;
  color: #ffffff;
}

.site-footer p {
  color: #94a3b8;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  font-size: 14px;
}

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

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

  .two-column,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .rank-panel,
  .detail-side {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

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

  .hero-content {
    padding-top: 96px;
  }

  .hero-preview {
    grid-template-columns: 1fr;
    max-height: 190px;
    overflow: auto;
  }

  .hero-mini:nth-child(n + 4) {
    display: none;
  }

  .search-panel,
  .wide-toolbar,
  .detail-grid,
  .category-tile,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .library-grid,
  .feature-grid,
  .full-rank {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .tile-covers {
    min-height: 210px;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .search-panel,
  .content-section,
  .footer-grid,
  .footer-bottom,
  .page-hero-inner,
  .detail-shell,
  .player-section {
    width: min(100% - 24px, 1240px);
  }

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

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

  .hero-content,
  .page-hero-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .search-panel {
    padding: 18px;
  }

  .search-box {
    flex-direction: column;
  }

  .movie-grid,
  .library-grid,
  .small-grid,
  .category-grid,
  .full-rank {
    grid-template-columns: 1fr;
  }

  .movie-card.compact {
    grid-template-columns: 104px 1fr;
  }

  .hero-controls {
    bottom: 245px;
  }

  .detail-grid {
    gap: 22px;
  }

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