/* ─── CTA Sticky Bottom Bar ─────────────────────────────────────── */

/* Compensate page bottom for the sticky bar height */
.issca-event-page {
  padding-bottom: 70px;
}

.cta-card {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 998;
  background: rgba(8, 8, 8, 0.90);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.6);
  transform: translateY(105%);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.4s ease;
}

.cta-card.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Inner content — respects page max-width */
.cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 13px clamp(16px, 3vw, 40px);
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* Left group: countdown + divider + location */
.cta-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

/* ── Countdown ── */
.cta-countdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.cta-countdown-header {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.cta-cd-icon {
  width: 10px;
  height: 10px;
  fill: var(--event-color);
  flex-shrink: 0;
}

.cta-cd-label {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--event-color);
  line-height: 1;
}

.cta-countdown-display {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-variant-numeric: tabular-nums;
  justify-content: center;
}

.cta-cd-num {
  font-family: "Manrope", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  min-width: 2ch;
  text-align: right;
  display: inline-block;
}

.cta-cd-sep {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1;
}

.cta-cd-expired {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--event-color);
  line-height: 1;
  letter-spacing: -0.01em;
}

.cta-cd-coming-soon {
  color: #f59e0b;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── Divider ── */
.cta-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ── Location ── */
.cta-location {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cta-location-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
}

.cta-location-label {
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1;
}

/* ── Event title (center, fades on small screens) ── */
.cta-main-title {
  margin: 0;
  flex: 1;
  font-family: "Manrope", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ── CTA Button ── */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--event-text-color, #fff);
  text-decoration: none;
  padding: 0.75rem 1.625rem;
  border-radius: 50px;
  background: var(--event-color);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  animation: pulse 2.5s infinite, glow 2.5s infinite;
  position: relative;
}

.cta-button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  animation: glow 1.5s infinite;
}

.cta-button svg {
  width: 1rem;
  height: 1rem;
  fill: var(--event-text-color, #fff);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .cta-inner {
    gap: 18px;
  }

  .cta-main-title {
    font-size: 1rem;
  }

  .cta-cd-num {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .cta-inner {
    gap: 14px;
    padding: 11px clamp(14px, 4vw, 24px);
    justify-content: space-between;
  }

  .cta-main-title {
    display: none;
  }

  .cta-info {
    gap: 14px;
    flex: 1;
    min-width: 0;
  }

  .cta-cd-label {
    font-size: 1.275rem;
  }

  .cta-cd-num {
    font-size: 1.625rem;
  }

  .cta-cd-sep {
    font-size: 1.075rem;
  }

  .cta-divider {
    height: 32px;
  }

  .cta-location-value {
    font-size: 1.475rem;
  }

  .cta-location-label {
    font-size: 1.275rem;
  }

  .cta-button {
    padding: 0.7rem 1.375rem;
    font-size: 1.475rem;
  }
}

@media (max-width: 480px) {
  .cta-inner {
    gap: 10px;
    padding: 10px 16px;
  }

  .cta-info {
    gap: 10px;
  }

  .cta-divider {
    height: 28px;
  }

  .cta-cd-label {
    font-size: 1.275rem;
  }

  .cta-cd-num {
    font-size: 1.625rem;
  }

  .cta-cd-sep {
    font-size: 1.075rem;
  }

  .cta-location-value {
    font-size: 1.475rem;
  }

  .cta-location-label {
    display: none;
  }

  .cta-button {
    padding: 0.625rem 1.125rem;
    font-size: 1.475rem;
    gap: 6px;
  }

  .cta-button svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}
