/* Tiny custom layer on top of Bootstrap + Tailwind */
:root{
  --glass: rgba(255,255,255,.08);
}

.bg-grid{
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.card-glass{
  background: var(--glass);
  backdrop-filter: blur(10px);
}

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

.badge-soft{
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.18);
}

/* Simple animations (no heavy libs) */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(10px) scale(.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes softPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.card-animate{
  animation: floatIn .35s ease-out both;
}

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

.link-card:hover{
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(255,255,255,.35) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.btn-anim{
  transition: transform .12s ease, opacity .12s ease;
}

.btn-anim:active{
  transform: translateY(1px) scale(.99);
  opacity: .95;
}

.pulse-once{
  animation: softPulse .22s ease-out 1;
}
