/* ==========================================================================
   Vishw Electronics · Navratri Spin & Win — customer page
   ========================================================================== */

:root {
  --night-1: #5a0c3c;
  --night-2: #3a0730;
  --night-3: #22041f;
  --rani: #e91e63;
  --rani-deep: #ad1457;
  --rani-dark: #8e1240;
  --saffron: #ff9100;
  --saffron-deep: #e65100;
  --marigold: #ffc107;
  --gold: #f5c542;
  --gold-soft: #ffe39a;
  --gold-deep: #b9780e;
  --ivory: #fff8ec;
  --ink: #3a0d24;
  --ink-soft: #8a6573;
  --ok: #2e7d32;
  --err: #d32f2f;
  --font-display: 'Yatra One', 'Poppins', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(.2, .9, .3, 1);
  --ease-pop: cubic-bezier(.2, 1.4, .4, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night-3); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: #fff;
  background: var(--night-3);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Background --------------------------------------------------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(90% 50% at 50% -6%, rgba(255, 152, 0, .40), transparent 62%),
    radial-gradient(70% 45% at 105% 100%, rgba(233, 30, 99, .30), transparent 62%),
    radial-gradient(70% 45% at -5% 80%, rgba(156, 39, 176, .34), transparent 62%),
    linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 46%, var(--night-3) 100%);
}
.bg-bandhani {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cg fill='%23FFD27A' fill-opacity='.24'%3E%3Ccircle cx='9' cy='9' r='1.5'/%3E%3Ccircle cx='9' cy='5.3' r='1.05'/%3E%3Ccircle cx='12.7' cy='9' r='1.05'/%3E%3Ccircle cx='9' cy='12.7' r='1.05'/%3E%3Ccircle cx='5.3' cy='9' r='1.05'/%3E%3Ccircle cx='27' cy='27' r='1.5'/%3E%3Ccircle cx='27' cy='23.3' r='1.05'/%3E%3Ccircle cx='30.7' cy='27' r='1.05'/%3E%3Ccircle cx='27' cy='30.7' r='1.05'/%3E%3Ccircle cx='23.3' cy='27' r='1.05'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.10'%3E%3Ccircle cx='27' cy='9' r='.9'/%3E%3Ccircle cx='9' cy='27' r='.9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.35) 55%, rgba(0,0,0,.8));
          mask-image: linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.35) 55%, rgba(0,0,0,.8));
}
.bg-mandala {
  position: absolute;
  opacity: .13;
  animation: rotate 160s linear infinite;
}
.bg-mandala--a { width: 560px; top: -230px; right: -250px; }
.bg-mandala--b { width: 500px; bottom: -220px; left: -240px; animation-direction: reverse; }
.sparkles { position: absolute; inset: 0; }
.sparkles i {
  position: absolute;
  width: var(--s, 10px);
  height: var(--s, 10px);
  background: radial-gradient(circle, #fff 0 18%, #ffe7a0 32%, rgba(255, 210, 122, 0) 70%);
  -webkit-clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
          clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
  opacity: 0;
  animation: twinkle var(--t, 3.4s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

/* ---------- Shell, toran & hanging garlands ------------------------------ */
.shell { position: relative; min-height: 100vh; overflow-x: hidden; }
.toran {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 74px;
  z-index: 6;
  pointer-events: none;
  background: url("../img/toran.svg") repeat-x center top / 120px 74px;
  filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .35));
}
.ladi {
  position: absolute;
  top: 6px;
  width: 18px;
  z-index: 5;
  pointer-events: none;
  transform-origin: 50% 0;
  animation: sway 4.2s ease-in-out infinite;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .3));
}
.ladi::before {
  content: "";
  display: block;
  height: var(--h, 120px);
  background: url("../img/ladi.svg") repeat-y center top / 18px auto;
}
.ladi i {
  display: block;
  height: 30px;
  margin-top: -1px;
  background: url("../img/ladi-end.svg") no-repeat center top / 18px auto;
}
.ladi--1 { left: 4px;  --h: 168px; }
.ladi--2 { left: 26px; --h: 104px; animation-delay: -1.3s; }
.ladi--3 { right: 26px; --h: 104px; animation-delay: -2.1s; }
.ladi--4 { right: 4px; --h: 168px; animation-delay: -.7s; }

