  
:root {
  --pulse-obsidian: #000000;
  --pulse-void: #050505;
  --pulse-glass: rgba(255,255,255,0.08);
  --pulse-gold: #f5d97a;
  --pulse-gold-strong: #ffd447;
  --pulse-teal: #00e6c7;
  --pulse-teal-soft: #00c7a6;
  --pulse-coral: #ff5f6a;
  --pulse-coral-strong: #ff3d4d;
  --pulse-white: #f2f2f2;
  --pulse-muted: #888;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 0 24px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 18px rgba(255,212,71,0.45);
  --transition: 0.25s ease;
  --pw-bg: #020308;
  --pw-gold: #f5d27a;
  --pw-teal: #00ffc8;
  --pw-text: #f9f9f9;
  --pw-subtle: #a7b0c5;
  --pw-panel-bg: rgba(5, 7, 14, 0.9);
  --pw-panel-border: rgba(0, 255, 200, 0.35);
  --pw-panel-glow: rgba(0, 255, 200, 0.45);
  --pw-console-bg: rgba(3, 5, 10, 0.95);
  /* Colors */
  --tp-yellow: #ffff99;
  --tp-yellow-strong: #ffd400;
  --tp-teal: #00a884;
  --tp-teal-soft: #00c7a6;
  --tp-coral: #ff5a5a;
  --tp-coral-dark: #ff3d3d;
  --tp-bg: #000000;
  --tp-text: #1a1a1a;
  --tp-muted: #777777;
  --tp-card-bg: #000000;
  --tp-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.12);
  --tp-radius-lg: 18px;
  --tp-radius-md: 12px;
  --tp-radius-sm: 8px;
  /* Layout */
  --tp-max-width: 1000px;
  --tp-section-padding: 10px;
  --tp-section-padding-lg: 40px;
  /* Animation */
  --tp-gradient-duration: 10s;
  --pulse-cyan: #00fff2;
  --pulse-cyan-soft: #00fff255;
  --pulse-cyan-hard: #00fff2cc;
  --pulse-green: #6aff6a;
  --glass-bg: rgba(0, 0, 0, 0.45);
  --glass-border: rgba(0, 255, 255, 0.25);
  --glass-blur: blur(12px);
  --pulse-cyan-glow: rgba(0,255,200,0.45);
  --pulse-bg-dark: #050510;
  --pulse-bg-card: rgba(20,20,20,0.85);
  --pulse-bg-input: rgba(255,255,255,0.05);
  --pulse-shadow: 0 0 25px rgba(0,255,200,0.15);
  --bg: #030910;
  --card-radius: 18px;
  --primary: #1fe0a2;
  --primary-soft: rgba(31, 224, 162, 0.18);
  --accent: #ffb347;
  --warning: #ffb347;
  --normal: #ffcc33;
  --fast: #00c46a;
  --slow: #ff9933;
  --demerit: #ff4444;
  --success: #1fe0a2;
  --danger: #ff5c7a;
  --text-main: #f7f9fc;
  --text-soft: #a9b3c7;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --seasonal-overlay: rgba(255, 255, 255, 0.04);
  --sparkle-1: #FFD27F;
  --sparkle-2: #FFE9B3;
  --sparkle-3: #FFF5D6;
  --season-glow: rgba(255, 215, 130, 0.6);
  --t-gold: #f5d27a;
  --t-gold-deep: #b58a3c;
  --t-bg-dark: #05080c;
  --t-metal-light: #d9dde4;
  --t-metal-mid: #9ca3b0;
  --t-metal-dark: #4b515e;
  --t-text-main: #f5f7fb;
  --t-text-subtle: #a7b0c4;
  --t-card-bg: #070a11;
}

body {
  margin: 0;
  padding: 0;
  width: 100dvw;
  height: 100dvh;
  max-width: var(--tp-max-width);
  overflow: hidden;
  background: #000;
  font-family: system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  color: var(--pulse-gold-strong);
  touch-action: manipulation;
  animation: pwHoverDrift 40s ease-in-out infinite;
}
html {
  margin: 0;
  padding: 0;
  width: 100dvw;
  height: 100dvh;
  max-width: var(--tp-max-width);
  overflow: hidden;
  background: #000;
  touch-action: manipulation;
  font-family: system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  animation: pwHoverDrift 40s ease-in-out infinite;
}

#chrome {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  overflow: hidden;
  filter: drop-shadow(0 0 25px #0ff);
  pointer-events: none;
}
#chrome::before {
  content: "";
  position: fixed;
  inset: 0;
  background-position:center;
  background-repeat: repeat;
  opacity: 0.25;
  mix-blend-mode: overlay;
  animation: cosmicDrift 25s linear infinite;
}
@keyframes cosmicDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-6%, -6%); }
}
#chrome::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 255, 255, 0.08) 50%,
    transparent 100%
  );
  mix-blend-mode: screen;
  animation: chromeShimmer 10s linear infinite;
}
@keyframes chromeShimmer {
  0%   { transform: translateX(-120%); opacity: 0; }
  6%   { opacity: 0.6; }
  9%   { transform: translateX(120%); opacity: 0.7; }
  16%   { opacity: 0.6; }
  19%   { transform: translateX(120%); opacity: 0.9; }
  100% { opacity: 0; }
}
#chrome-bg {
  position: fixed;
  inset: 0;
  opacity: 1;
  width: 100dvw;
  height: 100dvh;
  z-index: -1;
  background-image: url("../../_EXPRESSIONS/_PEX/BUILD/PulseWorldBarrier-Alpha.webp.pex");
  background-size: cover;
  background-position: center;
  display: block;
}
#chrome-bg-mobile {
  position: fixed;
  inset: 0;
  opacity: 1;
  width: 100dvw;
  height: 100dvh;
  z-index: -1;
  background-image: url("../../_EXPRESSIONS/_PEX/BUILD/PulseWorldBarrier-MaxOmega-Mobile.webp.pex");
  background-size: cover;
  background-position: center;
  display: none;
}
img {
  max-width: 100%;
  display: block;
  object-fit: contain;
}
.pulse-engine-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(140px, 32vw, 280px);
  height: clamp(140px, 32vw, 280px);
  max-width: 280px;
  max-height: 280px;
  margin-bottom: 2.25rem;
  border-radius: 999px;
  /* Deep radial shell */
  background: transparent;
  /* Multi-layer 3D shadow */
  box-shadow:
    0 35px 65px rgba(0, 0, 0, 0.75),
    0 18px 40px rgba(0, 0, 0, 0.65),
    0 0 55px rgba(0, 255, 200, 0.20), /* PulseWorld glow */
    0 0 0 2px rgba(255, 255, 255, 0.05);
  /* Soft bloom aura */
  filter: drop-shadow(0 0 35px rgba(0,255,200,0.25));
  /* Smooth 3D feel */
  transform: translateZ(0);
  transition: transform 0.35s ease, filter 0.35s ease;
}
/* Hover lift */
.pulse-engine-bubble:hover {
  transform: translateY(-10px) scale(1.04);
  filter: drop-shadow(0 0 45px rgba(0,255,200,0.45));
}
.pulse-engine-img {
  display: block;
  width: clamp(140px, 32vw, 280px);
  height: clamp(140px, 32vw, 280px);
  max-width: 280px;
  max-height: 280px;
  object-fit: cover;
  border-radius: 999px;
  /* Deep radial shell */
  background-image: url("../../_EXPRESSIONS/_PEX/BUILD/PulseEngine.webp.pex");
  background-size: cover;
  background-position: center;
  /* Faded edges (soft radial mask) */
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  /* Deep 3D shadow stack */
  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.85),
    0 12px 30px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(0, 255, 180, 0.25), /* PulseWorld glow */
    0 0 0 2px rgba(255, 255, 255, 0.06);
  /* Bloom glow */
  filter: drop-shadow(0 0 25px rgba(0,255,200,0.35));
  transition: transform 0.35s ease, filter 0.35s ease;
}
.pulse-engine-img:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 0 35px rgba(0,255,200,0.55));
}
#pw-loading {
  position: fixed;
  inset: 0;
  pointer-events: none;
  border-radius: 40px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 1;
  transition: opacity 0.15s ease;
}

/* PulseWorld Digital Explosion Reveal */
@keyframes pwDigitalExplosion {
  0% {
    transform: scale(0.1);
    filter: blur(20px) brightness(0.2);
    opacity: 0;
  }
  20% {
    transform: scale(0.25);
    filter: blur(12px) brightness(0.4);
    opacity: 1;
  }
  40% {
    transform: scale(0.5);
    filter: blur(6px) brightness(0.7);
  }
  60% {
    transform: scale(0.8);
    filter: blur(3px) brightness(1);
  }
  80% {
    transform: scale(1.05);
    filter: blur(1px) brightness(1.2);
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px #00ffc8);
  }
}

#pw-loading-logo {
  width: 440px;
  height: 440px;
  border-radius: 40px;
  animation: pwDigitalExplosion 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
#viewport {
  opacity: 1;
  position: fixed;
  /* AUTO-CENTER CONTENT INSIDE */
  display: block;
  margin: 0 auto;
  /* Normal dimensional viewport */
  top: 11dvh;
  left: 9dvw;
  width: calc(100dvw - 20dvw);
  height: calc(100% - 29%);
  /* FIX: allow collapse to override */
  min-width: 0;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  z-index: 9999;
  /* SHADOW + DEPTH */
  box-shadow:
    0 0 22px rgba(0, 255, 255, 0.25),
    inset 0 0 18px rgba(0, 255, 255, 0.08),
    0 0 120px rgba(0, 255, 255, 0.15);
  scrollbar-color: #00eaff #0a0a0a;
  scrollbar-width: thin;
}
/* Scrollbar styling */
#viewport::-webkit-scrollbar {
  width: 10px;
  background: #0a0a0a;
}
#viewport::-webkit-scrollbar-track {
  background: #0f0f0f;
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 255, 255, 0.15);
}
#viewport::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00eaff, #007bff);
  border-radius: 10px;
  border: 2px solid #0a0a0a;
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.8);
}
#viewport::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00ffff, #0099ff);
  box-shadow: 0 0 12px rgba(0, 255, 255, 1);
}
/* PulsePal Image */
.pulsepal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
#bootVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#emailVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#globalSpin {
  position: fixed;
  bottom: 4.1dvh;

  /* TRUE CENTERING WITH NO LEFT/RIGHT */
  inset-inline: 0;
  margin-inline: auto;

  height: 13.6dvh;
  border-radius: 40px;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  filter: brightness(1.25);
}

#assetVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#teamVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#founderVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#identityVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#vaultVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#bankVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#engineVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#meshVideo {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  object-fit: cover;
  z-index: 99999999;
  opacity: 1;
  transition: opacity 1.2s ease-out;
  filter: brightness(1.25) contrast(1.15) saturate(1.25) drop-shadow(0 0 25px #0ff);
}
#scanlines {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  pointer-events: none;
  z-index: 9997;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,255,255,0.05) 0px,
    rgba(0,255,255,0.05) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  opacity: 0.18;
}
#aberration {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  pointer-events: none;
  z-index: 9996;
  background: radial-gradient(circle at center,
    rgba(255,0,0,0.08),
    rgba(0,255,255,0.08),
    transparent 70%
  );
  animation: aberrationPulse 3.5s infinite ease-in-out;
}
@keyframes aberrationPulse {
  0% { opacity: 0.05; }
  50% { opacity: 0.15; }
  100% { opacity: 0.05; }
}
.pulse-ripple-icon circle {
  transform-origin: center;
  animation: pulseRipple 2.4s infinite ease-out;
}

@keyframes pulseRipple {
  0% { transform: scale(0.95); opacity: 1; }
  70% { transform: scale(1.05); opacity: 0.45; }
  100% { transform: scale(1.1); opacity: 0.25; }
}

#warpGate {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  background: radial-gradient(circle at center,
    rgba(0,255,255,0.9),
    rgba(0,255,255,0.6),
    rgba(0,255,255,0.2),
    transparent 70%
  );
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}
#topBar {
  box-sizing: border-box;
  position: fixed;
  padding: 2px;
  top: 8.9dvh;
  left: 4.1dvw;
  right: 23.4dvw;
  height: 9.2dvh;
  display: flex;
 
  z-index: 99999;
}

.topmenu {
  position: fixed;
  top: 7.1dvh;

  /* Center horizontally with NO left */
  inset-inline: 0;
  margin-inline: auto;

  width: 50%; /* required so auto margins know what to center */
  font-size: 0.7rem;
  height: 2dvh;
  gap: 4px;
  display: flex;

  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  z-index: 100000;
}


/* Inner layout */
.header-inner {
  box-sizing: border-box;
  
  display: flex;
  align-items: center;
  /* Center everything together */
  justify-content: center;
  margin: 0 auto;
}
nav {
  display: flex;
  align-items: center;
  
  gap: clamp(6px, 12vw, 14px);
}
nav a {
  font-size: clamp(0.40rem, 2vw, 1.10rem);
  font-weight: 600;
  position: relative;
  color: var(--pulse-cyan);
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: var(--pulse-gold-strong);
  transition: width 0.15s ease;
}
nav a:hover::after {
  width: 100%;
}

.desktop-nav {
  margin-top: 2.2dvh;
  background: linear-gradient(135deg, #0a0a0a, #111);
  
  color: var(--pulse-cyan);
  border:2px solid #1f1f1f;
  font-size: clamp(0.20rem, 8vw, 1.0rem);
  gap: clamp(6px, 12vw, 14px);
  padding: 4px;
  border-radius:14px;
}

.mobile-menu-nav {
  display: none;
  background: linear-gradient(135deg, #0a0a0a, #111);
  
  color: var(--pulse-cyan);
  padding: 8px;
  border:2px solid #1f1f1f;
  border-radius:14px;
}

/* --------------------------------------------- */
/*  MOBILE MENU OVERLAY                          */
/* --------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  display: none;
  z-index: 999;
  animation: fadeInMenu 0.15s ease forwards;
}

@keyframes fadeInMenu {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-menu.show {
  display: block;
}

/* --------------------------------------------- */
/*  MOBILE MENU TOGGLE                           */
/* --------------------------------------------- */

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #0d0d0d;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.35),
    inset 0 0 8px rgba(255,255,255,0.05),
    0 0 12px rgba(0,150,255,0.25);
  transition: all 0.15s ease;
}


.mobile-menu-toggle:hover {
  background: #151515;
  box-shadow:
    0 3px 10px rgba(0,0,0,0.45),
    0 0 16px rgba(0,150,255,0.45),
    inset 0 0 10px rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: #e6e6e6;
  position: relative;
  border-radius: 2px;
  transition: all 0.15s ease;
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #e6e6e6;
  border-radius: 2px;
  transition: all 0.15s ease;
}

.mobile-menu-toggle span::before { top: -6px; }
.mobile-menu-toggle span::after { top: 6px; }

.mobile-menu-toggle.active span {
  background: transparent;
}

.mobile-menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}


/* --------------------------------------------- */
/*  MOBILE MENU PANEL                             */
/* --------------------------------------------- */

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 280px;
  height: 100%;
  background: #0d0d0d;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow:
    -4px 0 14px rgba(0,0,0,0.45),
    inset 0 0 20px rgba(0,150,255,0.15);
  border-left: 2px solid rgba(0,150,255,0.25);
  animation: slideInMenu 0.3s ease forwards;
}

@keyframes slideInMenu {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}


/* --------------------------------------------- */
/*  HEADER + CLOSE BUTTON                        */
/* --------------------------------------------- */

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  color: #e6e6e6;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mobile-menu-close:hover {
  color: #00aaff;
  transform: scale(1.1);
}


/* --------------------------------------------- */
/*  MOBILE NAV LINKS                             */
/* --------------------------------------------- */

.mobile-menu-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 500;
  
  color: var(--pulse-cyan);
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-menu-nav a:hover {
  color: #00aaff;
  transform: translateX(4px);
}

.mobile-menu-cta a {
  padding: 12px 16px;
  background: #00aaff;
  color: #000;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-menu-cta a:hover {
  background: #33bbff;
  transform: translateY(-2px);
}
/* EVO Console Dropdown */
.evo-console {
  position: fixed;
  top: -40dvw; /* hidden above screen */
  right: 0;
  width: 100dvw;
  max-height: 40dvw;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  overflow-y: auto;
  transition: top 0.15s ease;
  z-index: 100001;
}
/* When open */
.evo-console.open {
  top: 0;
}
/* Console content */
#evo-console-content {
  padding: 20px;
  color: #fff;
  font-family: "Inter", sans-serif;
}
.boot-line {
  opacity: 0.35;
  color: #00ffea;
  transition: opacity 0.15s ease, color 0.15s ease, transform 0.15s ease;
  padding: 3px 0;
  
  /* subtle hologram glow */
  text-shadow: 0 0 4px #00ffee88, 0 0 8px #00ffee44;

  /* slight depth */
  transform: translateZ(0);
}
.boot-line2 {
  opacity: 1;
  color: #00ffea;
  transition: opacity 0.15s ease, color 0.15s ease, transform 0.15s ease;
  padding: 3px 0;
  font-size: large;
  /* subtle hologram glow */
  text-shadow: 0 0 4px #00ffee88, 0 0 8px #00ffee44;

  /* slight depth */
  transform: translateZ(0);
}

/* default indicator */
.boot-line::before {
  content: "[ ] ";
  color: #00ffea;
  text-shadow: 0 0 4px #00ffeeaa;
}

/* ACTIVE — highlight + pop forward */
.boot-line.active {
  opacity: 1;
  color: #00ffea;
  transform: translateX(4px);
  text-shadow: 0 0 6px #00ffeecc, 0 0 12px #00ffee88;
}

.boot-line.active::before {
  content: "[…] ";
  color: #00ffea;
  text-shadow: 0 0 6px #00ffeecc;
}

/* DONE — green hologram check */
.boot-line.done {
  opacity: 1;
  color: #6aff6a;
  transform: translateX(6px);
  text-shadow: 0 0 6px #6aff6aaa, 0 0 12px #6aff6a55;
}

.boot-line.done::before {
  content: "[✔] ";
  color: #ffffff;
  text-shadow: 0 0 6px #ffffffaa;
}

/* Toggle Button (top-right) */
.evo-toggle-btn {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: background 0.2s ease;
}

.evo-toggle-btn:hover {
  background: rgba(255,255,255,0.25);
}
#cameraBtn {
  position: fixed;
  z-index: 99999999;
  width: 4.5dvw;
  height: 6.5dvh;
  top: 46dvh;
  left: 48dvw;

  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #c40000 60%, #7a0000);
  border: 3px solid #550000;

  box-shadow:
    0 4px 12px rgba(0,0,0,0.45),
    inset 0 3px 6px rgba(255,255,255,0.25),
    inset 0 -4px 8px rgba(0,0,0,0.55);

  display: none;
  justify-content: center;
  align-items: center;

  font-weight: 800;
  font-size: 14px;
  color: #fff;

  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease,
    backdrop-filter 0.15s ease;
}

#cameraBtn:hover {
  transform: scale(1.06);
  box-shadow:
    0 6px 16px rgba(0,0,0,0.55),
    inset 0 4px 8px rgba(255,255,255,0.3),
    inset 0 -4px 10px rgba(0,0,0,0.6);
}

#cameraBtn:active {
  transform: scale(0.92) translateY(2px);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.4),
    inset 0 2px 4px rgba(255,255,255,0.15),
    inset 0 -2px 6px rgba(0,0,0,0.7);
  filter: brightness(0.85);
}
/* ============================================================
   PULSEWORLD — NAV BUTTONS (Logs / Warn / Error / Reports)
   ============================================================ */

.pw-nav-btn {
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  transition: 
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  
  /* DVW console alignment */
  display: inline-block;
  user-select: none;
}

/* Hover glow */
.pw-nav-btn:hover {
  background: rgba(0,255,255,0.12);
  color: #7df9ff;
  box-shadow: 0 0 8px rgba(0,255,255,0.35);
  transform: translateY(-1px);
}

