/* isvrat — red to violet, dark. Colors live in :root; change them there. */

:root {
  color-scheme: dark;
  --bg: #0b0810;
  --bg-2: #110c17;
  --surface: #171020;
  --surface-2: #1f1629;
  --line: rgba(240, 200, 255, 0.09);
  --line-2: rgba(240, 200, 255, 0.17);
  --text: #f7eff9;
  --muted: #c1b1cf;
  --dim: #8f7fa2;
  --red: #ff2e55;
  --rose: #ff3f86;
  --magenta: #d94fdc;
  --violet: #9a5cff;
  --grad: linear-gradient(115deg, #ff2e55 0%, #ff3f86 30%, #d94fdc 64%, #9a5cff 100%);
  --radius: 18px;
  --glow: 0 10px 36px -10px rgba(255, 46, 120, 0.6);
  --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
/* Ambient light and film grain behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vw 48vw at -5% -12%, rgba(255, 46, 85, 0.15), transparent 62%),
    radial-gradient(56vw 46vw at 105% -6%, rgba(154, 92, 255, 0.16), transparent 62%),
    radial-gradient(70vw 50vw at 50% 115%, rgba(217, 79, 220, 0.09), transparent 62%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
::selection { background: var(--rose); color: #fff; }
:focus-visible { outline: 2px solid #ff8db3; outline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.i { width: 1.15em; height: 1.15em; flex: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  color: #000;
}
.skip:focus { left: 8px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--muted);
  font: 700 12px/1.2 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.lead { margin: 0 0 24px; max-width: 56ch; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); }

/* ---------- buttons and chips ---------- */

.btn {
  --h: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--h);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 15px/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, background-color 0.2s, border-color 0.2s, background-position 0.5s var(--ease);
}
.btn-primary {
  background: var(--grad);
  background-size: 170% 100%;
  background-position: 0 0;
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 44px -10px rgba(255, 63, 134, 0.75); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-1px); }
.btn-light { background: #fff; color: #23102c; box-shadow: 0 14px 40px -12px rgba(30, 0, 40, 0.6); }
.btn-light:hover { transform: translateY(-2px); }
.btn-light .i { color: var(--red); }
.btn-sm { --h: 36px; padding: 0 15px; font-size: 14px; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font: 700 12.5px/1 var(--font-body);
  white-space: nowrap;
}
.status { color: var(--text); }
.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, var(--rose));
  box-shadow: 0 0 10px var(--dot, var(--rose));
}
.status-complete, .status-released, .status-stable { --dot: #b48cff; }
.status-beta { --dot: #e05ae0; }
.status-in-development, .status-wip, .status-early-access { --dot: #ff2e55; }
.status-in-development i, .status-wip i, .status-early-access i { animation: pulse 2s ease-in-out infinite; }
.status-abandoned { --dot: #7d6f8c; color: var(--muted); }
@keyframes pulse { 50% { opacity: 0.35; box-shadow: 0 0 2px var(--dot); } }

/* gradient hairline border */
.gborder { position: relative; }
.gborder::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 8, 16, 0.74);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 700 20px/1 var(--font-display);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--grad);
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(255, 63, 134, 0.65);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 2px;
  background: var(--bg);
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; height: auto; gap: 6px 12px; padding: 12px 0 8px; }
  .header-cta { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0 -10px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 10px; font-size: 14px; white-space: nowrap; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: drift 20s ease-in-out infinite alternate;
}
.hero-glow span:nth-child(1) { width: 40vw; height: 40vw; left: -14vw; top: -16vw; background: #ff2e55; }
.hero-glow span:nth-child(2) { width: 36vw; height: 36vw; right: -12vw; top: -8vw; background: #7a3cff; animation-delay: -7s; }
.hero-glow span:nth-child(3) { width: 26vw; height: 26vw; left: 38vw; top: 20vw; background: #d94fdc; opacity: 0.28; animation-delay: -13s; }
.hero-glow.small span { opacity: 0.3; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(5vw, 3vw, 0) scale(1.15); }
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-title {
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 74px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.hero-title .grad-text { display: inline-block; padding-bottom: 0.08em; }
.hero-text { max-width: 36ch; margin: 0 0 32px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.hero-stats { display: flex; gap: clamp(24px, 4vw, 44px); margin: 44px 0 0; }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.hero-stats dd { margin: 0; font: 800 34px/1 var(--font-display); }
.hero-stats dt { color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.hero-fan { position: relative; aspect-ratio: 1 / 0.86; }
.fan-card {
  position: absolute;
  width: 74%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: 0 34px 80px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-2);
  transition: transform 0.7s var(--ease);
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; }
.fan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 46, 85, 0.12), transparent 40%, rgba(154, 92, 255, 0.18));
}
.fan-1 { left: 0; top: 2%; transform: rotate(-7deg); }
.fan-2 { right: 0; top: 26%; transform: rotate(5deg); z-index: 1; }
.fan-3 { left: 10%; bottom: 0; transform: rotate(-1.5deg); z-index: 2; }
.hero-fan:hover .fan-1 { transform: rotate(-10deg) translate(-14px, -10px); }
.hero-fan:hover .fan-2 { transform: rotate(8deg) translate(14px, -6px); }
.hero-fan:hover .fan-3 { transform: rotate(-0.5deg) translateY(10px); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fan { width: min(100%, 560px); margin: 0 auto; }
  .hero-stats { margin-top: 32px; }
}

/* ---------- media frames ---------- */

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--surface-2);
}
.media-frame > img, .media-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame video.loop { opacity: 0; transition: opacity 0.5s; }
.media-frame video.loop.is-playing, .media-frame video.is-static { opacity: 1; }
.loop-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(11, 8, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s;
}
.loop-badge .i { width: 14px; height: 14px; margin-left: 2px; }
.media-frame:has(video.is-playing) .loop-badge { opacity: 0; }

/* ---------- featured ---------- */

.featured { margin-top: 4px; }
.feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  padding: clamp(12px, 1.6vw, 18px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 50px 120px -50px rgba(255, 46, 120, 0.35);
}
.feature-media { display: block; border-radius: 20px; }
.feature-body { padding: 8px clamp(4px, 2vw, 24px) 8px 0; }
.feature-title { font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.025em; }
.feature-title a { text-decoration: none; }
.feature-title a:hover { color: #ffd0e4; }
.feature-text { margin: 0 0 20px; color: var(--muted); font-size: 18px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-body { padding: 4px 8px 12px; }
}

/* ---------- sections and cards ---------- */

.section { padding-top: clamp(64px, 9vw, 104px); }
.section-tight { padding-top: 24px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}
.section-title { margin: 0 0 8px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.025em; }
.section-intro { margin: 0; max-width: 52ch; color: var(--muted); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.link-arrow:hover { color: var(--text); gap: 10px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 63, 134, 0.55);
  box-shadow: 0 30px 60px -28px rgba(255, 46, 120, 0.55), 0 0 0 1px rgba(154, 92, 255, 0.25);
}
.card:focus-within { outline: 2px solid #ff8db3; outline-offset: 3px; }
.card:focus-within a:focus-visible { outline: none; }
.card-media { border-radius: 0; }
.card-media > img { transition: transform 0.8s var(--ease); }
.card:hover .card-media > img, .card:hover .card-media > video { transform: scale(1.04); }
.card-media > video { transition: opacity 0.5s, transform 0.8s var(--ease); }
.card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(23, 16, 32, 0.85), transparent);
  pointer-events: none;
}
.card-media .status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(11, 8, 16, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 20px 20px; }
.card-kind { margin: 0; color: var(--dim); font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.card-title { margin: 0; font-size: 19px; overflow-wrap: break-word; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card-text {
  display: -webkit-box;
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-meta { margin: auto 0 0; padding-top: 10px; color: var(--dim); font-size: 13px; font-weight: 700; }
.card[hidden] { display: none; }
.empty { color: var(--muted); }

/* ---------- Patreon band ---------- */

.cta-band {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(72px, 10vw, 120px);
  padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
  border-radius: 28px;
  background: var(--grad);
  box-shadow: 0 40px 100px -40px rgba(255, 46, 120, 0.6);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 130% at 100% 0%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(50% 120% at 0% 100%, rgba(45, 0, 70, 0.5), transparent 60%);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  z-index: -1;
  width: 280px;
  height: 280px;
  border: 40px solid rgba(255, 255, 255, 0.12);
  border-radius: 64px;
  transform: rotate(45deg);
}
.cta-band h2 { margin: 0 0 8px; color: #fff; font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { margin: 0; max-width: 48ch; color: rgba(255, 255, 255, 0.88); }

/* ---------- about ---------- */

.about { padding-top: clamp(64px, 9vw, 104px); }
.about-card {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 16px 40px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface), rgba(23, 16, 32, 0.5));
}
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 760px) { .about-card { grid-template-columns: 1fr; } }

/* ---------- prose ---------- */

.prose { color: #e9dfee; font-size: 17px; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 1.6em 0 0.6em; font-size: 24px; }
.prose h3 { margin: 1.4em 0 0.5em; font-size: 19px; }
.prose a { color: #ff86b0; text-decoration-color: rgba(255, 134, 176, 0.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: #fff; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--rose); font-weight: 700; }
.prose code {
  padding: 0.1em 0.4em;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  font: 0.88em ui-monospace, Consolas, monospace;
}
.prose pre { overflow-x: auto; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #0e0a13; }
.prose pre code { padding: 0; border: 0; background: none; }
.prose blockquote { margin: 0 0 1.2em; padding: 4px 0 4px 18px; border-left: 3px solid var(--rose); color: var(--muted); }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line-2); }

/* ---------- section page ---------- */

.page-head { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 88px) 0 8px; }
.page-head h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.035em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { height: 34px; padding: 0 14px; font-size: 13.5px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.chip-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.09); }
.chip-btn.is-on { border-color: transparent; background: var(--grad); color: #fff; }

/* ---------- item page ---------- */

.item-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(20px, 3vw, 36px) 0 clamp(36px, 5vw, 60px); }
.item-backdrop { position: absolute; inset: -12%; z-index: -1; opacity: 0.38; filter: blur(70px) saturate(1.35); }
.item-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.item-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 8, 16, 0.25), var(--bg) 88%);
}
.crumbs { display: flex; gap: 10px; margin-bottom: 22px; color: var(--dim); font-size: 14px; font-weight: 600; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.item-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
.item-media { box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--line-2); }
.item-title { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; letter-spacing: -0.03em; overflow-wrap: break-word; }
.item-info .lead { font-size: 18px; }
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.facts dt { color: var(--dim); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; }
@media (max-width: 900px) { .item-head { grid-template-columns: 1fr; } }

