/* =================================================================
   PGSLOT911 — STEALTH TACTICAL · Military operator vibe
   palette: olive drab + jet black + sand + alert red + NVG green
   stencil aesthetic · sharp corners · dog-tag · tactical map
   ================================================================= */

/* ----- TOKENS ----- */
:root {
  --bg-0: #050605;
  --bg-1: #0A0E0A;
  --bg-2: #11150E;
  --bg-3: #1A1F15;
  --bg-4: #232919;

  --olive-1: #556B2F;
  --olive-2: #3E5022;
  --olive-3: #2A361A;
  --olive-4: #1A2110;

  --sand-1: #C2B280;
  --sand-2: #9F9367;
  --sand-3: #6F6648;

  --jet:   #0A0A0A;
  --alert: #A52A2A;
  --alert-2: #C92A2A;
  --nvg:   #39FF14;
  --nvg-d: #28B30E;

  --txt:   #E8E5D9;
  --txt-2: #B5AE94;
  --txt-3: #7A745F;
  --txt-4: #4F4A3D;

  --line:  rgba(194,178,128,0.18);
  --line-2: rgba(194,178,128,0.08);
  --line-3: rgba(57,255,20,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    /* tactical camo overlay */
    radial-gradient(ellipse 800px 500px at 12% 18%, rgba(85,107,47,0.22), transparent 65%),
    radial-gradient(ellipse 600px 400px at 88% 35%, rgba(42,54,26,0.30), transparent 60%),
    radial-gradient(ellipse 500px 300px at 30% 75%, rgba(26,33,16,0.4), transparent 60%),
    radial-gradient(ellipse 700px 400px at 75% 92%, rgba(85,107,47,0.18), transparent 60%),
    /* matte camo base */
    var(--bg-1);
  background-attachment: fixed;
  color: var(--txt);
  font-family: 'Mitr', 'Bai Jamjuree', system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  cursor: crosshair;
  position: relative;
}

/* subtle fabric/canvas texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    /* tactical grid */
    linear-gradient(0deg, rgba(57,255,20,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.025) 1px, transparent 1px),
    /* fine noise dots — camo */
    radial-gradient(circle at 11% 23%, rgba(194,178,128,0.04) 1px, transparent 2px),
    radial-gradient(circle at 67% 41%, rgba(85,107,47,0.05) 1px, transparent 2px),
    radial-gradient(circle at 38% 78%, rgba(194,178,128,0.04) 1px, transparent 2px);
  background-size: 60px 60px, 60px 60px, 23px 23px, 31px 31px, 47px 47px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

a { color: var(--sand-1); text-decoration: none; transition: color .15s; }
a:hover { color: var(--nvg); }

img { display: block; max-width: 100%; }

/* ----- CROSSHAIR (follows cursor) ----- */
#crosshair {
  position: fixed;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.05s linear, opacity .2s;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 6px rgba(57,255,20,0.6));
  opacity: 0.8;
}
#crosshair svg { width: 100%; height: 100%; }
#crosshair.hover-target { opacity: 1; transform: scale(1.25); }
#crosshair.hover-target circle:first-child { stroke: var(--alert); }

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.mono { font-family: 'IBM Plex Mono', 'Sarabun', 'Courier New', monospace; }
.nvg { color: var(--nvg); text-shadow: 0 0 6px rgba(57,255,20,0.4); }
.alert { color: var(--alert-2); }
.sand { color: var(--sand-1); }
.olive { color: var(--olive-1); }
.dim { color: var(--txt-3); }
.center { text-align: center; }
.right { text-align: right; }

.bracket {
  color: var(--alert);
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-weight: 400;
  font-size: 0.85em;
  padding: 0 4px;
  opacity: 0.9;
}

/* ----- LAYOUT ----- */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}
.row  { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.col  { display: flex; flex-direction: column; gap: 12px; }
.spacer-s { height: 16px; }
.spacer   { height: 32px; }
.spacer-l { height: 64px; }

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 10px 22px;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 0;
  background: var(--bg-3);
  color: var(--txt);
  cursor: crosshair;
  transition: transform .1s, background .15s, border-color .15s, box-shadow .15s;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.btn::before, .btn::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border: 1.5px solid currentColor;
  opacity: 0.6;
}
.btn::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.btn::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-alert {
  background: linear-gradient(180deg, var(--alert-2), var(--alert));
  color: #FFF;
  border-color: var(--alert);
  box-shadow:
    0 0 0 1px rgba(165,42,42,0.4),
    0 4px 14px rgba(165,42,42,0.35),
    inset 0 1px 0 rgba(255,255,255,0.18);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.btn-alert:hover {
  box-shadow:
    0 0 0 1px rgba(165,42,42,0.6),
    0 6px 20px rgba(201,42,42,0.55),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-stencil {
  background: linear-gradient(180deg, var(--olive-1), var(--olive-2));
  color: var(--sand-1);
  border-color: var(--sand-3);
  box-shadow:
    0 0 0 1px rgba(85,107,47,0.4),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -2px 6px rgba(0,0,0,0.35);
}
.btn-stencil:hover {
  background: linear-gradient(180deg, var(--olive-2), var(--olive-3));
  border-color: var(--sand-1);
  color: var(--nvg);
}

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 14px 30px; font-size: 14px; }
.btn-sm { padding: 6px 14px; font-size: 11px; }

/* ----- COMMAND BAR (top strip) ----- */
.cmd-bar {
  background: linear-gradient(90deg, var(--bg-0) 0%, var(--olive-4) 50%, var(--bg-0) 100%);
  border-bottom: 1px solid var(--line);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--txt-2);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 60;
}
.cmd-bar .container {
  padding-top: 6px;
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cmd-bar .defcon {
  color: var(--nvg);
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
}
.cmd-bar .defcon .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--nvg);
  box-shadow: 0 0 8px var(--nvg);
  animation: nvgPulse 1.5s ease-in-out infinite;
}
@keyframes nvgPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.cmd-bar .sep { color: var(--txt-4); }
.cmd-bar a { color: var(--txt-2); }
.cmd-bar a:hover { color: var(--nvg); }
.cmd-bar b { color: var(--sand-1); font-weight: 700; }