/* Active click feedback */
.pw-nav-btn:active {
  transform: translateY(0px) scale(0.97);
  background: rgba(0,255,255,0.18);
}

/* Highlight when selected by navigation */
.pw-nav-btn.active {
  background: rgba(0,255,255,0.22);
  color: #00eaff;
  box-shadow: 0 0 10px rgba(0,255,255,0.45);
}

/* Toggle Button */
#evotogglebtn {
  color: red;
  position: fixed;
  top: 13.2dvh;
  left: 84.7dvw;
  width: 42px;
  height: 35px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999999;
  color: #0ff;
  box-shadow:
    0 4px 10px rgba(0,255,255,0.35),
    inset 0 0 12px rgba(0,255,255,0.25),
    0 0 18px rgba(0,255,255,0.45);

  transform: translateZ(0); /* GPU hint */

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease,
    backdrop-filter 0.15s ease;
}

/* Hover: lift + glow */
#evotogglebtn:hover {
  align-items: center;
  justify-content: center;
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 18px rgba(0,255,255,0.55),
    inset 0 0 14px rgba(0,255,255,0.35),
    0 0 22px rgba(0,255,255,0.65);
  filter: brightness(1.15);
}

/* Active: press inward */
#evotogglebtn:active {
  align-items: center;
  justify-content: center;
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 3px 6px rgba(0,255,255,0.25),
    inset 0 0 10px rgba(0,255,255,0.45),
    0 0 12px rgba(0,255,255,0.35);
  filter: brightness(0.9);
}


/* Dropdown Console */
.pw-console {
  position: fixed;
  top: -45vw;
  right: 0;
  width: 100dvw;
  max-height: 45vw;
  background: rgba(0,0,0,0.85);
  color: #fff;
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  overflow-y: auto;
  transition: top 0.15s ease;
  z-index: 10000001;
}

.pw-console.open {
  top: 0;
}

/* Header */
.pw-console-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.6);
}

.pw-console-title {
  font-size: 16px;
  font-weight: bold;
  color: #7DF9FF;
}

.pw-console-sub {
  float: right;
  font-size: 12px;
  opacity: 0.7;
  color: #fff;
}

/* Log Area */
.pw-console-log {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px 16px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 14px;
  color: #fff;
}

.pw-log-line {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0.9;
}

/* Footer */
.pw-console-footer {
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.6);
  font-size: 12px;
  color: #7DF9FF;
}

.hero {
  position: relative;
  padding: 4rem 0;
  perspective: var(--tp-max-width);
}

/* Inner container floats forward */
.hero-inner {
  position: relative;
  z-index: 2;
  transform: translateZ(40px);
  color: var(--pulse-gold-strong);
  filter: drop-shadow(0 0 25px rgba(0,255,200,0.25));
}

/* Soft radial chamber glow behind everything */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0,255,200,0.12) 0%,
    rgba(0,255,200,0.05) 35%,
    rgba(0,0,0,0.85) 100%
  );
  z-index: 0;
  filter: blur(40px);
}

/* ============================================================
   HERO LASHES — FLOATING STACK
   ============================================================ */

.hero-lashes {
  position: relative;
  text-align: center;
  transform: translateZ(60px);
  color: var(--pulse-gold-strong);
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0% { transform: translateZ(60px) translateY(0); }
  50% { transform: translateZ(60px) translateY(-10px); }
  100% { transform: translateZ(60px) translateY(0); }
}

/* ============================================================
   EYEBROW — SOFT NEON GLINT
   ============================================================ */

.hero-eyebrow {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--pulse-gold);
  opacity: 0.9;
  transform: translateZ(70px);
  filter: drop-shadow(0 0 12px rgba(0,255,200,0.25));
}

/* ============================================================
   TITLE — 3D GLINT + DEPTH
   ============================================================ */

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--pulse-gold);
  transform: translateZ(80px);
  filter: drop-shadow(0 0 20px rgba(0,255,200,0.35));
}

/* ============================================================
   SUBTITLE — FLOATING GLASS TEXT
   ============================================================ */

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 24px;
  opacity: 0.95;
  text-align: center;
  color: var(--pulse-gold-strong);
  background-clip: text;
  -webkit-background-clip: text;
  transform: translateZ(70px);
  filter: drop-shadow(0 0 15px rgba(0,255,200,0.25));
}

/* ============================================================
   CTAS — DIMENSIONAL BUTTONS
   ============================================================ */

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
  justify-content: center;
  transform: translateZ(85px);
}

