/* ==========================================================================
   GAMAYUN shared design tokens — ported from gamayun-site/css/gama.css
   for cross-property use (faqs/social/radio static pages, MediaWiki
   Common.css, future WordPress theme). Colors/fonts are the official
   values from Project-Gamayun-Brand-Kit.html — not improvised.
   ========================================================================== */
:root {
  --void: #0A0A0A;
  --void-raised: #10160f;
  --phosphor: #00FF66;
  --phosphor-dim: rgba(0, 255, 102, 0.4);
  --phosphor-faint: rgba(0, 255, 102, 0.15);
  --phosphor-dim-text: #3C965F;
  --amber: #ff9500;
  --wordmark-red: #D32027;
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --font-body: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--void);
  color: var(--phosphor);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  min-height: 100%;
  font-variant-ligatures: none;
}

body { overflow-x: hidden; }

a {
  color: var(--phosphor);
  text-decoration: none;
  border-bottom: 1px solid var(--phosphor-dim);
}
a:hover, a:focus {
  color: var(--void);
  background: var(--phosphor);
  border-bottom-color: var(--phosphor);
}

input, textarea, select, button {
  background: var(--void-raised);
  color: var(--phosphor);
  border: 1px solid var(--phosphor-dim);
  font-family: var(--font-body);
}

/* Sharp corners only, no rounded corners anywhere — GAMA BIBLE spec */
* { border-radius: 0 !important; }

.crt-screen { position: relative; }
.crt-screen::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.08) 50%);
  background-size: 100% 4px;
  z-index: 9999;
  pointer-events: none;
}
.crt-screen::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 12vw rgba(0,0,0,0.4);
  z-index: 9998;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .crt-screen::before { opacity: 0.6; }
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-3);
}

.site-header {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  border-bottom: 1px solid var(--phosphor-dim);
  background: var(--void-raised);
  flex-wrap: wrap;
  gap: var(--space-2);
}
.site-header .brand {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  border-bottom: none;
}
.site-header .brand:hover { background: none; color: var(--phosphor); text-shadow: 0 0 8px var(--phosphor); }
.site-header nav a { margin-left: var(--space-3); border-bottom: none; font-size: 0.85rem; letter-spacing: 0.05em; }

h1, h2 { font-weight: normal; letter-spacing: 0.03em; }
h1 { font-size: 1.6rem; text-shadow: 0 0 2px rgba(0,255,102,0.8), 0 0 8px rgba(0,255,102,0.3); }
h2 { font-size: 1.1rem; color: var(--phosphor-dim-text); border-bottom: 1px solid var(--phosphor-faint); padding-bottom: var(--space-2); margin-top: var(--space-6); }

.card {
  border: 1px solid var(--phosphor-dim);
  background: var(--void-raised);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}

.gama-footer {
  border-top: 1px solid var(--phosphor-dim);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  font-size: 0.8rem;
  color: var(--phosphor-dim-text);
  margin-top: auto;
}
