/* =========================================================
   CtrlShiftZed | WoW addons
   Dark grey + yellow. No frameworks, no build step.
   ========================================================= */

:root {
  --bg: #121214;
  --bg-2: #17171a;
  --panel: #1c1c20;
  --panel-2: #232328;
  --line: #2c2c33;
  --line-strong: #3a3a42;
  --text: #f3f3f5;
  --dim: #a3a3ad;
  --faint: #6e6e78;

  --y: #ffd21f;
  --y-2: #ffe36b;
  --y-deep: #b89400;
  --y-glow: rgba(255, 210, 31, .35);
  --y-soft: rgba(255, 210, 31, .08);

  --green: #4ade80;
  --violet: #a78bfa;

  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Page-wide ambient backdrop: soft yellow bloom + fine grid + grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(255, 210, 31, .10), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(255, 210, 31, .05), transparent 60%),
    linear-gradient(var(--bg), var(--bg));
}
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--y); color: #111; }

:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--y); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }

.hl {
  color: var(--y);
  text-shadow: 0 0 40px var(--y-glow);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--y);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--y);
  box-shadow: 0 0 12px var(--y);
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--dim); max-width: 60ch; }

.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 50px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); border-color: var(--faint); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(180deg, var(--y-2), var(--y));
  border-color: var(--y);
  color: #141414;
  box-shadow: 0 0 0 0 var(--y-glow), 0 10px 30px -10px var(--y-glow), inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.btn-primary:hover { box-shadow: 0 0 0 6px var(--y-soft), 0 18px 40px -12px var(--y-glow), inset 0 -3px 0 rgba(0, 0, 0, .18); border-color: var(--y-2); }
.btn-primary:active { transform: translateY(1px); box-shadow: inset 0 2px 0 rgba(0, 0, 0, .2); }

.btn-ghost { background: rgba(255, 255, 255, .02); backdrop-filter: blur(8px); }
.btn-sm { --bh: 40px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(18, 18, 20, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.brand-keys { display: inline-flex; gap: 3px; }
.brand-keys span {
  display: grid; place-items: center;
  min-width: 26px; height: 26px; padding: 0 5px;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
  border-radius: 6px;
  background: linear-gradient(180deg, #2c2c32, #1e1e22);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .45);
  color: var(--dim);
}
.brand-keys span:last-child { letter-spacing: .04em; background: linear-gradient(180deg, var(--y-2), var(--y)); color: #141414; border-color: var(--y); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2), 0 0 14px var(--y-glow); }
.brand b { color: var(--y); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 10px;
  color: var(--dim); font-weight: 500; font-size: .95rem;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-links .nav-twitch { color: var(--y); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--text);
  cursor: pointer; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 72px; left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px;
    background: rgba(28, 28, 32, .97);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 110px) 0 clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 30%, transparent 75%);
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift { to { background-position: 56px 56px, 56px 56px; } }

.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero-copy .lead { max-width: 52ch; }

.status-dot {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03);
  font-size: .85rem; color: var(--dim); width: max-content; max-width: 100%;
}
.status-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* Keycap stage */
.keystage { position: relative; display: grid; place-items: center; min-height: 380px; perspective: 1000px; }
.keystage::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 31, .22), transparent 65%);
  filter: blur(20px);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }

.keys {
  position: relative;
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 18px);
  transform: rotateX(28deg) rotateZ(-8deg);
  transform-style: preserve-3d;
}
.key {
  --h: 14px;
  position: relative;
  display: grid; place-items: center;
  height: clamp(84px, 10vw, 118px);
  min-width: clamp(84px, 10vw, 118px);
  padding: 0 clamp(14px, 2vw, 24px);
  border-radius: 18px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  letter-spacing: .04em;
  color: #cfcfd6;
  background: linear-gradient(180deg, #34343b 0%, #26262c 60%, #222227 100%);
  border: 1px solid #45454e;
  box-shadow:
    0 var(--h) 0 #141417,
    0 calc(var(--h) + 2px) 0 #0d0d0f,
    0 calc(var(--h) + 24px) 40px -8px rgba(0, 0, 0, .8),
    inset 0 2px 0 rgba(255, 255, 255, .08);
  transform: translateY(0);
  transition: transform .12s, box-shadow .12s;
}
.key::after {
  content: ""; position: absolute; inset: 8px 10px 14px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent);
  pointer-events: none;
}
.key.wide { min-width: clamp(120px, 15vw, 170px); }
.key.z {
  color: #151515;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  letter-spacing: .08em;
  background: linear-gradient(180deg, #fff09a 0%, var(--y) 55%, #e8b900 100%);
  border-color: #ffe57a;
  box-shadow:
    0 var(--h) 0 #9b7c00,
    0 calc(var(--h) + 2px) 0 #6b5600,
    0 calc(var(--h) + 24px) 50px -6px rgba(255, 210, 31, .45),
    inset 0 2px 0 rgba(255, 255, 255, .5);
}
.key.down { transform: translateY(calc(var(--h) - 3px)); box-shadow: 0 3px 0 #141417, 0 5px 0 #0d0d0f, 0 10px 20px -6px rgba(0, 0, 0, .8), inset 0 2px 0 rgba(255, 255, 255, .06); }
.key.z.down { box-shadow: 0 3px 0 #9b7c00, 0 5px 0 #6b5600, 0 0 70px 6px rgba(255, 210, 31, .55), inset 0 2px 0 rgba(255, 255, 255, .5); }
.plus { font-family: var(--font-display); font-size: 1.6rem; color: var(--faint); transform: translateZ(1px); }

.floaty {
  position: absolute; z-index: 2;
  width: clamp(54px, 6vw, 72px); aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8), 0 0 0 4px rgba(18, 18, 20, .6);
  animation: float 7s ease-in-out infinite;
}
.floaty img { width: 100%; height: 100%; object-fit: cover; }
.floaty.f1 { top: 4%; left: 6%; animation-delay: -1s; }
.floaty.f2 { top: 0; right: 10%; animation-delay: -3s; }
.floaty.f3 { bottom: 6%; left: 14%; animation-delay: -2s; }
.floaty.f4 { bottom: 2%; right: 4%; animation-delay: -5s; }
.floaty.f5 { bottom: -4%; left: 46%; animation-delay: -4s; width: clamp(44px, 5vw, 58px); }
@keyframes float { 50% { transform: translateY(-14px) rotate(3deg); } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .keystage { min-height: 300px; order: -1; }
}
@media (max-width: 520px) {
  .keystage { min-height: 240px; }
  .key { --h: 9px; height: 64px; min-width: 64px; padding: 0 12px; border-radius: 13px; font-size: .9rem; }
  .key.wide { min-width: 86px; }
  .key.z { font-size: 1.15rem; }
  .plus { font-size: 1.1rem; }
  .floaty { width: 44px; border-radius: 12px; }
  .floaty.f5 { display: none; }
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent);
  overflow: hidden;
}
.stat { padding: 26px 24px; display: grid; gap: 4px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; color: var(--y); }
.stat span { color: var(--dim); font-size: .9rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Addon cards ---------- */
.addon-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.addon-grid > .card { grid-column: span 2; }
.addon-grid > .card.feature { grid-column: span 4; grid-row: span 2; }
.addon-grid > .card.wide { grid-column: span 3; }
@media (max-width: 1020px) {
  .addon-grid { grid-template-columns: 1fr 1fr; }
  .addon-grid > .card, .addon-grid > .card.wide { grid-column: span 1; }
  .addon-grid > .card.feature { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .addon-grid { grid-template-columns: 1fr; }
  .addon-grid > .card, .addon-grid > .card.feature, .addon-grid > .card.wide { grid-column: auto; }
}

.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 210, 31, .12), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card::after {
  content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 210, 31, .7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before, .card:hover::after { opacity: 1; }

.card-top { display: flex; align-items: center; gap: 16px; }
.card-icon {
  width: 64px; height: 64px; flex: none; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .9);
  transition: transform .5s var(--ease);
}
.card:hover .card-icon { transform: rotate(-4deg) scale(1.06); }
.card-icon img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 1.35rem; }
.card-tag { font-size: .9rem; color: var(--dim); }
.card p.desc { color: var(--dim); font-size: .97rem; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid; width: max-content;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pill.live { color: var(--green); border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .07); }
.pill.dev { color: var(--y); border-color: rgba(255, 210, 31, .35); background: var(--y-soft); }
.pill.dev::before { animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .78rem; color: var(--dim);
  padding: 4px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
}

.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; color: var(--y);
}
.card-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
/* whole-card click target */
.card-link.stretch::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.card .cf-link { position: relative; z-index: 3; font-size: .85rem; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.card .cf-link:hover { color: var(--text); }
.card .cf-link svg { width: 14px; height: 14px; }

.card.feature { padding: 30px; }
.card.feature .card-foot { margin-top: 0; }
.card.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.card.feature .card-icon { width: 80px; height: 80px; border-radius: 20px; }
.feature-shots {
  position: relative; flex: 1; min-height: 260px;
  margin: 4px -30px -30px; padding: 0 30px;
  display: flex; align-items: flex-end; justify-content: center; gap: 0;
}
.feature-shots img {
  border-radius: 12px; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  transition: transform .6s var(--ease);
}
.feature-shots .s1 { width: 62%; transform: translateY(18px) rotate(-2deg); z-index: 1; }
.feature-shots .s2 { width: 40%; margin-left: -14%; transform: translateY(40px) rotate(4deg); z-index: 2; }
@media (max-width: 1020px) { .feature-shots { min-height: 0; flex: none; padding-top: 8px; } }
.card.feature:hover .s1 { transform: translateY(6px) rotate(-3deg); }
.card.feature:hover .s2 { transform: translateY(22px) rotate(6deg); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }
.principle {
  padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .015);
  display: grid; gap: 12px; align-content: start;
}
.principle .num { font-family: var(--font-mono); color: var(--y); font-size: .8rem; letter-spacing: .1em; }
.principle .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--y-soft); border: 1px solid rgba(255, 210, 31, .25); color: var(--y);
}
.principle .ico svg { width: 24px; height: 24px; }
.principle p { color: var(--dim); }