.hero-ctas .btn {
  transform: translateZ(90px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-ctas .btn:hover {
  transform: translateZ(110px) scale(1.04);
  box-shadow: 0 0 25px rgba(0,255,200,0.45);
}

/* ============================================================
   META — SOFT WHISPER LINE
   ============================================================ */

.hero-meta {
  font-size: 0.9rem;
  opacity: 0.9;
  text-align: center;
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: var(--pulse-gold);
  transform: translateZ(60px);
  filter: drop-shadow(0 0 10px rgba(0,255,200,0.2));
}


.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-list {
  text-align: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--tp-radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  margin-top: 2dvh;
  padding: 2px 4px;
  z-index: 10000;
  border-radius: 999px;
  background: linear-gradient(135deg, #0a0a0a, #111);
  color:#fff;
  box-shadow:0 0 12px rgba(255,95,106,0.45);
}
.btn-primary:hover {
  margin-top: 2dvh;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0d0d0d, #161616);
  box-shadow:0 0 12px rgba(255,95,106,0.45);
}

.btn-drift {
  margin-top: 2dvh;
  border: 2px solid transparent;
  font-weight: 600;
  background: var(--pulse-coral);
  background-image: linear-gradient(90deg, var(--pulse-coral), #ffffff, var(--pulse-coral));
  padding: 14px 24px;
  background-size: 400%;
  background-position: 0%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #FFF;
  color:#fff;
  border-image: linear-gradient(90deg, #000000, #ffffff, #000000) 1;
  box-shadow:0 0 12px rgba(255,95,106,0.45);
  transition: background-position 1s linear, border-image 1s linear, box-shadow 0.2s ease;
}
.btn-drift:hover {
  margin-top: 2dvh;
   background-position: 100%;
  background:var(--pulse-coral-strong);
  transform:translateY(-2px);
  box-shadow:0 0 12px rgba(255,95,106,0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid transparent;
  padding: 10px 20px;
  font-weight: 600;
  background-image: linear-gradient(90deg, #000000, #ffffff, #000000);
  background-size: 400%;
  background-position: 0%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #FFF;
  border-image: linear-gradient(90deg, #000000, #ffffff, #000000) 1;
  transition: background-position 1s linear, border-image 1s linear, box-shadow 0.2s ease;
}

.btn-outline:hover {
  background-position: 100%;
  border-image: linear-gradient(90deg, #ff3d3d, #ffff00, #ff3d3d) 1;
  box-shadow: 0 6px 14px rgba(255, 90, 90, 0.5);
  color:#FFF;
}

/* PulsePal Bubble Overlay */
#pulsepal-overlay {
  position: fixed;
  bottom: 50px;
  left: 20px;
  z-index: 9999;
  font-family: 'Segoe UI', sans-serif;
}

/* Main PulsePal Bubble */
.pulsepal-button {
  background: radial-gradient(circle at center, 
    #00e6c3 0%,   /* bright teal */
    #009f8a 40%,  /* deep teal */
    #cfa300 100%  /* warm gold */
  );

  border: 2px solid #4db8ff;
  border-radius: 50%;
  width: clamp(100px, 32vw, 160px);
  height: clamp(100px, 32vw, 160px);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  padding: 0;

  box-shadow: 0 0 15px rgba(77,184,255,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pulsepal-button:hover {
  transform: scale(1.12);
  box-shadow: 0 0 28px rgba(77,184,255,0.9);
}

.pulsepal-talk {
  position: absolute;
  bottom: 190px;
  left: 10px;
  max-width: 280px;

  /* ⭐ FULLY OPAQUE SOLID GRADIENT */
  background: linear-gradient(135deg, #00e6c3 0%, #cfa300 100%);

  color: #000000;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.5px;

  padding: 8px 10px;
  border-radius: 16px;
  z-index: 999999;
  /* ⭐ REMOVE ALL FADING / GLOW / TRANSPARENCY */
  box-shadow: none;

  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ⭐ SOLID TAIL — NO TRANSPARENCY */
.pulsepal-talk::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 35px;
  width: 0;
  height: 0;

  border-left: 14px solid transparent;
  border-right: 14px solid transparent;

  /* FULLY OPAQUE */
  border-top: 14px solid #00e6c3;
}


/* Show Bubble When Active */
.pulsepal-button.talking + .pulsepal-talk {
  opacity: 1;
  transform: scale(1);
}


/* Focus Accessibility */
.pulsepal-button:focus {
  outline: 2px solid #6bff6b;
  outline-offset: 4px;
}

#pulseband-overlay {
  position: fixed;
  bottom: 10px;
  right: 18px;
  z-index: 99998;
  font-family: system-ui, sans-serif;
  color: #e9f9ff;
}
.pb-mini-badge {
  height: 100%;
  width: 100%;
  object-fit: contain;      /* zoom OUT to fit height */
  object-position: left center;  /* ⭐ force image to left */
  z-index: 9999;
  border-radius: 999px;
  border: 2px solid #6a5cff;
  box-shadow: 0 0 10px rgba(255, 212, 0, 0.6);
  background: radial-gradient(circle at 30% 30%, #00ffd5, #007a8a);
}
.pb-mini-badge.inactive {
  background: radial-gradient(circle at 30% 30%, #222 20%, #000 80%);
}
.pulse-score {
  text-align: center;
}
.pb-affected-notes {
  font-size: 12px;
}
.pulse-score-text {
  font-size: 12px;
}
.pb-relational {
  text-align: center;
}
.pb-rel-text {
  font-size: 14px;
}
.pb-docs {
  text-align: center;
}
.pb-docs-link {
  text-align: center;
  color: blue;
}
/* ============================================================
   PULSEBAND BADGE — IMAGE MODULE VERSION
   ============================================================ */


/* Base badge */
#pulseband-badge {
  width: 85px;
  height: 85px;
  border-radius: 999px;

  /* Purplish-blue dimensional sheen */
  background: radial-gradient(
    circle at 30% 20%,
    #d8d4ff 0%,        /* soft lavender highlight */
    #6a5cff 35%,       /* pulse purple */
    #3a4bff 65%,       /* deep blue core */
    #1a1f4d 100%       /* dark indigo rim */
  );

  /* Sheen + depth */
  box-shadow:
    0 0 20px rgba(120, 90, 255, 0.55),   /* outer glow */
    inset 0 0 18px rgba(255, 255, 255, 0.35), /* inner sheen */
    inset 0 -8px 12px rgba(30, 20, 80, 0.55); /* lower shadow */
  
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  overflow: hidden;

  border: 2px solid rgba(90, 70, 255, 0.65); /* subtle purple border */

  z-index: 99998;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

/* PulseBand image */
#pulseband-badge img.pulseband-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  animation: pbIdleWaver 3s ease-in-out infinite;
}

/* Hover / press feedback */
#pulseband-badge:hover {
  transform: scale(1.06);
  box-shadow: 0 0 35px rgba(0,180,255,0.75);
}

#pulseband-badge:active {
  transform: scale(0.94);
}

/* ============================================================
   ACTIVE / BOOST / WEAK STATES
   ============================================================ */

/* Active mode — subtle center waver */
#pulseband-badge.active img.pulseband-image {
  animation: pbActiveWaver 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(0,255,213,0.6));
}

/* Boost mode — bright golden pulse */
#pulseband-badge.boost {
  background: radial-gradient(circle at 40% 30%, #fff8c0 0%, #ffb400 60%, #ff6a00 100%);
  box-shadow: 0 0 25px rgba(255,180,0,0.85);
  animation: pbBoostPulse 1.2s ease-in-out infinite;
}

#pulseband-badge.boost img.pulseband-image {
  filter: drop-shadow(0 0 20px rgba(255,255,180,0.9));
  animation: pbBoostWaver 1s ease-in-out infinite;
}

/* Weak mode — red warning pulse */
#pulseband-badge.weak {
  background: radial-gradient(circle at 40% 30%, #ffb4b4 0%, #ff3b3b 60%, #4d0000 100%);
  box-shadow: 0 0 25px rgba(255,60,60,0.75);
}

#pulseband-badge.weak img.pulseband-image {
  filter: drop-shadow(0 0 10px rgba(255,60,60,0.7));
  animation: pbWeakWaver 1.2s ease-in-out infinite;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Gentle idle shimmer */
@keyframes pbIdleWaver {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.12); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

/* Active pulse — stronger center wave */
@keyframes pbActiveWaver {
  0%   { transform: scale(1.1); opacity: 1; }
  50%  { transform: scale(1.25); opacity: 0.75; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* Boost pulse — bright rhythmic expansion */
@keyframes pbBoostPulse {
  0%   { box-shadow: 0 0 25px rgba(255,180,0,0.85); }
  50%  { box-shadow: 0 0 45px rgba(255,220,100,1); }
  100% { box-shadow: 0 0 25px rgba(255,180,0,0.85); }
}

/* Boost waver — faster oscillation */
@keyframes pbBoostWaver {
  0%   { transform: scale(1.05); opacity: 1; }
  50%  { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* Weak waver — slower, fading pulse */
@keyframes pbWeakWaver {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}


.pulsebrowser-image {
  width: 50%;
  height: 50%;
  margin: 0 auto;
  border-radius: 20px;
  /* Deep 3D shadow stack */
  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.85),
    0 12px 30px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(0, 255, 180, 0.25), /* PulseWorld glow */
    0 0 0 2px rgba(255, 255, 255, 0.06);
}
.pulseworldengine-image {
  display: block;
  width: 360px;
  height: 360px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 40px;
  border-color: black;
  background: radial-gradient(circle, #0a0a0a 0%, #000 100%);
  /* Faded edges (soft radial mask) */
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);

  /* Deep 3D shadow stack */
  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.85),
    0 12px 30px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(0, 255, 180, 0.25), /* PulseWorld glow */
    0 0 0 2px rgba(255, 255, 255, 0.06);

  /* Bloom glow */
  filter: drop-shadow(0 0 25px rgba(0,255,200,0.35));

  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover lift */
.pulseworldengine-image:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 0 35px rgba(0,255,200,0.55));
}
.pulseworld-image {
  display: block;
  width: clamp(140px, 32vw, 260px);
  height: clamp(140px, 32vw, 260px);
  object-fit: cover;
  margin: 0 auto;
  border-radius: 40px;
  border-color: black;
  background: radial-gradient(circle, #0a0a0a 0%, #000 100%);
  /* Faded edges (soft radial mask) */
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);

  /* Deep 3D shadow stack */
  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.85),
    0 12px 30px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(0, 255, 180, 0.25), /* PulseWorld glow */
    0 0 0 2px rgba(255, 255, 255, 0.06);

  /* Bloom glow */
  filter: drop-shadow(0 0 25px rgba(0,255,200,0.35));

  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover lift */
.pulseworld-image:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 0 35px rgba(0,255,200,0.55));
}
.pulsebandactive-image {
  display: block;
  width: 480px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 40px;
  border-color: black;
  background: radial-gradient(circle, #0a0a0a 0%, #000 100%);
  /* Faded edges (soft radial mask) */
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);

  /* Deep 3D shadow stack */
  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.85),
    0 12px 30px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(0, 255, 180, 0.25), /* PulseWorld glow */
    0 0 0 2px rgba(255, 255, 255, 0.06);

  /* Bloom glow */
  filter: drop-shadow(0 0 25px rgba(0,255,200,0.35));

  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Hover lift */
.pulsebandactive-image:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 0 35px rgba(0,255,200,0.55));
}

.pb-header {
  color: #e9f9ff;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-self: center;
  border-radius: 999px;
  margin-bottom: 6px;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.30),
    0 12px 28px rgba(0,0,0,0.32),
    inset 0 0 0 1px rgba(255,255,255,0.35);
}
.pb-card {
  position: absolute;
  bottom: 30px;
  right: 10dvw;
  width: 320px;
  max-height: 94dvh;
  background: #000;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  padding: 14px 16px 16px 16px;
  color: #e9f9ff;
  border: 2px solid #6a5cff;
  pointer-events: auto;
  transform-origin: bottom right;
  transform: translateY(12px) scale(0.96);
  opacity: 1;
  display: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.pb-hint {
  font-size: 11px;
  opacity: 0.55;
  margin-left: 4px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #c8f7ff; /* soft tropical teal */
}
.pb-row label {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pb-row {
  display: flex;
  justify-content: space-between;
}
.pb-value {
  font-weight: 600;
  color: #fff;
}
.pb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.pb-row:last-child {
  border-bottom: none;
}
.pb-row label {
  font-weight: 500;
  color: #f5f5f5;
}
.pb-hint {
  font-weight: 400;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.pb-value {
  font-weight: 600;
  color: var(--tp-yellow-strong);
  text-align: right;
}
.pulse-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow:
    0 0 18px rgba(0,255,255,0.25),
    inset 0 0 12px rgba(0,255,255,0.15);
  transform: translateZ(0px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.pulse-panel:hover {
  transform: translateZ(22px) scale(1.015);
  border-color: var(--pulse-cyan-hard);
  box-shadow:
    0 0 28px rgba(0,255,255,0.45),
    inset 0 0 18px rgba(0,255,255,0.25);
}
.pulse-panel-header {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--pulse-cyan);
  text-shadow:
    0 0 8px var(--pulse-cyan),
    0 0 14px var(--pulse-cyan);
  margin-bottom: 12px;
}
.pulse-panel.float {
  animation: panelFloat 6s ease-in-out infinite;
}
.pulse-btn {
  background: linear-gradient(
    135deg,
    rgba(0,255,255,0.25),
    rgba(0,255,255,0.45)
  );
  border: 1px solid var(--pulse-cyan-soft);
  padding: 10px 18px;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.pulse-btn:hover {
  transform: translateY(-3px);
  border-color: var(--pulse-cyan);
  box-shadow:
    0 0 18px rgba(0,255,255,0.45),
    inset 0 0 12px rgba(0,255,255,0.25);
}
input[type="file"] {
  color: var(--pulse-cyan);
  font-size: 14px;
  text-shadow: 0 0 6px var(--pulse-cyan);
}
@keyframes panelFloat {
  0%   { transform: translateZ(0px) translateY(0px); }
  50%  { transform: translateZ(12px) translateY(-4px); }
  100% { transform: translateZ(0px) translateY(0px); }
}
#pulseBootPanel {
  position: fixed;
  width: 23dvw;
  height: auto;
  max-width: 23dvw;
  top: 185px;
  left: 205px;
  background: rgba(0,0,0,0.75);
  padding: 5px 8px;
  border-radius: 14px;
  font-family: monospace;
  color: #00ffea;
  z-index: 999999;
  pointer-events: none;

  /* 3D POP */
  box-shadow:
    0 0 12px #00ffeeaa,
    0 0 22px #00ffee55,
    inset 0 0 12px #003344aa,
    inset 0 0 22px #001a1aaa;

  backdrop-filter: blur(6px);

  /* Slight tilt for hologram slab */
  transform: perspective(600px) rotateY(-6deg) translateZ(20px);

  /* Scanline shimmer */
  background-image:
    linear-gradient(
      rgba(255,255,255,0.03) 0%,
      rgba(255,255,255,0.00) 2%
    );
  background-size: 100% 4px;
  animation: pulseScan 6s linear infinite;
}

@keyframes pulseScan {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

#pulseBootHeader {
  font-size: clamp(6px, 1.2vw, 18px);
  font-weight: bold;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #00ffea55;
  text-shadow: 0 0 6px #00ffea, 0 0 12px #00ffea;
}

/* Boot lines pop */
.boot-line {
  font-size: clamp(6px, 1.2vw, 18px);
  margin: 4px 0;
  opacity: 0.95;
  text-shadow: 0 0 4px #00ffeeaa;
  transform: translateZ(10px);
}

/* Warm boot mode */
#pulseBootPanel.warm-boot {
  background: rgba(0,0,0,0.35);
  color: #6aff6a;
  border: 1px solid #6aff6a55;
  box-shadow:
    0 0 12px #6aff6aaa,
    0 0 22px #6aff6a55,
    inset 0 0 12px #003300aa,
    inset 0 0 22px #001a00aa;
}

#pulseBootPanel.warm-boot .boot-line::before {
  content: "[↻] ";
  color: #6aff6a;
}

#pulseBootPanel.warm-boot .boot-line {
  opacity: 1;
  color: #6aff6a;
  text-shadow: 0 0 4px #6aff6aaa;
}

#pulseBootPanel.warm-boot #pulseBootHeader {
  color: #6aff6a;
  border-bottom: 1px solid #6aff6a55;
  text-shadow: 0 0 6px #6aff6a, 0 0 12px #6aff6a;
}

#pulseBootPanel.warm-boot #pulseBootHeader::after {
  content: " — SESSION RESUMED";
  color: #00ffea;
  opacity: 0.85;
}

