:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --accent: #f59e0b;
  --accent-2: #22d3ee;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.16), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.12), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 78%);
}

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

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--accent);
  color: #111827;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.35);
}

.site-nav,
.footer-grid,
.footer-bottom,
.content-section,
.page-hero,
.breadcrumb,
.detail-layout,
.text-page {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-icon {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #facc15);
  color: #111827;
  box-shadow: 0 0 34px rgba(245, 158, 11, 0.36);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link,
.mobile-nav-link {
  border-radius: 999px;
  color: var(--muted-strong);
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-link {
  padding: 0.6rem 0.9rem;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.mobile-panel {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 1rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

.mobile-panel.open {
  display: grid;
  gap: 0.25rem;
}

.mobile-nav-link {
  padding: 0.85rem 1rem;
}

.hero-carousel {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  min-height: 680px;
  margin: 24px auto 56px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: #020617;
  box-shadow: var(--shadow);
}

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

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(1.08) contrast(1.04);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72) 46%, rgba(2, 6, 23, 0.12)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.92), transparent 45%);
}

.hero-content {
  position: absolute;
  inset: auto auto 86px 72px;
  width: min(680px, calc(100% - 48px));
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.category-hero h1,
.detail-article h1 {
  margin: 0;
  color: #fff;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content h1 {
  max-width: 12em;
  font-size: clamp(3rem, 8vw, 6.9rem);
}

.hero-summary {
  max-width: 62ch;
  margin: 1.15rem 0 0;
  color: var(--muted-strong);
  font-size: 1.06rem;
}

.hero-tags,
.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.hero-tags {
  margin-top: 1.35rem;
}

.hero-tags span,
.tag-pill,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.66rem;
  border: 1px solid rgba(250, 204, 21, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.primary-button,
.ghost-button,
.search-bar-large button,
.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button,
.search-bar-large button,
.hero-search button {
  background: linear-gradient(135deg, var(--accent), #facc15);
  color: #111827;
  box-shadow: 0 14px 35px rgba(245, 158, 11, 0.28);
}

.ghost-button {
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text);
}

.primary-button:hover,
.ghost-button:hover,
.search-bar-large button:hover,
.hero-search button:hover {
  transform: translateY(-2px);
}

.hero-side-panel {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(360px, calc(100% - 68px));
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(20px);
}

.hero-side-panel strong {
  display: block;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
}

.hero-side-panel span {
  color: var(--muted-strong);
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hero-search input,
.search-bar-large input,
.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.74);
  color: var(--text);
  outline: none;
}

.hero-search input,
.search-bar-large input {
  padding: 0 1rem;
}

.hero-search input:focus,
.search-bar-large input:focus,
.filter-controls input:focus,
.filter-controls select:focus {
  border-color: rgba(245, 158, 11, 0.58);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.hero-dots {
  position: absolute;
  left: 72px;
  bottom: 36px;
  display: flex;
  gap: 0.45rem;
}

.hero-dot {
  width: 38px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--accent);
}

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

.section-muted {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1200px) / 2));
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.section-head h2,
.filter-panel h2,
.search-console label {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 720px;
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.section-more {
  flex: none;
  color: var(--accent);
  font-weight: 900;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--bg-card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.44);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.movie-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.poster-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.65), rgba(15, 23, 42, 0.92));
}

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

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

.poster-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 2.2rem 0.9rem 0.8rem;
  background: linear-gradient(transparent, rgba(2, 6, 23, 0.92));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}

.play-dot {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #111827;
  font-size: 0.72rem;
}

.rank-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  color: #111827;
  font-size: 0.76rem;
  font-weight: 950;
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 900;
}

.movie-card h3 {
  display: -webkit-box;
  margin: 0.45rem 0 0.4rem;
  overflow: hidden;
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card p {
  display: -webkit-box;
  margin: 0 0 0.85rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tag-row {
  margin-top: auto;
}

.movie-card-compact .movie-card-body {
  padding: 0.86rem;
}

.movie-card-compact h3 {
  font-size: 0.98rem;
}

.movie-card-compact p {
  -webkit-line-clamp: 2;
  font-size: 0.84rem;
}

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

.category-tile,
.category-overview-card a,
.browse-card,
.filter-panel,
.search-console,
.text-page,
.detail-article,
.side-card,
.player-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.category-tile,
.category-overview-card a {
  display: block;
  min-height: 190px;
  padding: 1.35rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.category-overview-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.42);
}

.category-count {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.13);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.category-tile h3,
.category-overview-card h2,
.browse-card h3,
.side-card h2,
.detail-article h2 {
  margin: 0 0 0.55rem;
  color: #fff;
}

.category-tile p,
.category-overview-card p,
.browse-card p,
.text-page p,
.text-page li {
  margin: 0;
  color: var(--muted);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.category-covers img {
  aspect-ratio: 2 / 3;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(51, 65, 85, 0.6);
}

.browse-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.browse-card {
  padding: 1.25rem;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip-cloud a {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.38);
}

.chip-cloud span {
  color: var(--muted);
  font-size: 0.82rem;
}

.page-hero,
.category-hero {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.24), transparent 32rem);
  box-shadow: var(--shadow);
}

