/* ═══════════════════════════════════════════════════════
   MATRIX CONFERENCES — UNIQUE COUNTDOWN REDESIGN
   Circular ring-glow style with animated gradient accents
   ═══════════════════════════════════════════════════════ */

.conference-route .conf-hero-banner .countdown-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1.5rem;
}

/* Separator colon between items — hide default ones if any */
.conference-route .conf-hero-banner .countdown-separator {
  color: rgba(100, 180, 255, 0.6);
  font-size: 2rem;
  font-weight: 300;
  align-self: flex-start;
  padding-top: 0.6rem;
  line-height: 1;
}

/* Each countdown unit: circular ring card */
.conference-route .conf-hero-banner .countdown-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  padding: 0;
}

/* Glowing ring using pseudo-element */
.conference-route .conf-hero-banner .countdown-item::before {
  content: '' !important;
  display: block !important;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    #3b9eff 0%,
    #1d4ed8 35%,
    #0f2a6b 60%,
    #3b9eff 100%
  ) !important;
  padding: 3px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: countdown-ring-spin 6s linear infinite;
  box-shadow: 0 0 16px rgba(59, 158, 255, 0.5), inset 0 0 8px rgba(59, 158, 255, 0.2) !important;
}

/* Glass fill behind the ring */
.conference-route .conf-hero-banner .countdown-item::after {
  content: '' !important;
  display: block !important;
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 30% 30%,
    rgba(40, 80, 160, 0.95) 0%,
    rgba(10, 22, 60, 0.98) 100%
  ) !important;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.08), 0 8px 24px rgba(0,0,20,0.4) !important;
}

/* Seconds unit gets a warmer accent */
.conference-route .conf-hero-banner .countdown-item--seconds::before {
  background: conic-gradient(
    from 90deg,
    #f59e0b 0%,
    #d97706 35%,
    #0f2a6b 60%,
    #f59e0b 100%
  ) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5), inset 0 0 8px rgba(245, 158, 11, 0.15) !important;
  animation: countdown-ring-spin-fast 1s linear infinite !important;
}

/* Number value */
.conference-route .conf-hero-banner .countdown-value {
  position: relative;
  z-index: 2;
  font-family: "DM Sans", "Inter", sans-serif !important;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(59, 158, 255, 0.6);
}

/* Label */
.conference-route .conf-hero-banner .countdown-label {
  position: relative;
  z-index: 2;
  margin-top: 0.28rem;
  font-family: "DM Sans", "Inter", sans-serif !important;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180, 215, 255, 0.85);
}

/* Spin animation for the conic gradient ring */
@keyframes countdown-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes countdown-ring-spin-fast {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Pulse glow on hover */
.conference-route .conf-hero-banner .countdown-item:hover::before {
  box-shadow: 0 0 28px rgba(59, 158, 255, 0.8), inset 0 0 12px rgba(59, 158, 255, 0.3) !important;
}

/* ── Responsive ─────────────────────────────────── */
@media (min-width: 900px) {
  .conference-route .conf-hero-banner .conf-hero-meta {
    display: grid !important;
    grid-template-columns: repeat(2, max-content);
    gap: 0.75rem 1rem;
    align-items: start;
  }

  .conference-route .conf-hero-banner .meta-pill-date     { grid-column: 1; grid-row: 1; }
  .conference-route .conf-hero-banner .meta-pill-location { grid-column: 2; grid-row: 1; }
  .conference-route .conf-hero-banner .meta-pill-delegates{ grid-column: 1; grid-row: 2; }
  .conference-route .conf-hero-banner .meta-pill-venue    { grid-column: 2; grid-row: 2; }
}

@media (max-width: 899px) {
  .conference-route .conf-hero-banner .countdown-container {
    gap: 0.85rem;
  }

  .conference-route .conf-hero-banner .countdown-item {
    width: 72px;
    height: 72px;
  }

  .conference-route .conf-hero-banner .countdown-value {
    font-size: 1.35rem;
  }

  .conference-route .conf-hero-banner .countdown-label {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 480px) {
  .conference-route .conf-hero-banner .countdown-item {
    width: 60px;
    height: 60px;
  }

  .conference-route .conf-hero-banner .countdown-value {
    font-size: 1.1rem;
  }
}