/* ---------- Twitch band ---------- */
.twitch-band {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 210, 31, .3);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 210, 31, .18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 210, 31, .035) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #1f1f23, #18181b);
  padding: clamp(32px, 5vw, 60px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 860px) { .twitch-band { grid-template-columns: 1fr; } }
.twitch-band .copy { display: grid; gap: 18px; }
.screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: #0e0e10; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .02);
  display: grid; place-items: center;
}
.screen::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 210, 31, .25), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.screen .live {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .08em;
  background: #e5484d; color: #fff; padding: 3px 8px; border-radius: 5px;
}
.screen .handle { position: absolute; bottom: 12px; left: 14px; font-family: var(--font-mono); font-size: .8rem; color: var(--dim); }
.play {
  position: relative; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--y); color: #141414;
  box-shadow: 0 0 0 10px rgba(255, 210, 31, .12), 0 0 60px rgba(255, 210, 31, .5);
  transition: transform .3s var(--ease);
}
.play svg { width: 28px; height: 28px; margin-left: 4px; }
.twitch-band:hover .play { transform: scale(1.08); }

/* ---------- Support (ko-fi) ---------- */
.support {
  display: grid; justify-items: center; gap: 16px; text-align: center;
  padding: 36px 20px;
}
.support p { color: var(--dim); font-size: .98rem; }
.support .kofi { display: inline-block; border-radius: 12px; transition: transform .25s var(--ease), filter .25s; }
.support .kofi:hover { transform: translateY(-2px) rotate(-1deg); filter: drop-shadow(0 10px 20px rgba(255, 210, 31, .25)); }
.support .kofi img { height: 40px; width: auto; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: rgba(0, 0, 0, .15); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-grid h4 { font-size: .8rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid ul a { color: var(--dim); transition: color .2s; }
.footer-grid ul a:hover { color: var(--y); }
.footer-about { display: grid; gap: 14px; align-content: start; }
.footer-about p { color: var(--dim); max-width: 38ch; font-size: .95rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 0 32px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: .85rem;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--dim); background: var(--panel);
  transition: color .2s, border-color .2s, transform .2s;
}
.socials a:hover { color: var(--y); border-color: var(--y); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Addon detail page ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--faint); margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--y); }

