/* Garba event registration — scoped styles (design reference port) */
html[data-garba-event],
html[data-garba-event] body,
html[data-garba-event] #__next {
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(255, 255, 255, 0.72),
      transparent 28%
    ),
    linear-gradient(180deg, #fff8ee 0%, #f8e9df 48%, #f8dfc9 100%);
}

html[data-garba-event] body {
  overscroll-behavior-y: none;
}

.garba-root {
  --foreground: oklch(0.265 0.108 273);
  --card: oklch(0.995 0.008 80);
  --primary: oklch(0.434 0.204 320);
  --primary-foreground: oklch(0.995 0.004 80);
  --muted-foreground: oklch(0.555 0.047 290);
  --accent: oklch(0.892 0.119 83);
  --border: oklch(0.895 0.021 335);
  --success: oklch(0.69 0.188 145);
  --gold: oklch(0.84 0.158 87);
  --magenta: oklch(0.52 0.224 343);
  --purple: oklch(0.39 0.17 307);
  --purple-dark: oklch(0.235 0.104 303);
  --pink: oklch(0.62 0.22 350);
  --pink-soft: oklch(0.965 0.035 343);
  --lavender-soft: oklch(0.955 0.036 299);
  --palace-cream: #fff8ee;
  --palace-peach: #f8dfc9;
  --palace-rose: #f8e9df;
  --palace-gradient: linear-gradient(
    180deg,
    var(--palace-cream) 0%,
    var(--palace-rose) 48%,
    var(--palace-peach) 100%
  );
  --palace-screen-gradient: linear-gradient(
    180deg,
    var(--palace-cream) 0%,
    var(--palace-rose) 46%,
    var(--palace-peach) 100%
  );
  --orange: oklch(0.75 0.171 65);
  --teal: oklch(0.61 0.14 175);
  --red: oklch(0.59 0.22 25);
  --warm-shadow: 0 18px 50px
    color-mix(in oklab, var(--purple-dark) 9%, transparent);
  --button-gradient: linear-gradient(90deg, var(--magenta), var(--purple));
  --card-border: 1px solid
    color-mix(in oklab, var(--magenta) 18%, var(--border));

  font-family: "Poppins", system-ui, sans-serif;
  color: var(--foreground);
}

.garba-root button,
.garba-root input {
  font: inherit;
}

.garba-root button {
  cursor: pointer;
}

.garba-root button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.garba-root .app-stage {
  min-height: 100dvh;
  min-height: 100svh;
  height: auto;
  display: grid;
  place-items: center;
  align-content: center;
  justify-items: center;
  overflow: visible;
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(255, 255, 255, 0.72),
      transparent 28%
    ),
    var(--palace-gradient);
  padding: max(20px, env(safe-area-inset-top, 0px)) 12px
    max(20px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.garba-root .phone-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Lock composition to the 440px mobile layout on all viewports */
  width: min(100%, 440px);
  height: auto;
  min-height: min(680px, 100dvh);
  max-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--palace-gradient);
  border-radius: 0;
  border: 0;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}