.item-body > * { max-width: 940px; }
.item-about { max-width: 70ch; }
.block { margin-top: clamp(48px, 7vw, 76px); }
.block-title { margin-bottom: 22px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.feature-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(23, 16, 32, 0.4));
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.feature-item:hover { border-color: rgba(255, 63, 134, 0.4); transform: translateY(-3px); }
.feature-num { display: inline-block; margin-bottom: 14px; font: 800 14px/1 var(--font-display); letter-spacing: 0.08em; }
.feature-item h3 { margin-bottom: 8px; font-size: 18px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 15px; }
.feature-item .media-frame { margin-top: 18px; border-radius: 12px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.shot { display: block; border-radius: 12px; cursor: zoom-in; }
.shot img { transition: transform 0.6s var(--ease); }
.shot:hover img { transform: scale(1.05); }

.changelog { list-style: none; margin: 0 0 0 6px; padding: 0; border-left: 2px solid var(--line-2); }
.changelog > li { position: relative; padding: 0 0 26px 26px; }
.changelog > li:last-child { padding-bottom: 0; }
.changelog > li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(255, 63, 134, 0.6);
}
.cl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.cl-ver { font: 700 16px/1.2 var(--font-display); }
.cl-head time { color: var(--dim); font-size: 14px; font-weight: 600; }
.changelog ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.changelog ul li { margin: 0.25em 0; }

