:root {
  --bg: #0b0e13;
  --elev: #12161f;
  --text: #e6e9ef;
  --muted: #a5adbb;

  --gold: #d4af37;
  --silver: #c0c7d1;

  --header-purple: #7458c2;

  --ring: #3a59ff;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(0,0,0,0.45);
  --spacing: 16px;
  --maxw: 720px;
}

html { color-scheme: only dark; }

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px var(--spacing);
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-tight {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.main-tight {
  padding-top: 12px !important;
}

.title-purple,
.gold-title,
.silver-title {
  margin: 0;
  text-align: center;
  font-size: 30px;
}

.title-purple { color: var(--header-purple); }
.gold-title   { color: var(--gold); }
.silver-title { color: var(--silver); }

/* ===== Cards / Nav ===== */

.card {
  background: var(--elev);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 8px;
}

.nav-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 8px;
  border-radius: calc(var(--radius) - 6px);
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
}

.nav-link:hover {
  background: rgba(255,255,255,0.06);
}

.nav-link .label {
  font-size: 22px;
}

.nav-link .chev {
  font-size: 20px;
  color: var(--muted);
}

.link-gold .label   { color: var(--gold); }
.link-silver .label { color: var(--silver); }

/* Touch targets */
button, a, input, select, textarea {
  touch-action: manipulation;
}

a, button {
  min-height: 44px;
  min-width: 44px;
}
