/* ============================================================
   Plane of Knowledge — Shared Stylesheet
   All pages link to this file for the common foundation.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* ── Variables ── */
:root {
  --pok-nav-h:     32px;
  --bg-deep:       #080a0e;
  --bg-base:       #0d0f14;
  --bg-panel:      #121520;
  --bg-card:       #161923;
  --bg-card-hover: #1d2230;
  --gold-bright:   #d4a032;
  --gold-mid:      #c8922a;
  --gold-dim:      #8b6914;
  --gold-border:   #3a3018;
  --text-primary:  #ffffff;
  --text-secondary:#d0d0d0;
  --text-muted:    #8a8070;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Base ── */
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-mid); }

/* ── Site navigation bar (shown on all sub-pages) ── */
.pok-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pok-nav-h);
  z-index: 1000;
  background: var(--bg-base);
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pok-nav a {
  color: var(--gold-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.pok-nav a:hover { color: var(--gold-bright); }
.pok-nav .sep    { color: var(--gold-border); }
.pok-nav .current{ color: var(--text-muted); }

/* ── Common footer ── */
.pok-footer {
  text-align: center;
  padding: 20px 16px;
  border-top: 1px solid var(--gold-border);
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  background: var(--bg-base);
  margin-top: auto;
}
.pok-footer a { color: var(--text-muted); text-decoration: none; }
.pok-footer a:hover { color: var(--gold-dim); }
