:root {
  --bg: #07080c;
  --bg-elev: #10131a;
  --ink: #f2f4f8;
  --muted: #9aa3b2;
  --ice: #3aa7ff;
  --fire: #ff5a2a;
  --steel: #c8d0dc;
  --line: rgba(200, 208, 220, 0.14);
  --ok: #3dd68c;
  --bad: #ff5c6a;
  --font-display: "Teko", Impact, Haettenschweiler, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 15% 10%, rgba(58, 167, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 15%, rgba(255, 90, 42, 0.14), transparent 50%),
    linear-gradient(180deg, #05060a 0%, var(--bg) 40%, #0a0c12 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 12, 0.88);
  backdrop-filter: blur(10px);
}

.nav-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  width: auto;
  height: 2rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  border-bottom-color: var(--fire);
}

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-login {
  font-weight: 700;
  color: var(--ice);
  text-decoration: none;
}

.nav-login:hover {
  text-decoration: underline;
}

.nav-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(240, 193, 75, 0.4);
  background: rgba(240, 193, 75, 0.08);
  color: #f0c14b;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-gold:hover {
  border-color: rgba(240, 193, 75, 0.7);
  background: rgba(240, 193, 75, 0.14);
}

.nav-gold-ico {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f5d76e, #b8860b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  display: inline-block;
}

.btn-nav {
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem;
  font-size: 1.05rem;
}

.hero-with-nav {
  min-height: calc(100vh - 3.6rem);
  min-height: calc(100svh - 3.6rem);
}

.page-section {
  padding-top: 2.5rem;
}

