:root{--pink:#f05f8c;--blue:#5bc5e7}

.hc-birthday{font-family:Vazirmatn,Tahoma,sans-serif;position:relative;overflow:hidden;padding:28px;min-height:650px;background:linear-gradient(135deg,#edf8ff,#f7edff,#fff0f5);border-radius:34px}
.hc-birthday *{box-sizing:border-box}
.hc-birthday-layout{position:relative;z-index:2;max-width:1180px;margin:auto;display:grid;grid-template-columns:.82fr 1.18fr;gap:25px}
.hc-showcase,.hc-form-card{background:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.8);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:0 25px 70px rgba(60,30,90,.12);border-radius:32px}
.hc-showcase{padding:48px;display:flex;flex-direction:column;justify-content:center;animation:hcIn .8s}
.hc-brand{font-size:11px;letter-spacing:2px;font-weight:900;color:#6a1b9a}
.hc-cake{font-size:72px;margin:20px 0 10px;animation:float 3s infinite}
.hc-showcase h2{font-size:34px;line-height:1.4;color:#37474f;margin:0}
.hc-showcase h2 b{background:linear-gradient(90deg,#6a1b9a,var(--pink));-webkit-background-clip:text;color:transparent}
.hc-showcase p{color:#78909c;line-height:2;margin:15px 0}
.hc-chips{display:flex;flex-wrap:wrap;gap:8px}
.hc-chips i{font-style:normal;font-size:11px;background:rgba(255,255,255,.7);padding:9px 11px;border-radius:12px;color:#546e7a}
.hc-form-card{padding:32px;animation:up .8s}
.hc-head{display:flex;justify-content:space-between;align-items:flex-start}
.hc-head small{color:#9c27b0;font-weight:900}
.hc-head h1{font-size:28px;color:#37474f;margin:4px 0}
.hc-head p{color:#90a4ae;margin:0;font-size:12px}
.hc-head em{font-style:normal;font-size:11px;color:#2e7d32;background:#e8f5e9;padding:7px 10px;border-radius:20px}
.hc-notice{margin:18px 0;padding:12px 14px;border-radius:14px;background:linear-gradient(90deg,#fff8e1,#fce4ec);color:#795548;font-size:12px;line-height:1.8}
.hc-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hc-form-card label{display:block;font-size:13px;font-weight:700;color:#455a64;margin-bottom:14px}
.hc-form-card label span{color:#b0bec5;font-weight:400}
.hc-form-card input,.hc-form-card select,.hc-form-card textarea{display:block;width:100%;margin-top:7px;border:1.5px solid rgba(124,77,255,.15);border-radius:15px;padding:13px 15px;background:rgba(255,255,255,.72);font:inherit;font-size:14px;outline:0;color:#263238}
.hc-form-card input:focus,.hc-form-card select:focus,.hc-form-card textarea:focus{border-color:#8c6cff;background:#fff;box-shadow:0 0 0 4px rgba(124,77,255,.08)}
.hc-form-card input::placeholder,.hc-form-card textarea::placeholder{color:#bcc5c9}
.hc-verify-bar{display:grid;grid-template-columns:165px 1fr;gap:9px;align-items:center;margin:-2px 0 12px}
.hc-verify-bar button,.hc-otp button{border:0;border-radius:14px;padding:12px;background:#eeeaff;color:#5e35b1;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.hc-verify-bar span{font-size:11px;color:#90a4ae}
.hc-verify-bar span.ok{color:#2e7d32}
.hc-otp{display:grid;grid-template-columns:1fr 135px;gap:9px;margin-bottom:14px}
.hc-submit{width:100%;border:0;border-radius:17px;padding:16px;background:linear-gradient(110deg,#667eea,var(--pink));color:#fff;font:inherit;font-weight:900;font-size:16px;cursor:pointer;box-shadow:0 12px 28px rgba(233,30,99,.22);transition:.3s}
.hc-submit:hover{transform:translateY(-3px)}
.hc-submit:disabled{opacity:.55;cursor:not-allowed;transform:none}
.hc-result{display:none;text-align:center;margin-top:13px;padding:12px;border-radius:14px;font-size:13px}
.hc-result.ok{display:block;background:#e8f5e9;color:#2e7d32}
.hc-result.err{display:block;background:#ffebee;color:#c62828}
.hc-honeypot{position:absolute!important;left:-9999px!important;opacity:0!important}
.hc-bg-orb{position:absolute;border-radius:50%;opacity:.3;filter:blur(4px)}
.hc-a{width:230px;height:230px;background:var(--blue);top:-90px;left:-80px}
.hc-b{width:300px;height:300px;background:var(--pink);right:-120px;bottom:-140px}

/* ===== مراحل (Steps) ===== */
.hc-steps{display:flex;gap:6px;margin:0 0 18px}
.hc-stepdot{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:800;color:#90a4ae;background:rgba(255,255,255,.6);border:1px solid rgba(124,77,255,.12);border-radius:12px;padding:9px 6px;text-align:center}
.hc-stepdot b{flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:#eceff1;color:#78909c;display:flex;align-items:center;justify-content:center;font-size:11px}
.hc-stepdot.is-active{color:#5e35b1;background:#eeeaff;border-color:#d6c8ff}
.hc-stepdot.is-active b{background:#5e35b1;color:#fff}
.hc-stepdot.is-done{color:#2e7d32;background:#e8f5e9;border-color:#c8e6c9}
.hc-stepdot.is-done b{background:#2e7d32;color:#fff}

.hc-step{display:none}
.hc-step.is-active{display:block;animation:up .35s}

.hc-step-actions{margin-top:18px}
.hc-step-actions.hc-between{display:flex;gap:10px;align-items:center;justify-content:space-between}
.hc-step-actions.hc-between .hc-submit{width:auto;flex:0 0 auto;padding:14px 26px}

.hc-next,.hc-back{border:0;border-radius:15px;padding:14px 22px;font:inherit;font-weight:800;font-size:14px;cursor:pointer;transition:.25s}
.hc-next{width:100%;background:linear-gradient(110deg,#667eea,var(--pink));color:#fff;box-shadow:0 12px 28px rgba(233,30,99,.2)}
.hc-next:hover{transform:translateY(-2px)}
.hc-back{background:#eceff1;color:#546e7a}
.hc-back:hover{background:#e0e0e0}

.hc-success{text-align:center;padding:30px 10px;animation:up .4s}
.hc-success-icon{font-size:64px;margin-bottom:8px}
.hc-success h3{color:#37474f;margin:6px 0}
.hc-success p{color:#78909c;margin:8px 0}
.hc-tracking{display:inline-block;font-size:22px;font-weight:900;letter-spacing:1px;color:#6a1b9a;background:#f3e5f5;border-radius:14px;padding:12px 22px;margin:6px 0}
.hc-success-note{font-size:12px;line-height:1.9;color:#8d6e63;background:#fff8e1;border-radius:12px;padding:10px 14px}

@keyframes float{50%{transform:translateY(-9px) rotate(2deg)}}
@keyframes hcIn{from{opacity:0;transform:translateX(-25px)}to{opacity:1;transform:none}}
@keyframes up{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:none}}

@media(max-width:850px){
  .hc-birthday{padding:12px}
  .hc-birthday-layout{grid-template-columns:1fr}
  .hc-showcase{display:none}
  .hc-form-card{padding:22px}
  .hc-two{grid-template-columns:1fr}
}

@media(max-width:480px){
  .hc-form-card{padding:18px;border-radius:24px}
  .hc-head h1{font-size:23px}
  .hc-verify-bar,.hc-otp{grid-template-columns:1fr}
  .hc-steps{flex-direction:column;gap:5px}
  .hc-stepdot{justify-content:flex-start}
  .hc-step-actions.hc-between{flex-direction:column-reverse;align-items:stretch}
  .hc-step-actions.hc-between .hc-submit{width:100%}
}