/* ----- HEADER ----- */
.hq-header {
  background:
    linear-gradient(180deg, rgba(10,14,10,0.95), rgba(17,21,14,0.92)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M0 0 L40 40 M-10 30 L30 -10 M10 50 L50 10' stroke='%23556B2F' stroke-width='0.3' opacity='0.3'/></svg>");
  border-bottom: 2px solid var(--olive-1);
  position: sticky; top: 0; z-index: 80;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.6);
}
.hq-header::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nvg), transparent);
  opacity: 0.6;
  animation: scanLine 4s linear infinite;
}
@keyframes scanLine {
  0% { transform: translateX(-30%); }
  100% { transform: translateX(30%); }
}
.hq-header .container {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; align-items: center; gap: 22px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand .dog-tag {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}
.brand .dog-tag svg { width: 100%; height: 100%; }
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-text .b1 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--sand-1);
  line-height: 1;
}
.brand-text .b1 .x {
  color: var(--alert-2);
  text-shadow: 0 0 8px rgba(165,42,42,0.4);
}
.brand-text .b2 {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--txt-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-cta {
  margin-left: auto;
  display: flex; gap: 10px; align-items: center;
}
.op-id {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-2);
  border: 1px solid var(--olive-1);
  padding: 7px 12px;
  color: var(--sand-1);
  letter-spacing: 0.04em;
}
.op-id b {
  color: var(--nvg);
  font-weight: 700;
}

/* ----- INTEL TICKER ----- */
.intel-ticker {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border-bottom: 1px solid var(--line);
  display: flex;
  overflow: hidden;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 12px;
  color: var(--txt-2);
  position: relative;
  z-index: 50;
}
.intel-ticker .prefix {
  background: var(--alert);
  color: #fff;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
}
.intel-ticker .ticker-track {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  padding: 8px 0;
}
.intel-ticker .ticker-track span {
  padding: 0 36px;
  position: relative;
}
.intel-ticker .ticker-track span:not(:last-child)::after {
  content: '◆';
  position: absolute;
  right: -4px; top: 50%; transform: translateY(-50%);
  color: var(--olive-1);
  font-size: 7px;
}
.intel-ticker .ticker-track b {
  color: var(--nvg);
  font-weight: 600;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----- TACTICAL NAV ----- */
.tac-nav {
  background:
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}
.tac-nav .container {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 0;
}
.tac-nav a {
  flex: 1;
  min-width: 110px;
  padding: 14px 16px 12px;
  text-align: center;
  border-right: 1px dashed var(--line);
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--txt);
  transition: background .15s, color .15s;
  position: relative;
  text-decoration: none;
}
.tac-nav a:last-child { border-right: none; }
.tac-nav a .ico {
  display: block;
  font-size: 16px;
  color: var(--olive-1);
  margin-bottom: 2px;
  font-family: 'Sarabun', monospace;
}
.tac-nav a small {
  display: block;
  font-family: 'Mitr', sans-serif;
  font-weight: 400;
  font-size: 10.5px;
  color: var(--txt-3);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 2px;
  opacity: 0.85;
}
.tac-nav a:hover {
  background: rgba(57,255,20,0.06);
  color: var(--nvg);
}
.tac-nav a:hover .ico { color: var(--nvg); }
.tac-nav a.active {
  background: linear-gradient(180deg, rgba(165,42,42,0.18), rgba(85,107,47,0.06));
  color: var(--nvg);
  border-bottom: 2px solid var(--alert);
}
.tac-nav a.active::before {
  content: '►';
  position: absolute;
  top: 4px; left: 6px;
  font-size: 8px;
  color: var(--alert);
}
.tac-nav a.active .ico { color: var(--nvg); }

/* ----- PROMO STRIP ----- */
.promo-strip {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(165,42,42,0.10) 0,
      rgba(165,42,42,0.10) 14px,
      rgba(85,107,47,0.10) 14px,
      rgba(85,107,47,0.10) 28px
    ),
    var(--bg-1);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  position: relative;
  z-index: 30;
}
.promo-strip .container {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: 'Mitr', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--txt);
}
.promo-strip code {
  background: var(--bg-3);
  border: 1px solid var(--olive-1);
  color: var(--nvg);
  padding: 2px 8px;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-weight: 600;
}
.promo-strip .msg b { color: var(--sand-1); font-weight: 700; }

/* ----- CLASSIFIED STAMP ----- */
.stamp, .stamp-mini {
  display: inline-block;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border: 2px solid;
  text-transform: uppercase;
  transform: rotate(-3deg);
  position: relative;
  background: rgba(0,0,0,0.4);
}
.stamp::before {
  content: '';
  position: absolute;
  inset: 2px;
  border: 1px solid currentColor;
  opacity: 0.5;
  pointer-events: none;
}
.stamp-mini {
  font-size: 9px;
  padding: 3px 6px;
  letter-spacing: 0.08em;
  border-width: 1.5px;
  transform: rotate(-5deg);
  background: rgba(0,0,0,0.55);
}
.stamp[data-stamp="ENGAGED"], .stamp-mini[data-stamp="ENGAGED"] {
  color: var(--alert-2);
  border-color: var(--alert);
  text-shadow: 0 0 4px rgba(201,42,42,0.4);
}
.stamp[data-stamp="CLEARED"], .stamp-mini[data-stamp="CLEARED"] {
  color: var(--nvg);
  border-color: var(--nvg-d);
  text-shadow: 0 0 4px rgba(57,255,20,0.4);
}
.stamp[data-stamp="BREACHED"], .stamp-mini[data-stamp="BREACHED"] {
  color: var(--sand-1);
  border-color: var(--sand-2);
  text-shadow: 0 0 4px rgba(194,178,128,0.4);
}