/* Fade-out */
#pulseBootPanel.fade-out {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.address-container {
  position: fixed;
  top: 4.4dvh;
  left: 33.6dvw;
  flex: 1;
  font-size: x-large;
  padding: 6px 10px;
  max-width: 38dvw;
  border-radius: 4px;
  border: 1px solid #0ff;
  background: rgba(0, 0, 0, 0.8);
  color: #0ff;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: text;
}
.address-container:focus-within {
  border-color: #0ff;
  box-shadow: 0 0 8px #0ff;
}

.address-container .prefix {
  flex-shrink: 0;
  margin-right: 4px;
}

.address-container .route {
  flex: 1;
  min-width: 0;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
}

.prefix {
  color: #f0f;
  font-weight: bold;
  user-select: none;
  pointer-events: none;
  opacity: 0.9;
}
.route {
  flex: 1;
  outline: none;
  border: none;
  color: #0ff;
  min-width: 10px;
  white-space: nowrap;
  overflow: hidden;
}
#goBtn {
  position: fixed;
  margin-top: 5px;
  top: 4.3dvh;
  left: 66dvw;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: large;
  border: 1px solid #0ff;
  background: rgba(0, 0, 0, 0.9);
  color: #0ff;
  cursor: pointer;
  transition: transform 0.12s ease,
              box-shadow 0.12s ease,
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#goBtn:hover, #adminBtn:hover {
  transform: scale(1.03);
}
#goBtn:active, #adminBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 8px #0ff inset;
}
#glassBtn {
  width: 1.7dvw;
  height: 2.8dvh;
  top: 5dvh;
  left: 64.1dvw;
  margin-right: 1dvw;
  padding: 0;
  border-radius: 6px;
  border: none;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: fixed;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#glassBtn:hover {
  transform: scale(1.03);
}
#glassBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}

#homeBtn {
  position: fixed;
  z-index: 99999999;
  width: 2.3dvw;
  height: 3.2dvh;
  padding: 0;
  top: 13.2dvh;
  left: 19dvw;
  
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);

  color: #0ff;
  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  /* 3D POP + SHADOW */
  box-shadow:
    0 4px 10px rgba(0,255,255,0.35),
    inset 0 0 12px rgba(0,255,255,0.25),
    0 0 18px rgba(0,255,255,0.45);

  transform: translateZ(0); /* GPU hint */

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease,
    backdrop-filter 0.15s ease;
}

/* Hover: lift + glow */
#homeBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 18px rgba(0,255,255,0.55),
    inset 0 0 14px rgba(0,255,255,0.35),
    0 0 22px rgba(0,255,255,0.65);
  filter: brightness(1.15);
}

/* Active: press inward */
#homeBtn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 3px 6px rgba(0,255,255,0.25),
    inset 0 0 10px rgba(0,255,255,0.45),
    0 0 12px rgba(0,255,255,0.35);
  filter: brightness(0.9);
}

#backBtn {
  position: fixed;
  z-index: 99999999;
  width: 2.3dvw;
  height: 3.2dvh;
  padding: 0;
  top: 13.2dvh;
  left: 11dvw;
  
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);

  color: #0ff;
  display: none;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  /* 3D POP + SHADOW */
  box-shadow:
    0 4px 10px rgba(0,255,255,0.35),
    inset 0 0 12px rgba(0,255,255,0.25),
    0 0 18px rgba(0,255,255,0.45);

  transform: translateZ(0); /* GPU hint */

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease,
    backdrop-filter 0.15s ease;
}

/* Hover: lift + glow */
#backBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 18px rgba(0,255,255,0.55),
    inset 0 0 14px rgba(0,255,255,0.35),
    0 0 22px rgba(0,255,255,0.65);
  filter: brightness(1.15);
}

/* Active: press inward */
#backBtn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 3px 6px rgba(0,255,255,0.25),
    inset 0 0 10px rgba(0,255,255,0.45),
    0 0 12px rgba(0,255,255,0.35);
  filter: brightness(0.9);
}

#forwardBtn {
  position: fixed;
  z-index: 99999999;
  width: 2.3dvw;
  height: 3.2dvh;
  padding: 0;
  top: 13.2dvh;
  left: 13.5dvw;
  
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);

  color: #0ff;
  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  /* 3D POP + SHADOW */
  box-shadow:
    0 4px 10px rgba(0,255,255,0.35),
    inset 0 0 12px rgba(0,255,255,0.25),
    0 0 18px rgba(0,255,255,0.45);

  transform: translateZ(0); /* GPU hint */

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease,
    backdrop-filter 0.15s ease;
}

/* Hover: lift + glow */
#forwardBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 18px rgba(0,255,255,0.55),
    inset 0 0 14px rgba(0,255,255,0.35),
    0 0 22px rgba(0,255,255,0.65);
  filter: brightness(1.15);
}

/* Active: press inward */
#forwardBtn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 3px 6px rgba(0,255,255,0.25),
    inset 0 0 10px rgba(0,255,255,0.45),
    0 0 12px rgba(0,255,255,0.35);
  filter: brightness(0.9);
}
#driftBtn {
  position: fixed;
  z-index: 99999999;
  width: 7.8dvw;
  height: 7.5dvh;
  padding: 0;
  top: 12.5dvh;
  left: 0.9dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#driftBtn:hover {
  transform: scale(1.03);
}
#driftBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}

#refreshBtn {
  position: fixed;
  width: 2.3dvw;
  height: 3.2dvh;
  margin-left: 4px;
  padding: 0;
  top: 13.2dvh;
  left: 16.2dvw;

  border-radius: 10px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);

  color: #0ff;
  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  /* 3D POP + SHADOW */
  box-shadow:
    0 4px 10px rgba(0,255,255,0.35),
    inset 0 0 12px rgba(0,255,255,0.25),
    0 0 18px rgba(0,255,255,0.45);

  transform: translateZ(0); /* GPU hint */

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease,
    backdrop-filter 0.15s ease;
}

/* Hover: lift + glow */
#refreshBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 18px rgba(0,255,255,0.55),
    inset 0 0 14px rgba(0,255,255,0.35),
    0 0 22px rgba(0,255,255,0.65);
  filter: brightness(1.15);
}

/* Active: press inward */
#refreshBtn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 3px 6px rgba(0,255,255,0.25),
    inset 0 0 10px rgba(0,255,255,0.45),
    0 0 12px rgba(0,255,255,0.35);
  filter: brightness(0.9);
}


#refreshBtn svg {
  pointer-events: none;
  display: block;
}
#emailBtn {
  position: fixed;
  width: 2.3dvw;
  height: 3.2dvh;
  margin-left: 4px;
  padding: 0;
  top: 13.2dvh;
  left: 21.6dvw;
  
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);

  color: #0ff;
  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  /* 3D POP + SHADOW */
  box-shadow:
    0 4px 10px rgba(0,255,255,0.35),
    inset 0 0 12px rgba(0,255,255,0.25),
    0 0 18px rgba(0,255,255,0.45);

  transform: translateZ(0); /* GPU hint */

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease,
    backdrop-filter 0.15s ease;
}

/* Hover: lift + glow */
#emailBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 18px rgba(0,255,255,0.55),
    inset 0 0 14px rgba(0,255,255,0.35),
    0 0 22px rgba(0,255,255,0.65);
  filter: brightness(1.15);
}

/* Active: press inward */
#emailBtn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 3px 6px rgba(0,255,255,0.25),
    inset 0 0 10px rgba(0,255,255,0.45),
    0 0 12px rgba(0,255,255,0.35);
  filter: brightness(0.9);
}

#videoBtn {
  position: fixed;
  width: 2.3dvw;
  height: 3.2dvh;
  margin-left: 4px;
  padding: 0;
  top: 13.2dvh;
  left: 78.7dvw;
  
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);

  color: #0ff;
  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  /* 3D POP + SHADOW */
  box-shadow:
    0 4px 10px rgba(0,255,255,0.35),
    inset 0 0 12px rgba(0,255,255,0.25),
    0 0 18px rgba(0,255,255,0.45);

  transform: translateZ(0); /* GPU hint */

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease,
    backdrop-filter 0.15s ease;
}

/* Hover: lift + glow */
#videoBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 18px rgba(0,255,255,0.55),
    inset 0 0 14px rgba(0,255,255,0.35),
    0 0 22px rgba(0,255,255,0.65);
  filter: brightness(1.15);
}

/* Active: press inward */
#videoBtn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 3px 6px rgba(0,255,255,0.25),
    inset 0 0 10px rgba(0,255,255,0.45),
    0 0 12px rgba(0,255,255,0.35);
  filter: brightness(0.9);
}

#inventoryBtn {
  position: fixed;
  width: 7.7dvw;
  height: 7.5dvh;
  padding: 0;
  top: 29.5dvh;
  left: 1.1dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#inventoryBtn:hover {
  transform: scale(1.03);
}
#inventoryBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}
#engineBtn {
  position: fixed;
  width: 7.7dvw;
  height: 7.5dvh;
  padding: 0;
  top: 21dvh;
  left: 1.1dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#engineBtn:hover {
  transform: scale(1.03);
}
#engineBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}
#pulsebandBtn {
  position: fixed;
  width: 8.7dvw;
  height: 16.5dvh;
  padding: 0;
  bottom: 71dvh;
  right: 1.5dvw;
  border: none;
  border-radius: 6px;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#pulsebandBtn:hover {
  transform: scale(1.03);
}
#pulsebandBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}

