/* ============================================================
   XyzthM EarthMeta Teleportal — Shared Styles v2
   Dimensions: Kube(Cyan) · Zone(Purple) · NetXyzS(Green) · Hive(Amber)
   Author: xyzthm.base.eth · G=9/π≈2.8647
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&family=Share+Tech+Mono&display=swap');

/* ── CSS Variables / Design Tokens ── */
:root {
  /* Dimension Colors */
  --cyan:         #00f5ff;
  --cyan-dim:     #00a8b0;
  --cyan-glow:    rgba(0,245,255,0.18);
  --cyan-glow-lg: rgba(0,245,255,0.32);
  --purple:       #c77dff;
  --purple-dim:   #7b2fbe;
  --purple-glow:  rgba(199,125,255,0.18);
  --green:        #39ff14;
  --green-dim:    #1a8c00;
  --green-glow:   rgba(57,255,20,0.18);
  --amber:        #ffb700;
  --amber-dim:    #a87700;
  --amber-glow:   rgba(255,183,0,0.18);
  --red:          #ff4d6d;
  --red-glow:     rgba(255,77,109,0.18);

  /* Neutral Palette */
  --bg:       #050508;
  --bg2:      #08080e;
  --bg3:      #0d0d18;
  --surface:  #111120;
  --surface2: #181830;
  --border:   rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.12);
  --text:     #e2e2f0;
  --text-dim: #6a6a98;
  --text-muted: #3a3a58;

  /* Typography */
  --font-display: 'Orbitron', monospace;
  --font-body:    'Rajdhani', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;

  /* Spacing & Layout */
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-w:     1200px;
  --nav-h:     64px;

  /* Animation */
  --trans:      all 0.25s cubic-bezier(0.4,0,0.2,1);
  --trans-fast: all 0.15s cubic-bezier(0.4,0,0.2,1);
  --trans-slow: all 0.45s cubic-bezier(0.4,0,0.2,1);
}

/* ── Dimension Theming ── */
.dim-kube    { --dim-color: var(--cyan);   --dim-glow: var(--cyan-glow);   --dim-glow-lg: var(--cyan-glow-lg);   --dim-dim: var(--cyan-dim);   }
.dim-zone    { --dim-color: var(--purple); --dim-glow: var(--purple-glow); --dim-glow-lg: var(--purple-glow);    --dim-dim: var(--purple-dim); }
.dim-netxyzs { --dim-color: var(--green);  --dim-glow: var(--green-glow);  --dim-glow-lg: var(--green-glow);     --dim-dim: var(--green-dim);  }
.dim-hive    { --dim-color: var(--amber);  --dim-glow: var(--amber-glow);  --dim-glow-lg: var(--amber-glow);     --dim-dim: var(--amber-dim);  }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Animated Background Grid ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* ── Scanline Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.025) 2px,
    rgba(0,0,0,0.025) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p  { font-family: var(--font-body); line-height: 1.7; color: var(--text-dim); }
a  { color: inherit; text-decoration: none; transition: var(--trans); }
code, .mono { font-family: var(--font-mono); font-size: 0.88em; }
strong { color: var(--text); }

/* ── Navigation ── */
.em-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(5,5,8,0.94);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
  z-index: 1000;
}

.em-nav-logo {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.em-nav-logo .logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border: 1px solid currentColor;
  background: rgba(0,0,0,0.4);
}

.em-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.em-nav-links::-webkit-scrollbar { display: none; }

.em-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: var(--trans);
  border: 1px solid transparent;
}

.em-nav-link:hover,
.em-nav-link.active {
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
  color: var(--text);
}

.em-nav-link.dim-kube:hover,    .em-nav-link.dim-kube.active    { color: var(--cyan);   border-color: rgba(0,245,255,0.25);   background: rgba(0,245,255,0.06); }
.em-nav-link.dim-zone:hover,    .em-nav-link.dim-zone.active    { color: var(--purple); border-color: rgba(199,125,255,0.25); background: rgba(199,125,255,0.06); }
.em-nav-link.dim-netxyzs:hover, .em-nav-link.dim-netxyzs.active { color: var(--green);  border-color: rgba(57,255,20,0.25);   background: rgba(57,255,20,0.06); }
.em-nav-link.dim-hive:hover,    .em-nav-link.dim-hive.active    { color: var(--amber);  border-color: rgba(255,183,0,0.25);   background: rgba(255,183,0,0.06); }

