:root {
  --red: #c62828;
  --maroon: #700e11;  /* बॅनरच्या पट्टीचा रंग */
  --cream: #fffce6;   /* बॅनरच्या पार्श्वभूमीचा रंग */
  --saffron: #f39c12;
  --text: #2b2b2b;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: "Mukta", "Noto Sans Devanagari", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.1rem;
}

a { color: var(--red); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--maroon);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.nav {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem;
}
.brand {
  font-family: "Baloo 2", sans-serif; font-weight: 700;
  color: var(--white); text-decoration: none; font-size: 1.3rem;
}
.nav-links { list-style: none; display: flex; gap: 1.2rem; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: #ffd54f; }
.nav-toggle {
  display: none; background: none; border: 0;
  color: var(--white); font-size: 1.7rem; cursor: pointer;
}

/* ---------- Hero ---------- */
/* मोठ्या स्क्रीनवर: पूर्ण बॅनर फोटो, बाजूची जागा बॅनरच्याच रंगांनी भरलेली (वर क्रीम, खाली मरून पट्टी) */
.hero { background: linear-gradient(to bottom, var(--cream) 0, var(--cream) 72.3%, var(--maroon) 72.3%, var(--maroon) 100%); }
.hero-image { display: block; width: 100%; max-width: 1179px; height: auto; margin: 0 auto; }
.hero-text { display: none; text-align: center; background: var(--cream); }

/* मोबाईलवर (किंवा फोटो नसल्यास): वाचायला सोपा मजकूर बॅनर */
.hero.no-banner { background: var(--cream); }
.hero.no-banner .hero-text { display: block; }

.hero-inner {
  display: grid; grid-template-columns: 22% 1fr 17%; align-items: center; gap: .5rem;
  max-width: 1100px; margin: 0 auto; padding: .9rem .6rem;
}
.hero-art { width: 100%; height: auto; display: block; }
.hero-art.right { border-radius: 50%; aspect-ratio: 1; object-fit: cover; align-self: start; margin-top: .4rem; }
.hero-text .org {
  font-family: "Noto Sans Devanagari", sans-serif; font-weight: 800;
  color: var(--red); font-size: clamp(1.05rem, 4.6vw, 2.6rem); line-height: 1.35;
}
.hero-text .sub { font-size: clamp(.8rem, 3vw, 1.4rem); margin: .15rem 0; font-weight: 500; }
.hero-text .event-title {
  font-family: "Noto Sans Devanagari", sans-serif; font-weight: 800;
  color: var(--red); font-size: clamp(1.2rem, 5.4vw, 3.2rem); line-height: 1.3;
}
.hero-band {
  background: var(--maroon); color: var(--white);
  padding: .8rem .8rem; font-weight: 700;
  font-size: clamp(.9rem, 3.6vw, 1.5rem); line-height: 1.55;
}

@media (max-width: 760px) {
  .hero { background: var(--cream); }
  .hero-image { display: none; }
  .hero-text { display: block; }
}

/* ---------- Countdown ---------- */
.countdown-section { text-align: center; padding: 2.5rem 1rem 1rem; background: var(--cream); }
.countdown-section h2 { font-family: "Baloo 2", sans-serif; color: var(--maroon); font-size: 1.7rem; margin-bottom: 1rem; }
.countdown { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cd-box {
  background: var(--red); color: var(--white);
  border-radius: 12px; min-width: 95px; padding: .8rem;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 10px rgba(198,40,40,.25);
}
.cd-box span { font-family: "Baloo 2", sans-serif; font-size: 2.3rem; font-weight: 800; line-height: 1.1; }
.cd-box small { font-size: 1rem; }
.cd-done { font-size: 1.4rem; font-weight: 700; color: var(--red); }

/* ---------- Sections ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: 3.5rem 1rem; }
.section-alt { max-width: none; background: #fff3e0; }
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section-title {
  font-family: "Baloo 2", sans-serif; color: var(--red);
  font-size: 2.2rem; text-align: center; margin-bottom: 1.2rem;
}
.section-title::after {
  content: ""; display: block; width: 80px; height: 4px;
  background: var(--saffron); margin: .3rem auto 0; border-radius: 2px;
}
.lead { text-align: center; max-width: 800px; margin: 0 auto 2rem; font-size: 1.2rem; }
.center { text-align: center; }

.cards, .details-grid, .contact-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card, .detail, .contact-card, .reg-box {
  background: var(--white); border-radius: 14px; padding: 1.6rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  border-top: 5px solid var(--red);
  text-align: center;
}
.card h3, .detail h3, .contact-card h3, .reg-box h3 {
  font-family: "Baloo 2", sans-serif; color: var(--maroon); font-size: 1.35rem; margin-bottom: .4rem;
}
.card-icon, .detail-icon { font-size: 2.4rem; margin-bottom: .4rem; }

.map-wrap {
  margin: 2rem auto 1.2rem; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.map-wrap iframe { display: block; width: 100%; height: 350px; border: 0; }

.btn {
  display: inline-block; background: var(--red); color: var(--white);
  padding: .7rem 1.6rem; border-radius: 30px; text-decoration: none; font-weight: 700;
}
.btn:hover { background: var(--maroon); }

.reg-box { max-width: 600px; margin: 0 auto; text-align: left; }
.reg-box h3 { text-align: center; }
.reg-box ul { padding-left: 1.5rem; }
.reg-box li { margin: .3rem 0; }

.contact-card a { font-weight: 700; text-decoration: none; }

/* ---------- Footer ---------- */
.footer { background: var(--maroon); color: var(--white); text-align: center; padding: 2rem 1rem; }
.footer p { font-weight: 500; font-size: 1.15rem; }
.footer .small { font-size: .95rem; opacity: .85; margin-top: .5rem; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--maroon);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .8rem 1rem; border-top: 1px solid rgba(255,255,255,.15); }
  .countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 72px)); gap: .5rem; }
  .cd-box { min-width: 0; padding: .6rem .3rem; }
  .cd-box span { font-size: 1.6rem; }
  .cd-box small { font-size: .85rem; }
}