/* ----- MAIN ----- */
main {
  padding: 24px 0 80px;
  position: relative;
  z-index: 1;
}
section[data-page] { display: none; }
section[data-page].show {
  display: block;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

h1.page-title {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 36px;
  color: var(--sand-1);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-shadow: 2px 2px 0 var(--olive-3), 4px 4px 12px rgba(0,0,0,0.5);
}
.page-sub {
  color: var(--txt-2);
  margin-bottom: 28px;
  border-left: 3px solid var(--olive-1);
  padding-left: 12px;
}

/* ----- HERO (briefing) ----- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--bg-0) 0%, var(--olive-4) 50%, var(--bg-0) 100%);
  border: 1px solid var(--olive-1);
  margin-bottom: 32px;
  overflow: hidden;
  min-height: 480px;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid var(--alert);
  z-index: 5;
}
.hero::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.hero::after { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* tactical map background */
.tac-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, rgba(57,255,20,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.topo {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 60%, transparent 60px, rgba(85,107,47,0.16) 61px, transparent 70px),
    radial-gradient(circle at 20% 60%, transparent 100px, rgba(85,107,47,0.13) 101px, transparent 110px),
    radial-gradient(circle at 20% 60%, transparent 150px, rgba(85,107,47,0.10) 151px, transparent 160px),
    radial-gradient(circle at 78% 30%, transparent 80px, rgba(194,178,128,0.10) 81px, transparent 90px),
    radial-gradient(circle at 78% 30%, transparent 130px, rgba(194,178,128,0.08) 131px, transparent 140px),
    radial-gradient(circle at 78% 30%, transparent 180px, rgba(194,178,128,0.06) 181px, transparent 190px);
  opacity: 0.7;
}
.coord {
  position: absolute;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 10px;
  color: var(--nvg);
  letter-spacing: 0.05em;
  opacity: 0.7;
  text-shadow: 0 0 6px rgba(57,255,20,0.4);
}
.coord.top-left { top: 14px; left: 14px; }
.coord.top-right { top: 14px; right: 14px; }
.coord.bot-left { bottom: 14px; left: 14px; }
.coord.bot-right { bottom: 14px; right: 14px; }
.hostile {
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--alert);
  border-radius: 50%;
  background: rgba(165,42,42,0.4);
  box-shadow: 0 0 12px var(--alert);
  animation: hostilePulse 2s ease-in-out infinite;
}
.hostile::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--alert);
  border-radius: 50%;
  opacity: 0;
  animation: hostileRing 2s ease-out infinite;
}
@keyframes hostilePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes hostileRing {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.big-crosshair {
  position: absolute;
  top: 50%; right: 8%;
  transform: translateY(-50%);
  width: 200px; height: 200px;
  opacity: 0.4;
  pointer-events: none;
  animation: crosshairSpin 60s linear infinite;
}
.big-crosshair svg { width: 100%; height: 100%; }
@keyframes crosshairSpin {
  100% { transform: translateY(-50%) rotate(360deg); }
}

.hero-body {
  position: relative;
  z-index: 3;
  padding: 42px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  min-height: 480px;
  align-items: center;
}
.hero-text { max-width: 620px; }
.eyebrow {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--nvg);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero-title {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 86px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--sand-1);
  margin-bottom: 18px;
  text-shadow:
    3px 3px 0 var(--alert),
    6px 6px 0 var(--olive-3),
    8px 8px 16px rgba(0,0,0,0.7);
}
.hero-title .blink {
  color: var(--nvg);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
.hero-sub {
  font-family: 'Mitr', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--txt);
  margin-bottom: 24px;
  max-width: 580px;
}
.hero-sub b { color: var(--sand-1); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  display: grid;
  grid-template-rows: repeat(4, auto);
  gap: 10px;
  align-content: start;
  background: rgba(10,10,10,0.65);
  border: 1px solid var(--olive-1);
  padding: 18px 22px;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  min-width: 200px;
  position: relative;
}
.hero-meta::before, .hero-meta::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--nvg);
  opacity: 0.7;
}
.hero-meta::before { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.hero-meta::after { bottom: 4px; right: 4px; border-left: none; border-top: none; }
.hero-meta .m {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 6px;
  font-size: 12px;
}
.hero-meta .m:last-child { border-bottom: none; padding-bottom: 0; }
.hero-meta .l {
  color: var(--txt-3);
  letter-spacing: 0.08em;
  font-weight: 500;
}
.hero-meta .v {
  color: var(--sand-1);
  font-weight: 700;
}

/* ----- DEFCON STATUS BAR ----- */
.defcon-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.d-card {
  background:
    linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--olive-1);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.d-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--alert), var(--olive-1));
}
.d-card::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  top: 4px; right: 4px;
  border: 1px solid var(--nvg);
  border-left: none; border-bottom: none;
  opacity: 0.6;
}
.d-icon {
  width: 50px; height: 50px;
  background: rgba(85,107,47,0.18);
  border: 1px solid var(--olive-1);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--sand-1);
  flex-shrink: 0;
  font-family: 'Sarabun', monospace;
  font-weight: 700;
}
.d-icon.nvg { color: var(--nvg); border-color: var(--nvg-d); background: rgba(57,255,20,0.08); text-shadow: 0 0 8px var(--nvg); }
.d-icon.alert { color: var(--alert-2); border-color: var(--alert); background: rgba(165,42,42,0.12); }
.d-icon.sand { color: var(--sand-1); }
.d-card .num {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-weight: 700;
  font-size: 22px;
  color: var(--sand-1);
  line-height: 1;
  letter-spacing: 0.02em;
}
.d-card .lab {
  color: var(--txt-3);
  font-size: 10.5px;
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----- SECTION HEADER ----- */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 14px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--sand-1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sec-head .more,
.sec-head .sec-meta {
  color: var(--txt-3);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sec-head .more { color: var(--nvg); cursor: pointer; }
.sec-head .more:hover { text-decoration: underline; }

/* ----- MISSION/CATEGORY GRID ----- */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.ops-card {
  background:
    linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--olive-1);
  padding: 22px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--txt);
  position: relative;
  overflow: hidden;
  transition: transform .15s, border-color .15s, background .15s;
}
.ops-card::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--line);
  pointer-events: none;
}
.ops-card:hover {
  transform: translateY(-3px);
  border-color: var(--nvg);
  background: linear-gradient(160deg, var(--bg-3), var(--olive-4));
}
.ops-card:hover .emoji { color: var(--nvg); transform: scale(1.1); }
.ops-card .op-num {
  position: absolute;
  top: 6px; left: 8px;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 10px;
  color: var(--alert);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ops-card .stamp-mini {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
}
.ops-card .emoji {
  font-size: 38px;
  display: block;
  margin: 6px 0 8px;
  color: var(--sand-1);
  font-family: 'Sarabun', monospace;
  font-weight: 700;
  transition: transform .15s, color .15s;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}
.ops-card h3 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 16px;
  color: var(--nvg);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.ops-card .th {
  font-family: 'Mitr', sans-serif;
  font-size: 12px;
  color: var(--txt);
  margin-bottom: 4px;
}
.ops-card .meta {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 10.5px;
  color: var(--txt-3);
}

/* ----- MISSION BRIEFING CARDS ----- */
.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.brief-card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1.5px solid var(--olive-1);
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.brief-card::before, .brief-card::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--alert);
  z-index: 2;
}
.brief-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.brief-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.brief-card.sand { border-color: var(--sand-2); }
.brief-card.sand::before, .brief-card.sand::after { border-color: var(--sand-1); }
.brief-card.alert {
  border-color: var(--alert);
  box-shadow: 0 0 22px rgba(165,42,42,0.18);
}
.brief-head {
  background: linear-gradient(180deg, var(--olive-2), var(--olive-3));
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px dashed var(--line);
}
.brief-card.alert .brief-head {
  background: linear-gradient(180deg, var(--alert), var(--olive-3));
}
.brief-id { color: var(--nvg); }
.brief-class { color: var(--sand-1); }
.brief-card h3 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 19px;
  letter-spacing: 0.03em;
  color: var(--sand-1);
  padding: 16px 18px 12px;
  border-bottom: 1px dashed var(--line);
  text-shadow: 1px 1px 0 var(--olive-3);
}
.brief-body {
  padding: 12px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 12.5px;
}
.bf-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line-2);
}
.bf-row:last-child { border-bottom: none; }
.bf-l {
  color: var(--txt-3);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  font-weight: 600;
}
.bf-v {
  color: var(--txt);
  font-weight: 600;
  text-align: right;
}
.bf-v.nvg { color: var(--nvg); }
.bf-v.alert { color: var(--alert-2); }
.brief-card .btn {
  margin: 0 18px 18px;
}