.em-nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Layout ── */
.page-wrap {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  min-height: 100vh;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-xs { padding: 28px 0; }

/* ── Hero ── */
.em-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.em-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Radial glow orb */
.em-hero-bg::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--dim-glow, rgba(0,245,255,0.12)) 0%, transparent 70%);
  animation: pulse-orb 4s ease-in-out infinite;
}

/* Second orb offset */
.em-hero-bg::after {
  content: '';
  position: absolute;
  top: 60%;
  left: 30%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--dim-glow, rgba(0,245,255,0.06)) 0%, transparent 70%);
  animation: pulse-orb 6s ease-in-out infinite reverse;
}

@keyframes pulse-orb {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.12); }
}

.em-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.em-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--dim-color, var(--cyan));
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid var(--dim-color, var(--cyan));
  border-radius: 100px;
  background: rgba(0,0,0,0.3);
}

.em-hero-eyebrow::before { content: '▶'; font-size: 0.55rem; opacity: 0.8; }

.em-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.em-hero-title .accent { color: var(--dim-color, var(--cyan)); }

.em-hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--trans);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--dim-color, var(--cyan));
  color: #040408;
  border-color: var(--dim-color, var(--cyan));
  font-weight: 700;
}

.btn-primary:hover {
  box-shadow: 0 0 24px var(--dim-glow-lg, var(--cyan-glow-lg)),
              0 4px 20px rgba(0,0,0,0.4);
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--dim-color, var(--cyan));
  border-color: var(--dim-color, var(--cyan));
}

.btn-outline:hover {
  background: var(--dim-glow, var(--cyan-glow));
  box-shadow: 0 0 20px var(--dim-glow, var(--cyan-glow));
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-md);
}

.btn-danger {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-danger:hover {
  background: var(--red-glow);
  box-shadow: 0 0 16px var(--red-glow);
}

.btn-lg  { padding: 16px 32px; font-size: 0.85rem; border-radius: 10px; }
.btn-sm  { padding: 7px 14px; font-size: 0.68rem; }
.btn-xs  { padding: 4px 10px; font-size: 0.62rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dim-glow, transparent) 0%, transparent 60%);
  opacity: 0;
  transition: var(--trans);
  pointer-events: none;
  border-radius: inherit;
}

.card:hover::before { opacity: 1; }

.card:hover {
  border-color: var(--border-md);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.card-glow:hover {
  border-color: var(--dim-color, var(--cyan));
  box-shadow: 0 0 32px var(--dim-glow, var(--cyan-glow));
}

.card-flat {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

/* ── Info Box ── */
.info-box {
  background: rgba(0,245,255,0.04);
  border: 1px solid rgba(0,245,255,0.15);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  line-height: 1.6;
}
.info-box.purple { background: rgba(199,125,255,0.04); border-color: rgba(199,125,255,0.15); color: var(--purple); }
.info-box.green  { background: rgba(57,255,20,0.04);   border-color: rgba(57,255,20,0.15);   color: var(--green); }
.info-box.amber  { background: rgba(255,183,0,0.04);   border-color: rgba(255,183,0,0.15);   color: var(--amber); }

/* ── Grid Layouts ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Section Headers ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim-color, var(--cyan));
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--dim-color, var(--cyan));
  flex-shrink: 0;
}

.section-title { margin-bottom: 16px; }
.section-desc  { color: var(--text-dim); max-width: 560px; font-size: 1.05rem; }

/* ── Dimension Badge ── */
.dim-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  border: 1px solid currentColor;
}

.dim-badge.kube    { color: var(--cyan);   background: rgba(0,245,255,0.08); }
.dim-badge.zone    { color: var(--purple); background: rgba(199,125,255,0.08); }
.dim-badge.netxyzs { color: var(--green);  background: rgba(57,255,20,0.08); }
.dim-badge.hive    { color: var(--amber);  background: rgba(255,183,0,0.08); }

/* ── Coordinate Display ── */
.coord-display {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--dim-color, var(--cyan));
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 2px solid var(--dim-color, var(--cyan));
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 2;
  overflow-x: auto;
}