/* =========================================================
   स्क्रोल अ‍ॅनिमेशन
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal.visible .card,
.js .reveal.visible .detail,
.js .reveal.visible .contact-card { animation: popIn .6s ease both; }
.js .reveal.visible .card:nth-child(2), .js .reveal.visible .detail:nth-child(2), .js .reveal.visible .contact-card:nth-child(2) { animation-delay: .15s; }
.js .reveal.visible .card:nth-child(3), .js .reveal.visible .detail:nth-child(3), .js .reveal.visible .contact-card:nth-child(3) { animation-delay: .3s; }
@keyframes popIn { from { opacity: 0; transform: scale(.9) translateY(20px); } to { opacity: 1; transform: none; } }

.nav-cta { background: var(--saffron); padding: .25rem .9rem; border-radius: 20px; color: #3b1d00 !important; }
.nav-cta:hover { background: #ffd54f; }

/* =========================================================
   नोंदणी फॉर्म
   ========================================================= */
.req { color: var(--red); }
.reg-chips { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 1.8rem; }
.chip {
  background: var(--white); border: 2px solid var(--saffron); border-radius: 30px;
  padding: .45rem 1.1rem; font-size: 1.05rem; box-shadow: 0 3px 10px rgba(243,156,18,.2);
}
.chip-warn { border-color: var(--red); animation: pulse 2.4s ease-in-out infinite; }
.chip-closed { background: #ffebee; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(198,40,40,.35); } 50% { box-shadow: 0 0 0 10px rgba(198,40,40,0); } }

.form-card, .success-card {
  background: var(--white); border-radius: 20px; max-width: 860px; margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  box-shadow: 0 12px 40px rgba(122,20,20,.15);
  border-top: 6px solid var(--red);
  position: relative; overflow: hidden;
}

/* टप्पे */
.stepper { list-style: none; display: flex; justify-content: space-between; margin-bottom: .8rem; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .2rem; color: #999; font-size: .95rem; text-align: center; }
.stepper .dot {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #eee; color: #777; font-weight: 700; font-size: 1.15rem;
  transition: all .4s ease;
}
.stepper li.active { color: var(--red); font-weight: 700; }
.stepper li.active .dot { background: var(--red); color: var(--white); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(198,40,40,.15); }
.stepper li.done .dot { background: #2e7d32; color: var(--white); }
.stepper li.done { color: #2e7d32; }
.progress { height: 6px; background: #f1e3d3; border-radius: 6px; margin-bottom: 1.8rem; overflow: hidden; }
.progress-bar { height: 100%; width: 25%; background: linear-gradient(90deg, var(--saffron), var(--red)); border-radius: 6px; transition: width .5s ease; }

/* टप्पा अ‍ॅनिमेशन */
.step { border: 0; display: none; }
.step.active { display: block; animation: slideIn .5s ease both; }
.step.active.back { animation-name: slideInBack; }
@keyframes slideIn { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }
@keyframes slideInBack { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } }
.step legend, .sub-legend {
  font-family: "Baloo 2", sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--white);
  background: linear-gradient(90deg, var(--maroon), var(--red));
  padding: .2rem 1.2rem; border-radius: 0 30px 30px 0; margin-bottom: 1.3rem; display: inline-block;
}
.sub-legend { margin-top: 1.5rem; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.2rem; }
.full { grid-column: 1 / -1; }

/* फ्लोटिंग लेबल */
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--text);
  padding: 1.35rem .9rem .45rem; border: 2px solid #e3d5c3; border-radius: 12px;
  background: #fffdf8; transition: border-color .25s, box-shadow .25s, background .25s;
  resize: vertical;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%), linear-gradient(135deg, var(--red) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input[readonly] { background: #f6efe4; color: #6b4a2b; font-weight: 700; }
.field label {
  position: absolute; left: .95rem; top: .95rem; color: #8a7560; pointer-events: none;
  transition: all .2s ease; font-size: 1.05rem; line-height: 1.2;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--saffron); background: var(--white);
  box-shadow: 0 0 0 4px rgba(243,156,18,.18);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.fixed label {
  top: .35rem; font-size: .8rem; color: var(--red); font-weight: 700;
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); animation: shake .4s; }
.field.valid input, .field.valid textarea { border-color: #66bb6a; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.err { display: block; color: var(--red); font-size: .9rem; min-height: 1.1em; margin-top: .15rem; }
.collapsible { animation: fadeDown .35s ease both; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* वधु / वर निवड */
.toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: .3rem; }
.toggle-card input { position: absolute; opacity: 0; }
.toggle-card span {
  display: flex; align-items: center; justify-content: center; gap: .5rem; cursor: pointer;
  padding: 1rem; border: 2px solid #e3d5c3; border-radius: 14px; font-size: 1.3rem; font-weight: 700;
  background: #fffdf8; transition: all .3s ease;
}
.toggle-card span b { font-size: 1.8rem; transition: transform .3s; }
.toggle-card span:hover { border-color: var(--saffron); }
.toggle-card input:checked + span {
  border-color: var(--red); background: linear-gradient(135deg, #fff3e0, #ffe0e0); color: var(--red);
  box-shadow: 0 6px 18px rgba(198,40,40,.2); transform: translateY(-3px);
}
.toggle-card input:checked + span b { transform: scale(1.25) rotate(-8deg); }
.toggle-card input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.group-err { margin-bottom: .8rem; }

/* फोटो */
.photo-drop {
  display: grid; place-items: center; width: 180px; height: 220px; margin: 0 auto;
  border: 3px dashed var(--saffron); border-radius: 16px; background: #fffaf0; cursor: pointer;
  overflow: hidden; transition: transform .3s, border-color .3s; text-align: center; position: relative;
}
.photo-drop:hover { transform: scale(1.03); border-color: var(--red); }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-drop img { width: 100%; height: 100%; object-fit: cover; animation: popIn .4s ease; }
.photo-hint { color: #8a7560; padding: .6rem; }
.photo-hint b { display: block; font-size: 2.4rem; }
#photo-err { text-align: center; }

/* पडताळणी */
.hint { color: #6b4a2b; margin-bottom: 1rem; text-align: center; }
.review { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.review-sec { border: 1px solid #f0e2cf; border-radius: 12px; overflow: hidden; }
.review-sec h4 { background: #fff3e0; color: var(--maroon); padding: .4rem 1rem; font-size: 1.1rem; }
.review-sec dl { display: grid; grid-template-columns: minmax(130px, 40%) 1fr; }
.review-sec dt, .review-sec dd { padding: .35rem 1rem; border-top: 1px solid #f7eee2; }
.review-sec dt { color: #8a7560; }
.review-sec dd { font-weight: 700; word-break: break-word; }
.review-photo { width: 110px; border-radius: 10px; margin: .6rem auto; display: block; }

.declare {
  display: flex; gap: .8rem; align-items: flex-start; cursor: pointer;
  background: #fff8e1; border: 2px solid #ffe082; border-radius: 12px; padding: 1rem;
}
.declare input { width: 22px; height: 22px; accent-color: var(--red); margin-top: .25rem; flex-shrink: 0; }

/* बटणे */
.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.form-nav .btn:last-child, .form-nav #btn-next { margin-left: auto; }
.btn { border: 0; cursor: pointer; font: inherit; font-size: 1.1rem; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(198,40,40,.3); }
.btn:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-ghost:hover { background: #fff0f0; }
.btn-submit { background: linear-gradient(90deg, #2e7d32, #43a047); }
.btn-submit:hover { box-shadow: 0 6px 16px rgba(46,125,50,.35); background: linear-gradient(90deg, #1b5e20, #2e7d32); }

/* यश */
.success-card { text-align: center; animation: popIn .6s ease both; }
.success-card h3 { font-family: "Baloo 2", sans-serif; color: #2e7d32; font-size: 1.8rem; margin: .5rem 0; }
.check-anim svg { width: 90px; height: 90px; }
.check-anim circle { fill: none; stroke: #43a047; stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s ease forwards; }
.check-anim path { fill: none; stroke: #43a047; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .4s .6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

.confetti { position: fixed; top: -12px; width: 10px; height: 14px; z-index: 50; pointer-events: none; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .7; } }

/* संपर्क */
.avatar { width: 56px; height: 56px; margin: 0 auto .5rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: #fff3e0; }
.contact-card a { font-size: 1.3rem; }

/* ४ संपर्क कार्ड: मोठ्या स्क्रीनवर एका ओळीत, टॅबलेटवर २×२, मोबाईलवर एकाखाली एक */
#contact .contact-grid { grid-template-columns: repeat(4, 1fr); }
.js .reveal.visible .contact-card:nth-child(4) { animation-delay: .45s; }
.contact-card h3 { font-size: 1.2rem; }
@media (max-width: 1000px) { #contact .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { #contact .contact-grid { grid-template-columns: 1fr; } }

/* "नोंदणी जमा करा" बटणावर हलकी चमक */
.btn-submit { position: relative; overflow: hidden; padding-left: 1.8rem; padding-right: 1.8rem; }
.btn-shine {
  position: absolute; top: 0; left: -75%; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: btnShine 2.8s ease-in-out infinite;
}
@keyframes btnShine { 0% { left: -75%; } 45%, 100% { left: 130%; } }

/* Footer – ZMedia क्रेडिट */
.dev-wrap { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: center; }
.dev-badge {
  position: relative; display: inline-flex; align-items: center; gap: .8rem;
  padding: .55rem 1.3rem .55rem .6rem; border-radius: 50px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  overflow: hidden; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.dev-badge::after { /* पुढे सरकणारी चमक */
  content: ""; position: absolute; inset: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-20deg); animation: devSheen 4.5s ease-in-out infinite;
}
@keyframes devSheen { 0%, 55% { left: -60%; } 100% { left: 140%; } }
.dev-badge:hover { transform: translateY(-3px); border-color: rgba(255,213,79,.6); box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 0 4px rgba(255,213,79,.08); }

.dev-logo { /* फिरणारी सोनेरी रिंग */
  position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: conic-gradient(from 0deg, #ffd54f, #ff8a65, #f39c12, #ffd54f);
  animation: spinRing 6s linear infinite;
}
.dev-logo span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--maroon); color: #ffd54f; font: 800 1.15rem/1 "Baloo 2", sans-serif;
  animation: spinRing 6s linear infinite reverse; /* अक्षर सरळ राहते */
}
@keyframes spinRing { to { transform: rotate(360deg); } }

.dev-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.dev-text small { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: .7rem; letter-spacing: 1.6px; text-transform: uppercase; opacity: .75; }
.zmedia {
  font: 800 1.35rem/1.2 "Baloo 2", sans-serif; letter-spacing: .5px;
  background: linear-gradient(90deg, #ffd54f, #ffffff, #ff8a65, #ffd54f); background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 300% center; } }

/* स्क्रोल करून खाली आल्यावर बॅज हळूवार वर येतो */
.js .dev-wrap { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .dev-wrap.visible { opacity: 1; transform: none; }

#print-sheet { display: none; }

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .stepper .lbl { font-size: .78rem; }
  .stepper .dot { width: 36px; height: 36px; }
  .form-nav .btn { padding: .7rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   प्रिंट – कागदी फॉर्मसारखा
   ========================================================= */
@media print {
  @page { size: A4; margin: 10mm; }
  body { background: #fff; font-size: 11pt; }
  body > *:not(#print-sheet) { display: none !important; }
  #print-sheet { display: block; color: #000; }
  .ps { border: 2px solid #000; padding: 6mm; }
  .ps-head { display: flex; gap: 4mm; align-items: flex-start; border-bottom: 2px solid #000; padding-bottom: 3mm; }
  .ps-head .titles { flex: 1; }
  .ps-head h1, .ps-head h2 { font-family: "Noto Sans Devanagari", sans-serif; font-size: 16pt; line-height: 1.25; color: #000; }
  .ps-head .ev { font-family: "Noto Sans Devanagari", sans-serif; font-size: 15pt; font-weight: 800; }
  .ps-head .meta { background: #eee; padding: 1mm 2mm; font-size: 9.5pt; margin-top: 1mm; }
  .ps-side { width: 34mm; display: flex; flex-direction: column; gap: 2mm; }
  .ps-no { border: 1px solid #000; padding: 1mm 2mm; font-size: 9pt; height: 12mm; }
  .ps-photo { border: 1px solid #000; height: 40mm; display: grid; place-items: center; font-size: 9pt; overflow: hidden; }
  .ps-photo img { width: 100%; height: 100%; object-fit: cover; }
  .ps h3 { display: inline-block; background: #ddd; padding: .5mm 4mm; border-radius: 0 4mm 4mm 0; font-size: 11pt; margin: 3mm 0 1.5mm; }
  .ps-row { display: flex; gap: 2mm; padding: 1.2mm 0; border-bottom: 1px dotted #555; }
  .ps-row b { white-space: nowrap; font-weight: 500; }
  .ps-row span { font-weight: 700; flex: 1; }
  .ps-decl { border-top: 2px solid #000; margin-top: 4mm; padding-top: 2mm; font-size: 9.5pt; }
  .ps-sign { display: flex; justify-content: space-between; margin-top: 8mm; font-weight: 700; }
  .ps-foot { display: flex; border-top: 2px solid #000; margin-top: 3mm; padding-top: 2mm; font-weight: 700; font-size: 10pt; }
  .ps-foot > div:first-child { border-right: 2px solid #000; padding-right: 3mm; margin-right: 3mm; }
  .ps-credit { text-align: center; font-size: 8pt; margin-top: 2mm; color: #555; }
}

/* =========================================================
   शुल्क भरणा, सूचना, जतन, अभिनंदन
   ========================================================= */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.stepper .lbl { white-space: nowrap; }
.form-card.is-locked .stepper li.done .dot::after { content: ""; }

.locked-note {
  background: #e8f5e9; border: 1px solid #a5d6a7; color: #1b5e20;
  border-radius: 12px; padding: .7rem 1rem; margin-bottom: 1.4rem; font-weight: 500;
  animation: fadeDown .5s ease both;
}

.pay-grid { display: grid; grid-template-columns: 300px 1fr; gap: 1.6rem; align-items: start; }

.qr-card {
  text-align: center; border-radius: 18px; padding: 1.2rem 1rem 1.4rem;
  background: linear-gradient(160deg, #fff8e1, #ffffff 60%);
  border: 2px solid #ffe0b2; box-shadow: 0 8px 24px rgba(243,156,18,.15);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.amount {
  font-family: "Noto Sans Devanagari", sans-serif; font-weight: 800; font-size: 2.2rem; color: var(--red);
  background: var(--white); border-radius: 40px; padding: .1rem 1.4rem; box-shadow: 0 3px 10px rgba(198,40,40,.15);
}
.qr-frame {
  position: relative; width: 230px; height: 230px; border-radius: 16px; background: var(--white);
  padding: 12px; overflow: hidden;
  box-shadow: 0 0 0 3px var(--red), 0 0 0 8px #fff, 0 0 0 10px var(--saffron);
  animation: qrGlow 2.6s ease-in-out infinite;
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-placeholder {
  width: 100%; height: 100%; display: grid; place-content: center; text-align: center;
  border: 2px dashed #d7c2a8; border-radius: 10px; color: #8a7560; font-weight: 700; line-height: 1.5;
  background: repeating-linear-gradient(45deg, #fffaf0 0 10px, #fff4e0 10px 20px);
}
.qr-placeholder b { font-size: 3.2rem; color: #c9b08f; line-height: 1; }
.scan-line {
  position: absolute; left: 10px; right: 10px; height: 3px; top: 12px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 12px var(--red); animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 12px; } 50% { top: calc(100% - 15px); } }
@keyframes qrGlow { 50% { box-shadow: 0 0 0 3px var(--red), 0 0 0 8px #fff, 0 0 0 10px var(--saffron), 0 0 26px 10px rgba(243,156,18,.35); } }
.qr-apps { font-weight: 700; color: var(--maroon); line-height: 1.4; }
.qr-apps small { font-weight: 400; color: #6b4a2b; }
.btn-sm { padding: .45rem 1.1rem; font-size: 1rem; }
.btn-upi { background: linear-gradient(90deg, #5f259f, #7e3fbf); }
.btn-upi:hover { box-shadow: 0 6px 16px rgba(95,37,159,.35); }

.howto { list-style: none; counter-reset: h; display: grid; gap: .55rem; margin-bottom: 1.3rem; }
.howto li {
  counter-increment: h; position: relative; padding: .55rem .8rem .55rem 3rem;
  background: #fffdf8; border: 1px solid #f0e2cf; border-radius: 12px;
}
.howto li::before {
  content: counter(h, devanagari); position: absolute; left: .7rem; top: 50%; transform: translateY(-50%);
  width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 700; font-size: .95rem;
}
.pay-side .field { margin-bottom: 1rem; }
.pay-drop { width: 100%; height: 190px; }
.pay-drop img { object-fit: contain; background: #fff; }
.photo-drop.has-image { border-style: solid; border-color: #66bb6a; }
.photo-drop.shake { animation: shake .4s; border-color: var(--red); }
#payment-err { text-align: center; }

.submit-error {
  margin-top: 1.2rem; background: #ffebee; border: 1px solid #ef9a9a; color: #b71c1c;
  padding: .8rem 1rem; border-radius: 12px; font-weight: 500; animation: shake .4s;
}
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* सूचना डायलॉग */
.modal {
  border: 0; border-radius: 22px; padding: 2rem 1.6rem 1.6rem; max-width: 440px; width: calc(100% - 2rem);
  text-align: center; margin: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); border-top: 6px solid var(--saffron);
}
.modal[open] { animation: modalIn .45s cubic-bezier(.2,1.4,.4,1) both; }
.modal::backdrop { background: rgba(60, 10, 10, .55); backdrop-filter: blur(3px); }
@keyframes modalIn { from { opacity: 0; transform: scale(.7) translateY(30px); } to { opacity: 1; transform: none; } }
.modal-icon { font-size: 3.2rem; line-height: 1; animation: wobble 1.4s ease-in-out infinite; display: inline-block; }
@keyframes wobble { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
.modal h3 { font-family: "Baloo 2", sans-serif; color: var(--red); font-size: 1.7rem; margin: .4rem 0 .5rem; }
.modal p { font-size: 1.12rem; }
.modal .small-note { color: #6b4a2b; font-size: 1rem; margin-top: .3rem; }
.modal-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* जतन होत आहे */
.saving {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center;
  background: rgba(255, 252, 230, .85); backdrop-filter: blur(4px); animation: fadeDown .3s ease both;
}
.saving-box { text-align: center; }
.saving-box p { font-family: "Baloo 2", sans-serif; font-size: 1.5rem; color: var(--maroon); margin-top: 1rem; font-weight: 700; }
.saving-box small { color: #6b4a2b; }
.spinner {
  width: 74px; height: 74px; margin: 0 auto; border-radius: 50%;
  border: 6px solid #ffe0b2; border-top-color: var(--red); border-right-color: var(--saffron);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* अभिनंदन */
.success-card { position: relative; }
.success-card h3 { font-size: 2.4rem; color: var(--red); font-family: "Noto Sans Devanagari", sans-serif; font-weight: 800; }
.success-card.play h3 { animation: bounceIn .8s .5s both; }
@keyframes bounceIn { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.12); } 100% { transform: scale(1); } }
.success-sub { font-size: 1.2rem; font-weight: 500; }
.burst { position: absolute; left: 50%; top: 4.2rem; width: 0; height: 0; pointer-events: none; }
.burst span {
  position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%;
  border: 4px solid var(--saffron); opacity: 0;
}
.success-card.play .burst span { animation: ring 1.6s ease-out .2s 2; }
.success-card.play .burst span:nth-child(2) { border-color: var(--red); animation-delay: .5s; }
.success-card.play .burst span:nth-child(3) { border-color: #43a047; animation-delay: .8s; }
@keyframes ring { from { transform: scale(.3); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }

.reg-ticket {
  position: relative; margin: 1.4rem auto; max-width: 380px; padding: 1.1rem 1rem;
  border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, var(--maroon), var(--red) 60%, var(--saffron));
  box-shadow: 0 12px 30px rgba(198,40,40,.35); overflow: hidden;
}
.success-card.play .reg-ticket { animation: popIn .6s 1s both; }
.reg-ticket::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  animation: sheen 3s 1.8s ease-in-out infinite;
}
@keyframes sheen { 0% { left: -60%; } 40%, 100% { left: 130%; } }
.reg-ticket small { display: block; opacity: .9; font-size: 1rem; }
.reg-ticket strong { display: block; font-size: 2.1rem; letter-spacing: 2px; font-family: "Baloo 2", sans-serif; line-height: 1.3; }
.copy-btn {
  margin-top: .4rem; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.15); color: #fff;
  border-radius: 20px; padding: .2rem .9rem; font: inherit; font-size: .95rem; cursor: pointer; position: relative; z-index: 1;
}
.copy-btn:hover { background: rgba(255,255,255,.3); }
.next-info { list-style: none; text-align: left; max-width: 520px; margin: 0 auto 1rem; display: grid; gap: .5rem; }
.next-info li { background: #fffdf8; border: 1px solid #f0e2cf; border-radius: 12px; padding: .55rem .9rem; }
.success-card.play .next-info li { animation: slideIn .5s both; }
.success-card.play .next-info li:nth-child(1) { animation-delay: 1.3s; }
.success-card.play .next-info li:nth-child(2) { animation-delay: 1.45s; }
.success-card.play .next-info li:nth-child(3) { animation-delay: 1.6s; }

.confetti.round { border-radius: 50%; width: 10px; height: 10px; }
.confetti.strip { width: 6px; height: 18px; }

@media (max-width: 760px) {
  .pay-grid { grid-template-columns: 1fr; }
  .qr-frame { width: 210px; height: 210px; }
  .stepper .lbl { font-size: .7rem; white-space: normal; }
  .reg-ticket strong { font-size: 1.7rem; }
}

@media print {
  .ps-no b { display: block; font-size: 12pt; margin-top: 1mm; }
}

.success-card:focus { outline: none; }

/* अभिनंदन – नोंदणी क्रमांक जपून ठेवण्याची सूचना */
.keep-note {
  max-width: 520px; margin: 0 auto 1.2rem; text-align: left;
  background: #fff8e1; border: 2px solid #ffca28; border-left-width: 6px; border-radius: 14px;
  padding: .9rem 1.1rem; box-shadow: 0 6px 18px rgba(255,202,40,.2);
}
.success-card.play .keep-note { animation: popIn .6s 1.15s both, notePulse 2.4s 2s ease-in-out 3; }
@keyframes notePulse { 50% { box-shadow: 0 0 0 6px rgba(255,202,40,.25), 0 6px 18px rgba(255,202,40,.2); } }
.keep-head { font-family: "Baloo 2", sans-serif; font-weight: 800; color: var(--maroon); font-size: 1.25rem; margin-bottom: .2rem; }
.keep-note p { margin: .25rem 0; }
.keep-tip { color: #6b4a2b; font-size: 1rem; }
.chip small { opacity: .8; }

/* =========================================================
   ZMedia क्रेडिट – वरून पडत येणारे अ‍ॅनिमेशन
   ========================================================= */
.dev-wrap { flex-direction: column; align-items: center; gap: .9rem; position: relative; overflow: visible; }
.js .dev-wrap { opacity: 1; transform: none; transition: none; }

/* सुरुवातीला लपलेले – फूटर दिसल्यावर क्रमाने येतात */
.js .dev-wrap .dev-badge,
.js .dev-wrap .dev-contact-lbl,
.js .dev-wrap .dev-contact a { opacity: 0; }

/* १) बॅज वरून पडतो, आपटून उसळतो */
.js .dev-wrap.visible .dev-badge { animation: dropBounce 1.1s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes dropBounce {
  0%   { opacity: 0; transform: translateY(-220px) rotate(-8deg) scale(.8); }
  55%  { opacity: 1; transform: translateY(0) rotate(2deg) scale(1.04, .94); }
  70%  { transform: translateY(-18px) rotate(-1deg) scale(.98, 1.03); }
  85%  { transform: translateY(0) scale(1.01, .99); }
  100% { opacity: 1; transform: none; }
}
/* Z लोगो पडताना गिरकी घेतो, नंतर हळूहळू फिरत राहतो */
.js .dev-wrap.visible .dev-logo { animation: logoIn 1.2s ease-out both, spinRing 6s 1.2s linear infinite; }
@keyframes logoIn { from { transform: rotate(-540deg) scale(.3); } to { transform: rotate(0) scale(1); } }

/* आपटल्यावर सोनेरी लाट */
.dev-wrap::before {
  content: ""; position: absolute; top: 1.4rem; left: 50%; width: 260px; height: 60px;
  margin-left: -130px; border-radius: 50px; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px rgba(255,213,79,.7);
}
.js .dev-wrap.visible::before { animation: impact 1s .62s ease-out both; }
@keyframes impact { from { opacity: .9; transform: scale(.9); } to { opacity: 0; transform: scale(1.6, 2.2); } }

/* चारी बाजूंना उडणारे तारे */
.dev-spark {
  position: absolute; top: 2.6rem; left: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: #ffd54f; box-shadow: 0 0 8px 2px rgba(255,213,79,.8); opacity: 0; pointer-events: none;
}
.js .dev-wrap.visible .dev-spark { animation: spark .9s .62s ease-out both; }
.dev-spark:nth-of-type(1) { --x: -150px; --y: -40px; }
.dev-spark:nth-of-type(2) { --x: 150px;  --y: -45px; }
.dev-spark:nth-of-type(3) { --x: -110px; --y: 35px; background: #ff8a65; }
.dev-spark:nth-of-type(4) { --x: 115px;  --y: 38px; background: #ff8a65; }
.dev-spark:nth-of-type(5) { --x: 0px;    --y: -70px; background: #fff; }
.dev-spark:nth-of-type(6) { --x: -60px;  --y: -65px; }
.dev-spark:nth-of-type(7) { --x: 65px;   --y: -60px; background: #fff; }
@keyframes spark {
  0% { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.2); }
}

/* २) "ZMedia संपर्क" अक्षरे धूसरतेतून स्पष्ट होतात */
.dev-contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .55rem .8rem; }
.dev-contact-lbl { width: 100%; text-align: center; font-size: .9rem; letter-spacing: .4px; }
.js .dev-wrap.visible .dev-contact-lbl { animation: lblIn .6s 1.05s ease-out both; }
@keyframes lblIn { from { opacity: 0; letter-spacing: 6px; filter: blur(4px); } to { opacity: .8; letter-spacing: .4px; filter: none; } }

/* ३) दोन्ही क्रमांक एकामागून एक पडतात */
.dev-contact a {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #ffd54f; text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: .6px;
  padding: .38rem 1rem; border-radius: 30px; border: 1px solid rgba(255,213,79,.4);
  background: rgba(255,255,255,.05); transition: background .3s, border-color .3s, box-shadow .3s;
}
.js .dev-wrap.visible .dev-contact a { animation: dropBounce 1s cubic-bezier(.3,1.5,.5,1) both; }
.js .dev-wrap.visible .dev-contact a:nth-of-type(1) { animation-delay: 1.3s; }
.js .dev-wrap.visible .dev-contact a:nth-of-type(2) { animation-delay: 1.55s; }
.dev-contact a:hover, .dev-contact a:focus-visible {
  background: rgba(255,213,79,.16); border-color: #ffd54f; box-shadow: 0 0 18px rgba(255,213,79,.35);
}
/* फोन आयकॉन अधूनमधून "वाजतो" */
.dev-contact .ring { display: inline-block; transform-origin: 50% 60%; }
.js .dev-wrap.visible .dev-contact a:nth-of-type(1) .ring { animation: phoneRing 2.8s 2.4s ease-in-out infinite; }
.js .dev-wrap.visible .dev-contact a:nth-of-type(2) .ring { animation: phoneRing 2.8s 2.9s ease-in-out infinite; }
@keyframes phoneRing {
  0%, 30%, 100% { transform: rotate(0); }
  4%, 12%, 20% { transform: rotate(-18deg); }
  8%, 16%, 24% { transform: rotate(18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .js .dev-wrap .dev-badge, .js .dev-wrap .dev-contact-lbl, .js .dev-wrap .dev-contact a { opacity: 1; }
  .dev-spark, .dev-wrap::before { display: none; }
}

/* =========================================================
   ZMedia – पूर्ण अ‍ॅनिमेटेड (तरंगणारा बॅज, फिरणारे ग्रह, नाचणारी अक्षरे)
   ========================================================= */
.dev-stage { position: relative; padding: 1.4rem 2.2rem; }

/* बॅज हवेत तरंगतो – इकडे तिकडे हळूवार सरकतो */
.js .dev-wrap.visible .dev-float { animation: floaty 5s 1.2s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25%      { transform: translate(-14px, -7px) rotate(-1.5deg); }
  50%      { transform: translate(0, -11px) rotate(0); }
  75%      { transform: translate(14px, -7px) rotate(1.5deg); }
}

/* बॅजभोवती फिरणारी रंगीत कडा */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.dev-badge {
  border: 2px solid transparent;
  background:
    linear-gradient(#7a1418, #7a1418) padding-box,
    conic-gradient(from var(--ang), #ffd54f, #ff8a65, #ffffff33, #f39c12, #ffd54f) border-box;
  animation: borderSpin 4s linear infinite;
  box-shadow: 0 8px 30px rgba(0,0,0,.35), 0 0 22px rgba(255,213,79,.18);
}
@keyframes borderSpin { to { --ang: 360deg; } }
.js .dev-wrap.visible .dev-badge { animation: dropBounce 1.1s cubic-bezier(.3,1.5,.5,1) both, borderSpin 4s linear infinite; }

/* बॅजभोवती लंबवर्तुळात फिरणारे सोनेरी ग्रह */
.orbit-wrap {
  position: absolute; left: 50%; top: 50%; width: 360px; height: 360px;
  margin: -180px 0 0 -180px; transform: scaleY(.3); pointer-events: none; opacity: 0;
}
.js .dev-wrap.visible .orbit-wrap { animation: fadeIn .8s 1s ease both; }
@keyframes fadeIn { to { opacity: 1; } }
.orbit { position: absolute; inset: 0; border-radius: 50%; animation: orbit 7s linear infinite; }
.orbit.o2 { animation-duration: 10s; animation-direction: reverse; inset: 22px; }
.orbit.o3 { animation-duration: 13s; inset: -14px; }
.orbit i {
  position: absolute; left: 50%; top: 0; width: 9px; height: 30px; margin-left: -4.5px; border-radius: 50%;
  background: #ffd54f; box-shadow: 0 0 10px 3px rgba(255,213,79,.75);
}
.orbit.o2 i { background: #ff8a65; box-shadow: 0 0 10px 3px rgba(255,138,101,.7); width: 7px; height: 24px; }
.orbit.o3 i { background: #fff; box-shadow: 0 0 10px 3px rgba(255,255,255,.6); width: 6px; height: 20px; }
@keyframes orbit { to { transform: rotate(360deg); } }

/* ZMedia ची अक्षरे लाटेसारखी उड्या मारतात व रंग बदलतात */
.zmedia { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #ffd54f; animation: none; display: inline-flex; }
.zmedia span {
  display: inline-block; text-shadow: 0 0 10px rgba(255,213,79,.45);
  animation: letterWave 2.6s ease-in-out infinite, letterColor 3.2s linear infinite;
  animation-delay: calc(var(--i) * .12s + 2s), calc(var(--i) * .2s);
}
@keyframes letterWave {
  0%, 60%, 100% { transform: translateY(0) scale(1); }
  20%           { transform: translateY(-4px) scale(1.12); }
  40%           { transform: translateY(2px) scale(.95); }
}
@keyframes letterColor {
  0%, 100% { color: #ffd54f; }
  33%      { color: #ff8a65; }
  66%      { color: #ffffff; }
}
.dev-badge:hover .zmedia span { animation-duration: 1s, 1.2s; }

/* संपर्क क्रमांक वेगवेगळ्या दिशांनी डोलतात */
.js .dev-wrap.visible .dev-contact a:nth-of-type(1) {
  animation: dropBounce 1s 1.3s cubic-bezier(.3,1.5,.5,1) both, swayL 4.4s 2.4s ease-in-out infinite;
}
.js .dev-wrap.visible .dev-contact a:nth-of-type(2) {
  animation: dropBounce 1s 1.55s cubic-bezier(.3,1.5,.5,1) both, swayR 4.4s 2.6s ease-in-out infinite;
}
@keyframes swayL { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(-8px,-6px) rotate(-3deg); } }
@keyframes swayR { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(8px,-6px) rotate(3deg); } }

@media (max-width: 480px) {
  .dev-stage { padding: 1.2rem .6rem; }
  .orbit-wrap { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  @keyframes floaty {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    25% { transform: translate(-6px, -6px) rotate(-1deg); }
    50% { transform: translate(0, -9px); }
    75% { transform: translate(6px, -6px) rotate(1deg); }
  }
}

.dev-text { gap: .3rem; }
