:root {
  --color-bg: #fafaf9;
  --color-surface: #ffffff;
  --color-surface-soft: #fff7ed;
  --color-text: #1c1917;
  --color-muted: #78716c;
  --color-line: #e7e5e4;
  --color-accent: #d97706;
  --color-accent-deep: #b45309;
  --color-accent-soft: #fef3c7;
  --color-danger: #ea580c;
  --shadow-soft: 0 20px 50px rgba(28, 25, 23, 0.12);
  --shadow-card: 0 14px 34px rgba(28, 25, 23, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
  --header-height: 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 34rem),
    linear-gradient(180deg, #fffaf0 0%, var(--color-bg) 36rem);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

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

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.site-logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-danger));
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(214, 211, 209, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.site-nav a,
.mobile-nav a {
  color: var(--color-muted);
  font-weight: 700;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-accent-deep);
  background: var(--color-accent-soft);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--color-text);
}

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

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

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

.mobile-nav a.is-active,
.mobile-nav a:hover {
  color: var(--color-accent-deep);
  background: var(--color-accent-soft);
}

main {
  width: 100%;
}

.hero-section,
.section-shell,
.page-hero,
.detail-hero,
.breadcrumb {
  width: min(var(--container), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.hero-section {
  padding: 54px 0 26px;
}

.hero-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-heading h1,
.page-hero h1,
.detail-copy h1 {
  margin: 12px 0 14px;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-heading h1 {
  max-width: 920px;
  font-size: clamp(40px, 7vw, 78px);
}

.hero-heading p,
.page-hero p,
.detail-copy p {
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: #1c1917;
  box-shadow: var(--shadow-soft);
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  padding: 44px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.01);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 24%, rgba(251, 191, 36, 0.34), transparent 30rem),
    linear-gradient(135deg, rgba(28, 25, 23, 0.94), rgba(120, 53, 15, 0.86));
  z-index: 0;
}

.hero-image-wrap,
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #78350f, #292524);
  min-height: 430px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hero-cover {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  opacity: 0.92;
}

.cover-image.image-hidden {
  opacity: 0;
}

.hero-content {
  align-self: center;
  color: #fff;
}

.hero-content .eyebrow {
  color: #fde68a;
}

.hero-content h2 {
  margin: 16px 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-content p {
  margin: 0;
  color: rgba(255, 247, 237, 0.86);
  line-height: 1.8;
  font-size: 17px;
}

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

.hero-tags {
  margin-top: 22px;
}

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

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.secondary-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-danger));
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.3);
}

.secondary-button {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-button:hover,
.secondary-button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

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

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

.hero-dot.is-active {
  width: 28px;
  background: #fff;
}

.section-shell {
  padding: 56px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.text-link {
  color: var(--color-accent-deep);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--color-accent-soft);
}

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

.category-card,
.category-overview-card,
.content-card,
.search-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(231, 229, 228, 0.86);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, rgba(28, 25, 23, 0.88) 74%);
}

.category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #92400e, #292524);
  transition: transform 0.35s ease;
}

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

.category-card span,
.category-card em {
  color: rgba(255, 247, 237, 0.84);
  font-style: normal;
}

.category-card strong {
  margin: 8px 0;
  font-size: 22px;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(231, 229, 228, 0.92);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 26px rgba(28, 25, 23, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow-card);
}

.poster-link {
  display: block;
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.35), transparent 12rem),
    linear-gradient(135deg, #78350f, #292524);
}

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

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

.poster-year,
.rank-badge {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(28, 25, 23, 0.72);
  backdrop-filter: blur(10px);
}

.poster-year {
  right: 12px;
}

.rank-badge {
  left: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-danger));
}

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

.movie-meta-line,
.card-footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.movie-meta-line span {
  min-width: 0;
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.movie-card h3 a:hover {
  color: var(--color-accent-deep);
}

.movie-card p {
  min-height: 72px;
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.72;
}

.compact-card .movie-card-body {
  padding: 14px;
}

.compact-card h3 {
  font-size: 16px;
}

.compact-card p {
  min-height: 48px;
  font-size: 13px;
}

.tag-row {
  margin: 10px 0 14px;
}

.tag-row span {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.card-footer-line a {
  flex: 0 0 auto;
  color: var(--color-accent-deep);
}

.card-footer-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 32px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 48px 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(231, 229, 228, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.45);
}

.ranking-number {
  color: var(--color-accent-deep);
  font-size: 20px;
  font-weight: 950;
}

.ranking-thumb {
  width: 58px;
  height: 76px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #78350f, #292524);
}

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

.ranking-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ranking-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-copy em {
  color: var(--color-muted);
  font-size: 13px;
  font-style: normal;
}

.ranking-score {
  color: #fff;
  padding: 8px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-danger));
  font-weight: 900;
}

