/* Local cluster public pages */

.local-cluster-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 45%, #581c87 100%);
  position: relative;
  overflow: hidden;
}

.local-cluster-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(125, 211, 252, 0.18), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(96, 165, 250, 0.16), transparent 28%),
    radial-gradient(circle at 68% 78%, rgba(196, 181, 253, 0.18), transparent 26%);
  pointer-events: none;
}

.local-cluster-pill {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.local-cluster-glass {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.local-cluster-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.local-cluster-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.local-cluster-zone-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.local-cluster-zone-card ul {
  flex: 1 1 auto;
}

.local-cluster-zone-footer {
  margin-top: auto;
  padding-top: 2rem;
}

.local-cluster-zone-link {
  align-self: flex-start;
}

.local-cluster-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  .local-cluster-card,
  .reveal-up {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
