/* ============================================================================
   METANOIA · FINAL CTA — V3  (Phase III · Radiant Star — the closing pulse)
   A breathing radiant aura bookends the hero orb; the player/game/journey
   triplet becomes three phase-colored cards. Form stays the single action.
   ============================================================================ */

.final-cta {
  overflow: hidden;
}
.final-cta .wrap-narrow {
  position: relative;
  z-index: 1;
}

/* ---------- radiant aura backdrop (echoes the hero sigil) ---------- */
.cta-aura {
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(820px, 92vw);
  aspect-ratio: 1;
  z-index: 0;
  pointer-events: none;
}
.cta-aura .aura-halo {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--gradient-halo);
  filter: blur(20px);
  opacity: 0.9;
  animation: cta-halo-breathe 6s ease-in-out infinite;
}
.cta-aura .aura-core {
  position: absolute; top: 50%; left: 50%;
  width: 96px; height: 96px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%,
    rgba(255,255,255,0.5) 0%,
    var(--act-1) 20%,
    var(--act-4) 48%,
    var(--act-7) 80%,
    transparent 100%);
  filter: blur(8px);
  opacity: 0.5;
  animation: cta-halo-breathe 6s ease-in-out infinite;
}
.cta-aura .aura-pulse {
  position: absolute; top: 50%; left: 50%;
  width: 120px; height: 120px;
  transform: translate(-50%, -50%) scale(0.6);
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--act-4) 50%, transparent);
  opacity: 0;
  animation: cta-pulse-out 7s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.cta-aura .aura-pulse:nth-of-type(2) { animation-delay: 0s;    border-color: color-mix(in srgb, var(--act-1) 45%, transparent); }
.cta-aura .aura-pulse:nth-of-type(3) { animation-delay: 2.33s; border-color: color-mix(in srgb, var(--act-4) 45%, transparent); }
.cta-aura .aura-pulse:nth-of-type(4) { animation-delay: 4.66s; border-color: color-mix(in srgb, var(--act-7) 45%, transparent); }

@keyframes cta-halo-breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.85; transform: translate(-50%, -50%) scale(1.06); }
}
.cta-aura .aura-halo { transform-origin: center; }
@keyframes cta-pulse-out {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  10%  { opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(3.4); opacity: 0; }
}

/* ---------- triplet → three phase-colored cards ---------- */
.final-cta .triplet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 52px auto 28px;
  max-width: 720px;
  border: 0; padding: 0;
}
.final-cta .triplet .sep { display: none; }

.final-cta .triplet .trip {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 26px 18px 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: background 280ms var(--ease-out-soft), border-color 280ms var(--ease-out-soft), transform 280ms var(--ease-out-soft);
}
.final-cta .triplet .trip::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c);
  box-shadow: 0 0 14px var(--c);
  opacity: 0.55;
  transition: opacity 280ms var(--ease-out-soft);
}
.final-cta .triplet .trip:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, var(--c) 6%, rgba(255,255,255,0.02));
  border-color: color-mix(in srgb, var(--c) 38%, rgba(255,255,255,0.07));
}
.final-cta .triplet .trip:hover::before { opacity: 1; }

.final-cta .triplet .trip .trip-orb {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%,
    rgba(255,255,255,0.85) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 55%, #000) 100%);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent);
}
.final-cta .triplet .trip .trip-text {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(15px, 1.6vw, 18px); letter-spacing: -0.01em; line-height: 1.25;
  color: var(--fg2);
}
.final-cta .triplet .trip .trip-text em {
  font-style: normal; font-weight: 500;
  color: var(--c);
  display: block;
  font-size: 1.12em;
  margin-top: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .final-cta .triplet { grid-template-columns: 1fr; gap: 10px; max-width: 360px; }
  .final-cta .triplet .trip { flex-direction: row; justify-content: flex-start; text-align: left; padding: 18px 20px; }
  .final-cta .triplet .trip .trip-orb { width: 28px; height: 28px; }
  .final-cta .triplet .trip .trip-text em { display: inline; margin-left: 4px; }
  .cta-aura { top: 22%; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-aura .aura-halo, .cta-aura .aura-core, .cta-aura .aura-pulse { animation: none !important; }
  .cta-aura .aura-pulse { opacity: 0; }
  .final-cta .triplet .trip { transition: none; }
}