/* ----- WEAPON / GAME CARDS ----- */
.weap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.weap-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.weap-card {
  background: var(--bg-2);
  border: 1px solid var(--olive-1);
  overflow: hidden;
  position: relative;
  transition: transform .12s, border-color .15s, box-shadow .15s;
}
.weap-card::before, .weap-card::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border: 1px solid var(--sand-1);
  z-index: 2;
  opacity: 0.5;
}
.weap-card::before { top: 2px; left: 2px; border-right: none; border-bottom: none; }
.weap-card::after { bottom: 2px; right: 2px; border-left: none; border-top: none; }
.weap-card:hover {
  transform: translateY(-2px);
  border-color: var(--nvg);
  box-shadow: 0 6px 16px rgba(57,255,20,0.15), 0 0 0 1px var(--nvg-d);
}
.weap-card .thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--olive-1);
  filter: brightness(0.9) contrast(1.1) saturate(0.85);
}
.weap-card.large .thumb {
  aspect-ratio: 3 / 4;
}
.weap-card .body { padding: 10px 12px 12px; }
.weap-card h4 {
  font-family: 'Mitr', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--sand-1);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.weap-card .meta {
  color: var(--txt-3);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 10.5px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.weap-card .play-btn {
  width: 100%;
  padding: 7px 10px;
  background: linear-gradient(180deg, var(--olive-1), var(--olive-2));
  color: var(--sand-1);
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  border: 1px solid var(--sand-3);
  cursor: crosshair;
  transition: background .15s, color .15s;
  text-transform: uppercase;
}
.weap-card .play-btn:hover {
  background: linear-gradient(180deg, var(--alert), var(--olive-2));
  color: #fff;
  border-color: var(--alert);
}
.weap-card .tag {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--alert);
  color: #fff;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 9px;
  font-weight: 400;
  padding: 3px 8px;
  letter-spacing: 0.08em;
  z-index: 3;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.weap-card .tag.nvg { background: var(--nvg-d); color: #0A0A0A; text-shadow: none; }
.weap-card .tag.sand { background: var(--sand-2); color: #0A0A0A; text-shadow: none; }
.weap-card .provider-tag {
  position: absolute;
  top: 6px; right: 6px;
  background: rgba(0,0,0,0.85);
  border: 1px solid var(--olive-1);
  color: var(--nvg);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 3;
}

/* ----- LIVE COMM CARDS (casino) ----- */
.comm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.comm-card {
  background: var(--bg-2);
  border: 1px solid var(--olive-1);
  overflow: hidden;
  position: relative;
}
.comm-card::before, .comm-card::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--nvg);
  z-index: 2;
  opacity: 0.6;
}
.comm-card::before { top: 2px; left: 2px; border-right: none; border-bottom: none; }
.comm-card::after { bottom: 2px; right: 2px; border-left: none; border-top: none; }
.comm-card .thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.9) contrast(1.05);
  border-bottom: 1px solid var(--olive-1);
}
.comm-card .live-stamp {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--alert);
  color: #fff;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(165,42,42,0.5);
  text-transform: uppercase;
}
.comm-card .body { padding: 12px 14px; }
.comm-card h4 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 14px;
  color: var(--sand-1);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.comm-card .info {
  color: var(--txt-2);
  font-size: 12px;
  margin: 4px 0;
}
.comm-card .info strong {
  color: var(--nvg);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-weight: 700;
}
.comm-card .info.mono {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11px;
  color: var(--txt-3);
}

/* ----- TACTICAL TABLE ----- */
table.tac-tbl {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-2);
  border: 1px solid var(--olive-1);
  font-family: 'Mitr', sans-serif;
  font-size: 13px;
  margin-bottom: 28px;
  position: relative;
}
table.tac-tbl th, table.tac-tbl td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px dashed var(--line);
}
table.tac-tbl th {
  background: linear-gradient(180deg, var(--olive-2), var(--olive-3));
  color: var(--sand-1);
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--alert);
}
table.tac-tbl tr:last-child td { border-bottom: none; }
table.tac-tbl tr:hover td { background: rgba(57,255,20,0.04); }
table.tac-tbl td.mono { font-family: 'IBM Plex Mono', 'Sarabun', monospace; }
table.tac-tbl td .amt { color: var(--nvg); }

.odds-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 7px 10px;
  background: var(--bg-3);
  border: 1px solid var(--olive-1);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--sand-1);
  cursor: crosshair;
  transition: all .12s;
}
.odds-btn:hover {
  background: var(--alert);
  color: #fff;
  border-color: var(--alert);
  transform: translateY(-1px);
}
.odds-btn.selected {
  background: var(--nvg-d);
  color: #0A0A0A;
  border-color: var(--nvg);
}
.odds-btn small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  margin-top: 1px;
}

.live-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--alert);
  color: #fff;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  margin-left: 6px;
  text-transform: uppercase;
}

