.glow-bg {
  position: absolute;
  inset: -20% -20% auto -20%;
  height: 60vh;
  background:
    radial-gradient(60% 60% at 20% 30%, rgba(58,163,255,0.18), transparent 60%),
    radial-gradient(50% 50% at 80% 10%, rgba(58,163,255,0.10), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
  animation: float 12s ease-in-out infinite alternate;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}

.hover-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(58,163,255,0.25) inset;
  border-color: rgba(58,163,255,0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.grid-bg {
  background-size: 24px 24px;
  background-image: radial-gradient(circle at 1px 1px, #ffffff 1px, transparent 1px);
}

.prose-p {
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

pre {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 14px;
  overflow-x: auto;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.muted {
  color: rgba(255,255,255,0.60);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset;
}
