:root {
  --bg: #0b0d1a;
  --panel: #14182b;
  --panel-2: #1a1f36;
  --ink: #f4f7fb;
  --muted: #9aa3b8;
  --line: rgba(255, 255, 255, 0.08);
  --red: #e52521;
  --gold: #fbd000;
  --sky: #5c94fc;
  --teal: #1ec8a5;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(92, 148, 252, 0.16), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(229, 37, 33, 0.12), transparent 55%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(30, 200, 165, 0.15);
}
h1 {
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.lead {
  margin-top: 12px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}
.section {
  margin-top: 40px;
}
.section-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  display: block;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}
.art {
  height: 110px;
  display: grid;
  place-items: center;
  position: relative;
}
.art.mario {
  background:
    radial-gradient(circle at 25% 80%, rgba(229, 37, 33, 0.45), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(92, 148, 252, 0.4), transparent 40%),
    linear-gradient(135deg, #1a2440, #0d1222);
}
.art .icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 28px; font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, #ff6b66, var(--red));
  box-shadow: 0 10px 24px rgba(229, 37, 33, 0.35);
}
.card-body {
  padding: 16px 16px 18px;
}
.card-body h2 {
  font-size: 18px;
  font-weight: 800;
}
.card-body p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.meta {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
/* mario page */
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.back:hover { color: var(--ink); }
.version-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.version-card .art.flash {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 90, 31, 0.5), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(30, 200, 165, 0.4), transparent 40%),
    linear-gradient(135deg, #1a2440, #0d1222);
}
.version-card .art.pro {
  background:
    radial-gradient(circle at 30% 70%, rgba(92, 148, 252, 0.5), transparent 45%),
    radial-gradient(circle at 75% 25%, rgba(229, 37, 33, 0.38), transparent 40%),
    linear-gradient(160deg, #15203a, #0b1020);
}
.tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.go {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
}
.flash-go { color: var(--gold); }
.pro-go { color: #ff6b66; }