#storageBtn {
  position: fixed;
  width: 20.7dvw;
  height: 13.5dvh;
  padding: 0;
  bottom: 5dvh;
  right: 18dvw;
  border: none;
  border-radius: 6px;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#storageBtn:hover {
  transform: scale(1.03);
}
#storageBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}
#rewardsBtn {
  position: fixed;
  width: 7.7dvw;
  height: 7.5dvh;
  padding: 0;
  bottom: 29.9dvh;
  left: 1.1dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  z-index: 5;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#rewardsBtn:hover {
  transform: scale(1.03);
}
#rewardsBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}

#scannerBtn {
  position: fixed;
  width: 5.7dvw;
  height: 7.7dvh;
  padding: 0;
  top: 1.6dvh;
  left: 69dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#scannerBtn:hover {
  transform: scale(1.03);
}
#scannerBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}

#ghostBtn {
  position: fixed;
  width: 6.7dvw;
  height: 7.7dvh;
  padding: 0;
  top: 1.8dvh;
  left: 75.3dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(5, 4, 4, 0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#ghostBtn:hover {
  transform: scale(1.03);
}
#ghostBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}

#assetBtn {
  position: fixed;
  width: 7.7dvw;
  height: 7.5dvh;
  padding: 0;
  bottom: 45.8dvh;
  left: 1.1dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#assetBtn:hover {
  transform: scale(1.03);
}
#assetBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}
#vaultBtn {
  position: fixed;
  z-index: 5;
  width: 7.7dvw;
  height: 7.5dvh;
  padding: 0;
  bottom: 37.8dvh;
  left: 1.1dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#vaultBtn:hover {
  transform: scale(1.03);
}
#vaultBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}
#pulsepalBtn {
  position: fixed;
  z-index: 5;
  width: 9.2dvw;
  height: 7.6dvh;
  padding: 0;
  top: 1.9dvh;
  right: 1.4dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#pulsepalBtn:hover {
  transform: scale(1.03);
}
#pulsepalBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}

#pulsemeshBtn {
  position: fixed;
  z-index: 5;
  width: 9.2dvw;
  height: 6.3dvh;
  padding: 0;
  bottom: 54.2dvh;
  right: 1.2dvw;
  border-radius: 6px;
  border: 1px solid #0ff;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#pulsemeshBtn:hover {
  transform: scale(1.03);
}
#pulsemeshBtn:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}
/* ============================================================
   PULSEWORLD INTERNAL PAGE SELECTOR (LISTBOX)
   ============================================================ */

#internalSelect {
  position: fixed;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  top: 4.4dvh;
  left: 33dvw;
  background: rgba(0, 0, 0, 0.45);
  color: #0ff;
  position: fixed;

  z-index: 99999;
  border: 2px solid rgba(0, 255, 255, 0.35);
  border-radius: 6px;

  padding: 6px 10px;
  margin-right: 10px;
  max-width: 38dvw;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: x-large;
  font-weight: 600;

  cursor: pointer;
  outline: none;

  transition: 
      background 0.25s ease,
      border-color 0.25s ease,
      box-shadow 0.25s ease,
      color 0.25s ease;
}

#internalSelect:hover {
  background: rgba(0, 255, 255, 0.12);
  border-color: rgba(0, 255, 255, 0.55);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.45);
  color: #FFFFFF;
}

#internalSelect:focus {
  background: rgba(0, 255, 255, 0.18);
  border-color: rgba(0, 255, 255, 0.75);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.65);
  color: #FFFFFF;
}

/* Dropdown arrow replacement */
#internalSelect::-ms-expand {
  display: none;
}

#internalSelect::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ============================================================
  OPTION STYLING
  ============================================================ */

#internalSelect option {
  background: #0A0F12;
  color: #E0F7FA;
  padding: 8px;
  font-family: inherit;
  font-size: 14px;
  border: none;
}

#internalSelect option:hover {
  background: rgba(0, 255, 255, 0.25);
  color: #FFFFFF;
}

#internalSelect option:checked {
  background: rgba(0, 255, 255, 0.35);
  color: #FFFFFF;
}

#adminBtn {
  top: 13.2dvh;
  left: 81.7dvw;
  width: 2.3dvw;
  height: 3.2dvh;
  position: fixed;
  
  border-radius: 10px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);

  color: #0ff;
  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  /* 3D POP + SHADOW */
  box-shadow:
    0 4px 10px rgba(0,255,255,0.35),
    inset 0 0 12px rgba(0,255,255,0.25),
    0 0 18px rgba(0,255,255,0.45);

  transform: translateZ(0); /* GPU hint */

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease,
    backdrop-filter 0.15s ease;
}

/* Hover: lift + glow */
#adminBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 18px rgba(0,255,255,0.55),
    inset 0 0 14px rgba(0,255,255,0.35),
    0 0 22px rgba(0,255,255,0.65);
  filter: brightness(1.15);
}

/* Active: press inward */
#adminBtn:active {
  transform: translateY(1px) scale(0.97);
  box-shadow:
    0 3px 6px rgba(0,255,255,0.25),
    inset 0 0 10px rgba(0,255,255,0.45),
    0 0 12px rgba(0,255,255,0.35);
  filter: brightness(0.9);
}
#adminPanel {
  position: absolute;
  top: 18dvh;
  right: 12dvw;
  width: 200px;
  padding: 2px 4px;
  background: rgba(0,0,0,0.85);
  border: 1px solid #0ff;
  border-radius: 6px;
  display: none;
  z-index: 99999999;
}
#adminPanel input {
  width: 187px;
  padding: 6px;
  margin-bottom: 8px;
  background: #000;
  color: #0ff;
  border: 1px solid #0ff;
  border-radius: 4px;
}
#adminPanel button {
  width: 100%;
  padding: 6px;
  background: #000;
  color: #0ff;
  border: 1px solid #0ff;
  border-radius: 4px;
  cursor: pointer;
}

#pulseForm {
  display: none;
  align-items: center;
  flex: 1;
}

/* PulseWorld Layer Grid */
.pulse-layers-grid {
  display: grid;
  gap: 4px;
  width: 100%;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  grid-auto-flow: row dense;
}
.pulse-layer-card {
  padding: 10px;
  background: #0a0a0a;
  text-align: center;
  max-width: 100%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  color: #e9f9ff;
  pointer-events: auto;
  transform: translateY(12px) scale(0.96);
  opacity: 1;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
/* Hover effect */
.pulse-layer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px rgba(0, 230, 199, 0.25);
  z-index: 999;
}
/* Benefit cards */
.benefit-card {
  background: #0a0a0a;
  padding: 10px;
  border-radius: 14px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px rgba(0, 230, 199, 0.25);
}
a {
  color: inherit;
  text-decoration: none;
}
@keyframes pwHoverDrift {
  0%   { background-position: center; }
  50%  { background-position: calc(50% + 2%) center; }
  100% { background-position: center; }
}
.container {
  width: 100%;
  max-width: var(--tp-max-width);
  margin: 0 auto;
}
.section {
  width: 100%;
  max-width: var(--tp-max-width); /* 1200px */
  margin: 0 auto;
  padding: var(--tp-section-padding) 0;
}

.gallery-section {
  background: transparent;
  padding: 10px 0;
  text-align: center;
  border-radius: var(--tp-radius-md);
  width: 100%;
  
  max-width: var(--tp-max-width); /* 1200px */
  margin: 0 auto;
  box-sizing: border-box;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
}
.gradient-bg {
  max-width: var(--tp-max-width);
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
  background: transparent;   /* fully see-through */
  overflow: hidden;
}
.gradient-bg::before {
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 40px;
  gap: 40px;
  max-width: var(--tp-max-width);
  content: none !important;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;   /* fully see-through */
}
.tp-header {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--tp-teal);
  letter-spacing: -0.5px;
}
.tp-header-mobile {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--tp-teal);
  letter-spacing: -0.5px;
}

.layers-header {
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  color: #e9f9ff;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}
.intouchsection {
  text-align: center;
  margin: 0 auto;
  padding: 0;
  color: #FFF;
  max-width: var(--tp-max-width);
  width: 100%;
}
.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 10px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 600;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pulse-gold-strong);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 0.98rem;
  color: var(--pulse-gold-strong);
  max-width: 600px;
  margin: 0 auto;
}