.yt { cursor: pointer; }
.yt img { filter: brightness(0.75); }
.yt-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: auto;
  border: 0;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}
.yt-play .i { width: 30px; height: 30px; margin-left: 4px; }
.yt:hover .yt-play { transform: scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}
.lightbox::backdrop { background: rgba(6, 4, 9, 0.93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 16px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8); }
.lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- 404 ---------- */

.notfound { position: relative; isolation: isolate; padding: clamp(72px, 12vw, 150px) 0; text-align: center; }
.notfound .big { margin: 0; font: 800 clamp(96px, 18vw, 210px)/1 var(--font-display); letter-spacing: -0.05em; }
.notfound .lead { margin-inline: auto; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: clamp(72px, 10vw, 120px);
  padding: 44px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand p { max-width: 42ch; margin: 14px 0 0; color: var(--dim); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 24px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }
.footer-links .i { width: 14px; height: 14px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 32px;
  color: var(--dim);
  font-size: 13px;
}

/* ---------- 18+ gate ---------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 5, 12, 0.72);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  backdrop-filter: blur(26px) saturate(1.2);
}
html:not(.age-ok) .gate { display: grid; }
html:not(.age-ok) body { overflow: hidden; }
.gate-card {
  width: min(100%, 440px);
  padding: 38px 28px 28px;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(255, 46, 120, 0.5);
  text-align: center;
}
.gate-badge {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: var(--glow);
  font: 800 22px/1 var(--font-display);
}
.gate-card h2 { font-size: 26px; font-weight: 800; }
.gate-card p { margin: 0 0 24px; color: var(--muted); }
.gate-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- reveal on scroll (only when JS runs) ---------- */

.js [data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.8s var(--ease), translate 0.8s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
  transition-delay: calc(var(--d, 0) * 80ms), calc(var(--d, 0) * 80ms), 0s, 0s, 0s;
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; }
}