.coord-row { display: flex; gap: 8px; align-items: center; }
.coord-key  { color: var(--text-muted); min-width: 22px; font-size: 0.78rem; }
.coord-val  { color: var(--dim-color, var(--cyan)); font-weight: 600; letter-spacing: 0.02em; }
.coord-sep  { color: var(--text-muted); }

/* ── Status Pills ── */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.status-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.status-live    { color: var(--green); }
.status-pending { color: var(--amber); }
.status-offline { color: var(--text-muted); }
.status-error   { color: var(--red); }

/* ── Progress / Meter ── */
.meter {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--dim-dim, var(--cyan-dim)), var(--dim-color, var(--cyan)));
  box-shadow: 0 0 8px var(--dim-color, var(--cyan));
  transition: width 1.2s ease;
}

.meter-thick { height: 6px; }
.meter-thin  { height: 2px; }

/* ── Form Styles ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.form-label span {
  color: var(--red);
  margin-left: 2px;
}

.form-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--red);
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

.form-control {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--trans);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--dim-color, var(--cyan));
  box-shadow: 0 0 0 3px var(--dim-glow, var(--cyan-glow));
  background: rgba(0,0,0,0.3);
}

.form-control.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

.form-control.valid {
  border-color: var(--green);
}

.form-control::placeholder { color: var(--text-muted); }
.form-control.mono { font-family: var(--font-mono); font-size: 0.85rem; }

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%236a6a98'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ── Step Wizard ── */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 18px; left: 18px; right: 18px;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--trans);
}

.step-item.active .step-num {
  border-color: var(--dim-color, var(--cyan));
  color: var(--dim-color, var(--cyan));
  box-shadow: 0 0 16px var(--dim-glow, var(--cyan-glow));
  background: rgba(0,0,0,0.5);
}

.step-item.done .step-num {
  border-color: var(--green);
  background: rgba(57,255,20,0.12);
  color: var(--green);
}

.step-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
}

.step-item.active .step-label { color: var(--dim-color, var(--cyan)); }
.step-item.done .step-label   { color: var(--green); }

/* ── Table ── */
.em-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.em-table th {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

.em-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-dim);
  vertical-align: middle;
  font-size: 0.88rem;
}

.em-table tr:hover td { background: rgba(255,255,255,0.025); }
.em-table tr:last-child td { border-bottom: none; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 40px 0;
}

.divider-sm { margin: 20px 0; }

/* ── Modal ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 580px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}

.modal-backdrop.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 5px 10px;
  transition: var(--trans);
}
.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }

/* ── Toast Notifications ── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--surface2);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  min-width: 260px;
  max-width: 380px;
  animation: toast-in 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.toast.success { border-left: 2px solid var(--green);  }
.toast.error   { border-left: 2px solid var(--red);    }
.toast.info    { border-left: 2px solid var(--cyan);   }
.toast.warning { border-left: 2px solid var(--amber);  }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Footer ── */
.em-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
}

.em-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.em-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.em-footer-links a:hover { color: var(--dim-color, var(--cyan)); }

.em-footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ── Animated Particles Canvas ── */
#em-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ── Progress Bar (page-top loading) ── */
.page-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--dim-color, var(--cyan)), transparent);
  z-index: 999;
  transition: width 0.4s ease;
}