.feature-grid-wrapper {
  background: transparent;
  background-size: cover;
  background-position: center;
  background-blend-mode: soft-light;
}
.testimonial-card {
  position: relative;
  border-radius: var(--tp-radius-lg);
  overflow: hidden;
  box-shadow: var(--tp-shadow-soft);
  height: auto;
  color: #fff;
}
.section-text-block h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--tp-text);
}
.section-text-block p {
  font-size: 0.98rem;
  color: var(--tp-muted);
  margin-bottom: 18px;
  max-width: 600px;
}
.contact-text-block h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 800;
  color: #FFF;
}
.contact-text-block p {
  font-size: 0.98rem;
  color: #FFF;
  margin-bottom: 18px;
  max-width: 600px;
}
.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--tp-text);
}
.icon-bullet {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(0, 168, 132, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tp-teal);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.tp-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.tp-logo-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00b3b3;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.tp-logo-circle2 {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00b3b3;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.tp-logo-circle-mobile {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00b3b3;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.tp-logo-circle2-mobile {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00b3b3;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.badge {
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:0.75rem;
  background:var(--pulse-glass);
}

.feature-grid {
  max-width: var(--tp-max-width); /* 1200px */
  display:grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 4px;
}
.pex-card {
  position:relative;
  height:220px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}
.section-text-block h2,
.contact-text-block h2 {
  font-size:2rem;
  font-weight:800;
  color:var(--pulse-gold);
}
.section-text-block p,
.contact-text-block p {
  color:var(--pulse-muted);
  max-width:600px;
}
.tp-header {
  font-size:1.5rem;
  font-weight:500;
  color:var(--pulse-teal);
}

/* PEX Logo Container */
#pexLogoContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
  text-align: center;
}

.pulse-layer-desc p {
  font-size: 0.98rem;
  color: var(--tp-muted);
  max-width: 260px
}

/* Caption */
.pex-caption {
  color: #8fa0b8;
  font-size: 0.85rem;
  margin-top: 10px;
  letter-spacing: 0.6px;
  opacity: 0.9;
}
/* PulseWorld Summary */
.pulseworld-summary {
  background: #0a0a0a;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.pulseworld-description {
  color: #b8c4d9;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 12px;
}

/* Stretch Cards */
.stretch-card {
  background: #0a0a0a;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* PEX Logo Container */
#pexLogoContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

/* Circular glowing emblem */
#pexLogo {
  width: 60%;
  max-width: 460px;
  height: auto;
  border-radius: 50%;
  padding: 10px;

  background: radial-gradient(circle at center, #0a0a0a 0%, #111 100%);
  box-shadow:
    0 0 25px rgba(0, 200, 255, 0.6),
    0 0 60px rgba(150, 0, 255, 0.4),
    inset 0 0 20px rgba(0, 0, 0, 0.6);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover pulse effect */
#pexLogo:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 35px rgba(0, 255, 255, 0.85),
    0 0 90px rgba(180, 0, 255, 0.7),
    inset 0 0 25px rgba(0, 0, 0, 0.7);
}

/* Caption */
.pex-caption {
  color: #8fa0b8;
  font-size: 0.85rem;
  margin-top: 10px;
  letter-spacing: 0.6px;
  text-align: center;
  width: 100%;
}

/* Test controls spacing */
.test-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  width: 100%;
}

/* PEX Panel Rows */
.pex-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #1a1a1a;
}

.pex-label {
  color: #8fa0b8;
}

.pex-value {
  color: #d0e0ff;
}

/* Benefit Grid */
.benefit-grid {
  max-width: var(--tp-max-width); /* 1200px */
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 4px;
  margin-top: 30px;
}

/* Benefit Card */
.benefit-card {
  background: #0a0a0a;
  padding: 4px;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(0, 200, 255, 0.35);
}

/* Benefit Titles */
.benefit-title {
  color: #d0e0ff;
  font-size: 1.3rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* Benefit Description */
.benefit-desc {
  color: #9fb0c8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Benefit List */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #b8c4d9;
  font-size: 0.9rem;
  line-height: 1.6;
}

.benefit-list li {
  margin-bottom: 6px;
}
#tp-layer-benefits {
  margin-top: 20px;
}
#tp-layer-benefits .section-header {
  text-align: center;
  margin-bottom: 20px;
}

#tp-layer-benefits .section-title {
  font-size: 2rem;
  color: #e8f0ff;
}

#tp-layer-benefits .section-eyebrow {
  color: #7fa8ff;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

#tp-layer-benefits .section-subtitle {
  color: #b8c4d9;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 820px;
  margin: 12px auto 0 auto;
}

