* {
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --grape-950: #3b0764;
  --grape-900: #581c87;
  --grape-800: #6b21a8;
  --grape-700: #7e22ce;
  --grape-600: #9333ea;
  --grape-500: #a855f7;
  --grape-400: #c084fc;
  --grape-300: #d8b4fe;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-300: #fcd34d;
  --white: #ffffff;
  --muted: #bfa5da;
  --panel: rgba(59, 7, 100, 0.62);
  --panel-strong: rgba(88, 28, 135, 0.88);
  --border: rgba(192, 132, 252, 0.2);
  --shadow-purple: 0 0 18px rgba(168, 85, 247, 0.45);
  --shadow-gold: 0 0 18px rgba(251, 191, 36, 0.35);
  --container: 1280px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(126, 34, 206, 0.34), transparent 30rem),
    linear-gradient(180deg, var(--black) 0%, var(--grape-950) 45%, var(--black) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(90deg, rgba(59, 7, 100, 0.96), rgba(88, 28, 135, 0.96), rgba(59, 7, 100, 0.96));
  border-bottom: 1px solid rgba(192, 132, 252, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--grape-500), var(--gold-400));
  border-radius: 999px;
  box-shadow: var(--shadow-purple);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong,
.footer-brand strong {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
  background: linear-gradient(90deg, var(--grape-300), var(--gold-300), var(--grape-300));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand-text small {
  color: var(--grape-400);
  font-size: 12px;
}

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

.nav-link,
.mobile-nav a {
  padding: 10px 14px;
  color: var(--grape-300);
  border-radius: 12px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-link:hover,
.mobile-nav a:hover,
.nav-link.is-active {
  color: var(--gold-300);
  background: rgba(126, 34, 206, 0.72);
  box-shadow: var(--shadow-gold);
}

.header-search {
  position: relative;
  width: min(260px, 24vw);
}

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  color: var(--white);
  background: rgba(107, 33, 168, 0.72);
  border: 1px solid rgba(192, 132, 252, 0.22);
  border-radius: 12px;
  outline: none;
  padding: 11px 14px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.header-search input::placeholder,
.mobile-search input::placeholder,
.search-page-form input::placeholder,
.filter-panel input::placeholder {
  color: rgba(216, 180, 254, 0.72);
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--grape-400);
  background: rgba(88, 28, 135, 0.95);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--grape-300);
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(192, 132, 252, 0.16);
  padding: 16px;
}

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

.mobile-search {
  margin-bottom: 14px;
}

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

.hero {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  background: var(--black);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img,
.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-shade-side {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.72), transparent);
}

.hero-shade-bottom {
  background: linear-gradient(0deg, var(--black), transparent 50%);
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76vh;
  padding-block: 80px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-400);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--gold-400);
  border-radius: 99px;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.85);
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero h1 {
  animation: floatText 3.4s ease-in-out infinite;
}

@keyframes floatText {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero p,
.page-hero p,
.detail-copy p {
  color: var(--grape-300);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  margin: 0 0 24px;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--grape-300);
  background: rgba(0, 0, 0, 0.54);
  border: 1px solid rgba(216, 180, 254, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
}

.hero-meta span:first-child,
.detail-meta span:first-child {
  color: var(--gold-300);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--grape-600), var(--grape-700));
  box-shadow: 0 10px 32px rgba(147, 51, 234, 0.42);
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--grape-500), var(--grape-600));
  box-shadow: 0 12px 42px rgba(168, 85, 247, 0.55);
}

.btn-ghost {
  color: var(--grape-300);
  background: rgba(59, 7, 100, 0.44);
  border-color: rgba(216, 180, 254, 0.24);
}

.btn-ghost:hover {
  color: var(--gold-300);
  background: rgba(107, 33, 168, 0.66);
}

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

.hero-arrow,
.hero-dot {
  cursor: pointer;
  border: 0;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(59, 7, 100, 0.75);
  border: 1px solid rgba(216, 180, 254, 0.24);
  border-radius: 999px;
  font-size: 28px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(216, 180, 254, 0.38);
  border-radius: 999px;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--gold-400);
  box-shadow: var(--shadow-gold);
}

.section-block {
  padding-block: 56px;
}

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

.heading-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.heading-title span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(126, 34, 206, 0.58);
  border-radius: 14px;
  box-shadow: var(--shadow-purple);
}

.heading-title h2,
.ranking-panel h2,
.content-card h2,
.player-header h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.section-more,
.text-link {
  color: var(--grape-400);
  font-weight: 700;
  transition: color 0.25s ease;
}

.section-more:hover,
.text-link:hover {
  color: var(--gold-400);
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.movie-card-shell.is-hidden {
  display: none;
}

.movie-card {
  display: grid;
  height: 100%;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(160deg, rgba(88, 28, 135, 0.92), rgba(59, 7, 100, 0.72));
  border: 1px solid rgba(216, 180, 254, 0.15);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(192, 132, 252, 0.48);
  box-shadow: 0 20px 44px rgba(88, 28, 135, 0.45);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
}

.grid-large .poster-frame,
.ranking-library .poster-frame {
  aspect-ratio: 16 / 10;
}

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

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

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent);
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: rgba(147, 51, 234, 0.88);
  border-radius: 999px;
  box-shadow: var(--shadow-purple);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rating-badge,
