/* =========================================================
   Hero CTA — interactive "Reserve my seat · ₹199" + the note under it
   ========================================================= */

/* ---------- wrapper (magnetic: halo + sparkles follow the button) ---------- */
.hcta {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  transition: transform .35s var(--ease, ease);
}

/* rotating gold/purple light ring just outside the button */
.hcta__halo {
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--hang, 0deg), rgba(247, 196, 124, 0) 0deg, #ffe2a6 60deg, #c58bff 140deg, rgba(197, 139, 255, 0) 200deg, rgba(247, 196, 124, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  filter: drop-shadow(0 0 6px rgba(247, 196, 124, .6));
  opacity: .85;
  pointer-events: none;
  animation: hcRing 3.2s linear infinite;
  transition: opacity .3s, inset .35s var(--ease, ease);
}
.hcta:hover .hcta__halo { opacity: 1; inset: -5px; animation-duration: 1.4s; }

/* ---------- the button itself ---------- */
.btn--hero {
  gap: 10px;
  padding: 9px 9px 9px 20px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(180deg, #a447ff, #7a14ec);
}
.btn--hero:hover { background: linear-gradient(180deg, #b25cff, #8420f5); }
.btn--hero:active { transform: scale(.97); }
.btn--hero:focus-visible { outline: 2px solid #ffe2a6; outline-offset: 5px; }

.hcta__price {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #2a1203;
  background: linear-gradient(180deg, #ffe08a, #f7b733);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 12px rgba(255, 196, 80, .45);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}
.hcta:hover .hcta__price { transform: scale(1.08) rotate(-3deg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 20px rgba(255, 196, 80, .8); }

/* arrow loops through on hover: one slides out right, the other slides in from the left */
.hcta__arrow {
  position: relative;
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
  transition: background-color .3s;
}
.hcta__arrow svg {
  position: absolute;
  left: 7px; top: 7px;
  width: 14px; height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease, ease);
}
.hcta__arrow svg:last-child { transform: translateX(-24px); }
.hcta:hover .hcta__arrow { background: rgba(255, 255, 255, .24); }
.hcta:hover .hcta__arrow svg:first-child { transform: translateX(24px); }
.hcta:hover .hcta__arrow svg:last-child { transform: translateX(0); }

/* sparkles pop around the button on hover */
.hcta__spark {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  background: #ffe2a6;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 4px #f7c47c);
  transform: scale(0) rotate(0deg);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .3s;
  transition-delay: var(--d);
}
.hcta__spark:nth-of-type(2n) { background: #e2c2ff; filter: drop-shadow(0 0 4px #b46bff); width: 9px; height: 9px; }
.hcta:hover .hcta__spark { opacity: 1; transform: scale(1) rotate(90deg); animation: hcTwinkle 1.4s ease-in-out infinite; animation-delay: calc(.5s + var(--d)); }

/* click burst particles (added by JS) */
.hcta__burst {
  position: absolute;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--c, #ffe2a6);
  box-shadow: 0 0 8px var(--c, #ffe2a6);
  pointer-events: none;
  z-index: 3;
  animation: hcBurst .75s cubic-bezier(.2, .8, .3, 1) forwards;
}

/* ---------- note under the button ---------- */
.hero__note { gap: 10px; }
.hn-cam { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; }
.hn-cam svg { transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.hero__note:hover .hn-cam svg { transform: scale(1.15) rotate(-6deg); }
.hn-rec {
  position: absolute;
  right: -3px; top: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 0 0 rgba(255, 77, 109, .7);
  animation: hcRec 1.6s ease-out infinite;
}

.hn-tag {
  --tc: #f6d9a4;
  position: relative;
  font-weight: 600;
  color: #efe8f8;
  cursor: default;
  transition: color .3s;
  background: linear-gradient(var(--tc), var(--tc)) 0 100% / 0 2px no-repeat;
  padding-bottom: 1px;
  animation: hnIntro 1.2s var(--ease, ease) both;
  animation-delay: calc(1.6s + var(--k) * .35s);
}
.hn-tag--zoom { --tc: #5aa8ff; }
.hn-tag--wa   { --tc: #3ee07f; }
.hn-tag--mail { --tc: #f7c47c; }
.hn-tag:hover { color: var(--tc); background-size: 100% 2px; transition: color .3s, background-size .35s var(--ease, ease); }

/* ---------- keyframes ---------- */
@property --hang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hcRing    { to { --hang: 360deg; } }
@keyframes hcTwinkle { 0%, 100% { transform: scale(1) rotate(90deg); opacity: 1; } 50% { transform: scale(.55) rotate(135deg); opacity: .6; } }
@keyframes hcBurst   { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
@keyframes hcRec     { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, .7); } 100% { box-shadow: 0 0 0 7px rgba(255, 77, 109, 0); } }
/* each tag lights up once in its brand colour, in sequence, then settles */
@keyframes hnIntro   { 0% { background-size: 0 2px; } 35% { background-size: 100% 2px; color: var(--tc); } 70% { background-size: 100% 2px; color: var(--tc); } 100% { background-size: 0 2px; } }

@media (max-width: 480px) {
  .hcta { display: flex; width: 100%; }
  /* full width, but label + price + arrow stay together in the centre */
  .btn--hero { width: 100%; justify-content: center; gap: 10px; padding: 10px 10px 10px 18px; font-size: 15px; }
  .hcta__price { height: 26px; padding: 0 10px; font-size: 14px; }
  .hero__actions { margin-top: 18px; }          /* button sits a little higher, closer to the text */
}
@media (prefers-reduced-motion: reduce) {
  .hcta__halo, .hcta__spark, .hn-rec, .hn-tag { animation: none !important; }
  .hcta__spark { display: none; }
}

/* =========================================================
   Hero portrait (replaces the tarot cards)
   ========================================================= */
.hportrait {
  --px: 0px; --py: 0px;
  position: relative;
  z-index: 2;
  width: 60%;
  aspect-ratio: 2 / 3;
  margin: 0 0 0 6%;
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform .8s var(--ease, ease);
}
.hportrait__aura {                          /* lavender glow behind her, pulsing softly */
  position: absolute;
  left: 50%; top: 42%;
  width: 115%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 120, 255, .42), rgba(120, 40, 220, .2) 45%, transparent 70%);   /* already soft: no filter blur */
  opacity: 0;
  transition: opacity 1.4s ease .6s;
  pointer-events: none;
}
.is-loaded .hportrait__aura { opacity: 1; animation: hpAura 6s ease-in-out 2s infinite; }
.hportrait__ring {                          /* golden halo ring around the head */
  position: absolute;
  left: 50%; top: 21%;
  width: 62%; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  border-radius: 50%;
  border: 1.5px dashed rgba(247, 196, 124, .55);
  box-shadow: 0 0 24px rgba(247, 196, 124, .25), inset 0 0 24px rgba(247, 196, 124, .15);
  opacity: 0;
  transition: opacity 1.2s ease 1s;
  pointer-events: none;
}
.is-loaded .hportrait__ring { opacity: 1; animation: hpRing 40s linear infinite; }
.hportrait__img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  /* fade the straight bottom edge into the page */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
          mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));
  opacity: 0;
  transform: translateY(40px) scale(.96);
  transition: opacity 1.2s var(--ease, ease) .3s, transform 1.4s var(--ease, ease) .3s;
}
.is-loaded .hportrait__img { opacity: 1; transform: none; animation: hpFloat 7s ease-in-out 2s infinite; }

/* small name tag */
.hportrait__tag {
  position: absolute;
  left: -14%; bottom: 16%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: rgba(20, 8, 40, .82);
  border: 1px solid rgba(200, 150, 255, .35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 20px rgba(140, 50, 255, .25);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .8s ease 1.4s, transform .9s var(--ease, ease) 1.4s;
}
.is-loaded .hportrait__tag { opacity: 1; transform: none; }
.hportrait__tag strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; color: #fff; line-height: 1.1; }
.hportrait__tag small { display: block; margin-top: 2px; font-size: 12px; color: #d6cbe6; }
.hportrait__dot { width: 9px; height: 9px; border-radius: 50%; background: #3ee07f; box-shadow: 0 0 0 0 rgba(62, 224, 127, .6); animation: hpLive 1.8s ease-out infinite; }

@keyframes hpAura  { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .85; } 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; } }
@keyframes hpRing  { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes hpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hpLive  { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 127, .6); } 100% { box-shadow: 0 0 0 8px rgba(62, 224, 127, 0); } }

@media (max-width: 900px) {
  .hportrait { width: 62%; margin: 0 auto; }
  .hportrait__tag { left: -6%; }
}
@media (prefers-reduced-motion: reduce) {
  .hportrait__aura, .hportrait__ring, .hportrait__img, .hportrait__tag { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hportrait__ring { transform: translate(-50%, -50%) !important; }
  .hportrait__aura { transform: translate(-50%, -50%) !important; }
}
