/* ============================================================================
   Sleeps 3x — Storefront theme "Ember" (v9)
   Built from scratch: warm ember calls-to-action on cool charcoal, big type,
   cards that open a kit panel, no admin-sidebar look.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: transparent;
  --bg-page: #08090c;
  --panel: #121419;
  --panel-2: #171a21;
  --panel-3: #1c2028;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* text */
  --text: #f2f5f9;
  --muted: #a3adbd;
  --dim: #6b7688;

  /* accents */
  --ember: #ff6a3d;
  --ember-2: #ff2e63;
  --ice: #5ee6ff;
  --mint: #4ade80;
  --amber: #fbbf24;
  --red: #ff5c74;

  --grad-ember: linear-gradient(135deg, #ff8a3d 0%, #ff5a3c 45%, #ff2e63 100%);
  --grad-ice: linear-gradient(135deg, #5ee6ff, #7c8bff);
  --grad-panel: linear-gradient(180deg, #151821, #0f1217);

  /* aliases other pages (checkout, success) already reference */
  --bg-card: #121419;
  --bg-input: #171a21;
  --border: rgba(255, 255, 255, 0.075);
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.14);
  --green: #4ade80;
  --green-dim: #86efac;
  --blue: #7c8bff;
  --blue-dark: #6366f1;
  --purple: #a78bfa;
  --purple-dim: #c4b5fd;
  --pink: #ff2e63;
  --radius: 18px;
  --radius-sm: 11px;
  --radius-lg: 26px;
  --grad-accent: linear-gradient(135deg, #ff8a3d 0%, #ff5a3c 45%, #ff2e63 100%);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --topbar-h: 68px;
  --wrap: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--bg-page); }

html, body {
  min-height: 100%;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.028em; font-weight: 800; }

a { color: var(--ice); text-decoration: none; }

button, input, select, textarea { font-family: var(--font); }
button { cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: rgba(255, 106, 61, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
  border-radius: 6px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); background-clip: padding-box; }

/* ---------------------------------------------------------- page backdrop */
.bg-scrim {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(80rem 44rem at 8% -12%, rgba(255, 106, 61, 0.16), transparent 58%),
    radial-gradient(66rem 40rem at 96% -6%, rgba(94, 230, 255, 0.1), transparent 60%),
    radial-gradient(60rem 34rem at 50% 112%, rgba(255, 46, 99, 0.08), transparent 62%),
    linear-gradient(180deg, rgba(8, 9, 12, 0.9), rgba(6, 7, 10, 0.96));
}

/* ------------------------------------------------------------------ topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(14px, 3vw, 34px);
  background: rgba(8, 9, 12, 0.78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  white-space: nowrap;
}
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: var(--grad-ember);
  box-shadow: 0 10px 26px -12px rgba(255, 90, 60, 0.95);
  flex-shrink: 0;
  overflow: hidden;
}
/* The crest is the logo now, not an emoji: it fills the badge and inherits
   the badge's rounded corners. */
.brand-logo > img { width: 100%; height: 100%; display: block; object-fit: cover; }

.topnav { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.topnav a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.topnav a:hover { color: #fff; background: rgba(255, 255, 255, 0.055); }
.topnav a.is-active { color: #fff; background: rgba(255, 255, 255, 0.075); }

.topbar-spacer { flex: 1; }
.topbar-right { display: flex; align-items: center; gap: 9px; }

.top-search {
  position: relative;
  width: min(280px, 26vw);
}
.top-search input {
  width: 100%;
  padding: 10px 13px 10px 36px;
  border-radius: 11px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.top-search input::placeholder { color: var(--dim); }
.top-search input:focus {
  border-color: rgba(255, 106, 61, 0.55);
  background: #10131a;
  box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.12);
}
.top-search::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7688' stroke-width='2.3' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E");
  pointer-events: none;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 11px;
  background: #5865f2;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: filter 0.16s ease, transform 0.16s ease;
  box-shadow: 0 12px 26px -16px rgba(88, 101, 242, 1);
}
.btn-discord:hover { filter: brightness(1.1); transform: translateY(-1px); }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 11px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.cart-btn:hover { border-color: var(--line-strong); background: var(--panel-3); }
.cart-btn .cart-icon { font-size: 15px; }
.cart-badge {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--grad-ember);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-badge:empty, .cart-badge[data-count="0"] { display: none; }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.menu-toggle { display: none; }

/* ------------------------------------------------------------------ layout */
.layout {
  position: relative;
  min-height: calc(100vh - var(--topbar-h));
}
.layout > * { position: relative; z-index: 1; }

.main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) clamp(14px, 3vw, 34px) 90px;
}

/* Purchases view replaces the storefront without unmounting it. */
body.show-purchases .store-view { display: none !important; }

/* Sidebar is gone from the storefront; these rules keep admin.html working. */
.sidebar { display: none; }
.sidebar-overlay { display: none; }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(22px, 3.5vw, 52px);
  align-items: center;
  padding: clamp(26px, 4vw, 52px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(48rem 22rem at 6% 0%, rgba(255, 106, 61, 0.14), transparent 62%),
    radial-gradient(42rem 20rem at 92% 8%, rgba(94, 230, 255, 0.08), transparent 64%),
    var(--grad-panel);
  overflow: hidden;
  margin-bottom: 18px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-copy { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 106, 61, 0.3);
  background: rgba(255, 106, 61, 0.1);
  color: #ffc3ae;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 0 3px rgba(110, 231, 168, 0.18);
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.85rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #fff;
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-ember);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: clamp(14px, 1.15vw, 16px);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.btn-ember {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 13px;
  background: var(--grad-ember);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 36px -18px rgba(255, 74, 60, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.btn-ember:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 24px 46px -18px rgba(255, 74, 60, 1), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-ember:active { transform: translateY(0); }

.btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.16s ease, transform 0.16s ease;
}
.btn-quiet:hover { background: rgba(255, 255, 255, 0.085); transform: translateY(-1px); }
.btn-quiet .ip { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: #d6f6ff; font-weight: 600; }

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; gap: 1px; }
.hero-stats strong { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hero-stats span { font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--dim); font-weight: 600; }

/* featured kit card in the hero */
.hero-spot {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: rgba(14, 17, 22, 0.9);
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 1);
}
.hero-spot .hs-media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: #f6f8fb;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* absolute so the image can never outgrow the fixed-ratio frame */
.hero-spot .hs-media img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
}
.hero-spot .hs-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(8, 9, 12, 0.85);
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.hero-spot .hs-body { padding: 16px 18px 18px; }
.hero-spot .hs-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 5px;
}
.hero-spot .hs-name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.hero-spot .hs-meta { font-size: 12px; color: var(--dim); margin-bottom: 14px; }
.hero-spot .hs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-spot .hs-price { display: flex; align-items: baseline; gap: 7px; }
.hero-spot .hs-now { font-size: 24px; font-weight: 900; letter-spacing: -0.04em; color: #fff; }
.hero-spot .hs-was { font-size: 13px; color: var(--dim); text-decoration: line-through; }
.hero-spot .hs-buy {
  padding: 11px 18px;
  border-radius: 11px;
  background: var(--grad-ember);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 14px 28px -16px rgba(255, 74, 60, 0.95);
  transition: transform 0.16s ease, filter 0.16s ease;
  white-space: nowrap;
}
.hero-spot .hs-buy:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* --------------------------------------------------------- promo / marquee */
.promo-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 12px 18px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 106, 61, 0.28);
  background: linear-gradient(100deg, rgba(255, 106, 61, 0.14), rgba(255, 46, 99, 0.1));
  color: #ffe4da;
  font-size: 13px;
  font-weight: 600;
}
.promo-strip b { color: #fff; font-weight: 800; }
.promo-strip .ps-right { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #ffd0c2; }

/* ------------------------------------------------------------- section head */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 30px 0 14px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 850;
  color: #fff;
  letter-spacing: -0.032em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head .sh-sub { font-size: 12.5px; color: var(--dim); margin-top: 4px; }
.section-head .sh-count {
  font-size: 11px;
  font-weight: 800;
  color: #ffd0c2;
  background: rgba(255, 106, 61, 0.14);
  border: 1px solid rgba(255, 106, 61, 0.26);
  border-radius: 99px;
  padding: 2px 9px;
}

/* ------------------------------------------------------------ category rail */
.cat-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 10px;
  margin-bottom: 6px;
}

.category-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 61, 0.4);
  background: var(--panel-2);
  box-shadow: 0 20px 36px -28px rgba(255, 106, 61, 0.8);
}
.category-card.is-active {
  border-color: rgba(255, 106, 61, 0.55);
  background: linear-gradient(135deg, rgba(255, 106, 61, 0.16), rgba(255, 46, 99, 0.08));
}
.category-card .cc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.category-card .cc-text { min-width: 0; }
.category-card .cc-name {
  font-size: 12.8px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.category-card .cc-count { font-size: 11px; color: var(--dim); }

/* ------------------------------------------------------------------ toolbar */
.store-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pills {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.pills::-webkit-scrollbar { display: none; }

.pill {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 99px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.pill:hover { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.pill.active {
  color: #fff;
  border-color: transparent;
  background: var(--grad-ember);
  box-shadow: 0 12px 26px -16px rgba(255, 74, 60, 0.95);
}

.sort-wrap { position: relative; flex-shrink: 0; }
.sort-wrap select {
  appearance: none;
  padding: 9px 32px 9px 13px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.sort-wrap::after {
  content: "▾";
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  font-size: 11px;
  pointer-events: none;
}

#cat-desc {
  color: var(--muted);
  font-size: 13px;
  max-width: 70ch;
  margin: 2px 0 8px;
  line-height: 1.6;
}

/* -------------------------------------------------------------- product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 16px;
  margin-bottom: 10px;
  scroll-margin-top: 90px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 106, 61, 0.42);
  box-shadow: 0 32px 60px -34px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 106, 61, 0.08);
}
.product-card:focus-visible { outline-offset: -2px; }

/* Kit screenshots are ~1:1, so a square frame shows the whole grid instead of
   letterboxing it into a wide stripe. */
.pc-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f4f7fa;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
/* Absolute + inset: a percentage max-height does not constrain a grid item,
   which let tall kit screenshots overflow and clip inside the frame. */
.pc-media img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}
.product-card:hover .pc-media img { transform: scale(1.06); }
.pc-media-icon { font-size: 40px; opacity: 0.9; }

.pc-type {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(8, 9, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(6px);
}
.pc-type[data-type="LIFETIME"] { color: #ffd9c9; border-color: rgba(255, 138, 61, 0.5); }
.pc-type[data-type="MONTHLY"] { color: #ffe9a8; border-color: rgba(251, 191, 36, 0.45); }
.pc-type[data-type="ONE-TIME"] { color: #b7f7d4; border-color: rgba(74, 222, 128, 0.45); }

.pc-sale {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--grad-ember);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 20px -12px rgba(255, 74, 60, 1);
}

.pc-body { display: flex; flex-direction: column; gap: 7px; padding: 13px 14px 14px; flex: 1; }

.pc-title {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.28;
}

.pc-claim {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: #ffe0a3;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-items { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.pc-items li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.pc-items li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 106, 61, 0.8);
  flex-shrink: 0;
  transform: translateY(-2px);
}
.pc-items li:nth-child(n + 4) { display: none; }
.pc-items.expanded li:nth-child(n + 4) { display: flex; }

.pc-more {
  align-self: flex-start;
  color: #ffb39a;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 0;
}
.pc-more:hover { color: #fff; }

.pc-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.pc-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.pc-price-now {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.pc-price-was {
  font-size: 12px;
  color: var(--dim);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.pc-stock {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mint);
  white-space: nowrap;
}
.pc-stock.out { color: var(--red); }

.buy-row { display: flex; gap: 7px; }

.product-card .buy {
  flex: 1;
  padding: 11px 12px;
  border-radius: 11px;
  background: var(--grad-ember);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 28px -18px rgba(255, 74, 60, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.14s ease, filter 0.14s ease;
}
.product-card .buy:hover { filter: brightness(1.06); transform: translateY(-1px); }
.product-card .buy:active { transform: translateY(0); filter: brightness(0.98); }
.product-card .buy:disabled { background: rgba(255, 255, 255, 0.07); color: var(--dim); box-shadow: none; cursor: not-allowed; transform: none; }

.product-card .add-cart {
  flex-shrink: 0;
  width: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.product-card .add-cart:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.product-card .add-cart.added { background: rgba(74, 222, 128, 0.16); border-color: rgba(74, 222, 128, 0.45); color: #bbf7d0; }

.pc-owned {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px;
  border-radius: 11px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.32);
  color: #bbf7d0;
  font-size: 12.5px;
  font-weight: 800;
}

.pc-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}
.pc-empty .ge-icon { font-size: 30px; margin-bottom: 10px; }
.pc-empty .ge-title { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.pc-empty .ge-sub { font-size: 12.5px; color: var(--dim); }

/* ------------------------------------------------------------- proof panels */
.proof-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 14px; margin-top: 24px; }
.proof-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px 18px;
}
.proof-card .pc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.proof-card .pc-head h3 { font-size: 13.5px; font-weight: 800; color: #fff; }
.proof-card .pc-head span { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.proof-list { display: flex; flex-direction: column; max-height: 300px; overflow-y: auto; }
.proof-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.proof-row:last-child { border-bottom: none; }
.proof-row img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--panel-3); flex-shrink: 0; }
.proof-rank { min-width: 22px; font-size: 12px; font-weight: 800; color: var(--dim); }
.proof-name { font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proof-amount { font-size: 11px; color: var(--mint); }

#featured-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(134px, 1fr)); gap: 9px; }
.featured-tile {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.featured-tile:hover { border-color: rgba(255, 106, 61, 0.42); transform: translateY(-2px); }
.featured-tile .ft-img {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #f4f7fa;
  border-radius: 8px;
  margin-bottom: 7px;
  padding: 6px;
  overflow: hidden;
}
.featured-tile .ft-img img {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
}
.featured-tile .ft-name { font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featured-tile .ft-meta { font-size: 10px; color: var(--dim); }

/* -------------------------------------------------------------- how it works */
.steps-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.step-card {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}
.step-card .sc-num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 900;
  color: #fff;
  background: var(--grad-ember);
  flex-shrink: 0;
  box-shadow: 0 10px 22px -14px rgba(255, 74, 60, 1);
}
.step-card h4 { font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.step-card p { font-size: 12px; color: var(--dim); line-height: 1.55; }

/* ------------------------------------------------------------------- rules */
.rules-section {
  margin-top: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.rules-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  list-style: none;
}
.rules-section summary::-webkit-details-marker { display: none; }
.rules-section summary::after {
  content: "+";
  font-size: 17px;
  color: var(--dim);
  font-weight: 400;
}
.rules-section[open] summary::after { content: "–"; }
.rules-section ul { list-style: none; padding: 0 20px 18px; }
.rules-section li {
  position: relative;
  padding: 8px 0 8px 17px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  border-bottom: 1px solid var(--line);
}
.rules-section li:last-child { border-bottom: none; }
.rules-section li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 106, 61, 0.7);
}
.rules-section li strong { color: var(--text); font-weight: 700; }

.delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(94, 230, 255, 0.2);
  background: rgba(94, 230, 255, 0.06);
  color: #c8ecf5;
  font-size: 12.5px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ footer */
.footer {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--dim);
  font-size: 11.5px;
}
.footer a { color: var(--muted); font-weight: 600; }
.footer a:hover { color: #fff; }
.footer .f-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ------------------------------------------------------------- kit modal */
.pm-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 5, 8, 0.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.pm-overlay.open { opacity: 1; pointer-events: auto; }

.pm {
  position: relative;
  width: min(880px, 100%);
  max-height: min(86vh, 780px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: #0d1015;
  overflow: hidden;
  transform: translateY(12px) scale(0.985);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 1);
}
.pm-overlay.open .pm { transform: translateY(0) scale(1); }

.pm-media {
  position: relative;
  background: #f4f7fa;
  display: grid;
  place-items: center;
  padding: 20px;
  min-height: 240px;
}
.pm-media img {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
}

.pm-body {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
  overflow-y: auto;
  gap: 12px;
  /* grid items default to min-height:auto, which defeats max-height on .pm
     and lets the body grow past the modal instead of scrolling inside it */
  min-height: 0;
}
.pm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(8, 9, 12, 0.72);
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 14px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease;
}
.pm-close:hover { background: rgba(255, 46, 99, 0.28); }

.pm-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ember);
}
.pm-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 850; color: #fff; letter-spacing: -0.035em; }
.pm-claim {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: #ffe0a3;
  font-size: 11px;
  font-weight: 700;
}
.pm-items { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.pm-items li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.pm-items li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 106, 61, 0.8);
  flex-shrink: 0;
  transform: translateY(-2px);
}
.pm-desc { font-size: 12.5px; color: var(--dim); line-height: 1.65; white-space: pre-line; }
/* Sticky so the buy row stays reachable while the kit list scrolls past. */
.pm-foot {
  position: sticky;
  bottom: 0;
  margin: auto -24px -24px;
  padding: 14px 24px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 16, 21, 0.94), #0d1015 45%);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.pm-price { display: flex; align-items: baseline; gap: 8px; }
.pm-now { font-size: 26px; font-weight: 900; letter-spacing: -0.045em; color: #fff; }
.pm-was { font-size: 13px; color: var(--dim); text-decoration: line-through; }
.pm-actions { display: flex; gap: 8px; flex: 1; justify-content: flex-end; }
.pm-buy {
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--grad-ember);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 32px -18px rgba(255, 74, 60, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}
.pm-buy:hover { transform: translateY(-1px); filter: brightness(1.06); }
.pm-add {
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.pm-add:hover { background: rgba(255, 255, 255, 0.1); }

body.pm-locked { overflow: hidden; }

/* ------------------------------------------------------------------- cart */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 4, 6, 0.7);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 201;
  width: 400px;
  max-width: 96vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #0b0d11;
  border-left: 1px solid var(--line);
  transform: translateX(103%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -40px 0 80px -40px rgba(0, 0, 0, 1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-header h3 { font-size: 15px; font-weight: 800; color: #fff; }
.cart-close {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: grid;
  place-items: center;
}
.cart-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { text-align: center; padding: 64px 16px; color: var(--dim); }
.cart-empty div:first-child { font-size: 34px; margin-bottom: 10px; }
.cart-items { display: flex; flex-direction: column; gap: 8px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-type { font-size: 10.5px; color: var(--dim); letter-spacing: 0.04em; margin-top: 2px; }
.cart-item-price { font-size: 13px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-item-remove {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: var(--dim);
  font-size: 12px;
  display: grid;
  place-items: center;
}
.cart-item-remove:hover { color: var(--red); background: rgba(255, 92, 116, 0.12); }

.cart-footer {
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(11, 13, 17, 0.95);
}
.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}
.cart-total span:last-child { font-size: 21px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--grad-ember);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 18px 36px -20px rgba(255, 74, 60, 0.95);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cart-checkout-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* ------------------------------------------------------------ mobile buy bar */
.buy-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(9, 11, 15, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.buy-bar .bb-total { font-size: 12px; color: var(--dim); }
.buy-bar .bb-total b { display: block; font-size: 17px; color: #fff; font-weight: 900; letter-spacing: -0.03em; }
.buy-bar .bb-go {
  padding: 12px 20px;
  border-radius: 11px;
  background: var(--grad-ember);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 14px 28px -18px rgba(255, 74, 60, 0.95);
}

/* -------------------------------------------------------------- login gate */
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(46rem 26rem at 50% 0%, rgba(255, 106, 61, 0.16), transparent 62%),
    rgba(4, 5, 8, 0.92);
  backdrop-filter: blur(10px);
}
.login-modal .card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  padding: 38px 30px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: var(--grad-panel);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 1);
}
.login-modal .logo {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: var(--grad-ember);
  box-shadow: 0 22px 44px -22px rgba(255, 74, 60, 1);
  overflow: hidden;
}
.login-modal .logo > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.login-modal h1 { font-size: 24px; color: #fff; margin-bottom: 8px; letter-spacing: -0.035em; }
.login-modal p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 22px; }
.login-modal .discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 22px;
  border-radius: 12px;
  background: #5865f2;
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 20px 40px -22px rgba(88, 101, 242, 1);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.login-modal .discord-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.login-modal .subtext { color: var(--dim); font-size: 11.5px; margin: 14px 0 0; }

/* ---------------------------------------------------------------- toast */
.copied-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 900;
  transform: translate(-50%, 14px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: #0d1411;
  color: #bbf7d0;
  font-size: 12.5px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.copied-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ----------------------------------------------------------- generic card */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
}
.card h1 { font-size: 21px; font-weight: 850; }
.card .subtitle { color: var(--muted); font-size: 13.5px; margin: 5px 0 18px; }

/* buttons used by checkout / admin links */
.btn { border-radius: 11px; padding: 10px 17px; font-size: 13px; font-weight: 700; transition: all 0.15s ease; }
.btn-blue, .btn-purple { background: var(--grad-ember); color: #fff; font-weight: 800; }
.btn-green { background: var(--mint); color: #06210f; font-weight: 800; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); color: var(--muted); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 6px 13px; font-size: 12px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.input, .select, .textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  outline: none;
}
.input:focus, .select:focus, .textarea:focus { border-color: rgba(255, 106, 61, 0.55); box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.12); }
.textarea { resize: vertical; min-height: 100px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .topnav { display: none; }
  .top-search { width: min(220px, 30vw); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-spot { max-width: 460px; }
  .proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --topbar-h: 60px; }
  .main { padding: 14px 13px 100px; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--panel-2);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 16px;
  }
  .brand { font-size: 15px; gap: 9px; }
  .brand-logo { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
  /* search stays visible on mobile - it sits in the store toolbar */
  .store-toolbar .search-wrap { flex: 1 1 100%; width: 100%; max-width: none; }
  .btn-discord span { display: none; }
  .btn-discord { padding: 9px 11px; }
  .cart-btn span.cart-label { display: none; }

  .hero { padding: 22px 18px; gap: 18px; border-radius: 20px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero p.lead { font-size: 13.5px; margin-bottom: 18px; }
  .hero-cta { gap: 8px; }
  .btn-ember, .btn-quiet { padding: 12px 16px; font-size: 13px; }
  .hero-stats { gap: 16px; margin-top: 20px; padding-top: 16px; }
  .hero-stats strong { font-size: 14px; }
  .hero-stats span { font-size: 9.5px; }
  .hero-spot .hs-media { aspect-ratio: 1 / 1; }
  .hero-spot .hs-body { padding: 13px 14px 14px; }
  .hero-spot .hs-now { font-size: 21px; }

  .cat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category-card { padding: 10px 11px; gap: 9px; border-radius: 12px; }
  .category-card .cc-icon { width: 30px; height: 30px; font-size: 15px; }
  .category-card .cc-name { font-size: 12px; }

  .store-toolbar { gap: 8px; }
  .sort-wrap select { font-size: 11.5px; padding: 8px 28px 8px 11px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc-body { padding: 10px 11px 11px; gap: 6px; }
  .pc-title { font-size: 13px; }
  .pc-media { padding: 9px; }
  .pc-price-now { font-size: 17px; }
  .pc-price-was { font-size: 11px; }
  .pc-items li { font-size: 11px; }
  .pc-stock { font-size: 9px; }
  .pc-type { font-size: 8px; padding: 3px 6px; }
  .pc-sale { font-size: 9px; padding: 3px 6px; }
  .product-card .buy { padding: 10px; font-size: 12px; }
  .product-card .add-cart { width: 38px; font-size: 15px; }
  .pc-claim { font-size: 9.5px; }

  .section-head { margin: 22px 0 12px; }
  .section-head h2 { font-size: 18px; }

  .steps-band { gap: 8px; }
  .step-card { padding: 13px 14px; }

  .buy-bar.show { display: flex; }

  .pm {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    max-height: 92vh;
    width: 100%;
    border-radius: 20px;
  }
  .pm-media { min-height: 190px; max-height: 250px; }
  .pm-body { padding: 16px 18px 20px; }
  .pm-foot { margin: auto -18px -20px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
  .pm-items { grid-template-columns: 1fr; }
  .pm-actions { width: 100%; justify-content: stretch; }
  .pm-buy { flex: 1; text-align: center; }
  .pm-add { flex-shrink: 0; }

  .cart-drawer { width: 100%; }
  .footer { font-size: 10.5px; }
}

@media (max-width: 560px) {
  .cat-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .promo-strip { font-size: 12px; padding: 10px 13px; }
  .promo-strip .ps-right { display: none; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
  .pc-body { padding: 12px 13px 13px; }
  .pc-title { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

@media (hover: none) and (pointer: coarse) {
  .product-card .buy, .pm-buy { min-height: 44px; }
  .pill, .category-card { min-height: 40px; }
}

/* ============================================================================
   Landing page (/) — the server comes first, the shop is one click away.
   ========================================================================== */

/* Registered so the conic gauge animates instead of jumping between polls. */
@property --deg {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.cc-host { position: relative; }

.lp-hero {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
  align-items: stretch;
}

.lp-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dim);
}
.lp-trust li { display: flex; align-items: center; gap: 7px; }

/* ------------------------------------------------------------ live card */
.live-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 19px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(23, 26, 33, 0.96), rgba(11, 13, 17, 0.97));
  box-shadow: 0 44px 90px -55px #000, inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(28rem 12rem at 50% -30%, rgba(255, 106, 61, 0.18), transparent 70%);
}
.live-card.is-stale { opacity: 0.68; filter: saturate(0.55); }

.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lc-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.lc-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07);
}
.lc-status.is-live { color: #8ef0b6; background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.3); }
.lc-status.is-live .dot { animation: lp-pulse 1.8s ease-in-out infinite; }
.lc-status.is-warn { color: #ffd7a8; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.3); }
.lc-status.is-waiting { color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
@keyframes lp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.lc-age { font-size: 11.5px; font-weight: 600; color: var(--dim); }

.lc-gauge { position: relative; display: grid; place-items: center; padding: 2px 0; }
.ring {
  --deg: 0deg;
  width: 194px;
  height: 194px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(
    from -90deg,
    #ffb066 0deg,
    #ff6a3d calc(var(--deg) * 0.55),
    #ff2e63 var(--deg),
    rgba(255, 255, 255, 0.06) var(--deg)
  );
  transition: --deg 0.9s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  box-shadow: 0 0 46px -16px rgba(255, 90, 60, 0.6);
}
.ring.is-hot { box-shadow: 0 0 58px -10px rgba(255, 46, 99, 0.8); }
.ring-in {
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  background: radial-gradient(circle at 50% 8%, #1b2029, #0a0c10 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ring-num { display: flex; align-items: baseline; gap: 3px; }
.ring-num b {
  font-size: 47px;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ring-num span { font-size: 15px; font-weight: 700; color: var(--dim); }
.ring-cap {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}

/* Nothing on yet: the gauge says UP rather than a zero that reads as dead.
   Two classes here, so this still wins inside the responsive size overrides. */
.ring.is-empty .ring-num b {
  font-size: 26px;
  letter-spacing: 0.08em;
  color: #c9f7dd;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.45);
}
.ring.is-empty .ring-num span { display: none; }
.ring.is-empty .ring-cap { color: #9fe7c0; }

.lc-delta {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.lc-delta.show { opacity: 1; transform: none; }
.lc-delta.up { color: #bbf7d0; background: rgba(74, 222, 128, 0.14); border: 1px solid rgba(74, 222, 128, 0.32); }
.lc-delta.down { color: #ffc9d2; background: rgba(255, 92, 116, 0.14); border: 1px solid rgba(255, 92, 116, 0.32); }

.lc-spark {
  position: relative;
  height: 74px;
  padding: 6px 8px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.lc-spark svg { width: 100%; height: 100%; display: block; }
.spark-axis {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}

.lc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lc-stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}
.lc-stats b { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.lc-stats span { font-size: 9.5px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--dim); font-weight: 700; }

.lc-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 10px; font-size: 12px; color: var(--muted); }
.lc-foot a { font-weight: 800; color: #ffb095; }
.lc-foot a:hover { color: #fff; }

/* --------------------------------------------------------------- facts */
.lp-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}
.lp-facts .lf {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(18, 20, 25, 0.72);
}
.lp-facts b { display: block; font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -0.03em; }
.lp-facts span { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); font-weight: 700; }

/* -------------------------------------------------------------- sections */
.lp-section { margin-top: 34px; }
.section-head .sh-link { font-size: 13px; font-weight: 800; color: #ffb095; white-space: nowrap; }
.section-head .sh-link:hover { color: #fff; }

.lp-kits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-kit {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(18, 20, 25, 0.85);
  overflow: hidden;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.lp-kit:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 34px 66px -44px #000; }
.lk-media { position: relative; aspect-ratio: 1 / 1; background: #0d1015; display: grid; place-items: center; overflow: hidden; }
.lk-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.lk-glyph { font-size: 40px; opacity: 0.8; }
.lk-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--grad-ember);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 10px 20px -12px rgba(255, 90, 60, 1);
}
.lk-body { display: flex; flex-direction: column; gap: 6px; padding: 13px 14px 15px; flex: 1; }
.lk-name { font-size: 14.5px; font-weight: 800; color: #fff; }
.lk-meta { font-size: 11.5px; color: var(--dim); flex: 1; line-height: 1.5; }
.lk-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lk-price { display: flex; align-items: baseline; gap: 6px; font-size: 17px; font-weight: 900; color: #fff; letter-spacing: -0.03em; }
.lk-price s { font-size: 12px; font-weight: 600; color: var(--dim); }
.lk-go { font-size: 12px; font-weight: 800; color: #ffb095; }
.lp-kit-skeleton {
  min-height: 258px;
  border: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  background-size: 200% 100%;
  animation: lp-shimmer 1.4s linear infinite;
}
@keyframes lp-shimmer { from { background-position: 0 0; } to { background-position: -200% 0; } }
.lp-kit-empty {
  grid-column: 1 / -1;
  padding: 26px;
  text-align: center;
  color: var(--dim);
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
}

.lp-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-why .wy { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(18, 20, 25, 0.72); }
.wy-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 12px;
  background: rgba(255, 106, 61, 0.12);
  border: 1px solid rgba(255, 106, 61, 0.28);
}
.wy h4 { font-size: 14.5px; margin-bottom: 6px; }
.wy p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ----------------------------------------------------------------- cta */
.lp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 26px clamp(20px, 3vw, 34px);
  border-radius: 24px;
  border: 1px solid rgba(255, 106, 61, 0.28);
  background:
    radial-gradient(40rem 18rem at 0% 0%, rgba(255, 106, 61, 0.18), transparent 62%),
    linear-gradient(180deg, #151821, #0f1217);
}
.lct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffc3ae;
  margin-bottom: 8px;
}
.lct-eyebrow .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 0 3px rgba(110, 231, 168, 0.18);
}
.lct-copy h2 { font-size: clamp(1.35rem, 2.4vw, 1.95rem); }
.lct-copy p { color: var(--muted); font-size: 13.5px; margin-top: 7px; max-width: 54ch; }
.lct-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lc-stack { order: -1; }    /* pop first on a phone, it's the headline */
  .lp-kits, .lp-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .lp-kits, .lp-why { grid-template-columns: 1fr; }
  .ring { width: 162px; height: 162px; }
  .ring-num b { font-size: 39px; }
  .lc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .lc-stats b { font-size: 16px; }
  .lc-stats span { font-size: 8.5px; letter-spacing: 0.08em; }
  .lp-cta { flex-direction: column; align-items: stretch; }
  .lct-actions .btn-ember, .lct-actions .btn-quiet { flex: 1; }
  .cc-host { display: none; }
}


/* ------------------------------------------------------- server cards */
/* home.js paints one card per server it is told about. One server fills the
   hero column exactly as before, two stack in it, three or more take a
   full-width row under the copy so the column never grows off the page. */
.lc-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
/* Server cards under the copy: a row, but capped so two cards don't stretch
   to 600px each and leave the ring floating in a sea of panel. */
.lc-stack.has-many {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
  gap: 14px;
  margin-top: 6px;
}
.lp-hero.has-many { grid-template-columns: minmax(0, 1fr); }

.lc-who { display: flex; align-items: center; gap: 7px; min-width: 0; flex: 1; }
.lc-name {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-tag {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ffb08a;
  background: rgba(255, 106, 61, 0.14);
  border: 1px solid rgba(255, 106, 61, 0.26);
}
.lc-who .lc-age { margin-left: auto; padding-left: 4px; white-space: nowrap; }
.lc-top .lc-status { flex: 0 0 auto; }

.lc-acts { display: flex; align-items: center; gap: 10px; }
.lc-copy {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #ffe4d6;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.lc-copy:hover { border-color: rgba(255, 138, 61, 0.5); background: rgba(255, 106, 61, 0.16); color: #fff; }
.lc-copy:focus-visible { outline: 2px solid rgba(255, 138, 61, 0.6); outline-offset: 2px; }

/* Two cards share one column, so each shrinks a little to keep the hero the
   same height it always was. */
.live-card.is-compact { gap: 11px; padding: 15px; border-radius: 20px; }
.live-card.is-compact .ring { width: 132px; height: 132px; }
.live-card.is-compact .ring-in { width: calc(100% - 18px); height: calc(100% - 18px); }
.live-card.is-compact .ring-num b { font-size: 33px; }
.live-card.is-compact .ring-num span { font-size: 12px; }
.live-card.is-compact .ring-cap { font-size: 8.5px; letter-spacing: 0.13em; }
.live-card.is-compact .lc-spark { height: 54px; padding-bottom: 15px; }
.live-card.is-compact .lc-stats > div { padding: 7px 9px; }
.live-card.is-compact .lc-stats b { font-size: 15px; }
.live-card.is-compact .lc-stats span { font-size: 8.5px; letter-spacing: 0.07em; }
.live-card.is-compact .lc-foot { font-size: 11.5px; }

@media (max-width: 620px) {
  .live-card.is-compact .ring { width: 118px; height: 118px; }
  .live-card.is-compact .ring-num b { font-size: 29px; }
}

@media (max-width: 480px) {
  .lc-who .lc-age { display: none; }
  .lc-name { max-width: 118px; }
  .lc-tag { display: none; }
}

/* ============================================================================
   v10 — "Armoury"
   What made the page read as generic: every block was the same rounded panel
   on the same charcoal, headings were Inter like every other SaaS page, and
   items with no screenshot showed a 40px emoji. This layer gives the store a
   tactical identity — a condensed display face for headings, prices and
   numbers, hairline gridwork, corner ticks that appear on hover, and real Rust
   item art for products that have no screenshot yet.
   Purely additive: checkout.html, success.html and admin.html share this file.
   ========================================================================== */

:root {
  --display: "Barlow Condensed", "Inter", "Segoe UI", system-ui, sans-serif;
  --tick-h: 34px;
}

/* --------------------------------------------------------- display type */
.brand,
.hero h1,
.section-head h2,
.lct-copy h2,
.lp-facts b,
.lk-price,
.pc-price-now,
.hs-now,
.lc-stats b,
.ring-num b,
.lc-name {
  font-family: var(--display);
  font-weight: 700;
}

.brand { text-transform: uppercase; letter-spacing: 0.05em; font-size: 20px; }

.hero h1 {
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(2.9rem, 6.2vw, 5.2rem);
  line-height: 0.84;
  letter-spacing: 0.006em;
}
.hero h1 em { letter-spacing: 0.01em; }

.section-head h2 {
  text-transform: uppercase;
  font-size: clamp(21px, 2.5vw, 29px);
  letter-spacing: 0.025em;
  font-weight: 700;
}

/* Numbers get condensed and tabular so a live count doesn't jitter as it
   ticks up and the digits stay the same width. */
.lp-facts b,
.lk-price,
.pc-price-now,
.hs-now,
.lc-stats b,
.ring-num b {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

/* ----------------------------------------------------------------- ticker */
.tick {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 106, 61, 0.12), rgba(8, 9, 12, 0.25) 42%, rgba(94, 230, 255, 0.07));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tick-track {
  display: flex;
  width: max-content;
  animation: tick-roll 46s linear infinite;
}
.tick:hover .tick-track { animation-play-state: paused; }
.tick-seq {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 9px 0;
  white-space: nowrap;
}
.tick-seq span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cdd6e3;
}
.tick-seq span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--ember);
  transform: rotate(45deg);
  opacity: 0.8;
}
.tick-seq b { color: #ffb08a; font-weight: 800; }
@keyframes tick-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tick-track { animation: none; } }

/* ------------------------------------------------------------- hero grid */
/* A faint survey grid, only visible near the top-left where the copy sits, so
   the panel reads as a map rather than a coloured box. */
.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(75% 95% at 14% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(75% 95% at 14% 0%, #000 0%, transparent 74%);
  opacity: 0.75;
}

/* ------------------------------------------------------------- fleet strip */
/* With two or more servers the copy sits above a row of cards, which left the
   right half of the headline empty. These totals fill it and are the one bit
   of information that only makes sense across servers. */
.lp-fleet { display: none; }
.lp-fleet[data-show="1"] {
  display: flex;
  max-width: 470px;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}
.lp-fleet > div { flex: 1; padding: 11px 15px 12px; border-left: 1px solid var(--line); }
.lp-fleet > div:first-child { border-left: 0; }
.lp-fleet b {
  display: block;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-bottom: 3px;
}
.lp-fleet span {
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
}

/* ------------------------------------------------------------ facts strip */
.lp-facts { counter-reset: fact; gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.lp-facts .lf {
  position: relative;
  counter-increment: fact;
  border: 0;
  border-radius: 0;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  padding: 14px 18px 15px 20px;
  transition: background 0.2s ease;
}
.lp-facts .lf:first-child { border-left: 0; }
.lp-facts .lf:hover { background: rgba(255, 106, 61, 0.07); }
.lp-facts .lf::before {
  content: "0" counter(fact);
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
  opacity: 0.75;
}
.lp-facts .lf::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.lp-facts .lf:hover::after { transform: scaleX(1); }
.lp-facts b {
  font-size: 27px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.lp-facts span { font-size: 10px; letter-spacing: 0.16em; }

/* ------------------------------------------------------- numbered sections */
.lp-section { counter-increment: sec; }
.lp main { counter-reset: sec; }
.lp-section .section-head h2::before {
  content: "0" counter(sec);
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  margin-right: 2px;
  border-radius: 5px;
  border: 1px solid rgba(255, 106, 61, 0.34);
  background: rgba(255, 106, 61, 0.1);
  color: #ffb08a;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  align-self: center;
}

/* ------------------------------------------------------------- why cards */
.wy-icon { color: #ffb08a; }
.wy-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp-why .wy {
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.lp-why .wy:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 61, 0.34);
  background: rgba(24, 26, 33, 0.9);
}
.lp-why .wy::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 106, 61, 0.7), transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lp-why .wy:hover::after { opacity: 1; }
.wy h4 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: 0.01em; }

/* ------------------------------------------------------- corner tick marks */
.lp-kit::before,
.product-card::before,
.live-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-top: 2px solid rgba(255, 138, 61, 0.6);
  border-left: 2px solid rgba(255, 138, 61, 0.6);
  border-top-left-radius: 3px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lp-kit::after,
.product-card::after,
.live-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 15px;
  height: 15px;
  border-bottom: 2px solid rgba(255, 138, 61, 0.6);
  border-right: 2px solid rgba(255, 138, 61, 0.6);
  border-bottom-right-radius: 3px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lp-kit:hover::before,
.lp-kit:hover::after,
.product-card:hover::before,
.product-card:hover::after,
.live-card:hover::before,
.live-card:hover::after { opacity: 1; }

/* ------------------------------------------------------ generated item art */
/* Products with no screenshot used to fall back to a category emoji. Instead
   the same three signatures are drawn from the kit's own contents using the
   Rust item icons the custom-kit builder already ships. */
.ka-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(58% 58% at 50% 42%, rgba(255, 106, 61, 0.18), transparent 72%),
    radial-gradient(120% 90% at 50% 120%, rgba(94, 230, 255, 0.07), transparent 70%),
    #0b0e13;
}
.ka-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 88%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 88%);
}
.ka-i {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.65));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ka-i1 { left: 3%; bottom: 6%; width: 42%; height: 42%; transform: rotate(-7deg); }
.ka-i2 { right: 3%; bottom: 6%; width: 42%; height: 42%; transform: rotate(6deg); }
.ka-i3 { left: 50%; top: 6%; width: 52%; height: 52%; transform: translateX(-50%); }
.ka-n1 .ka-i3 { width: 62%; height: 62%; top: 16%; }
.lp-kit:hover .ka-i1, .product-card:hover .ka-i1 { transform: rotate(-11deg) translateY(-4px); }
.lp-kit:hover .ka-i2, .product-card:hover .ka-i2 { transform: rotate(10deg) translateY(-4px); }
.lp-kit:hover .ka-i3, .product-card:hover .ka-i3 { transform: translateX(-50%) translateY(-5px) scale(1.04); }

/* monogram fallback when a description names nothing we can draw */
.ka-mono {
  font-family: var(--display);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.16);
  text-transform: uppercase;
}

/* ------------------------------------------------------------ kit tiles */
/* Kit screenshots are light 1:1 captures. Edge to edge they glared against the
   dark page and the four near-identical grids read as one smudge, so they sit
   inset in a frame with a little depth instead. */
.lk-media { background: radial-gradient(70% 70% at 50% 30%, rgba(255, 106, 61, 0.1), transparent 70%), #0b0e13; }
.lk-media img {
  inset: 13px;
  width: calc(100% - 26px);
  height: calc(100% - 26px);
  padding: 0;
  border-radius: 10px;
  box-shadow: 0 14px 28px -18px #000, 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-kit:hover .lk-media img { transform: scale(1.035); }
.lk-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 14, 19, 0) 55%, rgba(11, 14, 19, 0.58) 100%);
}

.lk-price { font-size: 24px; font-weight: 800; }
.lk-price s { font-family: var(--font); font-size: 12px; }
.lk-go {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid rgba(255, 138, 61, 0.34);
  background: rgba(255, 106, 61, 0.1);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.lp-kit:hover .lk-go { background: var(--grad-ember); border-color: transparent; color: #fff; }
.lk-name { font-family: var(--display); font-size: 17px; letter-spacing: 0.01em; }

/* --------------------------------------------------------- product tiles */
.pc-media img {
  border-radius: 10px;
  box-shadow: 0 14px 28px -20px #000, 0 0 0 1px rgba(255, 255, 255, 0.06);
}
/* Kit captures are light 1:1 shots of the in-game inventory. A floor gradient
   settles them into the dark card instead of floating as a bright slab, and
   keeps the type/sale chips legible where they overlap the image. */
.pc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 14, 19, 0) 62%, rgba(11, 14, 19, 0.7) 100%);
}
.pc-type, .pc-sale { z-index: 2; }

/* The featured kit on the store page sat in a near-white box, which is the
   brightest thing on the whole site. Same treatment as the tiles: dark mat. */
.hero-spot { background: rgba(12, 15, 20, 0.92); }
.hero-spot .hs-media {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(70% 70% at 50% 34%, rgba(255, 106, 61, 0.14), transparent 72%),
    #0b0e13;
}
.hero-spot .hs-media img {
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  border-radius: 12px;
  box-shadow: 0 18px 34px -22px #000, 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.pc-price-now { font-size: 26px; font-weight: 800; }
.pc-title { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: 0.012em; }
.pc-type { font-family: var(--display); letter-spacing: 0.13em; }
.pc-media { background: #0b0e13; }
.pc-claim { font-family: var(--font); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-facts .lf:nth-child(3) { border-left: 0; }
  .lp-facts .lf:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.5rem, 13vw, 3.4rem); }
  .tick-seq span { font-size: 10.5px; letter-spacing: 0.16em; padding: 0 12px; gap: 12px; }
  .lp-section .section-head h2::before { height: 20px; font-size: 11.5px; }
  .ka-mono { font-size: 42px; }
}
