#events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.event-card {
  animation: rise 0.8s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(56,189,248,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  z-index: 0;
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to { background-position: 0 120px; }
}

.hero > * {
  position: relative;
  z-index: 1;
}

.neon-divider {
  height: 2px;
  width: 60%;
  margin: -40px auto 40px;
  background: linear-gradient(90deg, transparent, #38bdf8, #f43f5e, transparent);
  box-shadow:
    0 0 20px rgba(56,189,248,0.8),
    0 0 40px rgba(244,63,94,0.6);
}