/* ── Utility ── */
.flex          { display: flex; }
.flex-col      { display: flex; flex-direction: column; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.gap-4   { gap: 4px; }
.gap-8   { gap: 8px; }
.gap-12  { gap: 12px; }
.gap-16  { gap: 16px; }
.gap-24  { gap: 24px; }
.mt-8    { margin-top: 8px; }
.mt-16   { margin-top: 16px; }
.mt-24   { margin-top: 24px; }
.mt-40   { margin-top: 40px; }
.mb-8    { margin-bottom: 8px; }
.mb-16   { margin-bottom: 16px; }
.mb-24   { margin-bottom: 24px; }
.mb-40   { margin-bottom: 40px; }
.p-16    { padding: 16px; }
.p-24    { padding: 24px; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-mono    { font-family: var(--font-mono); }
.text-dim     { color: var(--text-dim); }
.text-muted   { color: var(--text-muted); }
.text-cyan    { color: var(--cyan); }
.text-purple  { color: var(--purple); }
.text-green   { color: var(--green); }
.text-amber   { color: var(--amber); }
.text-red     { color: var(--red); }
.text-sm      { font-size: 0.85rem; }
.text-xs      { font-size: 0.75rem; }
.font-display { font-family: var(--font-display); }
.w-full  { width: 100%; }
.hidden  { display: none !important; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 100px; }
.border { border: 1px solid var(--border); }
.border-dim { border: 1px solid var(--dim-color, var(--cyan)); }
.bg-surface { background: var(--surface); }
.bg-surface2 { background: var(--surface2); }

/* ── Glow Text ── */
.glow-text {
  text-shadow: 0 0 20px var(--dim-color, var(--cyan)), 0 0 40px var(--dim-glow, var(--cyan-glow));
}

/* ── Pulse Ring ── */
.pulse-ring {
  position: relative;
  display: inline-block;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--dim-color, var(--cyan));
  animation: ring-expand 2.5s ease-out infinite;
  opacity: 0;
}

@keyframes ring-expand {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── Portal Ring Animation ── */
.portal-ring {
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 2px solid var(--dim-color, var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: portal-spin 8s linear infinite;
  box-shadow: 0 0 32px var(--dim-glow, var(--cyan-glow)),
              inset 0 0 32px var(--dim-glow, var(--cyan-glow));
}

.portal-ring::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px dashed var(--dim-color, var(--cyan));
  opacity: 0.4;
  animation: portal-spin 4s linear infinite reverse;
}

.portal-ring::after {
  content: '';
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px solid var(--dim-color, var(--cyan));
  opacity: 0.2;
  animation: portal-spin 14s linear infinite;
}

@keyframes portal-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Data Stream ── */
.data-stream {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dim-color, var(--cyan));
  line-height: 1.7;
  overflow: hidden;
}

/* ── Hex Grid Base ── */
.hex-cell {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: var(--trans);
}

/* ── Axis Bar ── */
.axis-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.axis-bar-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  min-width: 16px;
  text-align: right;
}
.axis-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.axis-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}
.axis-bar-val {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  min-width: 60px;
  text-align: right;
}

