:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: #100f17;
  color: #f7f4fb;
  --muted: #bcb6ca;
  --line: #302b40;
  --accent: #ffb091;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.shell { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.site-header, .site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-header nav a, .site-footer > a:last-child { color: var(--muted); font-size: .9rem; }
.site-header nav a:hover, .site-footer > a:last-child:hover { color: #fff; }
.brand { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.22rem; letter-spacing: -.045em; }
.brand-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-right: 9px;
  border-radius: 8px;
}
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 405px;
  overflow: hidden;
  border: 1px solid #3a2b52;
  border-radius: 26px;
  background: radial-gradient(ellipse at 80% 90%, #432a67, #17111f 66%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 12%;
  z-index: -2;
  background: url("./hero.webp") right center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #17111f 3%, #17111f 21%, #17111fdb 37%, transparent 70%);
}
.hero-copy { width: 100%; padding: 44px clamp(28px, 6vw, 72px); }
h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(2.65rem, 6.7vw, 5.65rem);
  line-height: .99;
  letter-spacing: -.075em;
  font-weight: 850;
}
h1 em { font-style: normal; color: #dbbdff; }
.hero p { color: #e4d9ec; margin: 24px 0 25px; font-size: clamp(.93rem, 2vw, 1.08rem); line-height: 1.5; }
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 17px;
  border-radius: 9px;
  background: var(--accent);
  color: #26151d;
  font-weight: 750;
  font-size: .88rem;
}
.hero-link:hover { background: #ffc6af; }
.catalog { margin: 49px 0 56px; scroll-margin-top: 20px; }
.catalog-header, .section-title { display: flex; align-items: center; gap: 14px; }
.catalog-header { justify-content: space-between; margin-bottom: 16px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.1; letter-spacing: -.055em; }
.count { color: var(--muted); white-space: nowrap; font-size: .82rem; }
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(255px, 100%);
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #181522;
}
.search:focus-within { border-color: #d9bdff; }
.search-icon { flex: 0 0 12px; height: 12px; border: 1.5px solid #bdb1d0; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.5px; background: #bdb1d0; transform: rotate(45deg); bottom: -3px; right: -4px; }
.search input { border: 0; outline: 0; color: inherit; padding: 11px 0; background: none; min-width: 0; width: 100%; font-size: .9rem; }
.search input::placeholder { color: #b7aec5; opacity: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: .82rem;
}
.filter:hover { border-color: #a487c7; }
.filter[aria-pressed="true"] { background: #e2cefa; color: #271735; border-color: transparent; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; gap: 18px; }
.card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: #191623; }
.cover { flex: none; position: relative; overflow: hidden; aspect-ratio: 2.35; background: #231836; }
.cover img { width: 100%; height: 100%; display: block; object-fit: cover; position: relative; }
.cover-art { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 100%, #714ea3, transparent 60%), linear-gradient(125deg, #171128, #39265a); }
.cover-art::after { content: "✦"; position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(3.5rem, 11vw, 6.5rem); color: #d2a5ff; text-shadow: 0 0 26px #ab65f5; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 19px 20px 20px; }
.category { color: #d7b9fa; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
h3 { margin-top: 5px; font-size: 1.45rem; letter-spacing: -.045em; overflow-wrap: anywhere; }
.description { color: var(--muted); font-size: .9rem; line-height: 1.55; margin-top: 7px; overflow-wrap: anywhere; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; margin-top: auto; padding-top: 15px; }
.play { background: var(--accent); color: #26151d; padding: 8px 12px; border-radius: 7px; font-size: .84rem; font-weight: 750; }
.play:hover { background: #ffc6af; }
.unavailable { color: var(--muted); font-size: .79rem; }
details { margin-top: 14px; color: var(--muted); font-size: .83rem; }
summary { cursor: pointer; width: fit-content; }
summary:hover { color: #fff; }
dl { margin: 9px 0 0; display: grid; gap: 7px; }
dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; overflow-wrap: anywhere; }
dt { font-weight: 650; }
dd { margin: 0; }
.empty { color: var(--muted); padding: 24px 0; line-height: 1.5; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .brand { font-size: 1rem; }
.site-footer .brand-icon { width: 23px; height: 23px; border-radius: 6px; }
@media (max-width: 650px) {
  .shell { width: calc(100% - 32px); }
  .site-header, .site-footer { min-height: 65px; }
  .hero { min-height: 370px; align-items: end; border-radius: 19px; }
  .hero::before { inset: 0 0 17% 0; background-position: 75% center; }
  .hero::after { background: linear-gradient(0deg, #17111f 5%, #17111feb 35%, #17111f35 100%); }
  .hero-copy { padding: 32px 24px; }
  h1 { font-size: clamp(2.2rem, 10.6vw, 3.8rem); }
  .hero p { max-width: 230px; margin: 16px 0 19px; }
  .catalog { margin-top: 35px; }
  .catalog-header { flex-wrap: wrap; }
  .search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.cover-neon-dispatch {
  background:
    repeating-linear-gradient(90deg, #f696e22b 0 1px, transparent 1px 11%),
    repeating-linear-gradient(0deg, #f696e22b 0 1px, transparent 1px 23%),
    radial-gradient(ellipse at 50% 82%, #b62d87, transparent 66%),
    linear-gradient(135deg, #201639, #351c47);
}
.cover-neon-dispatch::after { content: "↯"; color: #ffd0e7; text-shadow: 0 0 30px #ff58aa; }
.cover-jelly-slide {
  background:
    radial-gradient(circle at 22% 70%, #bdb0ff 0 3%, transparent 3.3%),
    radial-gradient(circle at 75% 24%, #fbc0a8 0 5%, transparent 5.3%),
    radial-gradient(circle at 85% 68%, #d7a0f1 0 3%, transparent 3.3%),
    linear-gradient(120deg, #553080, #ad567d);
}
.cover-jelly-slide::after {
  content: "";
  inset: 50% auto auto 50%;
  width: clamp(42px, 10vw, 85px);
  aspect-ratio: 1;
  border-radius: 25%;
  background: linear-gradient(145deg, #fff2d2, #ff9a98 68%);
  transform: translate(-50%, -50%) rotate(-14deg);
  box-shadow: inset -4px -5px 14px #a7277450, inset 2px 3px 7px #fff9, 12px 13px 0 #77326965, 0 0 32px #ffb5954d;
}