/* ---------- Page --------------------------------------------------------- */
.page {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  padding: 76px 18px calc(22px + env(safe-area-inset-bottom));
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2px 0 6px;
}
.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(80, 170, 255, .45));
}
.brand-text strong {
  display: block;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #fff;
}
.brand-text span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; text-align: center; padding: 6px 0 16px; }
.ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 0;
}
.ribbon span {
  display: inline-block;
  padding: 7px 26px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: linear-gradient(90deg, var(--rani-dark), #c2185b 50%, var(--rani-dark));
  border-top: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%, 11px 50%);
          clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%, 11px 50%);
}
.title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  font-weight: 400;
}
.title-main {
  padding: 6px 6px 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 17vw, 86px);
  line-height: 1.08;
  white-space: nowrap;
  background: linear-gradient(180deg, #fffbe0 0%, #ffe08a 30%, #ffc53d 55%, #f59e0b 78%, #d9822b 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #8a1c0a) drop-shadow(0 10px 16px rgba(0, 0, 0, .45));
}
.title-main em {
  font-style: normal;
  font-size: .62em;
  vertical-align: .32em;
  -webkit-text-fill-color: #ff5c93;
}
.title-dandiya {
  width: clamp(38px, 11vw, 50px);
  flex: none;
  animation: tap-sticks 2.6s ease-in-out infinite;
}
.title-dandiya--r { transform: scaleX(-1); animation-name: tap-sticks-r; }
.tagline {
  max-width: 330px;
  margin: 6px auto 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #ffe7c7;
}

