/* Armouria — register page (loaded only on the BuddyPress register page) */
body.buddypress.registration{
  --arm-teal:#0F6E6A;--arm-teal-deep:#0B4F4C;--arm-pine:#0E1A1A;--arm-brass:#E0A93B;--arm-brass-soft:#F1C76A;
  --arm-ink:#1C2430;--arm-muted:#5A6672;--arm-line:#D7E0DE;--arm-mist:#F5F7F6;--arm-coral:#E2614B;
  background:#fff;
}

/* ---------- Brand panel: 3D community scene ---------- */
body.buddypress.registration .vkregister-header.arm-join-hero{
  position:relative;overflow:hidden;display:block;padding:0;color:#fff;text-align:left;isolation:isolate;
  background:radial-gradient(120% 90% at 70% 0%,#0B2E2C 0%,#071918 55%,#050F0F 100%) !important;
  background-blend-mode:normal !important;
}
body.buddypress.registration .arm-join-hero-inner{
  position:relative;z-index:1;height:100%;min-height:100vh;max-width:none;margin:0;padding:56px clamp(40px,4.4vw,72px) 48px;
  display:flex;flex-direction:column;gap:28px;
}

/* glowing aura blobs */
.arm-join-aura{position:absolute;inset:0;z-index:-1;pointer-events:none;filter:blur(70px);opacity:.85}
.arm-join-aura span{position:absolute;border-radius:50%;animation:armDrift 16s ease-in-out infinite alternate}
.arm-join-aura .a1{width:520px;height:520px;right:-140px;top:-160px;background:radial-gradient(circle,#18A79C 0%,rgba(24,167,156,0) 70%)}
.arm-join-aura .a2{width:460px;height:460px;left:-160px;bottom:60px;background:radial-gradient(circle,rgba(224,169,59,.75) 0%,rgba(224,169,59,0) 70%);animation-duration:19s}
.arm-join-aura .a3{width:300px;height:300px;right:12%;top:42%;background:radial-gradient(circle,rgba(226,97,75,.55) 0%,rgba(226,97,75,0) 70%);animation-duration:13s}
@keyframes armDrift{0%{transform:translate3d(0,0,0) scale(1)}100%{transform:translate3d(-40px,30px,0) scale(1.12)}}

/* perspective grid floor */
.arm-join-floor{
  position:absolute;z-index:-1;left:-40%;right:-40%;bottom:-6%;height:52%;pointer-events:none;
  background-image:linear-gradient(rgba(64,214,199,.32) 1px,transparent 1px),linear-gradient(90deg,rgba(64,214,199,.32) 1px,transparent 1px);
  background-size:64px 64px;transform:perspective(520px) rotateX(64deg);transform-origin:50% 100%;
  -webkit-mask-image:linear-gradient(to top,#000 0%,rgba(0,0,0,.6) 35%,transparent 80%);mask-image:linear-gradient(to top,#000 0%,rgba(0,0,0,.6) 35%,transparent 80%);
  animation:armFloor 5s linear infinite;
}
@keyframes armFloor{from{background-position:0 0}to{background-position:0 64px}}

.arm-join-brand{display:flex;align-items:center;gap:12px}
.arm-join-shield{width:40px;height:auto;filter:drop-shadow(0 0 18px rgba(224,169,59,.45)) drop-shadow(0 6px 12px rgba(0,0,0,.4))}
.arm-join-wordmark{font-family:"Chakra Petch","Sora",sans-serif;font-weight:700;letter-spacing:.16em;text-transform:uppercase;font-size:1.25rem;line-height:1}
.arm-join-hero .arm-join-wordmark{color:#fff}

.arm-join-headline{
  margin:36px 0 0;font-family:"Sora",sans-serif;font-weight:800;font-size:clamp(2.6rem,3.7vw,4rem);line-height:1.02;letter-spacing:-.03em;color:#fff;
  text-shadow:0 10px 40px rgba(0,0,0,.35)
}
.arm-join-headline span{
  background:linear-gradient(92deg,#F6D27E 0%,#E0A93B 38%,#F07A55 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 22px rgba(224,169,59,.35))
}
.arm-join-lede{margin:18px 0 0;max-width:470px;font-family:"Figtree",sans-serif;font-size:1.0625rem;line-height:1.6;color:rgba(255,255,255,.78)}

.arm-join-tags{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.arm-join-tags li{
  display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  font-family:"Figtree",sans-serif;font-size:.875rem;font-weight:600;color:#fff
}
.arm-join-tags .dot{width:8px;height:8px;border-radius:50%}
.arm-join-tags .dot.g{background:#3DDCCB;box-shadow:0 0 10px #3DDCCB}
.arm-join-tags .dot.b{background:#F1C76A;box-shadow:0 0 10px #F1C76A}
.arm-join-tags .dot.c{background:#F07A55;box-shadow:0 0 10px #F07A55}

/* the 3D stage */
.arm-join-scene{position:relative;flex:1 1 auto;min-height:300px;perspective:1300px;perspective-origin:40% 30%}
.arm-join-stage{
  position:absolute;inset:0;transform-style:preserve-3d;
  transform:rotateX(16deg) rotateY(-18deg) rotateZ(3deg);
}
.arm-card{
  position:absolute;padding:16px 18px;border-radius:18px;color:#fff;transform-style:preserve-3d;
  background:linear-gradient(160deg,rgba(28,62,60,.92) 0%,rgba(12,33,32,.92) 100%);
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 40px 60px -24px rgba(0,0,0,.75),0 0 0 1px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.12);
  font-family:"Figtree",sans-serif;animation:armFloat 7s ease-in-out infinite;
}
@keyframes armFloat{0%,100%{translate:0 0}50%{translate:0 -12px}}
.arm-card-post{left:2%;top:4%;width:300px;transform:translateZ(30px)}
.arm-card-squad{right:2%;top:0;width:236px;transform:translateZ(120px);animation-delay:-2.3s;
  border-color:rgba(240,122,85,.45);box-shadow:0 40px 60px -24px rgba(0,0,0,.75),0 0 40px -6px rgba(240,122,85,.45),inset 0 1px 0 rgba(255,255,255,.12)}
.arm-card-badge{left:22%;bottom:4%;width:290px;display:flex;align-items:center;gap:14px;transform:translateZ(190px);animation-delay:-4.6s;
  border-color:rgba(241,199,106,.5);box-shadow:0 46px 70px -24px rgba(0,0,0,.8),0 0 50px -8px rgba(224,169,59,.5),inset 0 1px 0 rgba(255,255,255,.14)}

.arm-card-head{display:flex;align-items:center;gap:10px}
.arm-ava{width:34px;height:34px;border-radius:50%;flex:0 0 34px;border:2px solid rgba(255,255,255,.85)}
.arm-ava-you{background:conic-gradient(from 200deg,#3DDCCB,#0F6E6A,#F1C76A,#3DDCCB)}
.arm-card-who{display:flex;flex-direction:column;line-height:1.2}
.arm-card-who strong{font-size:.875rem;font-weight:700}
.arm-card-who em{font-style:normal;font-size:.75rem;color:rgba(255,255,255,.6)}
.arm-card-text{margin:12px 0 0;font-size:.9375rem;line-height:1.45;color:rgba(255,255,255,.92)}
.arm-card-reacts{display:flex;gap:8px;margin-top:12px}
.arm-card-reacts span{padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.08);font-size:.8125rem;font-weight:600}

.arm-card-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.arm-live{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;background:rgba(240,122,85,.18);color:#FF9B7A;font-size:.6875rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.arm-live i{width:7px;height:7px;border-radius:50%;background:#FF7A55;box-shadow:0 0 0 0 rgba(255,122,85,.7);animation:armPulse 1.8s ease-out infinite}
@keyframes armPulse{0%{box-shadow:0 0 0 0 rgba(255,122,85,.7)}100%{box-shadow:0 0 0 9px rgba(255,122,85,0)}}
.arm-card-label{font-family:"Rajdhani","Figtree",sans-serif;font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.arm-card-title{margin:10px 0 12px;font-family:"Sora",sans-serif;font-size:1.0625rem;font-weight:700;color:#fff}
.arm-avas{display:flex;align-items:center}
.arm-avas i{width:28px;height:28px;border-radius:50%;border:2px solid #10302E;margin-right:-8px}
.arm-avas i:nth-child(1){background:linear-gradient(135deg,#3DDCCB,#0F6E6A)}
.arm-avas i:nth-child(2){background:linear-gradient(135deg,#F1C76A,#C98F22)}
.arm-avas i:nth-child(3){background:linear-gradient(135deg,#F07A55,#B4442F)}
.arm-avas b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.14);border:2px solid #10302E;font-size:.6875rem;font-weight:800}
.arm-card-btn{padding:7px 16px;border-radius:10px;background:linear-gradient(180deg,#F1C76A,#D99A2B);color:#1B1405;font-size:.8125rem;font-weight:800;box-shadow:0 6px 16px -6px rgba(224,169,59,.8)}

.arm-badge{flex:0 0 58px;height:58px;border-radius:16px;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,rgba(241,199,106,.35),rgba(241,199,106,.06) 70%);border:1px solid rgba(241,199,106,.4)}
.arm-badge .arm-join-shield{width:30px;filter:drop-shadow(0 0 12px rgba(241,199,106,.7))}
.arm-card-xp{flex:1;min-width:0}
.arm-card-xp .arm-card-title{margin:2px 0 8px}
.arm-xp{display:block;height:7px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden}
.arm-xp i{display:block;width:64%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3DDCCB,#F1C76A);box-shadow:0 0 12px rgba(241,199,106,.7);animation:armXp 3.2s ease-in-out infinite alternate}
@keyframes armXp{from{width:38%}to{width:72%}}
.arm-plus{position:absolute;top:-12px;right:-10px;padding:5px 10px;border-radius:999px;background:linear-gradient(180deg,#F6D27E,#E0A93B);color:#1B1405;font-family:"Rajdhani","Figtree",sans-serif;font-weight:800;font-size:.875rem;box-shadow:0 8px 18px -6px rgba(224,169,59,.9);transform:translateZ(30px) rotate(6deg)}

.arm-chip{position:absolute;padding:6px 12px;border-radius:999px;background:rgba(9,30,29,.8);border:1px solid rgba(61,220,203,.35);color:#9FF2E8;font-family:"Figtree",sans-serif;font-size:.8125rem;font-weight:700;
  box-shadow:0 0 22px -6px rgba(61,220,203,.6);animation:armFloat 6s ease-in-out infinite}
.arm-chip-1{left:44%;top:-4%;transform:translateZ(80px);animation-delay:-1s}
.arm-chip-2{right:0;bottom:30%;transform:translateZ(150px);animation-delay:-3s;border-color:rgba(241,199,106,.4);color:#F6D27E;box-shadow:0 0 22px -6px rgba(241,199,106,.6)}
.arm-chip-3{left:0;bottom:22%;transform:translateZ(90px);animation-delay:-5s}

/* steps strip */
.arm-join-steps{list-style:none;margin:0;padding:12px;display:flex;gap:8px;border-radius:18px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.arm-join-steps li{flex:1;display:flex;align-items:center;gap:10px;padding:6px 8px;font-family:"Figtree",sans-serif;font-size:.9375rem;font-weight:700;color:#fff}
.arm-join-steps li + li{border-left:1px solid rgba(255,255,255,.1);padding-left:16px}
.arm-join-step-num{
  display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;flex:0 0 28px;
  font-family:"Rajdhani","Sora",sans-serif;font-weight:700;font-size:.9375rem;line-height:1;
}
.arm-join-hero .arm-join-step-num{background:linear-gradient(180deg,#F6D27E,#E0A93B);color:#1B1405;box-shadow:0 0 16px -2px rgba(224,169,59,.7)}

@media (max-height:860px){
  .arm-join-lede{display:none}
  .arm-join-headline{margin-top:24px}
  .arm-join-stage{transform:rotateX(16deg) rotateY(-18deg) rotateZ(3deg) scale(.86);transform-origin:50% 40%}
}
@media (prefers-reduced-motion:reduce){
  .arm-join-aura span,.arm-join-floor,.arm-card,.arm-chip,.arm-live i,.arm-xp i{animation:none!important}
}

/* ---------- Form panel ---------- */
body.buddypress.registration #buddypress.arm-join-panel{padding:64px 0 40px;background:#fff}
body.buddypress.registration #buddypress.arm-join-panel .vkregister-logo{width:56px!important;height:56px!important;margin:0;border-radius:14px}
.arm-join-mobile-brand{display:none}

body.buddypress.registration #buddypress .page form.arm-join-form{width:min(420px,100%);margin:0 auto}
body.buddypress.registration #buddypress .arm-join-head{margin:0 0 28px}
body.buddypress.registration #buddypress .arm-join-title{margin:0;font-family:"Sora",sans-serif;font-size:2rem;font-weight:700;letter-spacing:-.015em;line-height:1.15;color:var(--arm-ink);text-align:left}
body.buddypress.registration #buddypress .arm-join-sub{margin:10px 0 0;width:auto;font-family:"Figtree",sans-serif;font-size:1rem;line-height:1.55;color:var(--arm-muted);text-align:left}
body.buddypress.registration #buddypress .arm-join-sub a,
body.buddypress.registration #buddypress .arm-join-foot a,
body.buddypress.registration #buddypress .armouria-consent a{color:var(--arm-teal);font-weight:600;text-decoration:underline;text-decoration-color:rgba(15,110,106,.35);text-underline-offset:3px}
body.buddypress.registration #buddypress .arm-join-sub a:hover,
body.buddypress.registration #buddypress .arm-join-foot a:hover,
body.buddypress.registration #buddypress .armouria-consent a:hover{text-decoration-color:currentColor}
body.buddypress.registration #buddypress #template-notices{width:auto}

body.buddypress.registration #buddypress .page form.arm-join-form .register-section{padding:0;border:0}
body.buddypress.registration #buddypress .page form.arm-join-form .register-section + .register-section{margin-top:28px;padding-top:28px;border-top:1px solid var(--arm-line)}
body.buddypress.registration #buddypress .page form.arm-join-form .register-section h2{
  display:flex;align-items:center;gap:12px;margin:0 0 20px;font-family:"Sora",sans-serif;font-size:1.0625rem;font-weight:600;color:var(--arm-ink)
}
body.buddypress.registration #buddypress .arm-join-form .arm-join-step-num{background:rgba(15,110,106,.1);color:var(--arm-teal);border:1px solid rgba(15,110,106,.25)}

body.buddypress.registration #buddypress .page form.arm-join-form .arm-join-field + .arm-join-field{margin-top:18px}
body.buddypress.registration #buddypress .page form.arm-join-form label,
body.buddypress.registration #buddypress .page form.arm-join-form legend{
  display:block;margin:0 0 8px;font-family:"Figtree",sans-serif;font-size:.9375rem;font-weight:600;color:var(--arm-ink);line-height:1.3
}
body.buddypress.registration #buddypress .page form.arm-join-form fieldset{margin:0;padding:0;border:0}
.arm-join-req{color:var(--arm-coral);font-weight:700}
body.buddypress.registration #buddypress .arm-join-form .bp-required-field-label{font-size:0}
body.buddypress.registration #buddypress .arm-join-form .bp-required-field-label::after{content:"*";font-size:.9375rem;color:var(--arm-coral);font-weight:700}

body.buddypress.registration #buddypress .page form.arm-join-form input[type="text"],
body.buddypress.registration #buddypress .page form.arm-join-form input[type="email"],
body.buddypress.registration #buddypress .page form.arm-join-form input[type="password"],
body.buddypress.registration #buddypress .page form.arm-join-form input[type="url"],
body.buddypress.registration #buddypress .page form.arm-join-form input[type="number"],
body.buddypress.registration #buddypress .page form.arm-join-form select,
body.buddypress.registration #buddypress .page form.arm-join-form textarea{
  width:100%;height:52px;padding:0 16px;border-radius:12px;border:1px solid var(--arm-line);background:#fff;
  font-family:"Figtree",sans-serif;font-size:1rem;font-weight:500;color:var(--arm-ink);box-shadow:none;
  transition:border-color .15s ease,box-shadow .15s ease;
}
body.buddypress.registration #buddypress .page form.arm-join-form textarea{height:auto;min-height:110px;padding:14px 16px}
body.buddypress.registration #buddypress .page form.arm-join-form input:hover,
body.buddypress.registration #buddypress .page form.arm-join-form select:hover{border-color:#B9C6C3}
body.buddypress.registration #buddypress .page form.arm-join-form input:focus,
body.buddypress.registration #buddypress .page form.arm-join-form select:focus,
body.buddypress.registration #buddypress .page form.arm-join-form textarea:focus{
  outline:none;border-color:var(--arm-teal);box-shadow:0 0 0 4px rgba(15,110,106,.16)
}
.arm-join-hint{margin:8px 0 0;font-family:"Figtree",sans-serif;font-size:.8125rem;line-height:1.45;color:var(--arm-muted)}

/* password show/hide */
.arm-join-pass{position:relative}
body.buddypress.registration #buddypress .page form.arm-join-form .arm-join-pass input{padding-right:76px}
.arm-join-pass-toggle{
  position:absolute;top:50%;right:8px;transform:translateY(-50%);height:36px;padding:0 12px;border:0;border-radius:9px;
  background:var(--arm-mist);color:var(--arm-teal);font-family:"Figtree",sans-serif;font-size:.8125rem;font-weight:700;cursor:pointer;
}
.arm-join-pass-toggle:hover{background:#E6EEEC}
.arm-join-pass-toggle:focus-visible{outline:2px solid var(--arm-teal);outline-offset:2px}

/* BuddyPress strength meter */
body.buddypress.registration #buddypress .page form.arm-join-form #pass-strength-result{
  margin:8px 0 0;padding:0;font-family:"Figtree",sans-serif;font-size:.8125rem;font-weight:700;text-align:left;color:var(--arm-muted)
}
body.buddypress.registration #buddypress .page form.arm-join-form #pass-strength-result:empty{display:none}
body.buddypress.registration #buddypress .page form.arm-join-form #pass-strength-result.short,
body.buddypress.registration #buddypress .page form.arm-join-form #pass-strength-result.bad{color:var(--arm-coral)}
body.buddypress.registration #buddypress .page form.arm-join-form #pass-strength-result.good{color:#B7801A}
body.buddypress.registration #buddypress .page form.arm-join-form #pass-strength-result.strong{color:var(--arm-teal)}

/* errors from BuddyPress */
body.buddypress.registration #buddypress .arm-join-form div.error,
body.buddypress.registration #buddypress .arm-join-form .error{
  margin:0 0 8px;padding:10px 12px;border-radius:10px;background:rgba(226,97,75,.1);color:#B23E2B;
  font-family:"Figtree",sans-serif;font-size:.8125rem;font-weight:600;text-align:left
}

/* consent + submit */
body.buddypress.registration #buddypress .armouria-consent{
  margin:28px 0 0!important;padding:14px 16px;border-radius:12px;background:var(--arm-mist);
  font-family:"Figtree",sans-serif;font-size:.8125rem!important;line-height:1.55;color:var(--arm-muted)
}
body.buddypress.registration #buddypress .page form.arm-join-form .submit{margin-top:20px}
body.buddypress.registration #buddypress .page form.arm-join-form input[type="submit"],
body.buddypress.registration #buddypress .arm-join-button{
  display:flex;align-items:center;justify-content:center;width:100%;height:56px;border:0;border-radius:14px;cursor:pointer;
  background:linear-gradient(180deg,#13807B 0%,var(--arm-teal) 100%);color:#fff;text-decoration:none;
  font-family:"Sora",sans-serif;font-size:1rem;font-weight:600;letter-spacing:.01em;
  box-shadow:0 10px 24px -10px rgba(15,110,106,.65),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
body.buddypress.registration #buddypress .page form.arm-join-form input[type="submit"]:hover,
body.buddypress.registration #buddypress .arm-join-button:hover{background:linear-gradient(180deg,#0F6E6A 0%,var(--arm-teal-deep) 100%);transform:translateY(-1px)}
body.buddypress.registration #buddypress .page form.arm-join-form input[type="submit"]:focus-visible,
body.buddypress.registration #buddypress .arm-join-button:focus-visible{outline:3px solid var(--arm-brass);outline-offset:3px}

.arm-join-trust{display:flex;align-items:flex-start;gap:10px;margin:16px 0 0;font-family:"Figtree",sans-serif;font-size:.8125rem;line-height:1.5;color:var(--arm-muted)}
.arm-join-trust svg{flex:0 0 18px;width:18px;height:18px;margin-top:1px;fill:none;stroke:var(--arm-teal);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

body.buddypress.registration #buddypress .arm-join-foot{
  width:min(420px,100%);margin:32px auto 0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 10px;
  font-family:"Figtree",sans-serif;font-size:.8125rem;color:#9AA5AE;text-align:center
}

/* ---------- Confirmation / disabled card ---------- */
body.buddypress.registration #buddypress .arm-join-card{text-align:left}
body.buddypress.registration #buddypress .arm-join-card .arm-join-button{margin-top:24px}
.arm-join-done-icon{display:grid;place-items:center;width:56px;height:56px;margin:0 0 20px;border-radius:16px;background:rgba(15,110,106,.1)}
.arm-join-done-icon svg{width:28px;height:28px;fill:none;stroke:var(--arm-teal);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.arm-join-next{margin:22px 0 0;padding:0;list-style:none;counter-reset:armnext;display:grid;gap:12px}
.arm-join-next li{counter-increment:armnext;position:relative;padding-left:40px;font-family:"Figtree",sans-serif;font-size:.9375rem;line-height:1.5;color:var(--arm-ink)}
.arm-join-next li::before{content:counter(armnext);position:absolute;left:0;top:-1px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:rgba(15,110,106,.1);color:var(--arm-teal);font-family:"Rajdhani",sans-serif;font-weight:700}
body.buddypress.registration #buddypress .arm-join-link{display:inline-block;margin-top:22px;color:var(--arm-teal);font-family:"Figtree",sans-serif;font-weight:600;font-size:.9375rem}

/* ---------- Narrow screens (theme hides the brand panel below 1366px) ---------- */
@media (max-width:1365px){
  body.buddypress.registration #buddypress.arm-join-panel{width:100%;padding:0 0 40px;background:var(--arm-mist)}
  .arm-join-mobile-brand{
    display:flex;align-items:center;gap:14px;padding:28px max(20px,calc(50% - 230px));margin:0 0 28px;color:#fff;
    background:radial-gradient(260px 160px at 92% 0%,rgba(24,167,156,.75),transparent 70%),radial-gradient(220px 140px at 0% 110%,rgba(224,169,59,.45),transparent 70%),radial-gradient(160px 110px at 70% 120%,rgba(226,97,75,.4),transparent 70%),#071918;
  }
  .arm-join-mobile-brand > div{display:flex;flex-direction:column;gap:6px}
  .arm-join-mobile-brand .arm-join-wordmark{color:#fff;font-size:1.125rem}
  .arm-join-mobile-tag{font-family:"Figtree",sans-serif;font-size:.875rem;color:rgba(255,255,255,.8)}
  body.buddypress.registration #buddypress .page form.arm-join-form{
    width:auto;max-width:460px;margin:0 16px;padding:28px 22px;background:#fff;border-radius:20px;box-shadow:0 12px 32px -18px rgba(14,26,26,.35)
  }
  @supports (margin:0 auto){body.buddypress.registration #buddypress .page form.arm-join-form{margin-left:max(16px,calc(50% - 230px));margin-right:max(16px,calc(50% - 230px))}}
  body.buddypress.registration #buddypress .arm-join-title{font-size:1.625rem}
}

@media (prefers-reduced-motion:reduce){
  body.buddypress.registration #buddypress .page form.arm-join-form input[type="submit"],
  body.buddypress.registration #buddypress .arm-join-button{transition:none}
  body.buddypress.registration #buddypress .page form.arm-join-form input[type="submit"]:hover{transform:none}
}

/* ---------- fixes over theme button / legend styles ---------- */
body.buddypress.registration #buddypress .arm-join-form .arm-join-pass .arm-join-pass-toggle{
  width:auto!important;min-width:0!important;height:36px!important;left:auto!important;right:8px!important;margin:0!important;padding:0 12px!important;
  line-height:36px!important;box-shadow:none!important;background:var(--arm-mist)!important;color:var(--arm-teal)!important;font-size:.8125rem!important;
}
body.buddypress.registration #buddypress .arm-join-form .arm-join-pass .arm-join-pass-toggle:hover{background:#E6EEEC!important}
body.buddypress.registration #buddypress .arm-join-form .arm-join-pass .arm-join-pass-toggle[hidden]{display:none!important}
body.buddypress.registration #buddypress .arm-join-form legend .bp-required-field-label{display:inline!important;margin-left:4px}
body.buddypress.registration #buddypress .arm-join-form legend{width:100%}
body.buddypress.registration #buddypress .arm-join-form legend .bp-required-field-label::after{display:inline!important}

/* v2 tweaks */
@media (max-width:1365px){
  body.buddypress.registration .vkregister-header.arm-join-hero{display:none!important}
}
@media (max-height:860px){
  .arm-join-stage{transform-origin:50% 80%}
}
.arm-join-floor{background-image:linear-gradient(rgba(64,214,199,.48) 1px,transparent 1px),linear-gradient(90deg,rgba(64,214,199,.48) 1px,transparent 1px);height:58%}

/* ================= v3: more energy & depth ================= */
@property --arm-spin{syntax:"<angle>";inherits:false;initial-value:0deg}

/* headline — three words, three pillar colours, staggered entrance + shimmer */
.arm-join-headline{font-size:clamp(2.8rem,4.2vw,4.6rem);line-height:1;letter-spacing:-.035em;margin-top:32px}
.arm-join-headline .w{display:inline-block;background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;
  animation:armRise .8s cubic-bezier(.2,.8,.2,1) both,armShimmer 6s linear infinite;filter:drop-shadow(0 0 24px var(--glow))}
.arm-join-headline .w1{--glow:rgba(61,220,203,.35);background-image:linear-gradient(100deg,#E9FFFC 0%,#3DDCCB 35%,#E9FFFC 50%,#3DDCCB 65%,#E9FFFC 100%)}
.arm-join-headline .w2{--glow:rgba(241,199,106,.35);background-image:linear-gradient(100deg,#FFF3D2 0%,#F1C76A 35%,#FFF3D2 50%,#E0A93B 65%,#FFF3D2 100%);animation-delay:.12s,0s}
.arm-join-headline .w3{--glow:rgba(240,122,85,.4);background-image:linear-gradient(100deg,#FFD9CB 0%,#F07A55 35%,#FFD9CB 50%,#E2614B 65%,#FFD9CB 100%);animation-delay:.24s,0s}
@keyframes armRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes armShimmer{from{background-position:100% 0}to{background-position:-120% 0}}
.arm-join-lede{max-width:500px}

/* rising sparks */
.arm-join-sparks{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.arm-join-sparks i{position:absolute;bottom:-10px;width:4px;height:4px;border-radius:50%;background:#F1C76A;box-shadow:0 0 10px 2px rgba(241,199,106,.8);opacity:0;animation:armSpark 9s linear infinite}
.arm-join-sparks i:nth-child(3n){background:#3DDCCB;box-shadow:0 0 10px 2px rgba(61,220,203,.8)}
.arm-join-sparks i:nth-child(4n){background:#FF8A65;box-shadow:0 0 10px 2px rgba(255,138,101,.8);width:3px;height:3px}
.arm-join-sparks i:nth-child(1){left:6%;animation-delay:-1s}.arm-join-sparks i:nth-child(2){left:14%;animation-delay:-6s;animation-duration:11s}
.arm-join-sparks i:nth-child(3){left:21%;animation-delay:-3s}.arm-join-sparks i:nth-child(4){left:29%;animation-delay:-8s;animation-duration:12s}
.arm-join-sparks i:nth-child(5){left:35%;animation-delay:-2s;animation-duration:8s}.arm-join-sparks i:nth-child(6){left:42%;animation-delay:-5s}
.arm-join-sparks i:nth-child(7){left:50%;animation-delay:-7s;animation-duration:10s}.arm-join-sparks i:nth-child(8){left:57%;animation-delay:-4s}
.arm-join-sparks i:nth-child(9){left:63%;animation-delay:-9s;animation-duration:13s}.arm-join-sparks i:nth-child(10){left:70%;animation-delay:-1.5s}
.arm-join-sparks i:nth-child(11){left:76%;animation-delay:-6.5s;animation-duration:8.5s}.arm-join-sparks i:nth-child(12){left:82%;animation-delay:-3.5s}
.arm-join-sparks i:nth-child(13){left:88%;animation-delay:-7.5s;animation-duration:11s}.arm-join-sparks i:nth-child(14){left:93%;animation-delay:-2.5s}
.arm-join-sparks i:nth-child(15){left:47%;animation-delay:-10s;animation-duration:14s}.arm-join-sparks i:nth-child(16){left:67%;animation-delay:-11s;animation-duration:9.5s}
@keyframes armSpark{0%{transform:translate3d(0,0,0);opacity:0}10%{opacity:1}70%{opacity:.8}100%{transform:translate3d(30px,-105vh,0);opacity:0}}

/* horizon glow where the grid floor meets the scene */
.arm-join-floor{animation-duration:3.2s}
.arm-join-hero-inner::after{content:"";position:absolute;z-index:-1;left:-10%;right:-10%;bottom:30%;height:2px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(61,220,203,.7) 30%,rgba(241,199,106,.8) 55%,rgba(240,122,85,.7) 75%,transparent);filter:blur(1px);
  box-shadow:0 0 30px 6px rgba(61,220,203,.25);opacity:.55}

/* stage follows the pointer (vars set by arm-join.js) */
.arm-join-stage{--rx:0deg;--ry:0deg;transform:rotateX(calc(16deg + var(--ry))) rotateY(calc(-18deg + var(--rx))) rotateZ(3deg);transition:transform .25s ease-out}

/* card thickness: a darker slab behind every card */
.arm-card::after{content:"";position:absolute;inset:0;border-radius:inherit;transform:translateZ(-14px);background:#041010;
  box-shadow:0 0 0 1px rgba(61,220,203,.18);pointer-events:none}
.arm-card > *{position:relative}

/* four-card layout */
.arm-card-post{left:0;top:4%;width:290px;transform:translateZ(30px)}
.arm-card-squad{right:0;top:0;width:232px;transform:translateZ(130px)}
.arm-card-poll{right:5%;bottom:2%;width:250px;transform:translateZ(80px);animation-delay:-3.4s}
.arm-card-badge{left:8%;bottom:0;width:284px;transform:translateZ(200px)}
.arm-chip-1{left:40%;top:-6%;transform:translateZ(90px)}
.arm-chip-3{left:-2%;bottom:40%;transform:translateZ(110px)}

/* LIVE card: spinning neon edge */
.arm-card-squad::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:conic-gradient(from var(--arm-spin),transparent 0deg,#FF7A55 60deg,#F1C76A 110deg,transparent 170deg,transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:armSpin 3.5s linear infinite}
@keyframes armSpin{to{--arm-spin:360deg}}

/* poll bars */
.arm-card-poll .arm-card-title{margin:6px 0 12px}
.arm-poll{display:grid;gap:7px}
.arm-poll span{position:relative;display:flex;justify-content:space-between;padding:6px 10px;border-radius:9px;overflow:hidden;background:rgba(255,255,255,.06);font-size:.8125rem}
.arm-poll span::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--p);border-radius:inherit;background:linear-gradient(90deg,rgba(61,220,203,.45),rgba(61,220,203,.15));animation:armBar 1.4s cubic-bezier(.2,.8,.2,1) .4s both}
.arm-poll span:first-child::before{background:linear-gradient(90deg,rgba(241,199,106,.6),rgba(241,199,106,.2))}
.arm-poll b,.arm-poll em{position:relative;font-style:normal}
.arm-poll b{font-weight:700}.arm-poll em{color:rgba(255,255,255,.75);font-weight:600}
@keyframes armBar{from{width:0}}

/* steps strip: glowing numbers */
.arm-join-steps{box-shadow:0 20px 40px -20px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.08)}

@media (max-height:860px){
  .arm-join-stage{transform:rotateX(calc(16deg + var(--ry))) rotateY(calc(-18deg + var(--rx))) rotateZ(3deg) scale(.84)}
}
@media (prefers-reduced-motion:reduce){
  .arm-join-headline .w,.arm-join-sparks i,.arm-card-squad::before,.arm-poll span::before{animation:none!important}
  .arm-join-sparks{display:none}
  .arm-join-stage{transition:none}
}
/* v3 fixes */
.arm-card > .arm-plus{position:absolute}
.arm-card-post{top:12%}
.arm-card-poll{bottom:12%}
.arm-card-badge{bottom:6%}
.arm-chip-1{left:50%;top:4%}
.arm-chip-3{bottom:48%}
/* Cloudflare Turnstile (live) */
body.buddypress.registration #buddypress .arm-join-form .cf-turnstile{margin:22px 0 0;min-height:65px}
body.buddypress.registration #buddypress .arm-join-form .cf-turnstile-br{display:none}