/* ----- TARGETS / LOTTERY ----- */
.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.target-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(165,42,42,0.18), transparent 50%),
    linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--olive-1);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.target-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--olive-1), var(--alert), var(--nvg));
  opacity: 0.6;
}
.target-card .flag-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--nvg);
  background: rgba(57,255,20,0.08);
  border: 1px solid var(--nvg-d);
  padding: 3px 8px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.target-card h4 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 18px;
  color: var(--sand-1);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.target-card .next {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11px;
  color: var(--txt-3);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.countdown {
  display: flex;
  gap: 6px;
  margin: 10px 0 12px;
}
.countdown .unit {
  background: var(--bg-1);
  border: 1px solid var(--olive-1);
  padding: 7px 0;
  text-align: center;
  flex: 1;
  position: relative;
}
.countdown .unit::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--alert);
}
.countdown .unit::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 4px; height: 4px;
  background: var(--nvg);
}
.countdown .num {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--nvg);
  line-height: 1;
  text-shadow: 0 0 8px rgba(57,255,20,0.4);
}
.countdown .lab {
  font-size: 10px;
  color: var(--txt-3);
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.target-card .last {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11.5px;
  color: var(--txt-2);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.target-card .last .num {
  background: var(--bg-1);
  border: 1px solid var(--alert);
  color: var(--alert-2);
  padding: 2px 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ----- RADAR FEED ----- */
.radar-feed {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  background:
    linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--olive-1);
  padding: 22px 24px;
  margin-bottom: 36px;
  position: relative;
}
.radar-feed::before, .radar-feed::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--nvg);
  opacity: 0.5;
}
.radar-feed::before { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.radar-feed::after { bottom: 4px; right: 4px; border-left: none; border-top: none; }

.radar-disc {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(57,255,20,0.05) 0%, rgba(10,10,10,0.95) 100%);
  border: 2px solid var(--nvg-d);
  box-shadow:
    inset 0 0 30px rgba(57,255,20,0.15),
    0 0 30px rgba(57,255,20,0.2);
  overflow: hidden;
  align-self: center;
  justify-self: center;
}
.radar-rings {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, transparent 30px, rgba(57,255,20,0.18) 31px, transparent 33px),
    radial-gradient(circle, transparent 60px, rgba(57,255,20,0.18) 61px, transparent 63px),
    radial-gradient(circle, transparent 90px, rgba(57,255,20,0.18) 91px, transparent 93px),
    /* crosshair lines */
    linear-gradient(0deg, transparent 49%, rgba(57,255,20,0.18) 49%, rgba(57,255,20,0.18) 51%, transparent 51%),
    linear-gradient(90deg, transparent 49%, rgba(57,255,20,0.18) 49%, rgba(57,255,20,0.18) 51%, transparent 51%);
  border-radius: 50%;
}
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(57,255,20,0.55) 0deg,
    rgba(57,255,20,0.4) 8deg,
    rgba(57,255,20,0.18) 24deg,
    transparent 60deg,
    transparent 360deg
  );
  animation: radarSpin 4s linear infinite;
}
@keyframes radarSpin {
  100% { transform: rotate(360deg); }
}
.radar-blip {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--nvg);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--nvg);
  animation: blipFade 4s linear infinite;
}
.radar-blip:nth-child(2) { animation-delay: 0.6s; }
.radar-blip:nth-child(3) { animation-delay: 1.2s; }
.radar-blip:nth-child(4) { animation-delay: 1.8s; }
.radar-blip:nth-child(5) { animation-delay: 2.4s; }
@keyframes blipFade {
  0% { opacity: 1; transform: scale(1); }
  20% { opacity: 0.6; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(0.5); }
}
.radar-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: var(--alert);
  font-family: 'Sarabun', monospace;
  font-weight: 700;
  text-shadow: 0 0 8px var(--alert);
  z-index: 2;
}

.radar-list table {
  width: 100%;
  font-size: 12.5px;
}
.radar-list th, .radar-list td {
  padding: 7px 8px;
  text-align: left;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
}
.radar-list th {
  color: var(--txt-3);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--olive-1);
  letter-spacing: 0.06em;
}
.radar-list td {
  border-bottom: 1px dashed var(--line-2);
}
.radar-list b { color: var(--nvg); font-weight: 700; }
.radar-list .amt { color: var(--sand-1); font-weight: 700; }
.radar-list .nvg { color: var(--nvg); }
.radar-list .new-row {
  animation: radarFlash 1.5s ease;
}
@keyframes radarFlash {
  0% { background: rgba(57,255,20,0.25); }
  100% { background: transparent; }
}

/* ----- DEALER WALL ----- */
.dealer-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.dealer-tag {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--olive-1);
  color: var(--sand-1);
  padding: 8px 16px;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .12s;
  display: inline-block;
}
.dealer-tag:hover {
  background: var(--olive-2);
  border-color: var(--nvg);
  color: var(--nvg);
}

/* ----- BANK WALL ----- */
.bank-wall {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.bank {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--olive-1);
  padding: 14px 8px 12px;
  text-align: center;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sand-1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.bank::before, .bank::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border: 1px solid var(--nvg);
  opacity: 0.5;
}
.bank::before { top: 2px; left: 2px; border-right: none; border-bottom: none; }
.bank::after { bottom: 2px; right: 2px; border-left: none; border-top: none; }
.bank .bar {
  width: 100%;
  height: 3px;
  margin-bottom: 6px;
}
.bank small {
  font-family: 'Mitr', sans-serif;
  font-size: 10.5px;
  color: var(--txt-3);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* ===================================================================
   BANK TRIGGER · INITIATE TRANSFER
   replaces inline bank-wall on briefing page
   =================================================================== */
.bank-trigger-wrap {
  margin-bottom: 12px;
}
.bank-trigger {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    repeating-linear-gradient(135deg,
      rgba(57,255,20,0.06) 0,
      rgba(57,255,20,0.06) 18px,
      rgba(85,107,47,0.10) 18px,
      rgba(85,107,47,0.10) 36px),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 2.5px dashed var(--nvg-d);
  color: var(--nvg);
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 30px 28px 28px;
  cursor: crosshair;
  text-transform: uppercase;
  position: relative;
  transition: background .2s, border-color .15s, box-shadow .2s, color .2s, transform .15s;
  text-shadow: 0 0 8px rgba(57,255,20,0.3);
  text-align: center;
}
.bank-trigger .bt-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 3px solid var(--alert);
  pointer-events: none;
}
.bank-trigger .bt-corner.tl { top: -3px; left: -3px; border-right: none; border-bottom: none; }
.bank-trigger .bt-corner.tr { top: -3px; right: -3px; border-left: none; border-bottom: none; }
.bank-trigger .bt-corner.bl { bottom: -3px; left: -3px; border-right: none; border-top: none; }
.bank-trigger .bt-corner.br { bottom: -3px; right: -3px; border-left: none; border-top: none; }
.bank-trigger .bt-prefix {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11.5px;
  color: var(--alert-2);
  letter-spacing: 0.12em;
  display: block;
  text-shadow: 0 0 6px rgba(165,42,42,0.4);
}
.bank-trigger .bt-label {
  font-size: 36px;
  letter-spacing: 0.1em;
  display: block;
  line-height: 1;
  text-shadow:
    2px 2px 0 var(--olive-3),
    4px 4px 0 var(--alert-2),
    0 0 18px rgba(57,255,20,0.5);
}
.bank-trigger .bt-sub {
  font-family: 'Mitr', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--txt-2);
  margin-top: 4px;
  text-transform: none;
  text-shadow: none;
}
.bank-trigger .bt-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11px;
  color: var(--sand-1);
  letter-spacing: 0.06em;
  text-shadow: none;
}
.bank-trigger .bt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(57,255,20,0.10);
  border: 1px solid var(--nvg-d);
  color: var(--nvg);
  padding: 4px 10px;
}
.bank-trigger .bt-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--nvg);
  box-shadow: 0 0 8px var(--nvg);
  animation: nvgPulse 1.5s ease-in-out infinite;
}
.bank-trigger .bt-arrow {
  color: var(--alert-2);
  letter-spacing: 0.1em;
  animation: btArrow 1.4s ease-in-out infinite;
}
@keyframes btArrow {
  0%, 100% { transform: translateX(0); opacity: 0.85; }
  50%      { transform: translateX(4px); opacity: 1; }
}
.bank-trigger:hover {
  border-color: var(--nvg);
  transform: translateY(-2px);
  background:
    repeating-linear-gradient(135deg,
      rgba(57,255,20,0.14) 0,
      rgba(57,255,20,0.14) 18px,
      rgba(85,107,47,0.16) 18px,
      rgba(85,107,47,0.16) 36px),
    linear-gradient(180deg, var(--bg-3), var(--olive-4));
  box-shadow:
    0 0 0 1px var(--nvg-d),
    0 0 32px rgba(57,255,20,0.24),
    inset 0 0 24px rgba(57,255,20,0.08);
}
.bank-trigger:active { transform: translateY(0); }


