:root {
  --bg: #0b0c0e;
  --bg-elev: #14161a;
  --bg-card: #181b20;
  --line: #2a2e36;
  --text: #f3f4f6;
  --muted: #9aa3b2;
  --faint: #6b7380;
  --accent: #d7ff3c;
  --accent-ink: #14180a;
  --btc: #f7931a;
  --card: #6d8cff;
  --danger: #ff6b6b;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", Inter, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, select { font-family: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0 18px; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 10px; letter-spacing: .08em; }
.brand-mark {
  font-weight: 800; font-size: 15px; background: var(--accent); color: var(--accent-ink);
  padding: 4px 8px; border-radius: 6px; letter-spacing: .14em;
}
.brand-sub { color: var(--muted); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
nav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--text); }

/* hero */
.hero { padding: 72px 0 36px; }
.hero-kicker {
  color: var(--accent); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
}
.hero h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(42px, 7vw, 84px);
  line-height: .9; letter-spacing: -.02em; margin: 14px 0 18px; text-transform: uppercase;
}
.hero p { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.5; margin: 0; }

/* grid */
.section-label {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 28px 0 18px; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; padding-bottom: 80px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: #3c4250; }
.card-art {
  aspect-ratio: 1; background:
    linear-gradient(180deg, #1c1f26, #12141a);
  display: grid; place-items: center; padding: 28px;
}
.card-art img { width: 78%; height: 78%; object-fit: contain; border-radius: 12px; }
.card-body { padding: 16px 16px 18px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; color: var(--faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pill {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 8px; color: var(--accent); letter-spacing: .1em;
}
.card h2 { margin: 8px 0 4px; font-size: 22px; letter-spacing: -.02em; }
.card .price { color: var(--muted); font-size: 14px; }

/* product */
.back { display: inline-flex; gap: 8px; color: var(--muted); font-size: 13px; margin: 22px 0 8px; }
.back:hover { color: var(--text); }
.product { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding: 12px 0 80px; align-items: start; }
@media (max-width: 880px) { .product { grid-template-columns: 1fr; gap: 28px; } }

.gallery { display: grid; gap: 12px; }
.stage {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 22px;
  min-height: 460px; display: grid; place-items: center; padding: 28px; overflow: hidden;
}
.stage img { max-height: 520px; width: auto; max-width: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; }
.thumbs button {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 12px;
  padding: 0; width: 84px; height: 84px; overflow: hidden; cursor: pointer;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }

.product-info .kicker { color: var(--accent); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.product-info h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 62px); line-height: .9; margin: 8px 0 6px; text-transform: uppercase; letter-spacing: -.02em; }
.ticker { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 22px; }
.price-row .now { font-size: 32px; font-weight: 700; }
.price-row .ship { color: var(--faint); font-size: 13px; }

.field { margin: 0 0 16px; }
.field label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch, .size {
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--text);
  border-radius: 999px; padding: 8px 12px; cursor: pointer; font-size: 13px;
}
.swatch[aria-pressed="true"], .size[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
select.field-select {
  width: 100%; background: var(--bg-elev); color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 12px; font-size: 14px;
}

.checkout { display: grid; gap: 10px; margin-top: 26px; }
.pay {
  border: 0; border-radius: 14px; padding: 16px 18px; font-size: 15px; font-weight: 700;
  cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center;
  letter-spacing: .01em;
}
.pay small { display: block; font-weight: 500; opacity: .75; margin-top: 3px; font-size: 12px; }
.pay-ticker { background: var(--accent); color: var(--accent-ink); }
.pay-btc { background: #1a140c; color: #ffd199; border: 1px solid #5a3b14; }
.pay-card { background: #151826; color: #d9e1ff; border: 1px solid #2a3358; }
.pay:hover { filter: brightness(1.08); }
.pay:disabled { opacity: .55; cursor: not-allowed; filter: none; }

.fineprint { color: var(--faint); font-size: 12px; line-height: 1.5; margin-top: 16px; }
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.62); display: none; place-items: center; padding: 24px; z-index: 20;
}
.modal.open { display: grid; }
.modal-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px;
  max-width: 480px; width: 100%; padding: 24px; box-shadow: var(--shadow);
}
.modal-card h3 { margin: 0 0 8px; font-size: 22px; }
.modal-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; word-break: break-all; background: #0e1014; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.modal-card button {
  margin-top: 16px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 700; cursor: pointer;
}

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--faint); font-size: 12px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.empty { color: var(--muted); padding: 40px 0 80px; }
