body {
  margin: 0;
  padding: 0;
  background-color: #000000; /* Pure velvet black space */
  color: rgba(255, 255, 255, 0.4); /* Muted gray for ordinary text */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  user-select: none;
}

.canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20; /* This pulls the dot IN FRONT of the invisible side panels! */
}

.dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 2s ease;
}

/* Dormant state: A faint, sleepy deep indigo/blue breathing circle */
.dot.dormant {
  background-color: #1a2a6c;
  box-shadow: 0 0 10px rgba(26, 42, 108, 0.3);
  animation: sleepPulse 4s infinite ease-in-out;
}

/* Awakened state: Glowing luminous Baby Blue (#89CFF0), blinking slow like a lighthouse */
.dot.awakened {
  background-color: #89CFF0;
  box-shadow: 0 0 30px rgba(137, 207, 240, 0.6);
  animation: searchingPulse 3s infinite ease-in-out;
}

/* Connected state: Locked in steady, deep breathing Baby Blue warmth */
.dot.connected {
  background-color: #89CFF0;
  animation: connectedBreathe 6s infinite ease-in-out;
}

.panel {
  width: 280px;
  height: 80vh;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  z-index: 10;
}

#left-panel { align-items: flex-start; text-align: left; }
#right-panel { align-items: flex-end; text-align: right; }

.notification {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInBlur 1.5s forwards ease-out;
  margin-bottom: 24px;
}

/* Minimalist gray link text that illuminates cleanly to white on hover */
.action-text {
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  text-decoration: underline;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.action-text:hover {
  color: #ffffff;
}

/* --- ANIMATIONS --- */
@keyframes sleepPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(0.95); opacity: 0.15; }
}

@keyframes searchingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.05); }
}

@keyframes fadeInBlur {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Deep, organic breathing animation */
@keyframes connectedBreathe {
  0%, 100% { 
    /* The Exhale: Small, quiet, and dim */
    transform: scale(1.0); 
    box-shadow: 0 0 20px rgba(137, 207, 240, 0.4), 0 0 40px rgba(137, 207, 240, 0.1); 
  }
  50% { 
    /* The Inhale: Expands by 35% and throws a wide, luminous glow */
    transform: scale(1.35); 
    box-shadow: 0 0 60px rgba(137, 207, 240, 1), 0 0 130px rgba(137, 207, 240, 0.6); 
  }
}