/* ===================================================================
   BANK MODAL · [CLASSIFIED] FUND ROUTES
   =================================================================== */
.bank-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.bank-modal[aria-hidden="false"] {
  display: flex;
  animation: bm-fade .25s ease;
}
@keyframes bm-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.bm-locked { overflow: hidden; }

.bank-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(85,107,47,0.42), transparent 60%),
    radial-gradient(ellipse at 75% 70%, rgba(165,42,42,0.20), transparent 60%),
    rgba(5,6,5,0.90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: crosshair;
}
.bank-modal-backdrop::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, rgba(57,255,20,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.bank-modal-dialog {
  position: relative;
  width: min(1080px, 96vw);
  max-height: 92vh;
  background:
    /* tactical map texture: rings + camo */
    radial-gradient(circle at 18% 70%, transparent 70px, rgba(85,107,47,0.10) 71px, transparent 80px),
    radial-gradient(circle at 18% 70%, transparent 120px, rgba(85,107,47,0.07) 121px, transparent 130px),
    radial-gradient(circle at 18% 70%, transparent 170px, rgba(85,107,47,0.04) 171px, transparent 180px),
    radial-gradient(circle at 82% 25%, transparent 90px, rgba(194,178,128,0.07) 91px, transparent 100px),
    radial-gradient(circle at 82% 25%, transparent 150px, rgba(194,178,128,0.04) 151px, transparent 160px),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1.5px solid var(--olive-1);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(57,255,20,0.08),
    inset 0 0 0 1px rgba(0,0,0,0.4);
  overflow: hidden;
  animation: bm-slide .3s cubic-bezier(.2,.7,.3,1.1);
}
@keyframes bm-slide {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.bank-modal-dialog::before,
.bank-modal-dialog::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border: 2.5px solid var(--alert);
  z-index: 5;
  pointer-events: none;
}
.bank-modal-dialog::before {
  top: 4px; left: 4px;
  border-right: none; border-bottom: none;
}
.bank-modal-dialog::after {
  bottom: 4px; right: 4px;
  border-left: none; border-top: none;
}

/* ----- HEADER ----- */
.bank-modal-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(180deg, var(--olive-3), var(--bg-2));
  border-bottom: 1px dashed var(--line);
  flex-wrap: wrap;
}
.bank-modal-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nvg), transparent);
  opacity: 0.5;
  animation: scanLine 5s linear infinite;
}
.bm-id {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.opsec-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--alert);
  color: #fff;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border: 1.5px solid var(--alert);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  box-shadow:
    0 0 0 1px rgba(165,42,42,0.4),
    0 0 14px rgba(201,42,42,0.45);
  text-transform: uppercase;
  animation: opsecPulse 2.4s ease-in-out infinite;
}
@keyframes opsecPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(165,42,42,0.4), 0 0 14px rgba(201,42,42,0.45); }
  50%      { box-shadow: 0 0 0 1px rgba(165,42,42,0.6), 0 0 22px rgba(201,42,42,0.7); }
}
.bank-modal-header h3 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--sand-1);
  text-shadow: 1px 1px 0 var(--olive-4), 2px 2px 6px rgba(0,0,0,0.5);
  margin: 0;
}
.bm-close {
  background: var(--bg-1);
  color: var(--alert-2);
  border: 1.5px solid var(--alert);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 18px;
  cursor: crosshair;
  transition: background .15s, color .15s, transform .12s;
  position: relative;
  line-height: 1;
}
.bm-close::before, .bm-close::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border: 1.5px solid currentColor;
}
.bm-close::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.bm-close::after  { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.bm-close small {
  font-size: 8px;
  letter-spacing: 0.1em;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  color: var(--txt-3);
  margin-top: 3px;
}
.bm-close:hover {
  background: var(--alert);
  color: #fff;
  transform: scale(1.05);
}
.bm-close:hover small { color: rgba(255,255,255,0.85); }

/* ----- META BAR ----- */
.bank-modal-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 11px 24px;
  background: var(--bg-1);
  border-bottom: 1px dashed var(--line);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11.5px;
  color: var(--txt-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bank-modal-meta b { color: var(--txt-3); font-weight: 600; }
.bank-modal-meta em { font-style: normal; color: var(--sand-1); font-weight: 700; }
.bank-modal-meta em.nvg { color: var(--nvg); text-shadow: 0 0 4px rgba(57,255,20,0.4); }
.bank-modal-meta .sep { color: var(--olive-1); }
.bank-modal-meta .bm-tab {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, var(--olive-2), var(--olive-3));
  color: var(--sand-1);
  border: 1px solid var(--sand-3);
  padding: 5px 12px;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  position: relative;
}
.bank-modal-meta .bm-tab.active {
  color: var(--nvg);
  border-color: var(--nvg-d);
  text-shadow: 0 0 6px rgba(57,255,20,0.4);
  box-shadow: 0 0 0 1px rgba(57,255,20,0.25), inset 0 0 8px rgba(57,255,20,0.08);
}

/* ----- 4×2 GRID ----- */
.bank-modal-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 24px 18px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--olive-1) var(--bg-1);
}
.bank-modal-grid::-webkit-scrollbar { width: 8px; }
.bank-modal-grid::-webkit-scrollbar-track { background: var(--bg-1); }
.bank-modal-grid::-webkit-scrollbar-thumb { background: var(--olive-1); }