.garba-root .phone-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: url("/images/garba/palace-bg.png?v=2") bottom center / cover
    no-repeat;
  opacity: 0.32;
}
.garba-root .screen-transition {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.garba-root .landing-screen,
.garba-root .success-screen {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  height: auto;
  min-height: 100%;
  overflow: visible;
}
.garba-root .landing-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 16px 12px;
  background: var(--palace-screen-gradient);
  min-height: 100%;
  box-sizing: border-box;
}
.garba-root .sticky-action {
  position: relative;
  z-index: 8;
  width: 100%;
  margin-top: 12px;
  flex: 0 0 auto;
}
/* Same dancers → Register gap on every mobile width */
.garba-root .landing-screen .sticky-action {
  margin-top: 12px !important;
  padding: 0 !important;
}
.garba-root .bunting {
  position: absolute;
  z-index: 9;
  top: 0;
  left: -2%;
  width: 104%;
  height: 74px;
  display: flex;
  justify-content: space-around;
  align-items: start;
  padding-top: 1px;
  pointer-events: none;
  filter: drop-shadow(
    0 2px 2px color-mix(in oklab, var(--purple-dark) 14%, transparent)
  );
}
.garba-root .bunting::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gold);
}
.garba-root .bunting i {
  width: 26px;
  height: 38px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: var(--magenta);
  transform-origin: top center;
  animation: bunting-wave 1.8s ease-in-out infinite;
}
.garba-root .bunting i:nth-child(3n + 2) {
  background: var(--orange);
}
.garba-root .bunting i:nth-child(3n) {
  background: var(--teal);
}
.garba-root .bunting i:nth-child(1) {
  animation-delay: 0s;
}
.garba-root .bunting i:nth-child(2) {
  animation-delay: 0.08s;
}
.garba-root .bunting i:nth-child(3) {
  animation-delay: 0.16s;
}
.garba-root .bunting i:nth-child(4) {
  animation-delay: 0.24s;
}
.garba-root .bunting i:nth-child(5) {
  animation-delay: 0.32s;
}
.garba-root .bunting i:nth-child(6) {
  animation-delay: 0.4s;
}
.garba-root .bunting i:nth-child(7) {
  animation-delay: 0.48s;
}
.garba-root .bunting i:nth-child(8) {
  animation-delay: 0.56s;
}
.garba-root .bunting i:nth-child(9) {
  animation-delay: 0.64s;
}
.garba-root .bunting i:nth-child(10) {
  animation-delay: 0.72s;
}
.garba-root .bunting i:nth-child(11) {
  animation-delay: 0.8s;
}
.garba-root .bunting i:nth-child(12) {
  animation-delay: 0.88s;
}
.garba-root .bunting i:nth-child(13) {
  animation-delay: 0.96s;
}
.garba-root .bunting i:nth-child(14) {
  animation-delay: 1.04s;
}
.garba-root .event-logo {
  position: relative;
  z-index: 3;
  width: clamp(120px, 40vw, 165px);
  height: clamp(134px, 44vw, 184px);
  object-fit: contain;
  margin-top: clamp(2px, 1vh, 8px);
  flex: 0 0 auto;
  filter: drop-shadow(
    0 8px 10px color-mix(in oklab, var(--purple-dark) 19%, transparent)
  );
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}
.garba-root .landing-screen > .event-logo {
  width: clamp(120px, 40vw, 165px);
  height: clamp(134px, 44vw, 184px);
}
.garba-root .event-logo-compact {
  width: clamp(78px, 24vw, 100px);
  height: clamp(87px, 27vw, 111px);
  margin: 10px auto -4px;
  display: block;
}
.garba-root .silver-ribbon {
  position: relative;
  z-index: 4;
  min-width: 140px;
  margin-top: -20px;
  text-align: center;
  text-transform: capitalize;
  font-weight: 700;
  font-size: 9px;
  color: var(--purple-dark);
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--gold));
  background-size: 200% auto;
  padding: 6px 20px;
  clip-path: polygon(0 0, 12% 50%, 0 100%, 100% 100%, 88% 50%, 100% 0);
  animation: ribbon-shine 2s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(212, 169, 90, 0.5);
}
.garba-root .promo-text {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0;
  padding: 0 8px;
  text-align: center;
  font-weight: 700;
  color: var(--purple-dark);
}
.garba-root .promo-copy {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  line-height: 1.22;
}
.garba-root .promo-copy .promo-lines {
  display: grid;
  grid-template-rows: repeat(2, auto);
  gap: 1px;
  min-width: 0;
  color: var(--foreground);
  font-size: clamp(11px, 2.8vw, 13px);
}
.garba-root .promo-copy .promo-lines > span {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.garba-root .promo-copy .promo-headline {
  gap: 4px;
}
.garba-root .promo-copy .promo-offers {
  gap: 4px;
  color: var(--magenta);
}
.garba-root .promo-gift-badge,
.garba-root .promo-free-badge {
  position: relative;
  flex: 0 0 auto;
}
.garba-root .promo-gift-badge {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: -1px;
  border-radius: 6px;
  background: linear-gradient(135deg, #fff0b8, #ffd34d 48%, #ff6b3d);
  box-shadow: 0 4px 10px rgba(218, 112, 24, 0.18);
}
.garba-root .promo-gift-badge svg {
  width: 12px;
  height: 12px;
  color: #c5146f;
  stroke-width: 2.4;
}
.garba-root .promo-copy .promo-offer-link {
  display: inline;
  color: var(--magenta);
  background-image: linear-gradient(
    90deg,
    color-mix(in oklab, var(--magenta) 42%, transparent),
    color-mix(in oklab, var(--orange) 38%, transparent)
  );
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  text-decoration: none;
  transition:
    background-size 160ms ease,
    color 160ms ease;
  white-space: nowrap;
}
.garba-root .promo-copy .promo-offer-link:hover {
  color: var(--purple);
  background-size: 100% 2px;
}
.garba-root .promo-copy .promo-offer-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--magenta);
  outline-offset: 2px;
}
.garba-root .promo-copy b {
  font-weight: 800;
  color: var(--foreground);
}
.garba-root .promo-copy .promo-free-badge {
  display: inline-block;
  padding: 0 5px 1px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ffd24d, #ffe98f);
  color: var(--magenta);
  font-size: 1.08em;
  font-style: normal;
  line-height: 1.1;
  text-transform: uppercase;
}
.garba-root .promo-copy em {
  color: var(--magenta);
  font-style: normal;
  font-weight: 800;
}
.garba-root .sponsor {
  margin: 2px 0 1px;
  text-align: center;
  line-height: 1.05;
  flex: 0 0 auto;
  width: 100%;
}
.garba-root .sponsor > span {
  display: block;
  color: var(--muted-foreground);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-weight: bold;
}
.garba-root .sponsor-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.garba-root .sponsor-logo {
  display: block;
  width: auto;
  height: 50px;
  margin: 0;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  align-self: center;
  background: transparent;
}
.garba-root .sponsor-logo:first-child {
  height: 74px;
  max-width: 200px;
  filter: drop-shadow(0 3px 6px rgba(212, 169, 90, 0.25));
  /* SVG has extra vertical padding — nudge up to optically match Kingsman */
  transform: translateY(-3px);
}
.garba-root .sponsor-logo-kingsman {
  height: 24px;
  max-width: 96px;
  background: transparent;
}
.garba-root .landing-sparkles {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
}
.garba-root .landing-sparkles i {
  position: absolute;
  top: 135px;
  color: var(--orange);
  font-style: normal;
  font-size: 14px;
  animation: twinkle 1.8s ease-in-out infinite;
}
.garba-root .landing-sparkles i:nth-child(1) {
  left: 25px;
}
.garba-root .landing-sparkles i:nth-child(2) {
  right: 28px;
  top: 164px;
  animation-delay: 0.25s;
}
.garba-root .landing-sparkles i:nth-child(3) {
  left: 51px;
  top: 242px;
  animation-delay: 0.5s;
}
.garba-root .landing-sparkles i:nth-child(4) {
  right: 42px;
  top: 220px;
  color: var(--gold);
  font-size: 12px;
  animation: twinkle 2s ease-in-out infinite;
  animation-delay: 0.35s;
}
.garba-root .landing-sparkles i:nth-child(5) {
  left: 18px;
  top: 300px;
  color: var(--magenta);
  font-size: 11px;
  animation: twinkle 1.6s ease-in-out infinite;
  animation-delay: 0.7s;
}
.garba-root .landing-sparkles i:nth-child(6) {
  right: 20px;
  top: 310px;
  color: var(--teal);
  font-size: 13px;
  animation: twinkle 2.2s ease-in-out infinite;
  animation-delay: 0.9s;
}
.garba-root .landing-sparkles i:nth-child(7) {
  right: 48px;
  top: 135px;
  color: var(--orange);
  font-size: 14px;
  animation: twinkle 1.8s ease-in-out infinite;
  animation-delay: 0.15s;
}
.garba-root .landing-sparkles i:nth-child(8) {
  right: 16px;
  top: 255px;
  color: var(--magenta);
  font-size: 11px;
  animation: twinkle 1.7s ease-in-out infinite;
  animation-delay: 0.55s;
}