/* TITLES */
.gallery-title {
  color: gold;
  font-size: 2.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-subtitle {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

/* GRID — FIXED TO 3 COLUMNS (3 TIERS / 3 ROWS) */
.gallery-grid {
  max-width: var(--tp-max-width); /* 1200px */
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 4px;
}

/* ITEM CARD */
.gallery-item {
  background: #111;
  border-radius: 14px;
  padding: 22px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 0 0 rgba(255, 215, 0, 0);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
}

/* IMAGE WRAPPER */
.media-wrapper {
  position: relative;
  overflow: hidden;
  justify-self: center;
  border-radius: 12px;
  background: #000;
}

/* IMAGE */
.gallery-img {
  width: 300px;
  display: block;
  justify-self: center;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* IMAGE */
.gallery-img2 {
  width: 450px;
  display: block;
  justify-self: center;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* PulseWorld Layer Images */
.pulse-layer2-img {
  width: 300px;
  display: block;
  justify-self: center;
  margin: 0 auto 14px auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 6px rgba(0, 230, 199, 0.25));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
/* PulseWorld Layer Images */
.pulse-layer-img {
  width: 300px;
  display: block;
  justify-self: center;
  margin: 0 auto 14px auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 6px rgba(0, 230, 199, 0.25));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* POP‑OUT EFFECT */
.media-wrapper:hover .gallery-img {
  transform: scale(1.26);
  filter: brightness(1.35);
}

/* POP‑OUT EFFECT (REVERSED) */
.media-wrapper:hover .gallery-img2 {
  transform: scale(1.26);
  filter: brightness(1.35);
}


/* NAME + ROLE */
.gallery-name {
  color: gold;
  font-size: 1.5rem;
  margin-top: 15px;
  margin-bottom: 6px;
  font-weight: 600;
}

.gallery-role {
  color: #aaa;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

#pexPanel {
  position: absolute;
  top: 140px;
  right: 70px;
  width: 420px;
  z-index: 50;
}
#pexPanel .pex-section {
  margin-bottom: 22px;
}
#pexPanel .pex-label {
  font-size: 14px;
  opacity: 0.75;
  color: var(--pulse-cyan);
  margin-bottom: 4px;
}
#pexPanel .pex-value {
  font-size: 16px;
  color: white;
  text-shadow: 0 0 6px var(--pulse-cyan);
}
/* Default PulseWorld gold */
.pb-value {
  color: gold;
  font-weight: 600;
}

/* Good (green) */
.pb-good {
  color: #00ff66;
}

/* Regular (orange) */
.pb-regular {
  color: #ffae00;
}

/* Bad (red) */
.pb-bad {
  color: #ff0033;
}

/* Bad (red) */
.pb-gold {
  color: gold;
}

.pulse-layer-card {
  position: relative;
  overflow: visible; /* let the image pop outside the card */
}

.pulse-layer2-img:hover {
  transform: scale(2.5);          /* pop out */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 10;                    /* float above everything */
}

.pulse-layer-img:hover {
  transform: scale(1.6);          /* pop out */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 10;                    /* float above everything */
}

/* ============================================================
   COSMIC BACKGROUND — PULSEWORLD DRIFT ENGINE v4.5
============================================================ */
.pw-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

/* ============================================================
   TRUE ORBITAL DRIFT — visible, circular, cosmic
============================================================ */
@keyframes universalOrbit {
  0% {
    transform:
      translate(-15%, -45%)
      rotate(0deg)
      translateX(520px)
      rotate(0deg);
  }
  100% {
    transform:
      translate(-15%, -45%)
      rotate(360deg)
      translateX(520px)
      rotate(-360deg);
  }
}

/* ============================================================
   SELF-SPIN — visible rotation of the pulsar image
============================================================ */
@keyframes selfSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ============================================================
   AXIAL WOBBLE — stronger tilt for visible motion
============================================================ */
@keyframes axialWobble {
  0%   { transform: rotateX(0deg) rotateY(0deg); }
  50%  { transform: rotateX(16deg) rotateY(-10deg); }
  100% { transform: rotateX(0deg) rotateY(0deg); }
}

/* ============================================================
   MICRO-DRIFT — tiny drifting motion for life
============================================================ */
@keyframes microDrift {
  0%   { transform: translateY(0px) translateX(0px); }
  50%  { transform: translateY(-7px) translateX(4px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* ============================================================
   RESTORED DRIFT — THIS is what makes the pulsar “change”
============================================================ */
@keyframes drift {
  from { background-position: 0 0; }
  to   { background-position: -800px -800px; }
}


/* ============================================================
    BARRIER CONTAINER
============================================================ */
.pw-barrier-container {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

  /* ============================================================
   LOGO + GLOW (UPGRADED)
============================================================ */
.pw-logo2 {
  position: relative;
  width: 460px;
  
  border-radius: 20px;
  transform-style: preserve-3d;
}

.pw-logo2 img {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px #00eaff);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  cursor: pointer;
  z-index: 9999;
}

/* Glow layer with crescendo → surge → reset */
.pw-logo2-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,255,0.4), transparent 70%);
  animation: pulsarSurge 18s ease-in-out infinite;
  transform-style: preserve-3d;
}

.pw-logo2 img:hover {
  
  border-radius: 20px;
  transform: scale(1.38);          /* pop out */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 9999;                    /* float above everything */
}
/* ============================================================
   PULSAR SURGE ENGINE v30++
   - Soft pulse
   - Speeds up
   - Supercharged 3D POP at 18s
   - Glow intensifies
   - Bounce shockwave
   - Reset to soft
============================================================ */
@keyframes pulsarSurge {

  /* Soft slow pulse */
  0%   { transform: scale(1); opacity: 0.5; filter: blur(2px); }

  10%  { transform: scale(1.05); opacity: 0.65; filter: blur(3px); }
  20%  { transform: scale(1); opacity: 0.5; filter: blur(2px); }

  /* Slightly faster pulse */
  30%  { transform: scale(1.07); opacity: 0.75; filter: blur(3px); }
  40%  { transform: scale(1); opacity: 0.5; filter: blur(2px); }

  /* Faster pulse */
  50%  { transform: scale(1.1); opacity: 0.8; filter: blur(4px); }
  60%  { transform: scale(1); opacity: 0.5; filter: blur(2px); }

  /* Pre‑surge tightening */
  70%  { transform: scale(1.12); opacity: 0.85; filter: blur(4px); }
  80%  { transform: scale(1); opacity: 0.5; filter: blur(2px); }

  /* ============================================================
     SURGE EVENT — 18s MARK
     This is the POP:
     - 3D extrusion
     - chroma flare
     - bounce shock
     - glow intensifies
  ============================================================ */
  94% {
    transform: scale(1.25) translateZ(20px);
    opacity: 0.9;
    filter: drop-shadow(0 0 40px #00eaff) blur(6px);
  }

  96% {
    transform: scale(1.55) translateZ(40px);
    opacity: 0.97;
    filter: drop-shadow(0 0 80px #00eaff) blur(10px);
  }

  98% {
    transform: scale(1.35) translateZ(10px);
    opacity: 0.98;
    filter: drop-shadow(0 0 50px #00eaff) blur(6px);
  }

  /* Reset to soft */
  100% {
    transform: scale(1) translateZ(0);
    opacity: 1;
    filter: blur(2px);
  }
}

/* ============================================================
    PANEL
============================================================ */
.pw-panel {
  width: 520px;
  z-index: 999;
  padding: 4px 10px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(0,255,255,0.25);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 40px rgba(0,255,255,0.25);
  animation: panelFade 0.8s ease-out forwards;
}

@keyframes panelFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pw-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
  color: #00eaff;
}

.pw-subtitle {
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 25px;
}

/* ============================================================
    INPUTS
============================================================ */
.pw-section label {
  font-size: 13px;
  opacity: 0.8;
}

.pw-section input {
  width: 100%;
  padding: 2px 4px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid rgba(0,255,255,0.25);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border 0.15s;
}

.pw-section input:focus {
  border-color: #00eaff;
  box-shadow: 0 0 10px #00eaff;
}

/* ============================================================
    REMEMBER ME
============================================================ */
.pw-remember {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}

/* ============================================================
    AUTH MESSAGE
============================================================ */
.pw-msg {
  margin-top: 15px;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.pw-msg.error {
  background: rgba(255,0,0,0.15);
  border: 1px solid rgba(255,0,0,0.4);
}

.pw-msg.success {
  background: rgba(0,255,255,0.15);
  border: 1px solid rgba(0,255,255,0.4);
}

/* ============================================================
    BUTTONS
============================================================ */
.pw-buttons {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pw-btn {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #00eaff, #0077ff);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.pw-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px #00eaff;
}

.pw-btn.alt {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,255,255,0.3);
  color: #00eaff;
}

.pw-btn.alt:hover {
  box-shadow: 0 0 15px #00eaff;
}

/* ============================================================
    LOADER
============================================================ */
.pw-loader {
  position: absolute;
  top: calc(50% + 200px);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pw-loader.show {
  display: flex;
}

.pw-loader-ring {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0,255,255,0.2);
  border-top-color: #00eaff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pw-loader-text {
  font-size: 13px;
  opacity: 0.7;
}

.pw-preview-terminal {
  margin-top: 20px;
  padding: 15px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: "Consolas", "Courier New", monospace;
  color: #00ffea;
  line-height: 1.4;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.t-scan-frame {
  position: fixed;
   width: min(100dvw, 100dvh);
  height: min(70dvw, 70dvh);
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 22px;
  border: 3px solid rgba(0, 255, 255, 0.6); /* your teal line */
  z-index: 10;
  pointer-events: auto !important;
}

/* ——————————————————————————————————————————————
   SCAN FRAME INNER
—————————————————————————————————————————————— */
.t-scan-frame-inner {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 2px solid rgba(0,200,190,0.75);
  box-shadow:
    0 0 22px rgba(0,220,210,0.35),
    0 0 0 1px rgba(255,215,160,0.25);
  animation:
    t-frame-breathe 4s ease-in-out infinite,
    t-frame-tint 4s ease-in-out infinite;
  position: relative;
  z-index: 11;
}
@keyframes t-frame-tint {
  0% {
    background: rgba(0,60,60,0.12);
  }
  50% {
    background: rgba(0,30,30,0.28);
  }
  100% {
    background: rgba(0,60,60,0.12);
  }
}
@keyframes t-frame-breathe {
  0% {
    border-color: rgba(0,180,170,0.65);
    box-shadow:
      0 0 18px rgba(0,200,190,0.30),
      0 0 0 1px rgba(255,215,160,0.22);
  }

  50% {
    border-color: rgba(0,180,230,0.95);
    box-shadow:
      0 0 34px rgba(0,255,245,0.55),
      0 0 0 1px rgba(255,225,180,0.35);
  }

  100% {
    border-color: rgba(0,180,170,0.65);
    box-shadow:
      0 0 18px rgba(0,200,190,0.30),
      0 0 0 1px rgba(255,215,160,0.22);
  }
}

.t-camera-window {
  position: fixed;
  width: min(100dvw, 100dvh);
  height: min(70dvw, 70dvh);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 22px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}

.t-camera-window video {
  width: 100%;
  height: 100%;
  z-index: 3;
  object-fit: cover;
  box-sizing: border-box;
}

#aliasSnap {
  position: fixed;
  z-index: 99999999;
  width: 4.5dvw;
  height: 6.5dvh;
  padding: 0;
  top: 18dvh;
  right: 10.4dvw;
  border-radius: 6px;
  border: 1px solid red;
  background: rgba(0,0,0,0.0);
  color: #0ff;
  display: none;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s ease, 
              box-shadow 0.12s ease, 
              filter 0.12s ease,
              backdrop-filter 0.15s ease;
  backdrop-filter: none;
}
#aliasSnap:hover {
  transform: scale(1.03);
}
#aliasSnap:active {
  backdrop-filter: blur(2px) brightness(0.85);
  transform: scale(0.92) translateY(1px);
  filter: brightness(0.85);
  box-shadow: 0 0 6px #0ff inset;
}
#cameraBtn svg {
  pointer-events: none;
  display: block;
}

/* ========================= */
/* HEIGHT BREAKPOINTS (ASC)  */
/* ========================= */

@media (pointer: coarse) and (hover: none) and (max-width: 1000px) {
  #viewport {
    top: 15.9dvh;
    left: 15dvw;
    height: calc(100dvh - 33.8dvh);
    max-height: calc(100dvh - 33.8dvh);
    min-height: calc(100dvh - 33.8dvh);
    width: calc(100dvw - 20dvw);
    max-width: calc(100dvw - 20dvw);
    min-width: calc(100dvw - 20dvw);
    border-radius: 0;
  }
  #aliasSnap {
    width: 6.5dvw;
    height: 4.5dvh;
  }
  .topmenu {
    top: -0.9dvh;
    left: 2.1dvw;
    font-size: 8px;
    font-weight: 500;
    z-index: 9999;
    }
  /* Inner layout */
  .header-inner {
    font-size: 8px;
    font-weight: 500;
    padding: clamp(6px, 1.2vw, 20px) clamp(10px, 2vw, 40px);
  }
  #internalSelect {
    top: 8dvh;
    left: 22.2dvw;
    max-width: 70dvw;
  }
  .address-container {
    top: 8dvh;
    left: 22.2dvw;
    max-width: 70dvw;
  }
  #goBtn {
    top: 10.7dvh;
    right: 15.3dvw;
    width: 8.2dvw;
    height: 4dvh;
  }
  /* Toggle Button */
  #evotogglebtn {
    top: 11dvh;
    right: 6dvw;
    width: 8.2dvw;
    height: 4dvh;
  }
  #refreshBtn {
    top: 4.6dvh;
    right: 8.9dvw;
    height: 4.2dvh;
    width: 6.9dvw;
  }
  #driftBtn {
    top: 10.6dvh;
    left: 6.4dvw;
    height: 5.3dvh;
    width: 9.8dvw;
  } 
  #glassBtn {
    width: 8.7dvw;
    height: 5.3dvh;
    top: 10.6dvh;
    left: 36.2dvw;
  }
  #videoBtn {
    width: 9.6dvw;
    height: 5.3dvh;
    top: 10.6dvh;
    left: 15.7dvw;
  }
  #emailBtn {
    width: 9.6dvw;
    height: 5.3dvh;
    top: 10.6dvh;
    left: 25.6dvw;
  }
  #vaultBtn {
    width: 11dvw;
    height: 5.5dvh;
    bottom: 26.7dvh;
    left: 2.7dvw;
  }
  #rewardsBtn {
    width: 11dvw;
    height: 5.2dvh;
    bottom: 19.6dvh;
    left: 2.7dvw;
  }
  #pulsepalBtn {
    width: 11dvw;
    height: 5dvh;
    top: 47.7dvh;
    left: 2.7dvw;
  }

    
  .desktop-nav {
    font-size: clamp(8px, 12vw, 14px);
    gap: clamp(3px, 12vw, 8px);
    padding: 4px;
    border-radius:14px;
  }
  #scannerBtn {
    width: 11dvw;
    height: 5dvh;
    top: 41.1dvh;
    left: 2.7dvw;
  }
  #assetBtn {
    width: 11dvw;
    height: 5dvh;
    top: 35dvh;
    left: 2.7dvw;
  }
  #engineBtn {
    width: 11dvw;
    height: 6dvh;
    top: 19.5dvh;
    left: 2.7dvw;
  }
  #inventoryBtn {
    width: 11dvw;
    height: 5.3dvh;
    top: 27.2dvh;
    left: 2.7dvw;
  }
  #adminBtn {
    top: 54dvh;
    height: 5.3dvh;
    width: 11dvw;
    left: 3dvw;
  }
  #adminPanel {
    top: 58dvh;
    left: 9dvw;
  }
  #cameraBtn {
    width: 8.5dvw;
    height: 6.5dvh;
    top: 46dvh;
    left: 48dvw;
  }
  #pulseband-badge {
    display: flex;
  }
  #pulsebandBtn {
    display: none;
  }
  #pulseBootPanel {
    max-width: 70dvw;
    max-height: 50dvh;
    top: 65px;
    left: 45px;
    font-size: 8px;
  }
  #pulsemeshBtn {
    width: 6.2dvw;
    height: 6.3dvh;
    bottom: 27.7dvh;
    right: 1.6dvw;
  }
  .t-scan-frame {
    top: 48%;
    left: 55%;
    height: calc(100dvh - 37dvh);
    max-height: calc(100dvh - 37dvh);
    min-height: calc(100dvh - 37dvh);
    width: calc(100dvw - 20dvw);
    max-width: calc(100dvw - 20dvw);
    min-width: calc(100dvw - 20dvw);
    
    border-radius: 24px;
  }
    
  .t-camera-window {
    height: calc(100dvh - 37dvh);
    max-height: calc(100dvh - 37dvh);
    min-height: calc(100dvh - 37dvh);
    width: calc(100dvw - 20dvw);
    max-width: calc(100dvw - 20dvw);
    min-width: calc(100dvw - 20dvw);
  }

}