/* =========================================================
   Reserve CTA bar — lives inside .fit
   ========================================================= */
.fcta {
  --mx: 50%; --my: 50%;
  position: relative;
  max-width: 860px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 26px 0;
}
.fcta__flare {                              /* bright star points at the bar ends */
  position: absolute;
  top: 50%;
  width: 70px; height: 70px;
  margin-top: -35px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, #fff6e2 0 2px, rgba(247, 196, 124, .7) 3px, rgba(247, 196, 124, 0) 22px),
    linear-gradient(90deg, transparent 10%, rgba(255, 230, 190, .8) 50%, transparent 90%) center / 100% 1.5px no-repeat,
    linear-gradient(0deg, transparent 30%, rgba(255, 230, 190, .6) 50%, transparent 70%) center / 1.5px 60% no-repeat;
  opacity: 0;
  transform: scale(.3);
  transition: opacity .8s ease 1.4s, transform .8s cubic-bezier(.34, 1.56, .64, 1) 1.4s;
}
.fcta__flare--l { left: -6.5%; }
.fcta__flare--r { right: -6.5%; }
.fcta.is-in .fcta__flare { opacity: 1; transform: scale(1); animation: ctaFlare 3s ease-in-out 2.4s infinite; }
.fcta.is-in .fcta__flare--r { animation-delay: 3.9s; }