/* ---------- Cards -------------------------------------------------------- */
.card {
  position: relative;
  padding: 26px 20px 24px;
  border-radius: 26px;
  color: var(--ink);
  background:
    radial-gradient(120% 60% at 50% 0%, #fffdf7 0%, #fff6e6 55%, #fdebd2 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 214, 120, .75),
    0 0 0 6px rgba(120, 14, 60, .55),
    0 0 0 7.5px rgba(255, 210, 122, .65),
    0 30px 60px -18px rgba(0, 0, 0, .7);
}
.card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  border: 1.5px dashed rgba(201, 138, 18, .42);
  pointer-events: none;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .32;
  background:
    url("../img/mandala-gold.svg") no-repeat -58px -58px / 116px 116px,
    url("../img/mandala-gold.svg") no-repeat calc(100% + 58px) -58px / 116px 116px,
    url("../img/mandala-gold.svg") no-repeat -58px calc(100% + 58px) / 116px 116px,
    url("../img/mandala-gold.svg") no-repeat calc(100% + 58px) calc(100% + 58px) / 116px 116px;
}
.card > * { position: relative; z-index: 1; }
.card-title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21px, 6vw, 25px);
  line-height: 1.2;
  color: var(--rani-dark);
}
.card-sub {
  margin: 6px auto 18px;
  max-width: 300px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Progress steps */
.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #a38390;
}
.steps li + li::before {
  content: "";
  width: 16px;
  height: 2px;
  margin-right: 2px;
  border-radius: 2px;
  background: #ead6c4;
}
.steps b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  background: #f3e2d1;
  color: #a38390;
}
.steps .is-on { color: var(--rani-deep); }
.steps .is-on b {
  color: #fff;
  background: linear-gradient(135deg, var(--saffron), var(--rani));
  box-shadow: 0 4px 10px rgba(216, 27, 96, .35);
}
.steps .is-done b { background: var(--ok); color: #fff; }
.steps--light li { color: rgba(255, 231, 199, .65); }
.steps--light li + li::before { background: rgba(255, 231, 199, .25); }
.steps--light b { background: rgba(255, 255, 255, .14); color: rgba(255, 231, 199, .8); }
.steps--light .is-on { color: var(--gold-soft); }

/* ---------- Form --------------------------------------------------------- */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  margin: 0 0 6px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #6b2b45;
}
.field label small { font-weight: 500; color: #a8909a; }
.control {
  display: flex;
  align-items: center;
  min-height: 54px;
  background: #fff;
  border: 1.5px solid #ecd5bf;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(90, 30, 50, .05);
  transition: border-color .2s, box-shadow .2s;
}
.control:focus-within {
  border-color: var(--saffron-deep);
  box-shadow: 0 0 0 4px rgba(245, 124, 0, .16);
}
.control input {
  flex: 1;
  min-width: 0;
  height: 51px;
  padding: 0 14px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 16px/1.2 var(--font-body);
  color: var(--ink);
}
.control input::placeholder { color: #c9b3bb; font-weight: 400; }
.control-ico {
  display: grid;
  place-items: center;
  width: 46px;
  flex: none;
  color: #c7905f;
}
.control-ico .icon { width: 20px; height: 20px; }
.control-prefix {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex: none;
  margin-right: 12px;
  padding: 0 11px 0 15px;
  font-weight: 700;
  color: #8a3b5c;
  border-right: 1.5px solid #f2e2d2;
}
.control--amount input { font-size: 21px; font-weight: 700; letter-spacing: .4px; }
.control--amount .control-prefix { font-size: 19px; }
.field-hint { margin: 6px 0 0 4px; font-size: 12px; color: #a8909a; }
.field-err { display: none; margin: 6px 0 0 4px; font-size: 12.5px; font-weight: 500; color: var(--err); }
.field.has-error .control {
  border-color: #e53935;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, .12);
  animation: shake .4s;
}
.field.has-error .field-err { display: block; }
.field.has-error .field-hint { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ------------------------------------------------------ */
.btn-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 58px;
  margin-top: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #fff;
  background: linear-gradient(100deg, #ff9100 0%, #f4511e 36%, #e91e63 74%, #c2185b 100%);
  box-shadow:
    0 14px 26px -10px rgba(233, 30, 99, .7),
    inset 0 2px 0 rgba(255, 255, 255, .35),
    inset 0 -3px 0 rgba(0, 0, 0, .14);
  transition: transform .15s, filter .2s;
}
.btn-cta::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  animation: shine 3.4s ease-in-out infinite;
}
.btn-cta:hover { filter: brightness(1.05); }
.btn-cta:active { transform: translateY(1px) scale(.99); }
.btn-cta .btn-ico { width: 20px; height: 20px; }
.btn-cta--sm { height: 50px; font-size: 15.5px; }
.btn-spinner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: rotate .8s linear infinite;
}
.btn-cta.is-loading { pointer-events: none; }
.btn-cta.is-loading .btn-label, .btn-cta.is-loading .btn-ico { opacity: 0; }
.btn-cta.is-loading .btn-spinner { opacity: 1; }
.fineprint { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--ink-soft); }
.link {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 600;
  color: #c2185b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link--light { color: var(--gold); }

/* ---------- Wheel step --------------------------------------------------- */
.wheel-step { text-align: center; }
.greet { margin-top: 2px; }
.greet-hi { margin: 0; font-size: 19px; font-weight: 600; }
.greet-hi b { color: var(--gold); }
.greet-slab { margin: 6px 0 0; font-size: 14px; line-height: 1.8; color: #ffe7c7; }
.greet-slab b { color: #fff; }
.slab-pill {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1.7;
  text-transform: uppercase;
  color: #4a0b2e;
  background: linear-gradient(180deg, #fff3bf, #f5c542 60%, #d4952a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 4px 12px rgba(245, 197, 66, .3);
}

.wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  margin: 6px -18px 0;
  padding: 34px 0 16px;
}
.wheel-mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(122vw, 620px);
  max-width: none;
  margin: calc(min(122vw, 620px) / -2) 0 0 calc(min(122vw, 620px) / -2);
  opacity: .3;
  pointer-events: none;
  animation: rotate 100s linear infinite;
}
.wheel-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(112vw, 540px);
  height: min(112vw, 540px);
  margin: calc(min(112vw, 540px) / -2) 0 0 calc(min(112vw, 540px) / -2);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 193, 7, .42), rgba(255, 111, 0, .16) 58%, transparent 74%);
  animation: halo 3.2s ease-in-out infinite;
  pointer-events: none;
}
.wheel-box {
  position: relative;
  width: min(86vw, 420px);
  height: min(86vw, 420px);
}
.wheel-box::before {
  content: "";
  position: absolute;
  inset: 1.5%;
  border-radius: 50%;
  box-shadow: 0 26px 44px rgba(0, 0, 0, .55), 0 0 0 10px rgba(255, 210, 122, .08);
}
.wheel-box > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wheel-rotor { will-change: transform; transform: rotate(0deg); }
.wheel-rotor text { font-family: var(--font-body); font-weight: 700; }
.wheel-gloss { pointer-events: none; }