.duration-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 999px;
}

.rating-badge {
  top: 10px;
  right: 10px;
  color: var(--gold-300);
}

.duration-badge {
  right: 10px;
  bottom: 10px;
  color: var(--grape-300);
}

.movie-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.movie-body strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.movie-body em {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: var(--grape-300);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.tag-row span {
  color: var(--grape-300);
  background: rgba(107, 33, 168, 0.68);
  border: 1px solid rgba(192, 132, 252, 0.12);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-style: normal;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.category-band {
  background: linear-gradient(90deg, rgba(88, 28, 135, 0.28), transparent);
}

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

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

.category-tile,
.category-card {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(88, 28, 135, 0.88), rgba(59, 7, 100, 0.72));
  border: 1px solid rgba(216, 180, 254, 0.15);
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.category-tile {
  display: grid;
  gap: 14px;
  padding: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover,
.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.38);
}

.category-thumbs,
.category-cover {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.category-thumbs img,
.category-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

.category-tile strong,
.category-content h2 {
  margin: 0;
  font-size: 22px;
}

.category-tile em,
.category-content p {
  color: var(--grape-300);
  font-style: normal;
  line-height: 1.6;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 12%, rgba(251, 191, 36, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(59, 7, 100, 0.95), rgba(0, 0, 0, 0.92));
}

.page-hero {
  padding-block: 78px;
}

.slim-hero {
  padding-block: 58px;
}

.page-hero .container {
  max-width: 900px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px);
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  background: rgba(59, 7, 100, 0.64);
  border: 1px solid rgba(216, 180, 254, 0.14);
  border-radius: 18px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--grape-300);
  font-size: 14px;
  font-weight: 700;
}

.compact-filter {
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 190px);
}

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

.category-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-cover {
  align-content: start;
}

.category-content {
  display: grid;
  align-content: start;
  gap: 12px;
}

.category-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--grape-300);
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 390px) 1fr;
  align-items: start;
  gap: 28px;
}

.ranking-panel,
.content-card,
.player-card {
  background: linear-gradient(145deg, rgba(88, 28, 135, 0.84), rgba(59, 7, 100, 0.66));
  border: 1px solid rgba(216, 180, 254, 0.16);
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.ranking-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: 20px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 42px 64px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.ranking-row:hover {
  background: rgba(107, 33, 168, 0.54);
}

.rank-num {
  color: var(--gold-400);
  font-weight: 800;
}

.ranking-row img {
  width: 64px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ranking-info strong,
.ranking-info em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-info em {
  color: var(--grape-300);
  font-size: 13px;
  font-style: normal;
}

.ranking-score {
  color: var(--gold-300);
  font-weight: 800;
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  filter: blur(2px);
}

.detail-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.7), rgba(59, 7, 100, 0.6));
}

.detail-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: center;
  gap: 36px;
  min-height: 560px;
  padding-block: 60px;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.22);
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}

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

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--grape-400);
  margin-bottom: 18px;
}

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

.detail-navline {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.player-card {
  overflow: hidden;
}

.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(216, 180, 254, 0.14);
}

.player-header span {
  color: var(--gold-300);
  font-weight: 800;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050108;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--white);
  cursor: pointer;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.12), rgba(0, 0, 0, 0.44));
  border: 0;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  padding-left: 6px;
  background: rgba(147, 51, 234, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow-purple);
  font-size: 42px;
}

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

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(260px, 360px);
  gap: 22px;
  padding-block: 20px 56px;
}

.content-card {
  padding: 24px;
}

.content-card p {
  color: var(--grape-300);
  line-height: 1.85;
}

.info-card dl {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px 14px;
  margin: 18px 0 0;
}

.info-card dt {
  color: var(--grape-400);
}

.info-card dd {
  margin: 0;
  color: var(--white);
}

.search-page-form {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin-top: 26px;
}

.search-status {
  margin-bottom: 24px;
  color: var(--grape-300);
  font-size: 18px;
  font-weight: 700;
}

.site-footer {
  background: linear-gradient(180deg, rgba(59, 7, 100, 0.76), #000000);
  border-top: 1px solid rgba(216, 180, 254, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-block: 42px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 560px;
  color: var(--grape-300);
  line-height: 1.7;
}

.site-footer h2 {
  font-size: 18px;
  margin: 0 0 14px;
}

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

.footer-links a {
  color: var(--grape-300);
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  color: var(--grape-400);
  text-align: center;
  border-top: 1px solid rgba(216, 180, 254, 0.12);
  padding: 18px;
}

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

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

  .detail-content-grid,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .hero-content {
    min-height: 70vh;
  }

  .grid-large,
  .grid-compact,
  .grid-balanced,
  .grid-library,
  .category-grid,
  .category-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .detail-poster {
    width: min(280px, 75vw);
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

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

  .brand-text small {
    display: none;
  }

  .hero h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 34px;
  }

  .hero-controls {
    bottom: 14px;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid-large,
  .grid-compact,
  .grid-balanced,
  .grid-library,
  .category-grid,
  .category-list-grid {
    grid-template-columns: 1fr;
  }

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

  .ranking-row {
    grid-template-columns: 34px 54px 1fr;
  }

  .ranking-score {
    grid-column: 3;
  }

  .search-page-form {
    flex-direction: column;
  }

  .player-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-card {
    padding: 18px;
  }
}
