@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&display=swap');

*, *::before, *::after {
  cursor: none !important;
}

html, body {
  margin: 0;
}

/* ===== MIND PAGE ===== */

.mind-body {
  background: #000;
  min-height: 100vh;
  overflow: hidden;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.mind {
  position: relative;
  min-height: 100vh;
}

.mind::before, .mind::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mind::before {
  background: radial-gradient(ellipse at 20% 50%, rgba(40,40,50,0.4), transparent 70%),
              radial-gradient(ellipse at 80% 30%, rgba(30,30,45,0.3), transparent 60%);
  animation: fog-drift 20s ease-in-out infinite alternate;
}

.mind::after {
  background: radial-gradient(ellipse at 60% 70%, rgba(50,40,60,0.25), transparent 65%),
              radial-gradient(ellipse at 30% 20%, rgba(35,35,50,0.2), transparent 55%);
  animation: fog-drift 25s ease-in-out infinite alternate-reverse;
}

@keyframes fog-drift {
  from { transform: translate(-5%, -3%) scale(1.1); }
  to { transform: translate(5%, 3%) scale(1); }
}

/* ===== BUBBLES ===== */

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.bubble:hover {
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(0,245,255,0.4), 0 0 50px rgba(0,245,255,0.15);
  border-color: rgba(0,245,255,0.2);
}

.bubble-ascii {
  font-family: monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.12);
  line-height: 1.2;
  text-align: center;
  padding: 10px;
  word-break: break-all;
  white-space: pre;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* ===== MODAL ===== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  color: #d7d7e3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}

.modal-content::-webkit-scrollbar {
  width: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

/* ===== BACK LINK ===== */

.back-link {
  position: fixed;
  top: 20px;
  left: 20px;
  color: rgba(255,255,255,0.3);
  font-size: 2.5rem;
  text-decoration: none;
  z-index: 10;
  transition: color 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
}

.back-link:hover {
  color: #00f5ff;
}

/* ===== SPARKLES CANVAS (from sparkles.js) ===== */

canvas[style*="pointer-events:none"] {
  z-index: 9999;
}
