/* Sangeet games: a desi wedding look on top of the shared landing styles. */
body.shaadi {
  --rani: #C2185B; --maroon: #6B0F1A; --marigold: #F2A20C; --mehndi: #4E7A2E; --gold: #D4A017;
  --bg: #FFF4E4; --marigold-soft: #FCE3B0;
  background:
    radial-gradient(circle at 12% 18%, rgba(242,162,12,.10) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 62%, rgba(194,24,91,.07) 0 160px, transparent 161px),
    var(--bg);
}
.shaadi h1, .shaadi h2 { color: var(--maroon); }
.shaadi .eyebrow { color: var(--rani); }
.shaadi .next { background: var(--rani); color: #fff; box-shadow: 0 4px 0 #8E1043; }
.shaadi .next:active { box-shadow: 0 1px 0 #8E1043; }
.shaadi .text-link { color: var(--rani); }
.shaadi .btn { background: var(--maroon); }
.shaadi .wrap { position: relative; z-index: 1; }
.shaadi .site-header { padding-top: 64px; }

/* toran: a marigold garland across the top */
.toran { position: absolute; top: 0; left: 0; right: 0; height: 90px; pointer-events: none; z-index: 2; overflow: hidden; }
.toran svg { position: absolute; top: 0; left: 0; width: 100%; height: 40px; }
.toran-row { position: absolute; top: 4px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 1vw; }
.dangle { display: flex; flex-direction: column; align-items: center; width: 14px; height: calc(var(--h) + 20px); transform-origin: top center; animation: dangle 3.6s ease-in-out infinite; animation-delay: var(--d); }
.dangle::before { content: ""; width: 2px; flex: 1; background: var(--mehndi); opacity: .6; }
.dangle i { display: block; width: 14px; height: 14px; border-radius: 50%; }
.dangle i.mari { background: radial-gradient(circle, #FFC94A 0 30%, #F2A20C 31% 70%, #D9820A 71%); }
.dangle i.rose { background: radial-gradient(circle, #F06292 0 35%, #C2185B 36%); }
.dangle i.leaf { width: 10px; height: 16px; border-radius: 0 100% 0 100%; background: var(--mehndi); transform: rotate(45deg); }
@keyframes dangle { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* falling petals */
.petals { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.petals i { position: absolute; top: -20px; left: var(--x); width: 10px; height: 14px; border-radius: 80% 0 80% 0; background: var(--marigold); opacity: .55; transform: scale(var(--s)); animation: fall var(--t) linear infinite; animation-delay: var(--dl); }
.petals i:nth-child(3n) { background: var(--rani); opacity: .35; }
@keyframes fall { 0% { transform: translate(0, -20px) rotate(0) scale(var(--s)); } 50% { transform: translate(30px, 50vh) rotate(180deg) scale(var(--s)); } 100% { transform: translate(-10px, 105vh) rotate(360deg) scale(var(--s)); } }

/* hero */
.spin-slow { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sway { animation: sway 1.4s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.cap { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 6px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--marigold-soft); font-weight: 700; font-size: .92rem; color: var(--maroon); }
.cap-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rani); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .5; } }

/* demo couple board */
.demo { position: relative; margin-top: 14px; padding: 12px; border-radius: 20px; background: var(--maroon); box-shadow: 0 12px 30px rgba(107,15,26,.25); }
.demo::before { content: ""; position: absolute; inset: 5px; border: 2px dashed rgba(242,162,12,.6); border-radius: 16px; pointer-events: none; }
.db-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 10px; color: #FFF4E4; }
.db-names { font-family: "Shrikhand", cursive; font-size: 1.3rem; color: var(--marigold); }
.db-score { font-size: .85rem; opacity: .85; }
.db-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.db-h { min-width: 0; display: grid; place-items: center; min-height: 46px; padding: 4px; border-radius: 8px; background: var(--mehndi); color: #FFF4E4; font-weight: 800; font-size: .74rem; line-height: 1.15; text-align: center; letter-spacing: .02em; overflow-wrap: anywhere; }
.db-t { min-width: 0; padding: 14px 0; border: 2px solid #4A0A12; border-radius: 10px; background: var(--rani); color: #FFF4E4; font: 800 1.4rem/1 "Shrikhand", cursive; cursor: pointer; transition: transform .12s, background .2s; }
.db-t:hover { transform: translateY(-2px); background: #D81B6A; }
.db-t.done { background: #8E5A62; color: rgba(255,244,228,.45); }
.db-card { position: absolute; inset: 52px 12px 12px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px; border-radius: 14px; background: #FFF4E4; text-align: center; animation: pop .3s cubic-bezier(.2,1.4,.4,1) both; overflow: auto; }
.db-cat { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rani); }
.db-q { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.35; color: var(--maroon); }
.db-a { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--marigold-soft); font-weight: 600; }
.db-btns { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.plain { border: 0; background: none; padding: 0; font-size: 1rem; font-weight: 700; cursor: pointer; }
.after-demo { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 16px 20px; border-radius: 16px; background: #fff; border: 2px solid var(--marigold-soft); }
.after-demo p { margin: 0; color: var(--muted); flex: 1 1 280px; }
.after-demo strong { color: var(--maroon); }

/* sets */
.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.set { position: relative; padding: 20px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); border-top: 5px solid var(--marigold); }
.set:nth-child(2) { border-top-color: var(--mehndi); }
.set-star { border-top-color: var(--rani); }
.set-ico { display: block; font-size: 1.8rem; margin-bottom: 6px; }
.set h3 { margin: 0 0 6px; font-family: "Shrikhand", cursive; font-weight: 400; font-size: 1.2rem; color: var(--maroon); }
.set p { margin: 0; color: var(--muted); font-size: .95rem; }
.promises { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.promises li { position: relative; padding-left: 28px; color: var(--muted); }
.promises li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mehndi); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.promises b { color: var(--ink); }
.steps-4 { grid-template-columns: repeat(2, 1fr); }
.shaadi .steps li::before { background: var(--marigold); }

/* 20 questions */
.qrounds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.qround { padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.qround h3 { margin: 0 0 6px; font-family: "Shrikhand", cursive; font-weight: 400; font-size: 1.15rem; color: var(--rani); }
.qround ol { margin: 0; padding-left: 26px; }
.qround li { padding: 4px 0; }
.qround li::marker { font-weight: 800; color: var(--marigold); }
.q-actions { margin: 12px 0 0 !important; }

/* family games */
.fam { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.fam-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); text-decoration: none; transition: transform .15s; }
.fam-card:hover { transform: translateY(-2px); }
.fam-card b { font-family: "Shrikhand", cursive; font-weight: 400; font-size: 1.2rem; color: var(--maroon); }
.fam-card span { color: var(--muted); font-size: .95rem; }
.fam-card .board-play { margin-top: auto; color: var(--rani); font-weight: 700; }
.small-note { margin: 12px 0 0 !important; font-size: .92rem; }

/* closing CTA */
.cta-shaadi { margin: 52px 0 0; padding: 30px 24px; border-radius: 24px; text-align: center; color: #FFF4E4;
  background: radial-gradient(circle at 50% -40%, #8E1A2C, var(--maroon) 70%); position: relative; overflow: hidden; }
.cta-shaadi::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(242,162,12,.55); border-radius: 18px; pointer-events: none; }
.cta-shaadi h2 { color: var(--marigold); margin-bottom: 8px; }
.cta-shaadi p { max-width: 460px; margin: 0 auto 18px; color: #F6DDD0; }
.cta-shaadi .next { background: var(--marigold); color: var(--maroon); box-shadow: 0 4px 0 #B87600; }

.price-card { display: flex; gap: 22px; align-items: center; padding: 28px 24px; border-radius: 24px; color: #FFF4E4; background: radial-gradient(circle at 50% -40%, #8E1A2C, var(--maroon) 70%); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(242,162,12,.55); border-radius: 18px; pointer-events: none; }
.seal { flex: none; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--maroon); background: radial-gradient(circle, #FFE7A8 0 55%, var(--marigold) 56% 62%, #FFE7A8 63%); border: 3px solid var(--marigold); font-family: Shrikhand, cursive; font-size: 1.02rem; line-height: 1.05; transform: rotate(-8deg); box-shadow: 0 4px 0 #B87600; }
.price-text { position: relative; }
.price-text p { margin: 0 0 10px; color: #F6DDD0; }
.price-text .price-main { color: var(--marigold); font-weight: 700; font-size: 1.08rem; }
.price-text b { color: var(--marigold); }
.price-text .next { margin-top: 6px; background: var(--marigold); color: var(--maroon); box-shadow: 0 4px 0 #B87600; }
@media (max-width: 620px) { .price-card { flex-direction: column; text-align: center; } .seal { width: 92px; height: 92px; font-size: .92rem; } }

@media (max-width: 620px) {
  .shaadi .site-header { padding-top: 54px; }
  .toran-row .dangle:nth-child(2n) { display: none; }
  .db-h { font-size: .58rem; min-height: 40px; padding: 3px 2px; letter-spacing: 0; }
  .db-t { font-size: 1.05rem; padding: 11px 0; }
  .db-card { inset: 48px 8px 8px; padding: 16px; }
  .db-q { font-size: 1.1rem; }
  .sets, .qrounds, .fam, .steps-4 { grid-template-columns: 1fr; }
}
/* games for delays and waiting time: an illustration and three numbered steps */
.delay-head { display: grid; grid-template-columns: 1fr 190px; gap: 8px 22px; align-items: center; }
.delay-head h2 { margin-bottom: 6px; }
.delay-head p { margin: 0; color: var(--muted); }
.delay-art { width: 100%; max-width: 190px; height: auto; justify-self: center; }
.delay-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: dl; }
.delay-card {
  position: relative; counter-increment: dl; display: flex; flex-direction: column; gap: 6px;
  padding: 24px 18px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow);
  border-top: 5px solid var(--marigold); color: var(--muted); font-size: .95rem;
}
.delay-card:nth-child(2) { border-top-color: var(--mehndi); }
.delay-card:nth-child(3) { border-top-color: var(--rani); }
.delay-card::before {
  content: counter(dl); position: absolute; top: -17px; left: 16px; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: 0 3px 0 rgba(107, 15, 26, .25);
}
.delay-ico { font-size: 2rem; line-height: 1; }
.delay-card b { color: var(--maroon); font-size: 1.08rem; line-height: 1.25; }
.delay-card:not(:last-child)::after {      /* a small arrow to the next step */
  content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px;
  border-top: 3px solid var(--marigold); border-right: 3px solid var(--marigold); transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 620px) {
  .delay-head { grid-template-columns: 1fr; }
  .delay-art { order: -1; max-width: 150px; }
  .delay-steps { grid-template-columns: 1fr; gap: 26px; }
  .delay-card:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -17px; transform: translateX(-50%) rotate(135deg); }
}
@media (prefers-reduced-motion: reduce) {
  .dangle, .petals i, .spin-slow, .sway, .cap-dot { animation: none; }
  .petals { display: none; }
}
@media print {
  body.print-questions * { visibility: hidden; }
  body.print-questions .questions, body.print-questions .questions * { visibility: visible; }
  body.print-questions .questions { position: absolute; top: 0; left: 0; right: 0; }
  body.print-questions .q-actions, body.print-questions .petals, body.print-questions .toran { display: none; }
  .qround { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}