.page-hero {
  margin-top: 44px;
  padding: 46px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.32), transparent 30rem),
    linear-gradient(135deg, #fff7ed, #ffffff 48%, #f5f5f4);
  border: 1px solid rgba(231, 229, 228, 0.86);
  box-shadow: var(--shadow-card);
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 62px);
}

.category-hero,
.ranking-hero {
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.28), transparent 24rem),
    linear-gradient(135deg, #fff7ed, #fff, #f5f5f4);
}

.compact-actions .secondary-button {
  color: var(--color-accent-deep);
  background: #fff;
  border-color: #fed7aa;
}

.search-panel {
  margin-bottom: 26px;
  padding: 18px;
}

.search-label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-muted);
  font-weight: 800;
}

.search-control {
  display: flex;
  gap: 12px;
}

.search-control input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  outline: none;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-control input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.search-control button {
  min-width: 88px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--color-text);
  cursor: pointer;
  font-weight: 900;
}

.empty-state {
  display: none;
  padding: 46px;
  text-align: center;
  color: var(--color-muted);
  border: 1px dashed var(--color-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.empty-state.is-visible {
  display: block;
}

.chip-nav,
.inline-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chip-nav a,
.inline-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--color-accent-deep);
  border-radius: 999px;
  background: var(--color-accent-soft);
  font-weight: 800;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.category-overview-poster {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #78350f, #292524);
  aspect-ratio: 4 / 3;
}

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

.category-overview-card h2 {
  margin: 8px 0 10px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.category-overview-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--color-accent-deep);
}

.detail-hero {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 26px;
  padding: 34px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.34), transparent 28rem),
    linear-gradient(135deg, #1c1917, #78350f);
  box-shadow: var(--shadow-soft);
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #78350f, #292524);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
  aspect-ratio: 3 / 4;
}

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

.detail-copy .eyebrow {
  color: #fde68a;
}

.detail-copy h1 {
  font-size: clamp(34px, 5.8vw, 70px);
}

.detail-copy p {
  color: rgba(255, 247, 237, 0.86);
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 18px;
}

.detail-meta-grid span {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 14px;
  color: #fff7ed;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.detail-meta-grid strong {
  color: #fde68a;
  font-size: 12px;
}

.detail-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.52));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-danger));
  box-shadow: 0 18px 48px rgba(234, 88, 12, 0.42);
}

.play-icon::before {
  content: "";
  margin-left: 6px;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 24px solid #fff;
}

.player-overlay strong {
  font-size: 20px;
}

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

.content-card {
  padding: 26px;
}

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

.content-card p {
  margin: 0;
  color: #57534e;
  line-height: 1.9;
  font-size: 16px;
}

.site-footer {
  margin-top: 46px;
  border-top: 1px solid var(--color-line);
  background: #fff;
}

.site-footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.45fr) minmax(220px, 0.55fr);
  gap: 26px;
}

.site-footer p {
  color: var(--color-muted);
  line-height: 1.75;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  color: var(--color-muted);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--color-accent-deep);
}

[data-card].is-filtered {
  display: none !important;
}

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

  .hero-slide,
  .detail-hero,
  .two-column-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 780px) {
  :root {
    --header-height: 64px;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .hero-section {
    padding-top: 32px;
  }

  .hero-slide {
    padding: 22px;
  }

  .hero-slider {
    min-height: auto;
  }

  .hero-image-wrap,
  .hero-cover {
    min-height: 320px;
  }

  .category-grid,
  .movie-grid,
  .large-grid,
  .related-grid,
  .side-card-grid,
  .detail-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-heading,
  .search-control {
    align-items: stretch;
    flex-direction: column;
  }

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

  .site-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero-section,
  .section-shell,
  .page-hero,
  .detail-hero,
  .breadcrumb {
    width: min(100% - 20px, var(--container));
  }

  .hero-heading h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.045em;
  }

  .page-hero,
  .detail-hero {
    padding: 24px;
    border-radius: 24px;
  }

  .category-grid,
  .movie-grid,
  .large-grid,
  .related-grid,
  .side-card-grid,
  .detail-content,
  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .movie-card p {
    min-height: auto;
  }

  .ranking-row {
    grid-template-columns: 40px 52px minmax(0, 1fr);
  }

  .ranking-score {
    grid-column: 3;
    width: max-content;
  }

  .player-shell {
    border-radius: 20px;
  }
}
