/* ============================================================================
   POKEYMALL — SHARED DESIGN SYSTEM
   Editorial dark system: pure-black canvas, deep-blue mesh panels, light
   "chalk" panels, hairline rules and small mono labels.

   Used by index.html and sell.html. dashboard.html stays standalone.
   ============================================================================ */

:root {
  /* --- canvas & surfaces --- */
  --ink: #000000;          /* page canvas */
  --ink-soft: #0a0b0d;     /* raised panel */
  --surface: #14161a;      /* second layer */
  --surface-line: #23262c; /* hairline */

  /* --- inverted (light) panels --- */
  --chalk: #e7e8ea;
  --chalk-ink: #0c0d0f;
  --chalk-dim: #5d6169;
  --chalk-line: #cbcdd1;

  /* --- type colours --- */
  --paper: #f4f5f7;
  --paper-dim: #b9bec6;
  --muted: #8e949d;

  /* --- accent family (sampled from the brand reference) --- */
  --blue: #3d85b4;         /* Boston Blue */
  --blue-bright: #6cc0f0;
  --blue-deep: #0a2a45;
  --dusk: #2d2d2d;
  --silver: #a0a0a0;
  --alto: #d3d3d3;

  --poke-yellow: #ffcb05;  /* brand whisper: rating stars + logo mark only */
  --poke-red: #ff6a52;     /* error state */

  --energy: linear-gradient(120deg, var(--blue) 0%, var(--blue-bright) 100%);

  /* deep-blue mesh used on feature panels */
  --mesh:
    radial-gradient(90% 70% at 12% 8%, rgba(108, 192, 240, 0.55) 0%, transparent 58%),
    radial-gradient(75% 65% at 88% 18%, rgba(61, 133, 180, 0.65) 0%, transparent 55%),
    radial-gradient(120% 100% at 50% 108%, rgba(5, 15, 26, 0.95) 0%, transparent 62%),
    linear-gradient(155deg, #0d3350 0%, #061725 100%);

  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --radius: 24px;
  --radius-sm: 14px;
  --pill: 999px;
}

/* ---- base reset ---- */
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 1.5px solid var(--blue-bright); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }

.wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---- shared editorial atoms ---- */
.lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.rule { height: 1px; background: var(--surface-line); border: none; }

/* ---- header ---- */
.site-header {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  padding: 26px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border-bottom: 1px solid var(--surface-line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--surface-line);
  border-radius: var(--pill);
  padding: 13px 20px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav-link:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---- primary button (chalk pill, reference-style) ---- */
.btn-energy {
  display: inline-block;
  border: none;
  border-radius: var(--pill);
  padding: 16px 30px;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.btn-energy:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(108, 192, 240, 0.7); }
.btn-energy:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- footer ---- */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--surface-line);
  margin-top: 96px;
  padding: 28px 32px 56px;
}
.site-footer .inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.social-icons { display: flex; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--surface-line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.icon-btn:hover { color: var(--paper); border-color: var(--paper); transform: translateY(-2px); }

@media (max-width: 620px) {
  .wrap, .site-header, .site-footer { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
