:root {
  --bg: #0b0c10; --band: #0e1015; --panel: #12141a; --line: #1d2028; --line2: #343944;
  --text: #e8eaee; --muted: #b4bac5; --dim: #8c93a0; --accent: #9b8cff; --ok: #7ee2a8;
  --display: "Bahnschrift", "DIN Alternate", "Arial Narrow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
code { background: var(--line); padding: 2px 6px; border-radius: 5px; font-size: .92em; color: var(--text); word-break: break-all; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.005em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 42px); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--dim); }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #0b0c10; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: rgba(11,12,16,.88); backdrop-filter: blur(10px); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .08em; }
.logo b { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--text); }
.pill { font-size: 11px; font-weight: 700; color: #0b0c10; background: var(--accent); padding: 2px 7px; border-radius: 99px; margin-left: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 16px; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #0b0c10; }
.btn-primary:hover { background: #b2a6ff; }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; }
.btn-ghost { background: var(--panel); border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { border-color: #5a6170; }
.btn-disabled { background: #1a1d24; border-color: var(--line2); color: var(--dim); cursor: not-allowed; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(42px, 6vw, 70px); }
.lead { margin: 22px 0 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile { aspect-ratio: 4 / 3; border-radius: 16px; border: 1px solid var(--line); background: var(--band); padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s, border-color .2s; }
.tile:hover { transform: translateY(-3px); border-color: var(--line2); }
.tile-name { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.skin-svg { width: 100%; height: auto; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--glow) 45%, transparent)); }

/* collection */
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.sec-head p { margin: 8px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }
.chip:hover { color: var(--text); }
.chip.is-on { background: var(--text); border-color: var(--text); color: #0b0c10; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 24px; }
.card { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--line2); }
.card[hidden] { display: none; }
.card-art { aspect-ratio: 16 / 9; background: #0c0d12; display: flex; align-items: center; justify-content: center; padding: 18px 22px; }
.card-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.card-line { font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.card-title { font-family: var(--display); font-size: 21px; font-weight: 700; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--dim); }
.free { color: var(--ok); font-weight: 700; }

/* lines */
.section { padding-top: 80px; padding-bottom: 80px; }
.sub { margin: 10px 0 32px; max-width: 640px; }
.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.line { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--panel); }
.line-art { background: #0c0d12; border-radius: 12px; padding: 14px; }
.line h3 { font-size: 26px; margin-bottom: 8px; }
.line p { margin: 0 0 6px; }
.line .eyebrow { margin-bottom: 8px; font-size: 12px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: var(--panel); }
.steps h3 { font-size: 20px; margin: 10px 0 8px; }
.steps p { margin: 0; line-height: 1.6; font-size: 15px; }
.num { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--accent); }

/* creator */
.creator { border: 1px solid #2a2f3a; border-radius: 22px; padding: 44px; background: var(--panel); display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.creator h2 { margin-bottom: 14px; }
.creator p { margin: 0; line-height: 1.6; }
.creator-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* detail */
.crumbs { padding-top: 28px; }
.crumbs a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }
.crumbs a:hover { color: var(--text); }
.detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 40px; }
.stage { position: relative; aspect-ratio: 16 / 11; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--glow) 22%, transparent), transparent 60%), #0c0d12; display: flex; align-items: center; justify-content: center; perspective: 900px; overflow: hidden; }
.stage-inner { width: 82%; transition: transform .45s ease; transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; }
.stage-svg { width: 100%; height: auto; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--glow) 55%, transparent)); }
.badge { position: absolute; left: 16px; top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; background: rgba(11,12,16,.75); padding: 6px 10px; border-radius: 8px; }
.badge-r { left: auto; right: 16px; letter-spacing: 0; font-weight: 600; }
.stage-ctrl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.ctrl-btns { display: flex; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { border-color: #5a6170; }
.stage-col { position: sticky; top: 96px; }
.info { display: flex; flex-direction: column; gap: 20px; }
.info h1 { font-size: clamp(36px, 4vw, 48px); margin-top: -6px; }
.info > p { margin: 0; line-height: 1.6; }
.label { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.swatch { border: 1px solid var(--line2); border-radius: 12px; padding: 8px 6px 8px; background: var(--panel); display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); text-align: center; min-height: 44px; }
.swatch:hover { border-color: #5a6170; color: var(--text); }
.swatch.is-on { border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 2px rgba(155,140,255,.25); }
.swatch-svg { width: 100%; height: auto; }
.specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: var(--panel); }
.specs dt { color: var(--dim); }
.specs dd { margin: 0; }
.box { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: var(--panel); }
.h-small { font-size: 18px; margin-bottom: 10px; }
.list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.7; font-size: 15px; }

/* legal + misc */
.legal { max-width: 780px; padding-top: 32px; padding-bottom: 72px; line-height: 1.7; }
.legal h1 { font-size: 36px; margin: 16px 0 10px; }
.legal h2 { font-size: 24px; margin: 36px 0 8px; }
.legal p { color: #c3c8d1; }
.legal a { color: #b9aeff; text-decoration: underline; }
.todo { background: #2a2410; color: #ffd36b; padding: 1px 6px; border-radius: 4px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 50vh; justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; font-size: 13px; color: var(--dim); }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot a:hover { color: var(--text); }

/* responsive */
@media (max-width: 980px) {
  .hero, .detail, .creator { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 36px; }
  .lines { grid-template-columns: 1fr; }
  .stage-col { position: static; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .line { grid-template-columns: 1fr; }
  .creator { padding: 26px; }
  .site-header { position: static; }
  .nav { gap: 6px 16px; font-size: 14px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-art { padding: 12px; }
  .card-body { padding: 10px 12px 14px; }
  .card-title { font-size: 17px; }
  .card-meta { flex-direction: column; gap: 2px; font-size: 12px; }
}