.addon-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); position: relative; }
.addon-hero-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 760px) { .addon-hero-inner { grid-template-columns: 1fr; } }
.big-icon { position: relative; width: clamp(120px, 16vw, 190px); aspect-ratio: 1; }
.big-icon::before {
  content: ""; position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(255, 210, 31, .28), transparent 60%);
  filter: blur(10px); animation: breathe 6s ease-in-out infinite;
}
.big-icon img {
  position: relative; width: 100%; height: 100%; border-radius: 28%; object-fit: cover;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .03);
}
.addon-hero .copy { display: grid; gap: 18px; }
.addon-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.meta {
  font-family: var(--font-mono); font-size: .78rem; color: var(--dim);
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.meta b { color: var(--text); font-weight: 600; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feat {
  padding: 24px; border-radius: var(--radius); display: grid; gap: 10px; align-content: start;
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
}
.feat:hover { border-color: rgba(255, 210, 31, .4); transform: translateY(-3px); }
.feat .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--y); background: var(--y-soft); border: 1px solid rgba(255, 210, 31, .22); }
.feat .ico svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.12rem; }
.feat p { color: var(--dim); font-size: .95rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.shot {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line-strong); background: #0e0e10;
  grid-column: span 4;
  padding: 0; margin: 0;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.shot.w8 { grid-column: span 8; }
.shot.w6 { grid-column: span 6; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.shot:hover { transform: translateY(-3px); border-color: var(--y); box-shadow: 0 20px 50px -20px rgba(255, 210, 31, .3); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px; font-size: .85rem; color: var(--text);
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}
@media (max-width: 760px) { .shot, .shot.w8, .shot.w6 { grid-column: span 12; } }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  background: rgba(8, 8, 9, .92); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 86vh; max-width: min(1200px, 100%); border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.lightbox p { color: var(--dim); text-align: center; margin-top: 12px; font-size: .9rem; }
.lightbox button {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); font-size: 1.4rem; cursor: pointer;
}

/* split: commands + install */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel {
  border-radius: var(--radius); border: 1px solid var(--line); padding: 28px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  display: grid; gap: 18px; align-content: start;
}
.panel h3 { display: flex; align-items: center; gap: 10px; }
.panel h3 svg { width: 20px; height: 20px; color: var(--y); }
.panel p { color: var(--dim); }
.cmds { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.cmd { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.cmd code { font-family: var(--font-mono); font-size: .85rem; color: var(--y); white-space: nowrap; }
.cmd span { color: var(--dim); font-size: .9rem; }
@media (max-width: 480px) { .cmds { grid-template-columns: 1fr; } .cmd { grid-template-columns: 1fr; gap: 4px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; color: var(--dim); counter-increment: s; }
.steps li::before {
  content: counter(s); width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #141414; background: var(--y);
}
.steps b { color: var(--text); font-weight: 600; }
.note { font-size: .9rem; color: var(--faint); border-left: 2px solid var(--y); padding-left: 12px; }
.note a, .panel p a { color: var(--y); text-decoration: underline; text-underline-offset: 3px; }

/* more addons strip */
.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .more { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .more { grid-template-columns: 1fr; } }
.mini {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, transform .3s var(--ease);
}
.mini:hover { border-color: var(--y); transform: translateY(-3px); }
.mini img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.mini b { font-family: var(--font-display); display: block; line-height: 1.2; }
.mini small { color: var(--faint); font-size: .8rem; }

/* ---------- In-game UI mockups (pure CSS) ---------- */
.mock-stage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) clamp(16px, 4vw, 40px) clamp(28px, 5vw, 64px);
  display: grid; place-items: center;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(255, 210, 31, .1), transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(120, 90, 200, .08), transparent 40%),
    #141416;
}
.mock-stage .mock-label { position: absolute; top: 14px; left: 16px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }

.wow-tip {
  width: min(360px, 100%);
  font-family: "Friz Quadrata", var(--font-body);
  font-size: .9rem; line-height: 1.45;
  background: linear-gradient(180deg, rgba(16, 18, 34, .97), rgba(8, 9, 20, .97));
  border: 2px solid #5b5b66; border-radius: 6px;
  box-shadow: 0 0 0 1px #000, 0 20px 50px -10px rgba(0, 0, 0, .9);
  padding: 12px 14px;
}
.wow-tip .name { color: #fff; font-size: 1.05rem; font-weight: 600; }
.wow-tip .row { display: flex; justify-content: space-between; gap: 16px; }
.wow-tip .w { color: #fff; }
.wow-tip .g { color: #ffd100; }
.wow-tip .gr { color: #1eff00; }
.wow-tip .dim { color: #9d9d9d; }
.wow-tip .b { color: #3fc7eb; }
.wow-tip hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .1); margin: 8px 0; }
.wow-tip .flash { animation: flash 3s ease-in-out infinite; }
@keyframes flash { 0%, 100% { background: transparent; } 50% { background: rgba(255, 210, 31, .08); } }

.wow-panel {
  width: min(480px, 100%);
  background: linear-gradient(180deg, #1d1d22, #141417);
  border: 1px solid #3c3c45; border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9);
  font-size: .9rem;
}
.wow-panel .bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #101013; border-bottom: 1px solid #2c2c33; font-family: var(--font-display); font-weight: 600; }
.wow-panel .bar small { color: var(--faint); font-family: var(--font-mono); font-size: .72rem; }
.wow-panel .body { padding: 12px; display: grid; gap: 8px; }
.prow {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 9px 12px; border-radius: 8px; background: rgba(255, 255, 255, .03);
  border-left: 3px solid var(--c, #fff);
}
.js .prow { opacity: 0; transform: translateX(-10px); }
.in-view .prow { animation: rowIn .5s var(--ease) forwards; }
.in-view .prow:nth-child(2) { animation-delay: .12s; }
.in-view .prow:nth-child(3) { animation-delay: .24s; }
.in-view .prow:nth-child(4) { animation-delay: .36s; }
.in-view .prow:nth-child(5) { animation-delay: .48s; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.prow .who b { color: var(--c); font-weight: 600; display: block; line-height: 1.2; }
.prow .who small { color: var(--faint); font-size: .75rem; }
.prow .buffs { display: flex; gap: 4px; }
.prow .buffs i { width: 18px; height: 18px; border-radius: 4px; background: var(--b, #444); border: 1px solid rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.prow .buffs i.miss { background: transparent; border: 1px dashed #e5484d; box-shadow: none; }
.prow .il { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--y); min-width: 44px; text-align: right; }
.prow .il.low { color: #ff6b6b; }

.plan-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 8px; background: rgba(255, 255, 255, .03);
}
.js .plan-row { opacity: 0; transform: translateX(-10px); }
.in-view .plan-row { animation: rowIn .5s var(--ease) forwards; }
.in-view .plan-row:nth-child(2) { animation-delay: .12s; }
.in-view .plan-row:nth-child(3) { animation-delay: .24s; }
.in-view .plan-row:nth-child(4) { animation-delay: .36s; }
.plan-row .act { min-width: 52px; text-align: center; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; padding: 3px 7px; border-radius: 5px; }
.act.post { background: rgba(74, 222, 128, .14); color: var(--green); }
.act.buy { background: rgba(96, 165, 250, .14); color: #60a5fa; }
.act.skip { background: rgba(255, 255, 255, .06); color: var(--faint); }
.act.craft { background: rgba(167, 139, 250, .14); color: var(--violet); }
.plan-row .what b { display: block; font-weight: 600; line-height: 1.25; }
.plan-row .what small { color: var(--faint); font-size: .78rem; }
.plan-row .gold { font-family: var(--font-display); font-weight: 700; color: #ffd100; white-space: nowrap; }
.plan-total { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid #2c2c33; background: #101013; font-family: var(--font-display); }
.plan-total b { color: #ffd100; }

/* ---------- Roadmap (dev addon) ---------- */
.roadmap { display: grid; gap: 0; position: relative; }
.road { display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding-bottom: 22px; position: relative; }
.road::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line-strong); }
.road:last-child::before { display: none; }
.road .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--bg); display: grid; place-items: center; }
.road.done .dot { background: var(--y); border-color: var(--y); color: #141414; }
.road.now .dot { border-color: var(--y); box-shadow: 0 0 0 5px var(--y-soft); }
.road.now .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--y); animation: blink 1.4s steps(2) infinite; }
.road .dot svg { width: 14px; height: 14px; }
.road b { font-family: var(--font-display); display: block; }
.road span { color: var(--dim); font-size: .93rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in-view { opacity: 1; transform: none; }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 760px; display: grid; gap: 16px; color: var(--dim); }
.prose h2 { font-size: 1.5rem; color: var(--text); margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--y); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose li::marker { color: var(--y); }
.footer-legal { color: var(--dim); }
.footer-legal:hover { color: var(--y); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.lost .code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); line-height: 1; color: var(--y); text-shadow: 0 0 60px var(--y-glow); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .prow, .js .plan-row { opacity: 1; transform: none; }
}