/* ── Metric Card ── */
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metric-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.metric-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ── Tag / Chip ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.tag.cyan   { border-color: rgba(0,245,255,0.2);   color: var(--cyan);   background: rgba(0,245,255,0.05); }
.tag.purple { border-color: rgba(199,125,255,0.2); color: var(--purple); background: rgba(199,125,255,0.05); }
.tag.green  { border-color: rgba(57,255,20,0.2);   color: var(--green);  background: rgba(57,255,20,0.05); }
.tag.amber  { border-color: rgba(255,183,0,0.2);   color: var(--amber);  background: rgba(255,183,0,0.05); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Mobile Nav ── */
@media (max-width: 768px) {
  .em-nav { padding: 0 16px; gap: 12px; }
  .em-nav-links { display: none; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }
  .em-hero { padding: 60px 0 48px; }
  .em-footer-inner { flex-direction: column; text-align: center; }
  .em-footer-links { justify-content: center; }
}
/* ═══════════════════════════════════════════════════════════════════════════
   TACTICAL CAMO + MILITARY-TECH DESIGN LAYER
   Lit blue/green map aesthetic — digital camo, glowing grid, topo contours
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CAMO COLOR PALETTE ──────────────────────────────────────────────────── */
:root {
  /* Tactical greens */
  --camo-dark:    #0a0f08;
  --camo-green1:  #1a2812;
  --camo-green2:  #243318;
  --camo-green3:  #2f4020;
  --camo-tan:     #3d3a28;
  --camo-shadow:  #141a10;

  /* Lit tactical */
  --tac-blue:     #00e5ff;
  --tac-green:    #00ff88;
  --tac-lime:     #39ff14;
  --tac-blue-dim: rgba(0,229,255,0.55);
  --tac-green-dim:rgba(0,255,136,0.55);

  /* Overlays */
  --grid-line:    rgba(0,229,255,0.07);
  --grid-bright:  rgba(0,229,255,0.18);
  --topo-line:    rgba(0,255,136,0.06);
  --topo-bright:  rgba(0,255,136,0.14);
  --scan-line:    rgba(0,229,255,0.03);
}

/* ── DIGITAL CAMO BODY BACKGROUND ───────────────────────────────────────── */
body {
  background-color: #080d06;
  background-image:
    /* Tactical grid — major lines */
    linear-gradient(rgba(0,229,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.055) 1px, transparent 1px),
    /* Tactical grid — minor lines */
    linear-gradient(rgba(0,229,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.022) 1px, transparent 1px),
    /* Topo contour diagonals */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 28px,
      rgba(0,255,136,0.028) 28px,
      rgba(0,255,136,0.028) 29px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 52px,
      rgba(0,229,255,0.018) 52px,
      rgba(0,229,255,0.018) 53px
    ),
    /* Camo blotch base */
    radial-gradient(ellipse 80px 60px at 15% 20%, #1a2812 0%, transparent 70%),
    radial-gradient(ellipse 120px 80px at 35% 60%, #243318 0%, transparent 70%),
    radial-gradient(ellipse 90px 110px at 60% 15%, #1a2812 0%, transparent 70%),
    radial-gradient(ellipse 140px 60px at 75% 75%, #2f4020 0%, transparent 70%),
    radial-gradient(ellipse 70px 90px at 90% 35%, #243318 0%, transparent 70%),
    radial-gradient(ellipse 110px 70px at 50% 90%, #1a2812 0%, transparent 70%),
    /* Deep base */
    linear-gradient(160deg, #070c05 0%, #050808 40%, #060b08 100%);
  background-size:
    80px 80px,
    80px 80px,
    20px 20px,
    20px 20px,
    auto, auto,
    auto, auto,
    400px 400px,
    400px 400px,
    400px 400px,
    400px 400px,
    400px 400px,
    400px 400px,
    100% 100%;
}

/* ── TACTICAL SCAN-LINE OVERLAY ─────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,229,255,0.012) 3px,
    rgba(0,229,255,0.012) 4px
  );
}

/* ── SURFACE OVERRIDES — TACTICAL DARK ──────────────────────────────────── */
:root {
  --bg:       #070c05;
  --bg2:      #090e07;
  --bg3:      #0d1209;
  --surface:  #111a0e;
  --surface2: #172014;
  --border:   rgba(0,229,255,0.08);
  --border-md: rgba(0,229,255,0.16);
  --text:     #ddeedd;
  --text-dim: #6a8a6a;
  --text-muted: #344834;
}

/* ── TACTICAL CARD STYLE ─────────────────────────────────────────────────── */
.card,
.card-flat,
.stat-box,
.info-box,
.metric-card {
  background: linear-gradient(135deg, rgba(17,26,14,0.92), rgba(9,14,7,0.92));
  border-color: rgba(0,229,255,0.12);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.card::after,
.card-flat::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(0,229,255,0.025) 39px,
      rgba(0,229,255,0.025) 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(0,255,136,0.02) 39px,
      rgba(0,255,136,0.02) 40px
    );
  pointer-events: none;
  border-radius: inherit;
}

/* ── TACTICAL NAV BAR ────────────────────────────────────────────────────── */
.em-nav {
  background: linear-gradient(90deg,
    rgba(7,12,5,0.97) 0%,
    rgba(11,18,8,0.97) 50%,
    rgba(7,12,5,0.97) 100%
  ) !important;
  border-bottom: 1px solid rgba(0,229,255,0.15) !important;
  box-shadow: 0 1px 0 rgba(0,255,136,0.06), 0 4px 24px rgba(0,0,0,0.5) !important;
}

/* ── TACTICAL HERO ───────────────────────────────────────────────────────── */
.em-hero {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0,229,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(0,255,136,0.04) 0%, transparent 60%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(0,229,255,0.025) 60px,
      rgba(0,229,255,0.025) 61px
    ) !important;
}

/* ── TACTICAL SECTION ────────────────────────────────────────────────────── */
.em-section {
  position: relative;
}
.em-section::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,229,255,0.2) 20%,
    rgba(0,255,136,0.3) 50%,
    rgba(0,229,255,0.2) 80%,
    transparent 100%
  );
}

/* ── TACTICAL GLOWING TEXT ACCENTS ───────────────────────────────────────── */
.em-hero-title {
  text-shadow: 0 0 40px rgba(0,229,255,0.25), 0 0 80px rgba(0,229,255,0.1);
}
.section-title {
  text-shadow: 0 0 20px rgba(0,229,255,0.15);
}

/* ── TACTICAL ORB / PULSE ────────────────────────────────────────────────── */
.em-hero-orb {
  background: radial-gradient(circle,
    rgba(0,229,255,0.18) 0%,
    rgba(0,255,136,0.08) 40%,
    transparent 70%
  ) !important;
  animation: tac-pulse 3s ease-in-out infinite !important;
}
@keyframes tac-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.08); opacity: 1;   }
}

