body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background-color: #000;
}
.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* subtle scanline / noise overlay */
.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.15) 3px
  );
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: .4;
}

/* animated grid background */
.bg-grid {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,255,157,0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 0%, rgba(255,0,72,0.12) 0%, transparent 60%),
    linear-gradient(rgba(0,255,157,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,157,0.15) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    24px 24px,
    24px 24px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0;
  background-color: #000;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
}

/* glitch text effect */
.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  clip-path: polygon(0 0,100% 0,100% 45%,0 45%);
  opacity: .7;
}
.glitch::before {
  color: #00ff9d;
  transform: translate(-2px, -1px);
  text-shadow: 0 0 8px rgba(0,255,157,.8);
}
.glitch::after {
  color: #ff0048;
  transform: translate(2px, 1px);
  text-shadow: 0 0 8px rgba(255,0,72,.8);
  clip-path: polygon(0 60%,100% 60%,100% 100%,0 100%);
}

/* card border glow */
.card-frame {
  position: relative;
}
.card-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: radial-gradient(circle at 0% 0%, rgba(0,255,157,.5) 0%, rgba(0,0,0,0) 60%);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .4;
}

/* neon border button */
.btn-acid {
  position: relative;
  box-shadow: 0 0 14px rgba(0,255,157,.6), 0 0 40px rgba(0,255,157,.2);
}
.btn-acid::after {
  content:"";
  position:absolute;
  inset:-1px;
  border:1px solid rgba(0,255,157,.5);
  border-radius:0.5rem;
  filter:drop-shadow(0 0 8px rgba(0,255,157,.8));
  pointer-events:none;
}

/* section label bar */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #00ff9d;
}
.section-label-dot {
  width: .4rem;
  height: .4rem;
  border-radius: 999px;
  background-color: #00ff9d;
  box-shadow: 0 0 10px rgba(0,255,157,.8);
}

/* subtle hover flicker for cards */
.hover-flicker:hover {
  box-shadow: 0 0 24px rgba(0,255,157,.35), 0 0 60px rgba(0,255,157,.1);
  border-color: rgba(0,255,157,.4);
}

/* small pulse dot for "online" indicator */
.pulse-dot {
  position: relative;
}
.pulse-dot::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:9999px;
  background:rgba(0,255,157,.4);
  animation:pulse 2s infinite;
}
@keyframes pulse {
  0% {transform:scale(1); opacity:.6;}
  70% {transform:scale(2); opacity:0;}
  100% {transform:scale(2); opacity:0;}
}

/* table style in experiments page */
.table-shell {
  border-radius: .75rem;
  border: 1px solid rgba(255,255,255,.07);
  background-color: rgba(15,15,16,.6);
  box-shadow: 0 0 60px rgba(0,255,157,.15);
}
.table-shell thead tr {
  background-color: rgba(0,255,157,.07);
}
.table-shell th {
  font-size: .7rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #00ff9d;
}
.table-shell td {
  font-size: .8rem;
  line-height: 1.2rem;
  color: rgba(255,255,255,.6);
  border-top: 1px solid rgba(255,255,255,.07);
}

/* footer fine text */
.footer-text {
  font-size: 11px;
  letter-spacing: .05em;
}