/* ----- CELL ----- */
.bm-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 14px 12px 10px;
  background:
    radial-gradient(circle at 50% -10%, rgba(57,255,20,0.08), transparent 60%),
    linear-gradient(160deg, var(--olive-3) 0%, var(--bg-3) 100%);
  border: 1.5px dashed var(--olive-1);
  font-family: 'Mitr', sans-serif;
  color: var(--txt);
  cursor: crosshair;
  text-align: left;
  transition: transform .15s, border-color .15s, background .15s, box-shadow .2s;
  overflow: hidden;
  min-height: 200px;
}
.bm-cell .bm-corner {
  position: absolute;
  width: 11px; height: 11px;
  border: 1.5px solid var(--sand-1);
  z-index: 2;
  opacity: 0.7;
  pointer-events: none;
  transition: border-color .15s, opacity .15s;
}
.bm-cell .bm-corner.tl { top: 3px; left: 3px; border-right: none; border-bottom: none; }
.bm-cell .bm-corner.tr { top: 3px; right: 3px; border-left: none; border-bottom: none; }
.bm-cell .bm-corner.bl { bottom: 3px; left: 3px; border-right: none; border-top: none; }
.bm-cell .bm-corner.br { bottom: 3px; right: 3px; border-left: none; border-top: none; }
.bm-cell:hover {
  transform: translateY(-2px);
  border-color: var(--nvg);
  border-style: dashed;
  background:
    radial-gradient(circle at 50% -10%, rgba(57,255,20,0.16), transparent 60%),
    linear-gradient(160deg, var(--olive-2) 0%, var(--bg-3) 100%);
  box-shadow:
    0 6px 18px rgba(57,255,20,0.18),
    0 0 0 1px var(--nvg-d);
}
.bm-cell:hover .bm-corner { border-color: var(--nvg); opacity: 1; }
.bm-cell:hover .bm-callsign { color: var(--nvg); text-shadow: 0 0 6px rgba(57,255,20,0.4); }

.bm-callsign {
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--alert-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  transition: color .15s, text-shadow .15s;
}
.bm-cell .bm-stamp {
  position: absolute;
  top: 24px; right: 6px;
  z-index: 4;
}

/* duotone-brand: green-overlay div + mix-blend-mode over desaturated img */
.bm-logo {
  position: relative;
  height: 70px;
  background: var(--olive-4);
  border: 1px solid var(--olive-1);
  margin-top: 4px;
  overflow: hidden;
}
.bm-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px 14px;
  filter: grayscale(1) brightness(1.35) contrast(1.4);
}
.bm-logo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(135deg, var(--nvg) 0%, var(--olive-1) 100%);
  mix-blend-mode: multiply;
  opacity: 0.55;
  transition: opacity .15s;
}
.bm-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--nvg);
  mix-blend-mode: screen;
  opacity: 0.16;
  transition: opacity .15s;
}
.bm-cell:hover .bm-logo-overlay { opacity: 0.32; }
.bm-cell:hover .bm-logo::after  { opacity: 0.32; }

.bm-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.bm-info h4 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--sand-1);
  margin: 0;
}
.bm-info small {
  font-family: 'Mitr', sans-serif;
  font-size: 11px;
  color: var(--txt-2);
  font-weight: 400;
}

.bm-terms {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--olive-2);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 10px;
  color: var(--txt-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: auto;
}
.bm-terms b { color: var(--sand-1); font-weight: 700; }
.bm-terms b.nvg { color: var(--nvg); text-shadow: 0 0 4px rgba(57,255,20,0.4); }
.bm-terms .sep { color: var(--olive-1); }

/* ----- FOOTER ----- */
.bank-modal-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px;
  background: var(--bg-0);
  border-top: 1px dashed var(--line);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11px;
  color: var(--txt-3);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.bank-modal-foot .nvg { color: var(--nvg); text-shadow: 0 0 4px rgba(57,255,20,0.4); }

/* ----- in-modal crosshair (follows cursor on cell hover) ----- */
.bank-modal-crosshair {
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity .15s;
  filter: drop-shadow(0 0 8px rgba(165,42,42,0.55));
  will-change: transform;
}
.bank-modal-crosshair svg {
  width: 100%; height: 100%;
  animation: bm-cross-spin 6s linear infinite;
}
@keyframes bm-cross-spin {
  100% { transform: rotate(360deg); }
}
.bank-modal-crosshair.show { opacity: 0.95; }


/* ----- WHY US ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.why-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(57,255,20,0.05), transparent 50%),
    linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--olive-1);
  padding: 22px;
  position: relative;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--alert), var(--nvg));
  opacity: 0.7;
}
.why-card .ico {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--nvg);
  font-family: 'Sarabun', monospace;
  font-weight: 700;
}
.why-card h4 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 16px;
  color: var(--sand-1);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.why-card p {
  color: var(--txt-2);
  font-size: 13px;
  line-height: 1.55;
}

/* ----- FORMS ----- */
.form-card {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1.5px solid var(--olive-1);
  padding: 26px;
  position: relative;
}
.form-card::before, .form-card::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--alert);
  opacity: 0.6;
}
.form-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.form-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.form-card h3 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 20px;
  color: var(--sand-1);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.form-card .form-sub {
  color: var(--txt-2);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
label {
  display: block;
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 14px 0 6px;
  color: var(--txt-2);
}
label .req { color: var(--alert-2); }

input, select, textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--olive-1);
  border-radius: 0;
  padding: 11px 14px;
  color: var(--sand-1);
  font-family: 'Mitr', sans-serif;
  font-size: 14px;
  transition: border-color .15s, background .15s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--nvg);
  background: rgba(57,255,20,0.04);
  box-shadow: 0 0 0 1px var(--nvg-d);
}
input::placeholder { color: var(--txt-4); font-family: 'IBM Plex Mono', 'Sarabun', monospace; font-size: 13px; }
.col-2-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ----- VIP RANK ROWS ----- */
.rank-row td:first-child {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.rank-row.recruit td:first-child { color: var(--sand-2); }
.rank-row.specialist td:first-child { color: var(--sand-1); }
.rank-row.operator td:first-child { color: var(--olive-1); }
.rank-row.elite td:first-child { color: var(--alert-2); }
.rank-row.phantom td:first-child { color: var(--nvg); text-shadow: 0 0 8px var(--nvg-d); }

/* ----- FAQ ----- */
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--olive-1);
  padding: 14px 18px;
  margin-bottom: 8px;
  position: relative;
}
.faq-item[open] { background: var(--bg-3); border-color: var(--nvg-d); }
.faq-item summary {
  font-family: 'Mitr', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  cursor: crosshair;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--sand-1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--nvg);
  font-size: 22px;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  transition: transform .2s;
  margin-left: 10px;
}
.faq-item[open] summary::after { content: '−'; color: var(--alert); }
.faq-item p {
  margin-top: 12px;
  color: var(--txt-2);
  font-size: 13.5px;
  line-height: 1.6;
}
.faq-item p a { color: var(--nvg); text-decoration: underline; }