.home-strip {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.home-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-point {
  display: block;
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(58, 167, 255, 0.07), transparent 50%),
    var(--bg-elev);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-point:hover {
  border-color: rgba(255, 90, 42, 0.45);
  transform: translateY(-2px);
}

.home-point h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.home-point p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

.shop-gate {
  max-width: 28rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.shop-gate p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.45;
}

.shop-gate strong {
  color: var(--ink);
}

.shop-who {
  margin: 0 0 1rem;
  color: var(--steel);
  font-weight: 600;
}

.shop-login-hint {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.shop-login-hint a {
  color: var(--ice);
  font-weight: 600;
}

.login-card {
  width: min(420px, 100%);
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.login-form input {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #12151d;
  color: var(--ink);
  font: inherit;
}

.login-form input:focus {
  outline: 1px solid rgba(58, 167, 255, 0.55);
}

@media (max-width: 800px) {
  .home-points {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0.85rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-inner {
    flex-wrap: wrap;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2.5rem 1.25rem 3rem;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(58, 167, 255, 0.08), transparent 42%, transparent 58%, rgba(255, 90, 42, 0.08)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.04), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  text-align: center;
}

.hero-logo {
  width: min(820px, 100%);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: logo-in 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--steel);
  animation: rise 0.8s ease 0.15s both;
}

.hero-lead {
  margin: 0.75rem auto 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--muted);
  animation: rise 0.8s ease 0.25s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
  animation: rise 0.8s ease 0.35s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(120deg, #d62828 0%, var(--fire) 100%);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(120deg, #ef3333 0%, #ff6a3a 100%);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(58, 167, 255, 0.55);
  color: #dcecff;
}

.btn-ghost:hover {
  border-color: var(--ice);
  background: rgba(58, 167, 255, 0.12);
}

.btn-steam {
  background: #1b2838;
  border-color: rgba(102, 192, 244, 0.35);
  color: #c7d5e0;
}

.btn-steam:hover {
  background: #2a475e;
  color: #fff;
}

.section {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0 1rem;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.gt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.gt-loading {
  margin: 0;
  color: var(--muted);
}

.gt-widget {
  background: #2a2a2a;
  border: 1px solid #1a1a1a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  overflow: hidden;
}

.gt-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.55rem;
  background: #1f1f1f;
  border-bottom: 1px solid #111;
}

.gt-flag {
  width: 1.15rem;
  height: 0.78rem;
  background:
    linear-gradient(#009c3b 0 33%, #ffdf00 33% 66%, #002776 66%);
  flex-shrink: 0;
}

.gt-bar-title {
  flex: 1;
  color: #c8c8c8;
  font-size: 0.82rem;
}

.gt-bar-ico {
  width: 0.9rem;
  height: 0.9rem;
  background: #888;
  mask: radial-gradient(circle at 50% 35%, #000 35%, transparent 36%) top / 100% 55% no-repeat,
    linear-gradient(#000, #000) bottom / 70% 40% no-repeat;
  -webkit-mask:
    radial-gradient(circle at 50% 40%, #000 28%, transparent 29%),
    linear-gradient(#000, #000);
  -webkit-mask-composite: source-over;
  opacity: 0.7;
}

.gt-body {
  padding: 0.65rem 0.7rem 0.85rem;
  background: #333;
}

.gt-hostname {
  margin: 0 0 0.45rem;
  color: #ff9a2e;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.gt-line {
  margin: 0.12rem 0;
  color: #eee;
}

.gt-lab {
  color: #fff;
  margin-right: 0.25rem;
}

.gt-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
  background: #666;
}

.gt-dot.on {
  background: #22ff55;
  box-shadow: 0 0 6px rgba(34, 255, 85, 0.55);
}

.gt-dot.off {
  background: #ff4455;
}

.gt-ip {
  color: #22ff55;
  font-weight: 700;
}

.gt-map {
  color: #ff9a2e;
  font-weight: 700;
}

.gt-mapimg {
  margin: 0.65rem 0 0.35rem;
  background: #1a1a1a;
  text-align: center;
}

.gt-mapimg img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto;
}

.gt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.65rem 0 0.75rem;
}

.gt-actions .btn {
  min-height: 2.2rem;
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
}

.gt-online-title {
  margin: 0.35rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.gt-plist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
}

.gt-plist li {
  display: grid;
  grid-template-columns: 1.4rem 1fr auto;
  gap: 0.35rem;
  padding: 0.18rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gt-num {
  color: #ddd;
}

.gt-pname {
  color: #ff9a2e;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gt-score {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.gt-empty {
  color: #999;
  grid-column: 1 / -1;
}

.shop-section {
  padding-bottom: 2rem;
}

.shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.shop-tab {
  min-height: 2.4rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-tab:hover {
  border-color: rgba(58, 167, 255, 0.45);
  color: var(--ink);
}

.shop-tab.is-active {
  border-color: rgba(255, 90, 42, 0.65);
  background: rgba(255, 90, 42, 0.12);
  color: #ffd2c2;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 1.2rem 1.2rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(58, 167, 255, 0.07), transparent 42%),
    var(--bg-elev);
  animation: rise 0.55s ease both;
  animation-delay: calc(var(--i, 0) * 60ms);
}

.shop-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--ice)), transparent);
  opacity: 0.85;
}

.shop-card--starter { --card-accent: #b08d57; }
.shop-card--pro { --card-accent: #c8d0dc; }
.shop-card--elite { --card-accent: #f0c14b; }
.shop-card--admin { --card-accent: #3aa7ff; }
.shop-card--gold-s,
.shop-card--gold-m,
.shop-card--gold-l { --card-accent: #e8b923; }

.shop-card.is-popular {
  border-color: rgba(255, 90, 42, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(255, 90, 42, 0.14),
    0 12px 36px rgba(255, 90, 42, 0.08);
}

.shop-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255, 90, 42, 0.45);
  background: rgba(255, 90, 42, 0.12);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd2c2;
}

.shop-emblem {
  position: relative;
  width: 4.6rem;
  height: 4.6rem;
  margin: 0.15rem auto 0.35rem;
  display: grid;
  place-items: center;
}

.shop-emblem-ring,
.shop-emblem-core,
.shop-emblem-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  pointer-events: none;
}

.shop-emblem-ring {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--card-accent, var(--ice)) 70%, #fff 10%);
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.25),
    0 0 22px color-mix(in srgb, var(--card-accent, var(--ice)) 35%, transparent);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--card-accent, var(--ice)) 28%, #10131a), #0a0c12 72%);
}

.shop-emblem-core {
  width: 2.55rem;
  height: 2.55rem;
  clip-path: polygon(50% 0%, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--card-accent, var(--ice)) 85%, #fff),
    color-mix(in srgb, var(--card-accent, var(--ice)) 45%, #1a1208)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.shop-emblem-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #0a0c12;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--card-accent, var(--ice)) 80%, #fff);
}

.shop-emblem--admin .shop-emblem-core {
  clip-path: polygon(50% 4%, 90% 22%, 90% 58%, 50% 96%, 10% 58%, 10% 22%);
}

.shop-emblem--gold-s .shop-emblem-core,
.shop-emblem--gold-m .shop-emblem-core,
.shop-emblem--gold-l .shop-emblem-core {
  clip-path: none;
  border-radius: 50%;
  width: 2.35rem;
  height: 2.35rem;
}

.shop-emblem--gold-m {
  transform: scale(1.06);
}
.shop-emblem--gold-l {
  transform: scale(1.14);
}

.shop-emblem-label {
  position: absolute;
  bottom: -0.15rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.05rem 0.4rem;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--ice)) 45%, transparent);
  background: rgba(7, 8, 12, 0.92);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card-accent, var(--ice)) 80%, #fff);
  white-space: nowrap;
}

.shop-card h3 {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}

.shop-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.shop-price {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 2.15rem;
  letter-spacing: 0.03em;
  color: var(--card-accent, var(--ice));
  line-height: 1;
  text-align: center;
}

.shop-qty {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
  text-align: center;
}