.bulbs .b { animation: bulb 1.3s linear infinite; }
.bulbs .b:nth-child(2n) { animation-delay: -.65s; }
.is-spinning .bulbs .b { animation-duration: .34s; }
.is-spinning .bulbs .b:nth-child(2n) { animation-delay: -.17s; }

.wheel-pointer {
  position: absolute;
  top: -6.2%;
  left: 50%;
  z-index: 3;
  width: 12.5%;
  margin-left: -6.25%;
  transform-origin: 50% 32%;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .45));
}
.wheel-pointer svg { display: block; width: 100%; height: auto; }

.spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 25%;
  height: 25%;
  margin: -12.5% 0 0 -12.5%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle at 50% 32%, #ff5a94 0%, #e0195f 42%, #8e0e3f 100%);
  box-shadow:
    0 0 0 4px #ffe08a,
    0 0 0 7px #b07a10,
    0 0 0 9px #ffe9a6,
    0 10px 24px rgba(0, 0, 0, .55),
    inset 0 6px 10px rgba(255, 255, 255, .35),
    inset 0 -8px 14px rgba(0, 0, 0, .35);
  transition: transform .15s var(--ease-out), filter .2s;
}
.spin-btn::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 3px solid rgba(255, 213, 79, .85);
  animation: ring 1.9s ease-out infinite;
  pointer-events: none;
}
.spin-btn-label {
  font-family: var(--font-display);
  font-size: clamp(19px, 6vw, 29px);
  line-height: 1;
  letter-spacing: 1px;
  color: #fff4c9;
  text-shadow: 0 2px 0 #7a0a35, 0 0 12px rgba(255, 220, 120, .65);
  transform: translateY(2px);
}
.spin-btn:hover { filter: brightness(1.08); }
.spin-btn:active { transform: scale(.93); }
.spin-btn:disabled { cursor: default; filter: saturate(.85); }
.is-spinning .spin-btn::before, .is-spun .spin-btn::before { animation: none; opacity: 0; }
.is-spinning .spin-btn-label { animation: pulse-text .5s ease-in-out infinite alternate; }

.win-glow { animation: win-glow .7s ease-in-out 4 alternate; }

.sound-btn {
  position: absolute;
  top: 2px;
  right: 22px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 122, .45);
  background: rgba(255, 255, 255, .08);
  color: var(--gold-soft);
  cursor: pointer;
}
.sound-btn .icon { width: 18px; height: 18px; }
.sound-btn .off, .sound-btn[aria-pressed="false"] .on { display: none; }
.sound-btn[aria-pressed="false"] .off { display: block; }

.spin-hint { margin: 4px 0 0; font-size: 14.5px; color: #ffe7c7; }
.spin-hint b { color: var(--gold); }
.spin-hint .tap { display: inline-block; animation: tap 1.3s ease-in-out infinite; }
.is-spinning .spin-hint, .is-spun .spin-hint { visibility: hidden; }

/* ---------- Prize visuals ------------------------------------------------ */
.prize {
  position: relative;
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
  margin: 4px auto 12px;
}
.prize-rays {
  position: absolute;
  inset: -46px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 190, 40, .5) 0deg 7deg, rgba(255, 190, 40, 0) 7deg 18deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
  animation: rotate 22s linear infinite;
}
.prize-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #fff, #fff2d8);
  box-shadow:
    0 0 0 5px var(--gold),
    0 0 0 9px #ad1457,
    0 0 0 11px var(--gold),
    0 18px 30px rgba(120, 20, 50, .35);
}
.prize-ring img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  animation: floaty 3.2s ease-in-out infinite;
}