/* Landing entrance + continuous motion */
.garba-root .landing-enter {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: landing-rise 0.7s ease-out forwards;
}
.garba-root .landing-enter-1 {
  animation-delay: 0.05s;
  width: auto;
}
.garba-root .landing-enter-2 {
  animation-delay: 0.18s;
  width: auto;
}
.garba-root .landing-enter-2 .silver-ribbon {
  animation: landing-ribbon-shine 2.4s 1s ease-out infinite;
}
.garba-root .landing-enter-3 {
  animation-delay: 0.3s;
}
.garba-root .landing-enter-4 {
  animation-delay: 0.42s;
}
.garba-root .landing-dancers-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.garba-root .dancers-sparkles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.garba-root .dancers-sparkles i {
  position: absolute;
  font-style: normal;
  animation: twinkle 1.7s ease-in-out infinite;
}
.garba-root .dancers-sparkles i:nth-child(1) {
  left: 12%;
  top: 18%;
  color: var(--gold);
  font-size: 14px;
}
.garba-root .dancers-sparkles i:nth-child(2) {
  right: 12%;
  top: 18%;
  color: var(--gold);
  font-size: 14px;
  animation-delay: 0.2s;
}
.garba-root .dancers-sparkles i:nth-child(3) {
  left: 22%;
  bottom: 22%;
  color: var(--teal);
  font-size: 13px;
  animation-delay: 0.65s;
  animation-duration: 1.9s;
}
.garba-root .dancers-sparkles i:nth-child(4) {
  right: 22%;
  bottom: 22%;
  color: var(--teal);
  font-size: 13px;
  animation-delay: 0.8s;
  animation-duration: 1.9s;
}
.garba-root .dancers-sparkles i:nth-child(5) {
  left: 8%;
  top: 42%;
  color: var(--magenta);
  font-size: 12px;
  animation-delay: 0.35s;
  animation-duration: 2s;
}
.garba-root .dancers-sparkles i:nth-child(6) {
  right: 8%;
  top: 42%;
  color: var(--magenta);
  font-size: 12px;
  animation-delay: 0.5s;
  animation-duration: 2s;
}
.garba-root .landing-enter-5 {
  animation-delay: 0.42s;
}
/* Dancers block: fade only — no slide (stays centered on first paint) */
.garba-root .landing-enter-5.landing-enter {
  animation-name: landing-fade;
}
.garba-root .landing-enter-6 {
  animation-delay: 0.54s;
}
.garba-root .landing-enter-7 {
  animation-delay: 0.66s;
}

