/* ───────────── ثبت‌نام / ورود ───────────── */
.reg { min-height: 100dvh; padding: calc(14px + var(--safe-t)) 16px calc(28px + var(--safe-b)); max-width: 1080px; margin: 0 auto; }
.reg__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.reg__grid { display: flex; flex-direction: column; gap: 16px; }
.reg__side { display: contents; }          /* موبایل: کارت نقشه → فرم → قول‌ها */
.reg__side .mapcard { order: 1; } .reg__main { order: 2; } .reg__side .vows { order: 3; margin-top: 0; }
.mapcard__more summary { cursor: pointer; list-style: none; color: var(--gold); font-weight: 700; font-size: .86rem; padding: 6px 0; position: relative; }
.mapcard__more summary::-webkit-details-marker { display: none; }
.mapcard__more summary::after { content: " ▾"; }
.mapcard__more[open] summary::after { content: " ▴"; }
@media (max-width: 899px) {
  .mapcard { padding: 18px 16px; } .mapcard__orb { width: 56px; height: 56px; } .mapcard h1 { font-size: 1.6rem; }
}
@media (min-width: 900px) {
  .reg__side { display: block; } .reg__side .mapcard, .reg__main, .reg__side .vows { order: 0; } .reg__side .vows { margin-top: 14px; }
  .mapcard__more summary { display: none; }
  .reg { padding-top: 28px; }
  .reg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .reg__main { position: sticky; top: 24px; }
}

/* نقشه‌ی دل */
.mapcard { padding: 24px 22px; text-align: center; display: grid; gap: 8px; justify-items: center; position: relative; overflow: hidden; }
.mapcard::before { content: ""; position: absolute; inset: -40% -10% auto; height: 80%; background: radial-gradient(closest-side, var(--a), transparent 70%); opacity: .25; filter: blur(30px); }
.mapcard__orb { width: 84px; height: 84px; border-radius: 50%; position: relative; background: radial-gradient(circle at 32% 28%, #fff3c2, var(--a) 40%, var(--b) 100%); box-shadow: 0 0 40px var(--a), 0 0 100px var(--b); animation: beat 3.8s ease-in-out infinite; }
.mapcard small { color: var(--milk-dim); font-weight: 600; font-size: .82rem; position: relative; }
.mapcard h1 { font-size: 2rem; font-weight: 900; line-height: 1.25; position: relative; }
.mapcard__tag { color: var(--milk-dim); font-size: .96rem; position: relative; }
.mapcard__list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; text-align: right; width: 100%; position: relative; }
.mapcard__list li { padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); display: grid; gap: 2px; }
.mapcard__list b { font-size: .8rem; color: var(--gold); font-weight: 700; }
.mapcard__list span { font-size: .9rem; color: var(--milk); line-height: 1.8; }

/* قول‌ها */
.vows { display: grid; gap: 10px; margin-top: 14px; }
.vow { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.vow i { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-style: normal; font-weight: 900; background: rgba(255, 255, 255, .1); color: var(--gold); }
.vow b { display: block; font-size: .98rem; }
.vow span { font-size: .86rem; color: var(--milk-dim); line-height: 1.8; }
.vow--gold { background: linear-gradient(110deg, rgba(255, 179, 71, .22), rgba(255, 79, 109, .14)); border-color: rgba(255, 179, 71, .5); }
.vow--gold i { background: var(--grad-fire); color: #1b0804; font-size: 1.3rem; }

/* فرم */
.reg__main { padding: 22px 20px 24px; }
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; justify-content: space-between; gap: 6px; position: relative; }
.steps::before { content: ""; position: absolute; top: 15px; inset-inline: 24px; height: 2px; background: var(--line); }
.steps li { position: relative; display: grid; justify-items: center; gap: 4px; font-size: .74rem; color: var(--milk-faint); flex: 1; }
.steps i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-weight: 800; font-size: .85rem; background: var(--ink-2); border: 1px solid var(--line); transition: .4s var(--ease); }
.steps li.is-now { color: var(--milk); } .steps li.is-now i { background: var(--grad-fire); color: #1b0804; border-color: transparent; box-shadow: 0 0 22px rgba(255, 106, 26, .6); }
.steps li.is-done i { background: rgba(255, 106, 26, .25); border-color: var(--ember); color: #ffd9a0; }

.pane { animation: pane-in .5s var(--ease) both; }
@keyframes pane-in { from { opacity: 0; transform: translateX(26px); } }
.pane h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.lead { color: var(--milk-dim); font-size: .94rem; margin-bottom: 18px; }
.form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.linkbtn { background: none; border: 0; padding: 2px 4px; color: var(--gold); font-weight: 700; font-size: .88rem; text-decoration: underline; text-underline-offset: 4px; }
.linkbtn:disabled { color: var(--milk-faint); text-decoration: none; cursor: default; }
.linkbtn--center { justify-self: center; }
.devnote { margin: -6px 0 16px; padding: 10px 14px; border-radius: 14px; font-size: .84rem; background: rgba(127, 214, 164, .1); border: 1px dashed rgba(127, 214, 164, .45); color: #cdeedb; }

/* OTP */
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp__box { width: 100%; aspect-ratio: 1 / 1.15; max-height: 62px; text-align: center; font-size: 1.4rem; font-weight: 800; background: rgba(30, 10, 45, .45); border: 1px solid var(--line); border-radius: 14px; transition: .2s; }
.otp__box:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px rgba(255, 106, 26, .22); }
.otp__box.is-bad { border-color: var(--danger); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* جنسیت */
.gender { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gender__opt { position: relative; cursor: pointer; }
.gender__opt input { position: absolute; opacity: 0; inset: 0; }
.gender__opt span { display: grid; place-items: center; min-height: 54px; border-radius: var(--r-md); font-weight: 700; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); transition: .25s var(--ease); }
.gender__opt input:checked + span { background: rgba(255, 106, 26, .22); border-color: var(--ember); box-shadow: 0 0 24px rgba(255, 106, 26, .35); }
.gender__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

/* اطلاع‌رسانی محو بودن */
.blurnote { padding: 16px; border-radius: 20px; background: linear-gradient(140deg, rgba(255, 179, 71, .14), rgba(255, 79, 109, .08)); border: 1px solid rgba(255, 179, 71, .4); margin-bottom: 16px; }
.blurnote__demo { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 12px; }
.blurnote__img { width: 76px; height: 76px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #3a1f18 0 20%, transparent 21%), radial-gradient(ellipse at 50% 100%, #3a1f18 0 38%, transparent 39%), linear-gradient(160deg, #ffb169, #d6336c); background-size: cover; background-position: center; border: 2px solid rgba(255, 255, 255, .3); }
.blurnote__img--blur { filter: blur(7px); transform: scale(1.1); }
.blurnote__arrow { font-size: 1.4rem; color: var(--gold); }
.blurnote ul { margin: 0; padding: 0 18px 0 0; display: grid; gap: 6px; font-size: .88rem; color: var(--milk-dim); line-height: 1.8; }
.blurnote b { color: var(--milk); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--milk-dim); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 3px; accent-color: var(--ember); }

@media (max-width: 380px) { .row2 { grid-template-columns: 1fr; } .mapcard h1 { font-size: 1.7rem; } }