/* ---------- Result card -------------------------------------------------- */
.result-card { text-align: center; }
.result-hi { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--rani-deep); }
.result-prize {
  margin: 4px 0 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  color: #4a0b2e;
}
.result-worth { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.result-worth b { color: var(--saffron-deep); }

.coupon {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  margin: 18px 0 16px;
  padding: 15px 18px;
  text-align: left;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, #7a0d38, #c2185b);
  box-shadow: 0 14px 24px -12px rgba(142, 18, 64, .7);
  outline: 1.5px dashed rgba(255, 227, 154, .65);
  outline-offset: -7px;
}
.coupon::before, .coupon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: #fdf0db;
}
.coupon::before { left: -10px; }
.coupon::after { right: -10px; }
.coupon-label { font-size: 10.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; opacity: .8; }
.coupon-code {
  grid-column: 1;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 2.5px;
  color: var(--gold-soft);
}
.coupon-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--rani-dark);
  background: #fff3cf;
}
.coupon-copy .icon { width: 15px; height: 15px; }

.howto {
  margin: 0 0 14px;
  padding: 14px 14px 4px;
  list-style: none;
  text-align: left;
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid #f1dcc7;
}
.howto li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 13.5px; line-height: 1.45; color: #5a3445; }
.howto span {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--saffron), var(--rani));
}
.result-meta { margin: 0 0 12px; font-size: 12px; color: var(--ink-soft); }

/* ---------- Closed ------------------------------------------------------- */
.closed-card { text-align: center; }
.closed-diya { width: 110px; margin: 6px auto 10px; display: block; }

/* ---------- Modals ------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 2, 16, .74);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  animation: fade-in .25s ease both;
}
.modal-card {
  position: relative;
  width: min(100%, 400px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 26px 22px 22px;
  border-radius: 26px;
  text-align: center;
  color: var(--ink);
  background: radial-gradient(130% 70% at 50% 0%, #fffaf0, #fde6c4);
  box-shadow:
    0 0 0 1.5px rgba(255, 214, 120, .8),
    0 0 0 6px rgba(120, 14, 60, .6),
    0 0 0 7.5px rgba(255, 210, 122, .7),
    0 40px 80px rgba(0, 0, 0, .6);
  animation: pop-in .6s var(--ease-pop) both;
}
.modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--rani-dark);
  background: rgba(173, 20, 87, .08);
}
.modal-x .icon { width: 18px; height: 18px; }
.win-card { overflow: hidden; }
.win-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 193, 7, .35) 0 3px, transparent 4px),
    radial-gradient(circle at 85% 16%, rgba(233, 30, 99, .35) 0 3px, transparent 4px),
    radial-gradient(circle at 10% 70%, rgba(233, 30, 99, .3) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 64%, rgba(255, 145, 0, .4) 0 3px, transparent 4px),
    radial-gradient(70% 40% at 50% 38%, rgba(255, 196, 0, .25), transparent 70%);
}
.win-kicker {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c2185b;
}
.win-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(29px, 8.4vw, 40px);
  line-height: 1.15;
  background: linear-gradient(180deg, #ff8f00, #e91e63 70%, #ad1457);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.win-sub { margin: 2px 0 6px; font-size: 15px; color: var(--ink-soft); }
.win-sub b { color: var(--rani-deep); }
.prize--modal { margin-top: 18px; }
.win-prize { margin: 6px 0 0; font-size: 24px; font-weight: 800; line-height: 1.2; color: #4a0b2e; }
.win-card .btn-cta { margin-top: 18px; }
.terms-card { text-align: left; }
.terms-card .card-title { text-align: left; padding-right: 40px; }
.terms-list { margin: 14px 0 18px; padding-left: 20px; font-size: 14px; line-height: 1.55; color: #5a3445; }
.terms-list li { margin-bottom: 8px; }
.terms-list li::marker { color: var(--rani); }

/* ---------- Toast & effects ---------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 70;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  background: #2a0526;
  border: 1px solid rgba(255, 210, 122, .45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 160%);
  transition: transform .4s var(--ease-pop), opacity .25s, visibility 0s .4s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: transform .4s var(--ease-pop), opacity .25s; }
.toast.is-error { border-color: #ff7a7a; background: #4a0a1a; }
.fx { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Footer ------------------------------------------------------- */
.footer { padding: 6px 0 0; text-align: center; font-size: 12.5px; color: rgba(255, 231, 199, .72); }
.footer p { margin: 4px 0; }
.footer-wish { font-family: var(--font-display); font-size: 15px; color: var(--gold); }
.diyas {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(10px, 4.5vw, 26px);
  margin: 34px 0 12px;
}
.diya { position: relative; width: 50px; }
.diya:nth-child(2), .diya:nth-child(4) { width: 44px; }
.diya:nth-child(3) { width: 60px; }
.diya img { display: block; width: 100%; }
.flame {
  position: absolute;
  bottom: 74%;
  left: 50%;
  width: 16px;
  height: 26px;
  margin-left: -8px;
  transform-origin: 50% 100%;
  animation: flicker 1.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--d, 0) * -.31s);
}
.flame::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 190, 70, .5), rgba(255, 140, 0, .16) 55%, transparent);
  animation: glow 2.2s ease-in-out infinite alternate;
}
.flame::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -4px 0 0 -6px;
  border-radius: 0 50% 50% 50%;
  background: radial-gradient(circle at 64% 64%, #fff 0 18%, #ffe58a 34%, #ffb300 60%, #ff6d00 100%);
  transform: scaleY(1.7) rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 170, 0, .8);
}

