/* Celebrazione 30 anni — modulo isolato, eliminabile a fine anno */
.ecipa30[hidden] { display: none !important; }
.ecipa30 {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.ecipa30-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 196, .35), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(225, 29, 72, .28), transparent 40%),
    rgba(6, 20, 40, .72);
  backdrop-filter: blur(8px);
  animation: ecipa30Fade .45s ease;
}
.ecipa30-card {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  background: linear-gradient(165deg, #ffffff 0%, #eef5fc 100%);
  border-radius: 28px;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .6);
  animation: ecipa30Pop .55s cubic-bezier(.2, .9, .2, 1.2);
  overflow: hidden;
}
.ecipa30-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #123057, #e11d48, #2563a8);
}
.ecipa30-close {
  position: absolute;
  top: .65rem;
  right: .85rem;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  color: #5b6b82;
  cursor: pointer;
}
.ecipa30-badge {
  display: inline-flex;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(18, 48, 87, .08);
  color: #123057;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  margin-bottom: .4rem;
}
.ecipa30-number {
  font-family: Syne, Outfit, system-ui, sans-serif;
  font-size: clamp(4.5rem, 14vw, 6.5rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.06em;
  background: linear-gradient(120deg, #0a1f3d, #2563a8 50%, #e11d48);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: .2rem 0 .35rem;
  animation: ecipa30Pulse 2.4s ease-in-out infinite;
}
.ecipa30-kicker {
  margin: 0;
  color: #e11d48;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
}
.ecipa30-card h2 {
  margin: .55rem 0 .7rem;
  font-family: Syne, Outfit, system-ui, sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.15;
  color: #0a1f3d;
  letter-spacing: -.02em;
}
.ecipa30-text {
  margin: 0 auto 1.25rem;
  max-width: 34ch;
  color: #5b6b82;
  line-height: 1.55;
  font-size: .98rem;
}
.ecipa30-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
}
.ecipa30-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  font-family: inherit;
  font-size: .92rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.ecipa30-btn:hover { transform: translateY(-2px); }
.ecipa30-btn-primary {
  background: #e11d48;
  color: #fff;
  box-shadow: 0 12px 28px rgba(225, 29, 72, .3);
}
.ecipa30-btn-ghost {
  background: #123057;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 48, 87, .25);
}

.ecipa30-confetti {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.ecipa30-piece {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  opacity: .9;
  animation: ecipa30Fall linear forwards;
}

@keyframes ecipa30Fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes ecipa30Pop {
  from { opacity: 0; transform: translateY(28px) scale(.92); }
  to { opacity: 1; transform: none; }
}
@keyframes ecipa30Pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(37, 99, 168, 0)); }
  50% { filter: drop-shadow(0 8px 18px rgba(37, 99, 168, .25)); }
}
@keyframes ecipa30Fall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .ecipa30-card { padding: 1.6rem 1.1rem 1.25rem; }
  .ecipa30-actions { flex-direction: column; }
  .ecipa30-btn { width: 100%; }
}