.garba-root .event-details {
  position: relative;
  z-index: 5;
  width: 100%;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 24px rgba(120, 70, 20, 0.07);
  padding: 9px 18px;
  margin: 6px 0 0;
  backdrop-filter: blur(8px);
  isolation: isolate;
}
.garba-root .landing-screen .silver-ribbon {
  flex: 0 0 auto;
  margin-top: -14px;
}
.garba-root .event-details > div {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.garba-root .event-details > div + div {
  border-top: 1px solid var(--border);
}
.garba-root .event-details svg {
  width: 21px;
  color: var(--magenta);
}
.garba-root .event-details p {
  margin: 0;
  min-width: 0;
  text-transform: uppercase;
  line-height: 1.25;
}
.garba-root .event-details b {
  display: block;
  font-size: 12px;
}
.garba-root .event-details span {
  display: block;
  font-size: 10px;
  color: var(--muted-foreground);
}
.garba-root .festival-footer {
  position: absolute;
  z-index: 2;
  bottom: 56px;
  left: 0;
  width: 100%;
  height: 240px;
  overflow: hidden;
  pointer-events: none;
}
.garba-root .festival-footer img {
  position: absolute;
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}
.garba-root .festival-footer .dancers-art {
  z-index: 3;
  left: 50%;
  bottom: 13px;
  width: 112%;
  max-width: none;
  transform: translateX(-50%);
}
.garba-root .festival-footer .bottom-pattern {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 28px;
  background: repeating-linear-gradient(
    90deg,
    var(--magenta) 0 18px,
    var(--gold) 18px 36px,
    var(--teal) 36px 54px,
    var(--orange) 54px 72px
  );
}
/* Landing dancers: in-flow only (never absolute over date / venue) */
.garba-root .landing-screen .festival-footer {
  position: relative !important;
  z-index: 1;
  bottom: auto !important;
  left: auto !important;
  top: auto !important;
  width: 100%;
  height: auto !important;
  max-height: none;
  margin: 8px 0 0 !important;
  margin-bottom: 0 !important;
  padding: 0;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.garba-root .landing-screen .festival-footer .dancers-art {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  width: min(238px, 70%) !important;
  max-width: 238px;
  max-height: 130px;
  height: auto !important;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: bottom center;
  transform-origin: center bottom;
  /* Must clear base .dancers-art translateX(-50%) or image loads left then jumps center */
  transform: none;
  will-change: transform;
  /* Continuous dance bob — same slow pace as before */
  animation: landing-dancers-bob 2.8s 1.1s ease-in-out infinite;
}
.garba-root .landing-screen .festival-footer .bottom-pattern {
  display: none;
}
.garba-root .landing-screen .event-details {
  margin-top: 2px;
  margin-bottom: 0;
}
.garba-root .garba-button,
.garba-root .download-button {
  border: 0;
  color: var(--primary-foreground);
  background: var(--button-gradient);
  font-weight: 700;
  box-shadow: 0 10px 24px color-mix(in oklab, var(--magenta) 22%, transparent);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}
.garba-root .garba-button {
  position: relative;
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 48px;
  text-align: center;
  font-size: 16px;
  touch-action: manipulation;
}
.garba-root .garba-button:active:not(:disabled),
.garba-root .download-button:active:not(:disabled),
.garba-root .soft-button:active,
.garba-root .outline-button:active {
  transform: scale(0.985);
}
.garba-root .garba-button svg {
  position: absolute;
  right: 22px;
  top: 50%;
  margin-left: 0;
  transform: translateY(-50%);
}
.garba-root .garba-button:not(:disabled) svg {
  animation: garba-arrow-nudge 1.15s ease-out infinite;
}
.garba-root .garba-button:active:not(:disabled) svg {
  animation: none;
  transform: translateY(-50%);
}
.garba-root .garba-button + p {
  margin-top: 8px;
  margin-bottom: 5px;
  padding-top: 0;
}

.garba-root .festival-header {
  position: relative;
  flex: 0 0 auto;
  height: clamp(120px, 22vh, 158px);
  overflow: hidden;
  background: radial-gradient(
    circle at 50% 100%,
    color-mix(in oklab, var(--magenta) 68%, var(--purple-dark)),
    var(--purple-dark) 70%
  );
}
.garba-root .festival-header::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
  background-size: 22px 22px;
}
.garba-root .festival-header .event-logo {
  position: relative;
  z-index: 4;
  width: clamp(88px, 28vw, 116px);
  height: clamp(98px, 31vw, 129px);
  margin-top: clamp(8px, 2vh, 16px);
}
.garba-root .festival-header .bunting {
  top: -2px;
  height: clamp(40px, 7vh, 50px);
}
.garba-root .lantern {
  position: absolute;
  z-index: 3;
  top: clamp(28px, 6vh, 48px);
  width: clamp(64px, 22vw, 88px);
  height: clamp(86px, 28vw, 118px);
  pointer-events: none;
}
.garba-root .lantern img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(
    0 6px 12px color-mix(in oklab, var(--gold) 28%, transparent)
  );
  transform-origin: center bottom;
}
.garba-root .lantern-left {
  left: -8px;
}
.garba-root .lantern-left img {
  animation: dholak-bob 2.8s ease-in-out infinite;
}
.garba-root .lantern-right {
  right: -8px;
}
.garba-root .lantern-right img {
  animation: dholak-bob 2.8s 0.45s ease-in-out infinite;
}
.garba-root .content-card {
  z-index: 4;
  flex: 1 1 auto;
  background: var(--palace-screen-gradient);
  border: 0;
  border-radius: 27px 27px 0 0;
  min-height: 0;
  margin-top: -15px;
  padding: 12px 18px 20px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  box-shadow: none;
}
.garba-root .content-card > .silver-ribbon {
  display: none;
}
.garba-root .content-card > .sponsor {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
}
.garba-root .content-card .sponsor-logos {
  max-width: 260px;
  gap: 18px;
}
.garba-root .content-card .sponsor-logo,
.garba-root .content-card .sponsor-logo-kingsman {
  background: transparent;
}
.garba-root .content-card .sponsor-logo:first-child {
  height: 66px;
  max-width: 180px;
  filter: drop-shadow(0 3px 6px rgba(212, 169, 90, 0.25));
  transform: translateY(-6px);
}
.garba-root .content-card .sponsor-logo-kingsman {
  height: 24px;
  max-width: 96px;
}
.garba-root .screen-heading {
  text-align: center;
}
.garba-root .screen-heading h1 {
  margin: 6px 0 5px;
  color: var(--foreground);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
}
.garba-root .screen-heading p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 11px;
  line-height: 1.55;
}
.garba-root .screen-heading p b {
  color: var(--foreground);
}
.garba-root .registration-card {
  padding-top: 6px;
}
.garba-root .registration-card form {
  margin-top: 6px;
}
.garba-root .registration-card .screen-heading h1 {
  margin-top: 2px;
  font-size: 19px;
}
.garba-root .form-field {
  display: block;
  margin-bottom: 12px;
}
.garba-root .form-field > span,
.garba-root .marital-field legend {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  color: var(--foreground);
  font-size: 11px;
  font-weight: 600;
}
.garba-root .form-field > span {
  display: block;
}
.garba-root .venue-offer-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 20px;
  padding: 2px 6px;
  border: 1px solid color-mix(in oklab, var(--magenta) 35%, transparent);
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd24d, #ffe98f);
  color: var(--magenta);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(205, 134, 0, 0.16);
  animation: venue-offer-blink 1.15s ease-in-out infinite;
}
.garba-root .venue-offer-trigger .offer-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.garba-root .venue-offer-trigger:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 2px;
}
.garba-root .venue-offer-tooltip {
  position: relative;
  z-index: 10;
  margin: 0 0 7px;
  padding: 8px 10px;
  border: 1px solid color-mix(in oklab, var(--magenta) 18%, var(--border));
  border-radius: 10px;
  background: rgba(255, 248, 238, 0.96);
  box-shadow: 0 12px 24px rgba(82, 29, 92, 0.12);
  color: var(--foreground);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.garba-root .venue-offer-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 88px;
  width: 10px;
  height: 10px;
  border-left: 1px solid color-mix(in oklab, var(--magenta) 18%, var(--border));
  border-top: 1px solid color-mix(in oklab, var(--magenta) 18%, var(--border));
  background: rgba(255, 248, 238, 0.96);
  transform: rotate(45deg);
}
.garba-root .venue-offer-tooltip strong {
  display: inline-block;
  padding: 0 5px 1px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ffd24d, #ffe98f);
  color: var(--magenta);
  font-size: 1.08em;
  line-height: 1.1;
  text-transform: uppercase;
}
.garba-root .venue-offer-tooltip a {
  color: var(--magenta);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.garba-root .venue-offer-tooltip a:hover {
  color: var(--purple);
}
.garba-root .input-wrap {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1.5px solid color-mix(in oklab, var(--magenta) 55%, var(--border));
  border-radius: 999px;
  background: var(--card);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.garba-root .input-wrap:focus-within {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--magenta) 10%, transparent);
}
.garba-root .input-wrap.input-error {
  border-color: var(--red);
}
.garba-root .input-wrap svg {
  width: 17px;
  color: var(--purple);
  flex: none;
}
.garba-root .input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 11px;
}
.garba-root .input-wrap input::placeholder {
  color: var(--muted-foreground);
  font-size: 14px;
  opacity: 0.75;
}
.garba-root .form-field small,
.garba-root .marital-field small {
  display: block;
  margin-top: 2px;
  color: var(--red);
  font-size: 9px;
}
.garba-root .marital-field {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
}
.garba-root .status-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.garba-root .status-option {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1.5px solid color-mix(in oklab, var(--magenta) 55%, var(--border));
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  font-size: 16px;
}
.garba-root .status-option.selected {
  border-color: var(--magenta);
  color: var(--primary);
  background: var(--pink-soft);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--magenta) 35%, transparent);
}
.garba-root .status-option svg,
.garba-root .status-option-icon {
  width: 20px;
  height: 20px;
  color: color-mix(in oklab, var(--pink) 70%, var(--foreground));
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}
.garba-root .status-option.selected svg,
.garba-root .status-option.selected .status-option-icon,
.garba-root .status-option-icon.selected-icon {
  color: var(--magenta);
  transform: scale(1.08);
}
.garba-root .registration-card .garba-button,
.garba-root .otp-card .garba-button {
  margin-top: 14px;
  min-height: 54px;
}
.garba-root .otp-card,
.garba-root .already-card {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.garba-root .phone-illustration {
  position: relative;
  width: 80px;
  height: 70px;
  margin: 12px 0 6px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  color: var(--purple);
  background: var(--lavender-soft);
}
.garba-root .phone-illustration > svg:first-child {
  width: 45px;
  height: 45px;
}
.garba-root .phone-illustration > svg:nth-child(2) {
  position: absolute;
  right: 13px;
  bottom: 15px;
  width: 31px;
  fill: var(--purple);
  color: var(--primary-foreground);
}
.garba-root .phone-illustration i {
  position: absolute;
  color: var(--gold);
  font-style: normal;
}
.garba-root .phone-illustration i:nth-of-type(1) {
  left: -11px;
  top: 15px;
}
.garba-root .phone-illustration i:nth-of-type(2) {
  right: -12px;
  top: 7px;
}
.garba-root .otp-inputs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin: 25px 0 8px;
}
.garba-root .otp-inputs input {
  width: 100%;
  min-width: 0;
  height: 47px;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: 0;
  text-align: center;
  color: var(--foreground);
  background: var(--card);
  font-size: 18px;
  font-weight: 700;
}
.garba-root .otp-inputs input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--purple) 10%, transparent);
}
.garba-root .otp-error {
  margin: 0;
  color: var(--red);
  font-size: 10px;
}
.garba-root .resend-copy {
  margin: 20px 0 28px;
  color: var(--muted-foreground);
  font-size: 10px;
}
.garba-root .resend-copy b,
.garba-root .resend-copy button {
  color: var(--purple);
}
.garba-root .resend-copy button {
  border: 0;
  padding: 0;
  background: transparent;
  font-weight: 700;
}
.garba-root .text-action {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  border: 0;
  background: transparent;
  color: var(--purple);
  font-size: 11px;
}