/* ---------- latest posts ---------- */

.section-first { padding-top: clamp(24px, 4vw, 48px); }
.post .card-title { font-size: 18px; }
.post-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color 0.2s; }
.post:hover .post-link { color: #ff86b0; }
.post-link .i { width: 14px; height: 14px; }
a.post-link { position: relative; z-index: 4; align-self: flex-start; text-decoration: none; }
a.post-link:hover { color: var(--text); }
.card-media .playtime { left: auto; right: 12px; }
.playtime .i { width: 13px; height: 13px; color: var(--rose); }
.head-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- links block ---------- */

.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.link-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.link-tile:hover { transform: translateY(-3px); border-color: rgba(255, 63, 134, 0.55); box-shadow: 0 20px 40px -24px rgba(255, 46, 120, 0.6); }
.link-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand, var(--rose));
  box-shadow: 0 8px 22px -8px var(--brand, var(--rose)), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font: 800 18px/1 var(--font-display);
  color: #fff;
  transition: transform 0.3s var(--ease);
}
.link-mark svg { width: 24px; height: 24px; }
.link-tile:hover .link-mark { transform: scale(1.08) rotate(-4deg); }
.link-text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.link-text strong { font-size: 15.5px; }
.link-text small { overflow: hidden; color: var(--dim); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.link-tile > .i { color: var(--dim); transition: color 0.2s; }
.link-tile:hover > .i { color: var(--text); }

/* ---------- news pages ---------- */

.news-wrap { max-width: 940px; }
.news .item-title { margin-bottom: 18px; }
.news-cover { margin-top: 32px; box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--line-2); }
.news .prose { margin-top: 8px; }
.locked { color: #ffd36b; }
.locked .i { color: #ffd36b; }
.news .chips { margin: -4px 0 18px; }
.news-video { margin-top: 32px; background: #000; box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--line-2); }
.news-video video { object-fit: contain; }
.news-videos .news-video { margin-top: 20px; }
.draft-note { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border: 1px dashed #ffd36b; border-radius: 10px; color: #ffd36b; font-size: 14px; font-weight: 700; }
.news-figure { margin: 28px 0; }
.news-figure .news-video { margin-top: 0; }
.news-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 14.5px; text-align: center; }
.news-figure .shot { display: block; }

/* ---------- links in the hero ---------- */

.hero-links { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.pill small { margin-left: 6px; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.pill:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px -14px var(--brand);
}
.pill-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand, var(--rose));
  color: #fff;
  font: 800 14px/1 var(--font-display);
}
.pill-mark svg { width: 17px; height: 17px; }

/* ---------- Support dropdown ---------- */

.support { position: relative; }
.support > summary { list-style: none; }
.support > summary::-webkit-details-marker { display: none; }
.support .chev { width: 14px; height: 14px; margin-left: -2px; transition: transform 0.2s; }
.support[open] .chev { transform: rotate(180deg); }
.support-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: 270px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(23, 16, 32, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85), 0 0 50px -25px rgba(255, 46, 120, 0.5);
  animation: menu-in 0.18s var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.support-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}
.support-item:hover { background: rgba(255, 255, 255, 0.07); }
.support-name { display: flex; flex: 1; flex-direction: column; line-height: 1.25; }
.support-name small { color: var(--muted); font-weight: 600; font-size: 12px; }
.support-item > .i { width: 14px; height: 14px; color: var(--dim); }
@media (max-width: 720px) { .support-menu { right: -4px; width: min(270px, calc(100vw - 24px)); } }
.pill[style*="#0f0f0f"] .pill-mark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.pill[style*="#0f0f0f"]:hover { border-color: rgba(255, 255, 255, 0.5); }