/* ---------- the glass pill ---------- */
.fcta__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  padding: 14px 14px 14px clamp(14px, 3vw, 36px);
  border-radius: 999px;
  background:
    radial-gradient(280px 120px at var(--mx) var(--my), rgba(190, 120, 255, .18), transparent 70%),
    linear-gradient(180deg, rgba(110, 40, 200, .42), rgba(44, 14, 86, .55));
  border: 1px solid rgba(200, 150, 255, .4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 -10px 30px rgba(120, 40, 230, .25),
    0 0 40px rgba(140, 50, 255, .35),
    0 20px 60px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  overflow: hidden;
  opacity: 0;
  transform: scaleX(.7) translateY(16px);
  transition: opacity .9s var(--ease, ease) .2s, transform 1.1s var(--ease, ease) .2s, border-color .4s, box-shadow .4s;
}
.fcta.is-in .fcta__bar { opacity: 1; transform: none; }
.fcta__bar::before {                        /* running light along the rim */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--cang, 0deg), transparent 0 70%, rgba(247, 196, 124, .9) 80%, rgba(220, 170, 255, .9) 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: .55;
  animation: ctaRim 6s linear infinite;
}
.fcta__bar:hover {
  border-color: rgba(220, 180, 255, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -10px 30px rgba(120, 40, 230, .3), 0 0 56px rgba(160, 70, 255, .5), 0 20px 60px rgba(0, 0, 0, .5);
}
.fcta__bar:hover::before { opacity: 1; }

/* staggered content entrance (opacity on the item; transform only on non-magnetic items) */
.fcta__bar > * { position: relative; opacity: 0; transition: opacity .7s var(--ease, ease); }
.fcta__sep, .fcta__info { transform: translateY(10px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.fcta.is-in .fcta__bar > * { opacity: 1; }
.fcta.is-in .fcta__sep, .fcta.is-in .fcta__info { transform: none; }
.fcta.is-in .fcta__btn  { transition-delay: .7s, 0s, 0s, 0s; }
.fcta.is-in .fcta__sep  { transition-delay: .8s; }
.fcta.is-in .fcta__info { transition-delay: .9s; }
.fcta.is-in .fcta__go   { transition-delay: 1s, 0s, 0s, 0s; }

/* ---------- primary button (its transform is driven by the site's .magnetic helper) ---------- */
.fcta__btn {
  flex: 0 0 auto;
  overflow: hidden;
  isolation: isolate;
  padding: 16px clamp(20px, 2.4vw, 30px);
  border-radius: 999px;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: clamp(15px, 1.35vw, 18px);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(180deg, #9a3cff, #7012e6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 22px rgba(138, 23, 255, .55);
  transition: opacity .7s var(--ease, ease), box-shadow .35s, filter .35s, transform .35s var(--ease, ease);
}
.fcta__btn > span:not(.ripple__dot) { position: relative; z-index: 1; }
.fcta__btn::after {                         /* periodic shimmer sweep */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -40%;
  width: 30%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  animation: ctaShine 4.5s ease-in-out 2.2s infinite;
  pointer-events: none;
}
.fcta__btn:hover, .fcta__btn:focus-visible {
  filter: brightness(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 32px rgba(160, 60, 255, .8), 0 0 0 4px rgba(170, 90, 255, .18);
  outline: none;
}
.fcta .ripple__dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%);
  transform: scale(0);
  pointer-events: none;
  z-index: 0;
  animation: ctaRipple .7s var(--ease, ease) forwards;
}

.fcta__sep {
  flex: 0 0 auto;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(220, 190, 255, .5), transparent);
}

/* ---------- date / venue ---------- */
.fcta__info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}
.fcta__cal {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: #e7d6ff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), stroke .3s;
}
.fcta__cal-tick { stroke: #f7c47c; stroke-dasharray: 10; stroke-dashoffset: 10; transition: stroke-dashoffset .6s ease 1.5s; }
.fcta.is-in .fcta__cal-tick { stroke-dashoffset: 0; }
.fcta__bar:hover .fcta__cal { transform: rotate(-10deg) scale(1.12); stroke: #fff; }
.fcta__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fcta__date {
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 16px);
  color: #f7f3fb;
}
.fcta__where {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: clamp(13px, 1.05vw, 14.5px);
  color: #cfc4de;
}
.fcta__live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff6fae;
  animation: ctaLive 2s ease-out infinite;
}

/* ---------- round arrow button ---------- */
.fcta__go {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: radial-gradient(circle at 35% 30%, #f1c9ff, #c77dff 45%, #9c3dff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 24px rgba(200, 120, 255, .65);
  transition: opacity .7s var(--ease, ease), box-shadow .35s, filter .35s, transform .35s var(--ease, ease);
}
.fcta__go::before {                         /* soft halo pulse */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: -1;
  animation: ctaHalo 2.4s ease-out 2s infinite;
}
.fcta__go-icon {
  position: relative;
  z-index: 1;
  width: 24px; height: 24px;
  overflow: hidden;
}
.fcta__go svg {
  display: block;
  width: 24px; height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fcta__go:hover, .fcta__go:focus-visible {
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 36px rgba(220, 150, 255, .9), 0 0 0 4px rgba(200, 130, 255, .2);
  outline: none;
}
.fcta__go:hover svg, .fcta__go:focus-visible svg { animation: ctaArrow .7s var(--ease, ease); }

/* ---------- keyframes ---------- */
@property --cang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ctaRim    { to { --cang: 360deg; } }
@keyframes ctaFlare  { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.3) rotate(45deg); opacity: .75; } }
@keyframes ctaShine  { 0%, 60% { left: -40%; } 100% { left: 130%; } }
@keyframes ctaRipple { to { transform: scale(1); opacity: 0; } }
@keyframes ctaLive   { 0% { box-shadow: 0 0 0 0 rgba(255, 111, 174, .6); } 100% { box-shadow: 0 0 0 8px rgba(255, 111, 174, 0); } }
@keyframes ctaHalo   { 0% { box-shadow: 0 0 0 0 rgba(220, 160, 255, .55); } 100% { box-shadow: 0 0 0 14px rgba(220, 160, 255, 0); } }
@keyframes ctaArrow  { 0% { transform: translateX(0); } 45% { transform: translateX(26px); } 46% { transform: translateX(-26px); } 100% { transform: translateX(0); } }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .fcta { max-width: 520px; padding: 18px 0; }
  .fcta__flare--l { left: -5%; }
  .fcta__flare--r { right: -5%; }
  .fcta__bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 14px;
    border-radius: 28px;
  }
  .fcta__btn { flex: 1 1 100%; text-align: center; }
  .fcta__sep { display: none; }
  .fcta__info { flex: 1; padding-left: 6px; }
  .fcta__go { width: 48px; height: 48px; }
}
@media (max-width: 380px) {
  .fcta__btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .fcta *, .fcta *::before, .fcta *::after { animation: none !important; }
  .fcta__bar, .fcta__bar > *, .fcta__flare { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fcta__cal-tick { stroke-dashoffset: 0 !important; transition: none !important; }
}

/* date: never split "7 PM IST"; use a short day on small screens */
.fcta__day, .fcta__hour { white-space: nowrap; }
.fcta__day--short { display: none; }
@media (max-width: 760px) {
  .fcta__day--long { display: none; }
  .fcta__day--short { display: inline; }
}
@media (max-width: 400px) {
  .fcta__date { font-size: 13px; letter-spacing: -.01em; }
}
