:root {
  --bg-soft: #fff7ed;
  --bg-page: #fffaf4;
  --paper: #ffffff;
  --paper-strong: #fff7ed;
  --text: #1f2937;
  --muted: #6b7280;
  --muted-strong: #4b5563;
  --line: rgba(217, 119, 6, 0.16);
  --amber: #d97706;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --black: #111827;
  --shadow: 0 22px 60px rgba(124, 45, 18, 0.15);
  --shadow-card: 0 18px 40px rgba(124, 45, 18, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.22), transparent 30rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fff7ed 100%);
  min-height: 100vh;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 237, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(120, 53, 15, 0.08);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

.logo-text {
  display: grid;
  line-height: 1.1;
}

.logo-text span,
.footer-logo {
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #92400e, var(--orange-dark));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(18px, 2vw, 24px);
}

.logo-text small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 700;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--amber);
  transition: right 0.24s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--amber);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow-card);
}

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

.mobile-nav-link,
.mobile-category-strip a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #374151;
  font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active,
.mobile-category-strip a:hover {
  background: rgba(245, 158, 11, 0.13);
  color: var(--orange-dark);
}

.mobile-category-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.hero-carousel {
  position: relative;
  min-height: clamp(560px, 82vh, 820px);
  overflow: hidden;
  background: var(--black);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.7s ease, transform 1.1s ease;
  transform: scale(1.04);
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.58) 43%, rgba(17, 24, 39, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 110px 0 92px;
  color: #ffffff;
}

.hero-labels,
.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-labels span,
.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-labels span:first-child {
  background: linear-gradient(90deg, var(--amber), var(--orange));
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.32);
  border-color: transparent;
}

.hero-content h1 {
  max-width: 820px;
  margin: 20px 0 16px;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.hero-content p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.72;
  margin: 0 0 24px;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  box-shadow: 0 18px 32px rgba(249, 115, 22, 0.35);
}

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

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 42px rgba(124, 45, 18, 0.24);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

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

.page-main,
.content-section,
.search-panel,
.category-showcase {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1.3fr);
  gap: 28px;
  align-items: center;
  transform: translateY(-36px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 10;
}

.standalone-search {
  transform: none;
  margin-top: 30px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-panel h2,
.section-heading h2,
.page-hero h1,
.detail-info h1,
.detail-content h2 {
  margin: 0;
  color: var(--black);
  letter-spacing: -0.03em;
}

.search-panel h2 {
  font-size: clamp(24px, 3vw, 36px);
}

.search-box {
  position: relative;
}

.search-box input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 18px;
  background: #ffffff;
  color: var(--text);
  padding: 0 18px;
  font: inherit;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.search-box input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.16);
}

.search-results {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  max-height: 430px;
  overflow: auto;
  z-index: 30;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 8px;
}

.search-results.is-open {
  display: grid;
  gap: 6px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 9px;
  border-radius: 14px;
  align-items: center;
}

.search-result-item:hover {
  background: var(--paper-strong);
}

.search-result-item img {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
}

.search-result-item strong {
  display: block;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-showcase {
  margin-top: 20px;
}

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

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

.section-heading p {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

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

.category-pill,
.category-overview-card a {
  display: grid;
  gap: 10px;
  min-height: 156px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 237, 0.92));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(124, 45, 18, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-pill:hover,
.category-overview-card a:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: var(--shadow-card);
}

.category-pill strong,
.category-overview-card span {
  color: var(--orange-dark);
  font-size: 20px;
  font-weight: 900;
}

.category-pill span,
.category-overview-card strong {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

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

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

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

.card-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(145deg, #fde68a, #fed7aa);
  box-shadow: 0 12px 24px rgba(124, 45, 18, 0.16);
}

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

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.08) 52%, transparent);
  opacity: 0.88;
  transition: opacity 0.24s ease;
}

.play-chip {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.36);
}

.movie-card:hover .card-poster img {
  transform: scale(1.08);
  filter: saturate(1.1) contrast(1.05);
}

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

.card-body {
  padding: 14px 2px 0;
}

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

.card-body h2 a:hover {
  color: var(--orange-dark);
}

.card-meta {
  margin: 7px 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-desc {
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}

.movie-card.compact .card-desc {
  display: none;
}

.movie-card.compact .tag-row {
  display: none;
}

.split-section {
  padding-top: 86px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(110px, 0.3fr) 52px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 10px 24px rgba(124, 45, 18, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.48);
}

.rank-row span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.rank-row strong {
  color: var(--black);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row em {
  color: var(--muted);
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row b {
  color: var(--orange-dark);
  text-align: right;
}

.text-link {
  color: var(--orange-dark);
  font-weight: 900;
}

.page-main {
  padding-bottom: 80px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 237, 213, 0.86)),
    radial-gradient(circle at 85% 0%, rgba(249, 115, 22, 0.28), transparent 24rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: clamp(38px, 6vw, 74px);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 780px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.8;
}

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

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(160px, 0.5fr));
  gap: 14px;
  margin-top: 28px;
}

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

.category-overview-card em {
  color: var(--orange-dark);
  font-style: normal;
  font-weight: 900;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(24px, 5vw, 52px);
  align-items: center;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(124, 45, 18, 0.22);
}

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

.detail-one-line {
  color: var(--muted-strong);
  font-size: 19px;
  line-height: 1.8;
  margin: 20px 0;
}

.detail-meta span {
  background: rgba(245, 158, 11, 0.13);
  color: var(--orange-dark);
  border-color: rgba(245, 158, 11, 0.2);
}

.detail-tags {
  margin: 18px 0 28px;
}

.player-section {
  padding-top: 36px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000000;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  cursor: pointer;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.16)),
    radial-gradient(circle, rgba(249, 115, 22, 0.26), transparent 30rem);
  z-index: 3;
}

.player-overlay.is-hidden {
  display: none;
}

.player-start {
  width: 82px;
  height: 82px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.42);
  transition: transform 0.22s ease;
}

.player-start:hover {
  transform: scale(1.08);
}

.player-overlay strong {
  font-size: clamp(20px, 3vw, 34px);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 36px;
}

.detail-content article {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(124, 45, 18, 0.1);
}

.detail-content h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.detail-content p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.92;
}

.site-footer {
  margin-top: 92px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #111827, #1f2937 46%, #0f172a);
}

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

.footer-logo {
  display: inline-block;
  font-size: 24px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #fbbf24, #fb923c);
  background-clip: text;
  -webkit-background-clip: text;
}

.site-footer p {
  margin: 0;
  max-width: 520px;
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

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

.footer-links a:hover {
  color: #fbbf24;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

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

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

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

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

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

  .hero-content {
    padding-bottom: 82px;
  }

  .search-panel,
  .section-heading,
  .detail-content,
  .footer-grid,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .search-panel {
    transform: none;
    margin-top: 24px;
  }

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

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

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

  .rank-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-nav,
  .mobile-menu,
  .page-main,
  .content-section,
  .search-panel,
  .category-showcase,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 22px, 1180px);
  }

  .logo-text span {
    font-size: 16px;
  }

  .hero-carousel {
    min-height: 640px;
  }

  .hero-content {
    width: min(100% - 22px, 1180px);
  }

  .hero-actions,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

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

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

  .rank-row {
    grid-template-columns: 38px minmax(0, 1fr) 46px;
  }

  .rank-row em {
    display: none;
  }

  .detail-hero,
  .page-hero,
  .detail-content article,
  .search-panel {
    border-radius: 22px;
    padding: 22px;
  }

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