/* =====================================================
   AN Gateway Attractor — gateway-attractor.css v1.0
   Geometric physics overlay for agriculturenovel.co
   ===================================================== */

/* ── CANVAS (full viewport, pointer-events off so page is still usable) ── */
#anga-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.8s ease;
}

#anga-canvas.anga-visible {
  opacity: 1;
}

/* ── TOOLTIP bubble that pulses near the hamburger ── */
#anga-tooltip {
  position: fixed;
  top: -80px;           /* JS will reposition relative to hamburger */
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  color: #fff;
  font-family: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(0.92);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,200,100,0.1);
}

#anga-tooltip.anga-tip-show {
  opacity: 1;
  transform: translateY(0px) scale(1);
}

#anga-tooltip .anga-tip-icon {
  font-size: 16px;
  animation: anga-icon-bounce 1.2s ease-in-out infinite;
}

#anga-tooltip .anga-tip-text {
  background: linear-gradient(90deg, #ffd580, #ff9f43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Tooltip icon bounce ── */
@keyframes anga-icon-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}

/* ── Glow ring injected around the hamburger button ── */
.anga-ring-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  animation: anga-ring-pulse 1.6s ease-out infinite;
  transform: translate(-50%, -50%);
}

@keyframes anga-ring-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; }
  70%  { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

/* ── Hamburger button highlight (added via JS) ── */
.anga-target-highlighted {
  position: relative;
  z-index: 99999 !important;
  filter: drop-shadow(0 0 8px rgba(255, 180, 50, 0.8));
  animation: anga-btn-breathe 2s ease-in-out infinite;
}

@keyframes anga-btn-breathe {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 180, 50, 0.6)); }
  50%       { filter: drop-shadow(0 0 18px rgba(255, 160, 30, 1)); }
}

/* ── Pointer arrows that drift toward hamburger ── */
.anga-arrow {
  position: fixed;
  font-size: 20px;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  animation: anga-arrow-drift 3s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes anga-arrow-drift {
  0%   { opacity: 0; transform: translateY(8px); }
  20%  { opacity: 0.7; }
  80%  { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-8px); }
}