.small-hero h1 {
  max-width: 900px;
  font-size: clamp(2.3rem, 7vw, 5rem);
}

.small-hero p:last-child,
.category-hero p {
  max-width: 780px;
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.category-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.category-hero img {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.category-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
}

.filter-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
  padding: 1.15rem;
}

.filter-controls {
  display: grid;
  grid-template-columns: 1fr 160px 140px;
  gap: 0.75rem;
}

.filter-controls label,
.search-console label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.filter-controls input,
.filter-controls select {
  padding: 0 0.85rem;
}

.filter-count {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 800;
}

.search-console {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1.25rem;
}

.search-bar-large {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.ranking-list {
  display: grid;
  gap: 0.5rem;
}

.ranking-row {
  display: grid;
  grid-template-columns: 64px 54px minmax(0, 1fr) 80px 120px 90px 90px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
}

.ranking-row:hover {
  border-color: rgba(245, 158, 11, 0.42);
}

.ranking-number {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 950;
}

.ranking-row img {
  width: 54px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(51, 65, 85, 0.6);
}

.ranking-title {
  overflow: hidden;
  color: #fff;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row span:not(.ranking-number):not(.ranking-title) {
  color: var(--muted);
}

.ranking-row strong {
  color: var(--accent);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 1.2rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.2rem;
  margin-top: 1rem;
}

.detail-main {
  display: grid;
  gap: 1rem;
}

.player-card {
  overflow: hidden;
  padding: 0;
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.site-video {
  width: 100%;
  height: 100%;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 0.7rem;
  place-content: center;
  border: 0;
  background: radial-gradient(circle, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.72));
  color: #fff;
  cursor: pointer;
}

.video-shell.playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  display: grid;
  width: 82px;
  height: 82px;
  margin-inline: auto;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #facc15);
  color: #111827;
  font-size: 1.7rem;
  box-shadow: 0 18px 52px rgba(245, 158, 11, 0.36);
}

.player-status {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.74);
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.detail-article {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.detail-article h1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

.detail-one-line {
  color: var(--muted-strong);
  font-size: 1.12rem;
}

.detail-article section {
  margin-top: 1.8rem;
}

.detail-article section p {
  color: var(--muted-strong);
  font-size: 1.02rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.info-grid div {
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.34);
}

.info-grid dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.info-grid dd {
  margin: 0.25rem 0 0;
  color: #fff;
  font-weight: 900;
}

.info-grid a {
  color: var(--accent);
}

.detail-side {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 1rem;
}

.detail-poster {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 24px;
  object-fit: cover;
  background: rgba(51, 65, 85, 0.6);
  box-shadow: var(--shadow);
}

.side-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.side-card a {
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted-strong);
  font-weight: 800;
}

.side-card a:hover {
  border-color: rgba(245, 158, 11, 0.42);
  color: var(--accent);
}

.text-page {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.text-page h2 {
  color: #fff;
}

.text-page ul {
  margin: 0;
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-grid h3 {
  margin: 0 0 0.8rem;
  color: #fff;
}

.footer-grid p,
.footer-small {
  color: var(--muted);
}

.footer-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted-strong);
}

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

.footer-list span {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
}

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

  .filter-panel,
  .detail-layout,
  .footer-grid,
  .category-hero {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }

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

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

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

  .hero-carousel {
    min-height: 760px;
    border-radius: 24px;
  }

  .hero-content {
    inset: auto 24px 210px 24px;
  }

  .hero-side-panel {
    right: 24px;
    bottom: 56px;
    left: 24px;
    width: auto;
  }

  .hero-dots {
    left: 24px;
    bottom: 24px;
  }

  .section-head,
  .browse-columns,
  .filter-controls,
  .search-bar-large,
  .hero-search,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

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

  .ranking-row {
    grid-template-columns: 44px 48px minmax(0, 1fr) 72px;
  }

  .ranking-row span:nth-of-type(3),
  .ranking-row span:nth-of-type(4),
  .ranking-row strong {
    display: none;
  }
}

@media (max-width: 580px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .movie-card-body {
    padding: 0.8rem;
  }

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

  .hero-content h1,
  .small-hero h1,
  .category-hero h1,
  .detail-article h1 {
    letter-spacing: -0.03em;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}
