/* GONZOWIRE OS - paranoia ambient styles */

/* Cursor ash */
.ash-particle {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #d9b16c 0%, #5c4033 60%, transparent 100%);
  pointer-events: none;
  z-index: 9050;
  opacity: .7;
  animation: ashFall 1.8s ease-out forwards;
  --drift: 0px;
}
@keyframes ashFall {
  0%   { opacity: .7; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--drift), 30px) scale(.4); }
}

/* Idle peripheral ghosts */
.idle-ghost {
  position: fixed;
  font-family: var(--display);
  font-size: 14px;
  color: var(--neon-pink);
  text-shadow: 0 0 12px rgba(255,43,143,.7);
  pointer-events: none;
  z-index: 9080;
  opacity: 0;
  animation: ghostBlink 4.5s ease-in-out forwards;
  text-transform: lowercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
@keyframes ghostBlink {
  0%   { opacity: 0; }
  20%  { opacity: .55; }
  60%  { opacity: .3; }
  100% { opacity: 0; }
}

/* Custom selection - bloody */
::selection { background: #8b0000; color: #ffe21a; }
::-moz-selection { background: #8b0000; color: #ffe21a; }

/* Background flicker */
body.flicker { filter: brightness(1.15) contrast(1.05); }

/* Curtain darken when call modal active */
body.intercom-active { overflow: hidden; }

/* Intercom modal */
.intercom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: intercomFadeIn .4s ease-out;
}
@keyframes intercomFadeIn {
  0% { opacity: 0; backdrop-filter: blur(0); }
  100% { opacity: 1; backdrop-filter: blur(8px); }
}
.intercom-card {
  background: linear-gradient(180deg, #1a0d04 0%, #2a1808 100%);
  border: 3px solid #ffe21a;
  box-shadow: 0 0 60px rgba(255,226,26,.5), 0 0 0 6px rgba(0,0,0,.5);
  padding: 30px 40px;
  text-align: center;
  font-family: var(--display);
  color: #f4e9c1;
  max-width: 90vw;
  width: 380px;
  animation: intercomShake .12s steps(2) infinite;
}
@keyframes intercomShake {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-1px,1px); }
}
.intercom-avatar {
  font-size: 60px;
  margin-bottom: 8px;
  animation: ringBounce .8s ease-in-out infinite;
}
@keyframes ringBounce {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.1); }
}
.intercom-from {
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--neon-cyan);
  text-transform: uppercase;
}
.intercom-name {
  font-size: 24px;
  color: var(--neon-yellow);
  margin: 8px 0 16px;
  letter-spacing: .08em;
}
.intercom-msg {
  font-family: var(--mono);
  font-size: 16px;
  color: #f4e9c1;
  margin-bottom: 18px;
  padding: 14px;
  background: #000;
  border: 2px dashed var(--neon-pink);
  text-align: left;
}
.intercom-buttons { display: flex; gap: 10px; justify-content: center; }
.intercom-buttons button {
  background: var(--ink);
  color: var(--neon-yellow);
  border: 2px solid var(--neon-yellow);
  padding: 12px 22px;
  font-family: var(--display);
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.intercom-buttons .intercom-decline {
  border-color: #ff2a1f;
  color: #ff2a1f;
}
.intercom-buttons .intercom-accept {
  background: #06FFA5;
  color: #000;
  border-color: #06FFA5;
}
.intercom-buttons button:hover { filter: brightness(1.2); }

/* Panic flash after accept */
.panic-flash {
  position: fixed;
  inset: 0;
  background: rgba(255,42,31,.4);
  pointer-events: none;
  z-index: 9600;
  animation: panicFlash 1.2s ease-out forwards;
}
@keyframes panicFlash {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  100% { opacity: 0; }
}