/* ----- COMMS FAB ----- */
.comms-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.comms-fab a {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.5);
  position: relative;
  transition: transform .12s;
  border: 2px solid var(--bg-0);
  letter-spacing: 0.04em;
}
.comms-fab a:hover { transform: scale(1.08); }
.comms-fab .line {
  background: var(--nvg);
  color: #0A0A0A;
  font-size: 12px;
  animation: nvgGlow 2s ease-in-out infinite;
}
@keyframes nvgGlow {
  0%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,0.5), 0 0 0 0 rgba(57,255,20,0.5); }
  50%      { box-shadow: 0 8px 22px rgba(0,0,0,0.5), 0 0 0 12px rgba(57,255,20,0); }
}
.comms-fab .tg { background: #0088CC; font-size: 22px; }
.comms-fab .top {
  background: var(--olive-2);
  border-color: var(--olive-1);
  color: var(--sand-1);
  font-size: 10px;
  line-height: 1.1;
}

/* ----- FOOTER ----- */
footer.hq-footer {
  background:
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-top: 2px solid var(--olive-1);
  padding: 48px 0 28px;
  margin-top: 60px;
  position: relative;
}
footer.hq-footer::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--nvg), transparent);
  opacity: 0.5;
}
footer.hq-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 28px;
}
footer.hq-footer h5 {
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-size: 13px;
  color: var(--nvg);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
footer.hq-footer ul { list-style: none; }
footer.hq-footer li { padding: 4px 0; }
footer.hq-footer a { color: var(--txt-2); font-size: 13px; font-family: 'Mitr', sans-serif; }
footer.hq-footer a:hover { color: var(--nvg); }
footer.hq-footer .about p {
  color: var(--txt-2);
  font-size: 13px;
  margin-bottom: 14px;
  margin-top: 14px;
}
footer.hq-footer .about .brand .b1 { font-size: 22px; }
footer.hq-footer .about .brand .b2 { font-size: 9px; }

.footer-bottom {
  border-top: 1px dashed var(--line);
  margin-top: 32px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11.5px;
  color: var(--txt-3);
  font-family: 'IBM Plex Mono', 'Sarabun', monospace;
  letter-spacing: 0.04em;
}
/* ----- TOAST ----- */
#toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--alert), var(--olive-2));
  color: #fff;
  padding: 12px 22px;
  border: 1px solid var(--alert);
  font-family: 'Black Ops One', 'Mitr', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(165,42,42,0.4);
  z-index: 200;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  max-width: 90%;
  text-align: center;
}
#toast::before, #toast::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border: 1px solid var(--nvg);
}
#toast::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
#toast::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }


/* ----- RESPONSIVE ----- */
@media (max-width: 1180px) {
  .ops-grid    { grid-template-columns: repeat(3, 1fr); }
  .weap-grid   { grid-template-columns: repeat(3, 1fr); }
  .weap-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .defcon-bar  { grid-template-columns: repeat(2, 1fr); }
  .target-grid { grid-template-columns: repeat(2, 1fr); }
  .brief-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid    { grid-template-columns: repeat(2, 1fr); }
  .bank-wall   { grid-template-columns: repeat(6, 1fr); }
  .bank-modal-grid { grid-template-columns: repeat(4, 1fr); }
  .comm-grid   { grid-template-columns: repeat(2, 1fr); }
  .radar-feed  { grid-template-columns: 220px 1fr; }
  .radar-disc  { width: 200px; height: 200px; }
  footer.hq-footer .container { grid-template-columns: 1fr 1fr 1fr; }
  .hero-body { grid-template-columns: 1fr; padding: 32px 28px; }
  .hero-meta { width: 100%; max-width: 360px; }
  .hero-title { font-size: 64px; }
  .big-crosshair { width: 140px; height: 140px; right: -20px; opacity: 0.25; }
  .tac-nav a { min-width: 90px; padding: 10px 8px 8px; font-size: 11px; }
  .tac-nav a small { font-size: 9.5px; }
  .bank-trigger .bt-label { font-size: 30px; }
}
@media (max-width: 900px) {
  .bank-modal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container { padding: 0 14px; }
  .ops-grid  { grid-template-columns: repeat(2, 1fr); }
  .weap-grid, .weap-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .target-grid { grid-template-columns: 1fr; }
  .brief-grid  { grid-template-columns: 1fr; }
  .why-grid    { grid-template-columns: 1fr 1fr; }
  .defcon-bar  { grid-template-columns: 1fr 1fr; }
  .bank-wall   { grid-template-columns: repeat(4, 1fr); }
  .comm-grid   { grid-template-columns: 1fr; }
  .radar-feed  { grid-template-columns: 1fr; }
  .radar-disc  { width: 200px; height: 200px; }
  footer.hq-footer .container { grid-template-columns: 1fr 1fr; }
  h1.page-title { font-size: 26px; }
  .hero-title { font-size: 48px; }
  .hero-sub { font-size: 14px; }
  .col-2-form { grid-template-columns: 1fr; }
  table.tac-tbl { font-size: 11.5px; }
  table.tac-tbl th, table.tac-tbl td { padding: 8px 8px; }
  .odds-btn { min-width: 50px; padding: 5px 6px; font-size: 11.5px; }
  .header-cta .op-id { display: none; }
  .tac-nav .container { overflow-x: auto; flex-wrap: nowrap; }
  .tac-nav a { min-width: 90px; flex-shrink: 0; flex: none; }
  .comms-fab a { width: 48px; height: 48px; }
  /* Disable cursor crosshair on mobile (no mouse) */
  body { cursor: default; }
  #crosshair { display: none; }
  /* Bank modal mobile */
  .bank-modal { padding: 12px; }
  .bank-modal-dialog { max-height: 96vh; }
  .bank-modal-header { padding: 14px 16px; }
  .bank-modal-header h3 { font-size: 14px; }
  .bm-id { gap: 8px; }
  .bank-modal-meta { padding: 9px 16px; font-size: 10.5px; gap: 8px; }
  .bank-modal-grid { padding: 14px 16px 12px; gap: 10px; }
  .bank-modal-foot { padding: 10px 16px; font-size: 10px; }
  .bank-trigger { padding: 22px 16px; }
  .bank-trigger .bt-label { font-size: 24px; }
  .bank-trigger .bt-sub { font-size: 12px; }
  .bm-cell { cursor: pointer; }
  .bank-modal-crosshair { display: none; }
}
@media (max-width: 480px) {
  .brand-text .b1 { font-size: 20px; }
  .brand .dog-tag { width: 44px; height: 44px; }
  .brand-text .b2 { display: none; }
  .cmd-bar { font-size: 10px; }
  .cmd-bar .container { gap: 8px; }
  .cmd-bar .hide-xs, .cmd-bar .sep.hide-xs { display: none; }
  .header-cta .btn-stencil { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: 1fr 1fr; }
  .ops-card { padding: 16px 10px; }
  .ops-card .emoji { font-size: 28px; }
  .ops-card h3 { font-size: 13px; }
  .bank-modal-grid { grid-template-columns: 1fr; }
  .bank-trigger .bt-label { font-size: 20px; }
  .bank-trigger .bt-meta { gap: 8px; flex-wrap: wrap; justify-content: center; }
}
