:root {
  --bg: #12151f; --card: #1a1f2d; --line: #2b3247; --ink: #eef1f8; --muted: #9aa3b8; --accent: #ffc94a; --accent2: #6fd3ff;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
a { color: var(--accent2); text-decoration: none; }
button { font: inherit; font-size: 14px; background: #2a3146; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
button:hover { border-color: var(--accent); }
button.primary { background: var(--accent); color: #18120a; border-color: var(--accent); font-weight: 600; }
button:disabled { opacity: .45; cursor: default; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 56px; border-bottom: 1px solid var(--line); background: #0e1119; position: sticky; top: 0; z-index: 5; }
.brand { font-weight: 800; letter-spacing: .02em; color: var(--ink); font-size: 18px; }
.top nav a { margin-left: 18px; color: var(--muted); }
.top nav a.on, .top nav a:hover { color: var(--ink); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.hero { padding: 56px 0 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.hero p { color: var(--muted); font-size: 17px; max-width: 560px; }
.hero .art { aspect-ratio: 4/3; border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.hero .art canvas { width: 100%; height: 100%; display: block; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 8px; }
.chip { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); cursor: pointer; font-size: 14px; background: none; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding: 10px 0 60px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); display: block; transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; background: #1d2333; }
.card .b { padding: 12px 14px; }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.card .m { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.price { color: var(--accent); font-weight: 700; }
.empty { color: var(--muted); padding: 40px 0; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 10px 0 40px; }
.how div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.how b { display: block; margin-bottom: 6px; }
.how span { color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 24px 0 40px; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; padding-top: 28px; } .hero h1 { font-size: 32px; } .how { grid-template-columns: 1fr; } }