.garba-root .festival-footer-small {
  bottom: 0;
  height: 115px;
  opacity: 0.82;
}
.garba-root .festival-footer-small .dancers-art {
  width: 88%;
  bottom: 8px;
}
.garba-root .festival-footer-small .bottom-pattern {
  width: 100%;
  bottom: 0;
}

.garba-root .success-check {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: var(--primary-foreground);
  background: var(--success);
  box-shadow: 0 9px 24px color-mix(in oklab, var(--success) 24%, transparent);
  animation: check-pop 4s cubic-bezier(0.2, 1.7, 0.4, 1) both;
}
.garba-root .success-check svg {
  width: 39px;
  height: 39px;
  stroke-width: 3.2;
}
.garba-root .already-card .success-check {
  margin: 13px 0 7px;
}
.garba-root .already-card .screen-heading h1 {
  font-size: 18px;
}
.garba-root .registered-info {
  width: 100%;
  margin-top: 18px;
  padding: 11px 15px;
  border-radius: 12px;
  background: var(--pink-soft);
}
.garba-root .registered-info p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 6px 0;
  font-size: 11px;
}
.garba-root .registered-info svg {
  width: 17px;
  color: var(--pink);
}
.garba-root .pass-id {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 12px;
  padding: 13px;
  border-radius: 12px;
  color: var(--purple);
  background: var(--lavender-soft);
}
.garba-root .pass-id svg {
  width: 31px;
  height: 31px;
  fill: color-mix(in oklab, var(--purple) 20%, transparent);
}
.garba-root .pass-id span {
  font-size: 9px;
  text-align: left;
}
.garba-root .pass-id strong {
  display: block;
  color: var(--foreground);
  font-size: 17px;
}
.garba-root .venue-copy {
  color: var(--muted-foreground);
  font-size: 9px;
}
.garba-root .soft-button,
.garba-root .outline-button {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  touch-action: manipulation;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.garba-root .soft-button {
  margin-top: 5px;
  border: 0;
  color: var(--purple);
  background: var(--lavender-soft);
}
.garba-root .outline-button {
  margin-top: 9px;
  border: 1px solid color-mix(in oklab, var(--purple) 35%, var(--border));
  color: var(--purple);
  background: transparent;
}

.garba-root .success-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 20px 126px;
  background: transparent;
}
.garba-root .success-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.garba-root .success-sparkles i {
  position: absolute;
  font-style: normal;
  font-size: 15px;
  line-height: 1;
  opacity: 0.55;
  animation: success-twinkle 3.6s ease-in-out infinite;
}
/* Left */
.garba-root .success-sparkles i:nth-child(1) {
  left: 14px;
  top: 18px;
}
.garba-root .success-sparkles i:nth-child(3) {
  left: 34px;
  top: 72px;
  font-size: 14px;
  animation-duration: 4s;
  animation-delay: 0.35s;
}
.garba-root .success-sparkles i:nth-child(5) {
  left: 12px;
  top: 128px;
  font-size: 16px;
  animation-duration: 3.8s;
  animation-delay: 0.7s;
}
.garba-root .success-sparkles i:nth-child(9) {
  left: 28px;
  top: 178px;
  font-size: 14px;
  animation-duration: 3.9s;
  animation-delay: 0.2s;
}
.garba-root .success-sparkles i:nth-child(11) {
  left: 48px;
  top: 100px;
  font-size: 13px;
  animation-duration: 4.1s;
  animation-delay: 0.85s;
}
.garba-root .success-sparkles i:nth-child(13) {
  left: 10px;
  top: 200px;
  font-size: 14px;
  animation-duration: 3.7s;
  animation-delay: 1.2s;
}
/* Center */
.garba-root .success-sparkles i:nth-child(7) {
  left: 42%;
  top: 12px;
  font-size: 14px;
  animation-duration: 4.2s;
  animation-delay: 0.45s;
}
.garba-root .success-sparkles i:nth-child(8) {
  left: 54%;
  top: 28px;
  font-size: 13px;
  animation-duration: 4s;
  animation-delay: 0.95s;
}
.garba-root .success-sparkles i:nth-child(15) {
  left: 38%;
  top: 48px;
  font-size: 13px;
  animation-duration: 4.3s;
  animation-delay: 0.6s;
}
.garba-root .success-sparkles i:nth-child(16) {
  left: 58%;
  top: 8px;
  font-size: 14px;
  animation-duration: 3.8s;
  animation-delay: 1.1s;
}
/* Right */
.garba-root .success-sparkles i:nth-child(2) {
  right: 14px;
  top: 18px;
  animation-delay: 0.25s;
}
.garba-root .success-sparkles i:nth-child(4) {
  right: 34px;
  top: 72px;
  font-size: 14px;
  animation-duration: 4s;
  animation-delay: 0.55s;
}
.garba-root .success-sparkles i:nth-child(6) {
  right: 12px;
  top: 128px;
  font-size: 16px;
  animation-duration: 3.8s;
  animation-delay: 0.9s;
}
.garba-root .success-sparkles i:nth-child(10) {
  right: 28px;
  top: 178px;
  font-size: 14px;
  animation-duration: 3.9s;
  animation-delay: 0.4s;
}
.garba-root .success-sparkles i:nth-child(12) {
  right: 48px;
  top: 100px;
  font-size: 13px;
  animation-duration: 4.1s;
  animation-delay: 1.05s;
}
.garba-root .success-sparkles i:nth-child(14) {
  right: 10px;
  top: 200px;
  font-size: 14px;
  animation-duration: 3.7s;
  animation-delay: 1.35s;
}
.garba-root .success-screen > .success-check {
  position: relative;
  z-index: 2;
  margin: 6px 0 10px;
}
.garba-root .success-screen .screen-heading {
  z-index: 2;
}
.garba-root .success-screen .screen-heading h1 {
  font-size: 20px;
}
.garba-root .pass-card {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 20px;
  border: 2px dashed color-mix(in oklab, var(--gold) 38%, var(--border));
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--warm-shadow);
  animation: pass-rise 2.5s 0.15s ease-out both;
  mask:
    radial-gradient(circle at 15px 75px, transparent 15px, black 16px),
    radial-gradient(
      circle at calc(100% - 15px) 75px,
      transparent 15px,
      black 16px
    );
  -webkit-mask:
    radial-gradient(circle at 15px 75px, transparent 15px, black 16px),
    radial-gradient(
      circle at calc(100% - 15px) 75px,
      transparent 15px,
      black 16px
    );
  mask-composite: source-over;
  -webkit-mask-composite: source-over;
}
.garba-root .pass-ticket {
  position: relative;
  height: 88px;
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: 1fr 25px;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    110deg,
    var(--gold),
    var(--accent) 35%,
    var(--purple) 36%
  );
}
.garba-root .pass-ticket .event-logo {
  grid-row: 1 / 3;
  width: 90px;
  height: 90px;
  margin: 2px auto 2px;
}
.garba-root .pass-ticket div {
  color: var(--primary-foreground);
  padding-left: 50px;
  text-transform: uppercase;
}
.garba-root .pass-ticket small {
  display: block;
  font-size: 10px;
}
.garba-root .pass-ticket strong {
  display: block;
  font-size: 14px;
}
.garba-root .pass-ticket > b {
  grid-column: 2;
  justify-self: start;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 50px);
  margin: -4px 0 0 50px;
  padding: 4px 22px;
  color: var(--purple-dark);
  background: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(0 0, 10% 50%, 0 100%, 100% 100%, 90% 50%, 100% 0);
}
.garba-root .pass-info {
  padding: 13px 17px;
}
.garba-root .pass-info p {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin: 7px 0;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
}
.garba-root .pass-info svg {
  width: 15px;
  color: var(--magenta);
}
.garba-root .pass-info hr {
  margin: 11px 0;
  border: 0;
  border-top: 2px dashed var(--border);
}
.garba-root .pass-info b {
  font-size: 11px;
  text-transform: uppercase;
}
.garba-root .download-button {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 25px;
  border-radius: 999px;
  text-align: center;
  font-size: 16px;
}
.garba-root .download-button svg {
  width: 18px;
}
.garba-root .success-reset {
  position: relative;
  z-index: 3;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--purple);
  font-size: 10px;
}
.garba-root .success-screen .festival-footer-small {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 15px;
  opacity: 0.9;
  z-index: 20;
  pointer-events: none;
}
.garba-root .success-screen .festival-footer-small .dancers-art {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: 150px;
  height: 90px;
  margin: 0 auto;
  z-index: 25;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  transform: none;
  transform-origin: center bottom;
  /* Same vertical bob as landing dancers — stays centered */
  animation: landing-dancers-bob 2.8s 1.1s ease-in-out infinite;
}
.garba-root .success-screen .festival-footer-small .bottom-pattern {
  display: none;
}
.garba-root .success-screen .festival-footer-small .garba-pot-left {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: auto;
  z-index: 25;
}
.garba-root .success-screen .festival-footer-small .garba-pot-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80px;
  height: auto;
  z-index: 25;
  transform: scaleX(-1);
}
.garba-root .confetti-layer {
  position: absolute;
  z-index: 15;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  overflow: hidden;
  pointer-events: none;
}
.garba-root .confetti-piece {
  --piece-left: 50%;
  --piece-delay: 0s;
  --piece-duration: 60s;
  position: absolute;
  top: -35px;
  left: var(--piece-left);
  width: 8px;
  height: 15px;
  background: var(--gold);
  animation: confetti-fall var(--piece-duration) var(--piece-delay) linear
    forwards;
}
.garba-root .confetti-paper {
  border-radius: 1px;
}
.garba-root .confetti-streamer {
  width: 6px;
  height: 25px;
  border-radius: 50%;
  transform: rotate(30deg);
}
.garba-root .confetti-cap {
  width: 21px;
  height: 14px;
  background: transparent;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 17px solid var(--magenta);
}
.garba-root .confetti-color-1 {
  background: var(--teal);
}
.garba-root .confetti-color-2 {
  background: var(--red);
}
.garba-root .confetti-color-3 {
  background: var(--magenta);
}
.garba-root .confetti-color-4 {
  background: var(--orange);
}
.garba-root .confetti-color-5 {
  background: var(--purple);
}
@keyframes confetti-fall {
  0% {
    transform: translate3d(0, -5vh, 0) rotate(0);
  }
  50% {
    transform: translate3d(18px, 25vh, 0) rotate(420deg);
  }
  100% {
    transform: translate3d(-15px, 45vh, 0) rotate(850deg);
  }
}
@keyframes check-pop {
  from {
    transform: scale(0.2);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes pass-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes venue-offer-blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.68;
    transform: scale(1.04);
  }
}
@keyframes twinkle {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}
@keyframes success-twinkle {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.32;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.62;
  }
}
@keyframes garba-arrow-nudge {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  60% {
    transform: translateY(-50%) translateX(6px);
  }
  100% {
    transform: translateY(-50%) translateX(0);
  }
}
@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes landing-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dholak-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes landing-ribbon-shine {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.12);
    transform: scale(1.03);
  }
}
@keyframes landing-dancers-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes bunting-wave {
  0%,
  100% {
    transform: rotate(-8deg) skewX(-4deg);
  }
  50% {
    transform: rotate(8deg) skewX(4deg);
  }
}
@keyframes sponsor-highlight {
  0%,
  100% {
    box-shadow: 0 2px 8px rgba(212, 169, 90, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 16px rgba(212, 169, 90, 0.6);
    transform: scale(1.02);
  }
}
@keyframes sponsor-sparkle {
  0% {
    background-position: 0% center;
    filter: brightness(1);
  }
  50% {
    background-position: 100% center;
    filter: brightness(1.2);
  }
  100% {
    background-position: 200% center;
    filter: brightness(1);
  }
}
@keyframes ribbon-shine {
  0% {
    background-position: 0% center;
    box-shadow: 0 4px 12px rgba(212, 169, 90, 0.5);
  }
  50% {
    background-position: 100% center;
    box-shadow: 0 6px 20px rgba(212, 169, 90, 0.7);
  }
  100% {
    background-position: 200% center;
    box-shadow: 0 4px 12px rgba(212, 169, 90, 0.5);
  }
}

/* Mobile — no outer frame border */
@media (max-width: 767px) {
  .garba-root .app-stage {
    padding: 0;
    place-items: stretch;
    align-content: stretch;
  }
  .garba-root .phone-shell {
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .garba-root .content-card {
    border: 0 !important;
    box-shadow: none !important;
  }
}

/* Desktop / large web — keep outer phone frame */
@media (min-width: 768px) {
  .garba-root .app-stage {
    padding: 32px 24px;
    place-items: center;
    align-content: center;
    min-height: 100dvh;
  }
  .garba-root .phone-shell {
    width: 440px;
    height: auto;
    min-height: min(700px, 100dvh);
    max-height: 100dvh;
    border-radius: 28px;
    border: 1.5px solid color-mix(in oklab, var(--magenta) 22%, var(--border));
    box-shadow: var(--warm-shadow);
  }
  .garba-root .landing-screen,
  .garba-root .success-screen {
    height: auto;
    min-height: 100%;
  }
  .garba-root .content-card {
    min-height: 0;
    border: var(--card-border);
    border-bottom: 0;
    box-shadow: 0 -8px 28px
      color-mix(in oklab, var(--purple-dark) 6%, transparent);
  }
}

/* Short portrait phones — keep compact, no overlaps */
@media (max-height: 740px) and (orientation: portrait) {
  .garba-root .app-stage {
    padding: max(8px, env(safe-area-inset-top, 0px)) 8px
      max(8px, env(safe-area-inset-bottom, 0px));
  }
  .garba-root .phone-shell {
    min-height: 100dvh;
    max-height: 100dvh;
  }
  .garba-root .landing-screen {
    padding: 20px 14px 12px;
  }
  .garba-root .landing-screen > .event-logo {
    width: clamp(120px, 36vh, 160px);
    height: clamp(134px, 40vh, 178px);
  }
  .garba-root .landing-screen .festival-footer .dancers-art {
    width: min(280px, 78%) !important;
    max-height: 150px;
  }
  .garba-root .festival-header {
    height: clamp(110px, 18vh, 140px);
  }
  .garba-root .content-card {
    padding: 10px 16px 16px;
  }
  .garba-root .form-field,
  .garba-root .marital-field {
    margin-bottom: 10px;
  }
  .garba-root .input-wrap,
  .garba-root .status-option {
    height: 44px;
  }
  .garba-root .registration-card .garba-button,
  .garba-root .otp-card .garba-button {
    margin-top: 12px;
    min-height: 54px;
  }
  .garba-root .screen-heading h1 {
    margin: 4px 0;
    font-size: 19px;
  }
  .garba-root .phone-illustration {
    margin-top: 8px;
  }
  .garba-root .otp-inputs {
    margin: 14px 0 6px;
  }
}

/* Landscape phones — shrink top art; hide bottom dancers to avoid overlap */
@media (orientation: landscape) and (max-height: 560px) {
  .garba-root .app-stage {
    padding: 4px 8px;
  }
  .garba-root .phone-shell {
    width: min(100%, 560px);
    min-height: 100dvh;
    max-height: 100dvh;
  }
  .garba-root .landing-screen {
    padding: 12px 16px 10px;
  }
  .garba-root .landing-screen > .event-logo {
    width: 96px;
    height: 107px;
    margin-top: 2px;
  }
  .garba-root .landing-screen .silver-ribbon {
    margin-top: -8px;
  }
  /* Hide bottom dancers in landscape — they collide with date/venue */
  .garba-root .landing-screen .festival-footer {
    display: none !important;
  }
  .garba-root .landing-sparkles,
  .garba-root .success-sparkles {
    display: none;
  }
  .garba-root .landing-enter {
    animation: none;
    opacity: 1;
  }
  .garba-root .landing-enter-2 .silver-ribbon,
  .garba-root .landing-screen .festival-footer .dancers-art,
  .garba-root .success-screen .festival-footer-small .dancers-art,
  .garba-root .lantern-left img,
  .garba-root .lantern-right img,
  .garba-root .bunting i {
    animation: none;
  }
  .garba-root .dancers-sparkles {
    display: none;
  }
  .garba-root .festival-header {
    height: 88px;
  }
  .garba-root .festival-header .event-logo,
  .garba-root .event-logo-compact {
    width: 64px;
    height: 71px;
    margin-top: 6px;
  }
  .garba-root .lantern {
    top: 18px;
    width: 52px;
    height: 70px;
  }
  .garba-root .content-card {
    margin-top: -8px;
    padding: 8px 14px 12px;
  }
  .garba-root .sponsor-logos {
    max-width: 240px;
    gap: 16px;
  }
  .garba-root .sponsor-logo,
  .garba-root .sponsor-logo-kingsman {
    height: 22px;
    max-width: 90px;
    margin: 0;
    background: transparent;
    flex: 0 0 auto;
    align-self: center;
  }
  .garba-root .sponsor-logo:first-child,
  .garba-root .content-card .sponsor-logo:first-child {
    height: 58px;
    max-width: 170px;
    transform: translateY(-5px);
  }
  .garba-root .sponsor-logo-kingsman {
    height: 22px;
    max-width: 88px;
  }
  .garba-root .form-field,
  .garba-root .marital-field {
    margin-bottom: 8px;
  }
  .garba-root .input-wrap,
  .garba-root .status-option {
    height: 40px;
  }
  .garba-root .registration-card .garba-button,
  .garba-root .otp-card .garba-button {
    margin-top: 10px;
    min-height: 54px;
  }
  .garba-root .soft-button,
  .garba-root .outline-button,
  .garba-root .download-button {
    min-height: 54px;
  }
}

/* 440px and below — larger bottom dancers + more side space for details card */
@media (max-width: 440px) {
  .garba-root .registration-card .garba-button {
    margin-top: 30px;
  }
  .garba-root .landing-screen {
    padding: 24px 22px 10px;
  }
  .garba-root .landing-screen > .event-logo,
  .garba-root .landing-enter-1 .event-logo {
    width: 132px;
    height: 147px;
  }
  .garba-root .landing-screen .event-details {
    width: auto;
    align-self: stretch;
    margin-left: 4px;
    margin-right: 4px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.34);
  }
  .garba-root .promo-copy .promo-lines {
    font-size: 12px;
  }
  .garba-root .promo-copy .promo-free-badge {
    font-size: 13px;
  }
  .garba-root .landing-screen .festival-footer .dancers-art {
    width: min(248px, 75%) !important;
    max-width: 248px;
    max-height: 136px;
  }
}

/* Below 385px — smaller top Garba image so sponsors fit */
@media (max-width: 385px) {
  .garba-root .landing-screen > .event-logo,
  .garba-root .landing-enter-1 .event-logo {
    width: 112px;
    height: 125px;
  }
  .garba-root .festival-header .event-logo,
  .garba-root .event-logo-compact {
    width: 84px;
    height: 93px;
  }
}

/* Very small width phones — keep bottom image large */
@media (max-width: 360px) {
  .garba-root .phone-shell {
    width: 100%;
  }
  .garba-root .content-card {
    padding: 10px 14px 14px;
  }
  .garba-root .status-option {
    font-size: 14px;
  }
  .garba-root .landing-screen {
    padding-left: 24px;
    padding-right: 24px;
  }
  .garba-root .landing-screen > .event-logo,
  .garba-root .landing-enter-1 .event-logo {
    width: 108px;
    height: 120px;
  }
  .garba-root .promo-text {
    padding: 0 10px;
  }
  .garba-root .promo-gift-badge {
    display: none;
  }
  .garba-root .promo-copy .promo-free-badge {
    font-size: 12.5px;
  }
  .garba-root .promo-copy .promo-lines {
    font-size: 11px;
  }
  .garba-root .landing-screen .event-details {
    margin-left: 6px;
    margin-right: 6px;
    background: rgba(255, 255, 255, 0.34);
  }
  .garba-root .landing-screen .festival-footer .dancers-art {
    width: min(232px, 74%) !important;
    max-width: 232px;
    max-height: 128px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