/* ── TACTICAL DIMENSION PORTAL CARDS ─────────────────────────────────────── */
.dim-portal-card {
  background: linear-gradient(135deg,
    rgba(17,26,14,0.9) 0%,
    rgba(9,14,7,0.95) 100%
  ) !important;
  position: relative;
  overflow: hidden;
}
.dim-portal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 11px,
      rgba(0,229,255,0.018) 11px,
      rgba(0,229,255,0.018) 12px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(0,255,136,0.015) 11px,
      rgba(0,255,136,0.015) 12px
    );
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.dim-portal-card.kube     { border-color: rgba(0,229,255,0.3) !important; }
.dim-portal-card.zone     { border-color: rgba(199,125,255,0.3) !important; }
.dim-portal-card.netxyzs  { border-color: rgba(0,255,136,0.3) !important; }
.dim-portal-card.hive     { border-color: rgba(255,183,0,0.3) !important; }

.dim-portal-card:hover {
  box-shadow:
    0 0 0 1px var(--dim-color),
    0 8px 32px var(--dim-glow),
    0 0 60px rgba(0,229,255,0.08) !important;
}

/* ── TACTICAL FORM INPUTS ────────────────────────────────────────────────── */
.form-control {
  background: rgba(9,14,7,0.85) !important;
  border-color: rgba(0,229,255,0.12) !important;
  color: #c8e8c8 !important;
}
.form-control:focus {
  background: rgba(12,20,10,0.95) !important;
  border-color: var(--dim-color, var(--tac-blue)) !important;
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12) !important;
}

/* ── TACTICAL BUTTON OVERRIDES ───────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg,
    rgba(0,229,255,0.18) 0%,
    rgba(0,255,136,0.12) 100%
  ) !important;
  border-color: var(--tac-blue) !important;
  color: var(--tac-blue) !important;
  box-shadow: 0 0 20px rgba(0,229,255,0.15), inset 0 1px 0 rgba(0,255,136,0.1) !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg,
    rgba(0,229,255,0.3) 0%,
    rgba(0,255,136,0.2) 100%
  ) !important;
  box-shadow: 0 0 30px rgba(0,229,255,0.3), 0 0 60px rgba(0,229,255,0.1) !important;
  color: #fff !important;
}

/* ── TACTICAL AXIS BARS ──────────────────────────────────────────────────── */
.axis-bar-fill {
  background: linear-gradient(90deg,
    var(--dim-color, var(--tac-blue)) 0%,
    var(--tac-green) 100%
  ) !important;
  box-shadow: 0 0 8px var(--dim-glow, rgba(0,229,255,0.3)) !important;
}

/* ── TACTICAL COORD DISPLAY ──────────────────────────────────────────────── */
.coord-cell {
  background: rgba(9,14,7,0.9) !important;
  border-color: rgba(0,229,255,0.1) !important;
}
.coord-cell:hover {
  border-color: rgba(0,229,255,0.3) !important;
  box-shadow: 0 0 12px rgba(0,229,255,0.1) !important;
}

/* ── TACTICAL STAT BLOCK ─────────────────────────────────────────────────── */
.stat-block {
  background: linear-gradient(135deg,
    rgba(17,26,14,0.85),
    rgba(9,14,7,0.9)
  ) !important;
  border-color: rgba(0,229,255,0.1) !important;
}