/* ---------- Step transitions -------------------------------------------- */
.step { animation: step-in .6s var(--ease-out) both; }

/* ---------- Keyframes ---------------------------------------------------- */
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  50% { opacity: .95; transform: scale(1) rotate(45deg); }
}
@keyframes sway {
  0%, 100% { transform: rotate(2.2deg); }
  50% { transform: rotate(-2.2deg); }
}
@keyframes tap-sticks {
  0%, 100% { transform: rotate(0deg); }
  45% { transform: rotate(-9deg); }
  55% { transform: rotate(4deg); }
}
@keyframes tap-sticks-r {
  0%, 100% { transform: scaleX(-1) rotate(0deg); }
  45% { transform: scaleX(-1) rotate(-9deg); }
  55% { transform: scaleX(-1) rotate(4deg); }
}
@keyframes shine {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
@keyframes bulb {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: .22; }
}
@keyframes ring {
  0% { transform: scale(.82); opacity: .9; }
  100% { transform: scale(1.22); opacity: 0; }
}
@keyframes halo {
  0%, 100% { opacity: .75; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.03); }
}
@keyframes pulse-text { to { opacity: .55; } }
@keyframes win-glow { to { opacity: .15; } }
@keyframes tap {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes pop-in {
  from { opacity: 0; transform: scale(.7) translateY(30px); }
}
@keyframes step-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
}
@keyframes flicker {
  0% { transform: scale(1, 1) skewX(0deg); }
  30% { transform: scale(.92, 1.1) skewX(3deg); }
  60% { transform: scale(1.05, .93) skewX(-2deg); }
  100% { transform: scale(.97, 1.06) skewX(1deg); }
}
@keyframes glow {
  from { opacity: .65; transform: scale(.9); }
  to { opacity: 1; transform: scale(1.08); }
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 400px) {
  .ladi--2, .ladi--3 { display: none; }
  .card { padding: 24px 16px 22px; }
  .coupon-code { font-size: 23px; letter-spacing: 2px; }
}
@media (min-width: 700px) {
  .page { padding-top: 92px; }
  .ladi--1 { --h: 260px; }
  .ladi--2 { --h: 170px; }
  .ladi--3 { --h: 170px; }
  .ladi--4 { --h: 260px; }
  .bg-mandala--a { width: 760px; top: -300px; right: -300px; }
  .bg-mandala--b { width: 700px; bottom: -300px; left: -300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Compact hero once the wheel / result is showing */
.hero.is-compact { padding-bottom: 6px; }
.hero.is-compact .tagline { display: none; }
.hero.is-compact .title-main { font-size: clamp(40px, 12.5vw, 62px); }
.hero.is-compact .title-dandiya { width: 34px; }