.shop-perks {
  margin: 0.45rem 0 0.35rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.shop-perk {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.45rem;
  align-items: start;
}

.shop-perk-ico {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
  border-radius: 2px;
  background: color-mix(in srgb, var(--card-accent, var(--fire)) 55%, #111);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
}

.shop-perk-ico::after {
  content: "";
  position: absolute;
  inset: 22%;
  background: rgba(255, 255, 255, 0.75);
  clip-path: polygon(15% 45%, 40% 70%, 85% 20%, 92% 28%, 40% 88%, 8% 52%);
}

.shop-perk--xp .shop-perk-ico { background: linear-gradient(135deg, #3aa7ff, #1a5f9e); }
.shop-perk--hero .shop-perk-ico { background: linear-gradient(135deg, #ff5a2a, #a32810); }
.shop-perk--shop .shop-perk-ico { background: linear-gradient(135deg, #f0c14b, #9a6b10); }
.shop-perk--nade .shop-perk-ico { background: linear-gradient(135deg, #3dd68c, #1a7a4a); }
.shop-perk--spec .shop-perk-ico { background: linear-gradient(135deg, #9aa3b2, #4a5564); }
.shop-perk--tag .shop-perk-ico { background: linear-gradient(135deg, #ff8a4c, #c43a12); }
.shop-perk--shield .shop-perk-ico,
.shop-perk--slot .shop-perk-ico,
.shop-perk--mod .shop-perk-ico { background: linear-gradient(135deg, #3aa7ff, #1d4f8c); }
.shop-perk--coin .shop-perk-ico { background: linear-gradient(135deg, #f5d76e, #b8860b); }

.shop-card .btn {
  margin-top: auto;
  width: 100%;
}

.shop-hint {
  margin: 1rem 0 0;
  color: var(--bad);
  font-size: 0.95rem;
}

.checkout-dialog {
  width: min(420px, calc(100% - 2rem));
  padding: 0;
  border: 1px solid var(--line);
  background: #0c0e14;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.checkout-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.checkout-panel {
  margin: 0;
}

.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.checkout-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1rem 1.15rem;
}

.checkout-body[hidden] {
  display: none !important;
}

.checkout-plan {
  margin: 0;
  color: var(--steel);
  font-weight: 600;
}

.checkout-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.checkout-body input {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #12151d;
  color: var(--ink);
  font: inherit;
}

.checkout-body input:focus {
  outline: 1px solid rgba(58, 167, 255, 0.55);
}

.checkout-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.checkout-error {
  margin: 0;
  color: var(--bad);
  font-size: 0.92rem;
}

.checkout-pay {
  width: 100%;
  margin-top: 0.35rem;
}

.checkout-qr {
  width: min(220px, 100%);
  margin: 0 auto;
  background: #fff;
  padding: 0.5rem;
}

.checkout-pixcode {
  width: 100%;
  resize: vertical;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #12151d;
  color: var(--ink);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.35;
}

.checkout-status {
  margin: 0.25rem 0 0;
  color: var(--ice);
  font-size: 0.95rem;
  text-align: center;
}

.checkout-status.is-ok {
  color: var(--ok);
}

.checkout-status.is-bad {
  color: var(--bad);
}

.checkout-ok {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ok);
  text-align: center;
}

.community-section {
  padding-bottom: 4rem;
}

.community-copy {
  max-width: 40rem;
}

.community-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.05rem;
}

.community-copy strong {
  color: var(--ink);
  font-weight: 700;
}

.community-copy .btn {
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 1.5rem;
  }
}

.profile-gate {
  max-width: 28rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.profile-gate p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.profile-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.profile-identity,
.profile-wallet,
.profile-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(58, 167, 255, 0.06), transparent 45%),
    var(--bg-elev);
  padding: 1.15rem 1.2rem;
}

.profile-wallet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.profile-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-identity h1 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.profile-sub,
.muted {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.profile-gold {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: #f0c14b;
}

.profile-wallet > .btn {
  display: inline-flex;
  margin: 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.profile-panel--wide {
  grid-column: 1 / -1;
}

.profile-panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-patent {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.profile-medal {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}

.profile-patent-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.profile-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.profile-stats div {
  border: 1px solid var(--line);
  padding: 0.55rem 0.6rem;
  background: rgba(0, 0, 0, 0.2);
}

.profile-stats dt {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-stats dd {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ice);
}

.profile-heroes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 0.65rem;
}

.profile-heroes li.muted {
  grid-column: 1 / -1;
  padding: 0.6rem 0.7rem;
  border: 1px dashed var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.4rem 0.65rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}

.profile-hero-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a1018;
}

.profile-hero-card span {
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--steel);
  word-break: break-word;
}

.profile-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (max-width: 800px) {
  .profile-hero,
  .profile-grid,
  .profile-stats {
    grid-template-columns: 1fr;
  }
}