/* ── TACTICAL FOOTER ─────────────────────────────────────────────────────── */
.em-footer {
  background: linear-gradient(180deg,
    rgba(7,12,5,0) 0%,
    rgba(5,8,4,0.98) 40%
  ) !important;
  border-top: 1px solid rgba(0,229,255,0.1) !important;
}

/* ── TACTICAL TAG ────────────────────────────────────────────────────────── */
.tag {
  background: rgba(0,229,255,0.08) !important;
  border-color: rgba(0,229,255,0.2) !important;
  color: rgba(0,229,255,0.8) !important;
  font-family: var(--font-mono) !important;
}

/* ── TACTICAL SIGNAL STREAM ──────────────────────────────────────────────── */
.signal-feed,
.data-stream {
  background: rgba(5,9,4,0.9) !important;
  border-color: rgba(0,229,255,0.08) !important;
}
.signal-line,
.stream-line {
  border-bottom-color: rgba(0,229,255,0.05) !important;
}
.signal-line:first-child,
.stream-line:first-child {
  color: var(--tac-green) !important;
}

/* ── TACTICAL CANVAS / MESH ──────────────────────────────────────────────── */
canvas {
  filter: saturate(1.2) contrast(1.05);
}

/* ── TACTICAL HEX GRID ───────────────────────────────────────────────────── */
.hex-cell {
  background: rgba(17,26,14,0.85) !important;
  border-color: rgba(0,229,255,0.12) !important;
}
.hex-cell:hover,
.hex-cell.active {
  background: rgba(0,229,255,0.1) !important;
  border-color: var(--tac-blue) !important;
  box-shadow: 0 0 16px rgba(0,229,255,0.2) !important;
}

/* ── TACTICAL POD GRID ───────────────────────────────────────────────────── */
.pod-cell {
  background: rgba(14,22,11,0.9) !important;
  border-color: rgba(0,229,255,0.1) !important;
}
.pod-cell:hover {
  border-color: rgba(0,229,255,0.4) !important;
  box-shadow: 0 0 16px rgba(0,229,255,0.15) !important;
}
.pod-cell.active {
  background: rgba(0,229,255,0.08) !important;
  border-color: var(--tac-blue) !important;
}

/* ── TACTICAL SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(7,12,5,0.8); }
::-webkit-scrollbar-thumb {
  background: rgba(0,229,255,0.25);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0,229,255,0.45); }

/* ── TACTICAL SELECTION ──────────────────────────────────────────────────── */
::selection {
  background: rgba(0,229,255,0.25);
  color: #fff;
}

/* ── TACTICAL GLITCH TITLE KEYFRAME (optional use) ───────────────────────── */
@keyframes tac-glitch {
  0%, 100% { text-shadow: 0 0 20px rgba(0,229,255,0.4); }
  25%       { text-shadow: -2px 0 rgba(0,255,136,0.6), 2px 0 rgba(0,229,255,0.6); }
  50%       { text-shadow: 0 0 30px rgba(0,229,255,0.6), 0 0 60px rgba(0,255,136,0.2); }
  75%       { text-shadow: 2px 0 rgba(0,255,136,0.4), -2px 0 rgba(0,229,255,0.4); }
}
.tac-glitch { animation: tac-glitch 4s ease-in-out infinite; }

/* ── TACTICAL MAP CORNER BRACKETS ────────────────────────────────────────── */
.tac-bracket {
  position: relative;
}
.tac-bracket::before,
.tac-bracket::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--tac-blue);
  border-style: solid;
  opacity: 0.5;
}
.tac-bracket::before {
  top: -4px; left: -4px;
  border-width: 1px 0 0 1px;
}
.tac-bracket::after {
  bottom: -4px; right: -4px;
  border-width: 0 1px 1px 0;
}

/* ── TACTICAL PING ANIMATION ─────────────────────────────────────────────── */
@keyframes tac-ping {
  0%   { box-shadow: 0 0 0 0 rgba(0,229,255,0.4); }
  70%  { box-shadow: 0 0 0 12px rgba(0,229,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}
.tac-ping { animation: tac-ping 2s ease-out infinite; }

/* ── TACTICAL PROGRESS/LOADING BAR ──────────────────────────────────────── */
@keyframes tac-scan {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.tac-scan-bar {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--tac-blue) 40%,
    var(--tac-green) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: tac-scan 1.8s linear infinite;
}

