/* Join early access: stage, token card, step rail, animated step card. Uses the classic PENNYX palette. */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
#join { --cu: #ff7a2c; --cu2: #ffb36b; --cu3: #c2410c; --mint: #2bff9e; --gold: #ffd166; --s1: #0e1017; --s2: #151822; --s3: #1c2030; --line: #252a3a; --line2: #33394d; }

.jx { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 44px; padding: 48px; border-radius: 34px; border: 1px solid var(--line); background: linear-gradient(180deg, #0d0f16, #08090d); overflow: hidden; isolation: isolate; }
.jx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.jx-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.jx-bg .b1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(255,122,44,.55), transparent 65%); left: -120px; top: -140px; animation: drift1 16s ease-in-out infinite alternate; }
.jx-bg .b2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(43,255,158,.28), transparent 65%); right: -140px; bottom: -160px; animation: drift2 19s ease-in-out infinite alternate; }
.jx-bg .b3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,209,102,.3), transparent 65%); left: 38%; top: 30%; animation: drift3 13s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-160px, -80px) scale(1.2); } }
@keyframes drift3 { to { transform: translate(-120px, 60px) scale(.85); } }
.jx-bg::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -30%; height: 70%; background-image: linear-gradient(rgba(255,122,44,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,122,44,.16) 1px, transparent 1px); background-size: 46px 46px; transform: perspective(500px) rotateX(62deg); transform-origin: top; mask-image: linear-gradient(180deg, transparent, #000 35%, transparent 95%); animation: floor 3.2s linear infinite; }
@keyframes floor { to { background-position: 0 46px, 0 0; } }
#jxStars { position: absolute; inset: 0; width: 100%; height: 100%; }

/* left */
.jx-l h2 { font-family: var(--display); font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -.045em; line-height: .95; margin: 2px 0 16px; }
.shine { background: linear-gradient(100deg, var(--gold) 0%, var(--cu) 35%, #fff4e6 50%, var(--cu) 65%, var(--gold) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
.jx-l .lead { font-size: 17.5px; }


.jfacts { list-style: none; display: grid; gap: 10px; margin: 18px 0 20px; }
.jfacts li { display: flex; align-items: center; gap: 12px; color: #c6c9d6; font-size: 15px; }
.jfacts i { width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: #03140c; background: var(--mint); box-shadow: 0 0 16px -2px rgba(43,255,158,.6); }
.jfeed { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: rgba(14,16,23,.7); backdrop-filter: blur(6px); }
.jfeed-h { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.jfeed-h span { color: var(--cu); }
.jrow { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; animation: jslide .45s cubic-bezier(.2,1.3,.4,1); }
.jrow .av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.jrow em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.jrow em.ok { color: var(--mint); }
@keyframes jslide { from { opacity: 0; transform: translateX(-16px); } }

/* right: the panel */
.jx-r { align-self: start; position: sticky; top: 96px; }
.jp { position: relative; padding: 26px; border-radius: 28px; background: linear-gradient(180deg, rgba(21,24,34,.92), rgba(12,14,20,.94)); border: 1px solid var(--line2); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset; backdrop-filter: blur(10px); }
.jp-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.jp-head .kick { margin: 0 0 2px; }
.jring { position: relative; width: 64px; height: 64px; flex: none; }
.jring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.jring .t { fill: none; stroke: var(--s3); stroke-width: 5; }
.jring .a { fill: none; stroke: var(--cu); stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset .9s cubic-bezier(.3,1.2,.4,1); filter: drop-shadow(0 0 6px rgba(255,122,44,.7)); }
.jring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: 24px; font-weight: 800; }
.jring b.tick { animation: tick .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes tick { 0% { transform: translateY(-14px) scale(.5); opacity: 0; } }
.jleft { font-size: 15px; color: var(--muted); }
.jleft b { font-family: var(--display); font-size: 26px; color: var(--text); margin-right: 4px; }
.jwho { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; animation: jslide .45s; max-width: 46%; }
.jwho span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jwho .av { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.jwho i { font-style: normal; color: var(--mint); font-size: 12px; }

.rail { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 22px; }
.rail-line { position: absolute; top: 21px; left: calc(100% / 14); right: calc(100% / 14); height: 3px; border-radius: 2px; background: var(--s3); overflow: hidden; }
.rail-line i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--gold), var(--cu), var(--mint)); background-size: 300% 100%; transition: width .9s cubic-bezier(.3,1,.4,1); animation: flow 3s linear infinite; box-shadow: 0 0 12px rgba(255,179,107,.8); }
@keyframes flow { to { background-position: -300% 0; } }
.node { position: relative; display: grid; justify-items: center; gap: 7px; }
.node span { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); border: 1px solid var(--line2); color: var(--muted); transition: background .4s, color .4s, border-color .4s; z-index: 1; }
.node span svg { width: 19px; height: 19px; }
.node em { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.node.ok span { background: var(--mint); border-color: var(--mint); color: #03140c; box-shadow: 0 0 16px -2px rgba(43,255,158,.7); }
.node.ok em { color: var(--mint); }
.node.now span { background: linear-gradient(180deg, var(--cu2), var(--cu) 60%, var(--cu3)); border-color: var(--cu2); color: #140803; box-shadow: 0 0 24px -2px rgba(255,122,44,.9); transform: scale(1.12); }
.node.now em { color: var(--text); }
.node.now span::before, .node.now span::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--cu); animation: ping 1.8s cubic-bezier(.2,.6,.3,1) infinite; z-index: -1; }
.node.now span::after { animation-delay: .9s; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.node.pop span { animation: npop .7s cubic-bezier(.2,1.8,.4,1); }
@keyframes npop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

.jcard { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: 24px; border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, rgba(255,122,44,.12), transparent 55%), var(--s2); isolation: isolate; }
.jcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), rgba(255,255,255,.06) 0deg, rgba(255,255,255,.06) 200deg, var(--cu) 260deg, var(--gold) 300deg, var(--mint) 330deg, rgba(255,255,255,.06) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 4s linear infinite; z-index: -1; }
@keyframes rot { to { --ang: 360deg; } }
.jcard.enter { animation: cardin .7s cubic-bezier(.2,1.1,.3,1); }
@keyframes cardin { 0% { opacity: 0; transform: translateX(46px) rotateY(-14deg) scale(.96); filter: blur(8px); } 100% { opacity: 1; transform: none; filter: none; } }
.jcard-ic { position: relative; width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; color: #140803; background: linear-gradient(145deg, var(--cu2), var(--cu) 50%, var(--cu3)); box-shadow: 0 18px 40px -14px rgba(255,122,44,.9), inset 0 1px 0 rgba(255,255,255,.5); overflow: hidden; }
.jcard-ic > svg { width: 44px; height: 44px; position: relative; z-index: 1; }
.jcard-ic::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.65) 50%, transparent 60%); transform: translateX(-80%); animation: sweep 3s ease-in-out infinite; }
@keyframes sweep { 0%, 55% { transform: translateX(-80%); } 85%, 100% { transform: translateX(80%); } }
.ic-glow { position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 120%, rgba(255,255,255,.35), transparent 60%); }
.k-connect .jcard-ic { background: linear-gradient(145deg, #2a2d38, #000); color: #fff; box-shadow: 0 18px 40px -14px rgba(255,255,255,.25), inset 0 1px 0 rgba(255,255,255,.25); }
.k-connect .jcard-ic > svg { width: 40px; height: 40px; animation: xbreathe 2.4s ease-in-out infinite; }
@keyframes xbreathe { 50% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(255,255,255,.8)); } }
.k-follow .jcard-ic > svg { animation: hop 1.6s cubic-bezier(.3,1.6,.4,1) infinite; }
@keyframes hop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-7px) scale(1.08); } }
.k-notify .jcard-ic > svg { transform-origin: 50% 8%; animation: ring 1.8s ease-in-out infinite; }
@keyframes ring { 0%, 50%, 100% { transform: rotate(0); } 10% { transform: rotate(18deg); } 20% { transform: rotate(-15deg); } 30% { transform: rotate(10deg); } 40% { transform: rotate(-6deg); } }
.k-like .jcard-ic > svg { fill: #140803; animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 28% { transform: scale(1.05); } }
.k-repost .jcard-ic > svg { animation: turn 2.4s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes turn { 0%, 40% { transform: rotate(0); } 80%, 100% { transform: rotate(360deg); } }
.k-reply .jcard-ic circle { animation: dot 1.2s ease-in-out infinite; }
.k-reply .jcard-ic circle:nth-of-type(2) { animation-delay: .2s; }
.k-reply .jcard-ic circle:nth-of-type(3) { animation-delay: .4s; }
@keyframes dot { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
.k-wallet .jcard-ic::before { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; left: 50%; margin-left: 8px; top: -20px; z-index: 2; background: radial-gradient(circle at 35% 30%, #fff1d6, var(--gold) 50%, #b8860b); box-shadow: 0 0 10px var(--gold); animation: drop 1.6s cubic-bezier(.5,0,.8,.4) infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(58px); opacity: 1; } 61%, 100% { transform: translateY(58px); opacity: 0; } }
.jcard-b h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.05; }
.jcard-b > p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.jerr { color: #ff6b81; font-size: 13.5px; font-weight: 600; margin-top: 10px; }
.jerr:empty { display: none; }
.jact { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.jact.c { justify-content: center; }

.jbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 28px; border-radius: 18px; font-family: var(--display); font-size: 19px; letter-spacing: -.01em; color: #140803; background: linear-gradient(180deg, var(--cu2), var(--cu) 55%, var(--cu3)); box-shadow: 0 10px 34px -8px rgba(255,122,44,.8), inset 0 1px 0 rgba(255,255,255,.45); overflow: hidden; transition: transform .15s, box-shadow .2s; white-space: nowrap; cursor: pointer; }
.jbtn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60%; left: -80%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); animation: btnsweep 3.2s ease-in-out infinite; }
@keyframes btnsweep { 0%, 50% { left: -80%; } 90%, 100% { left: 130%; } }
.jbtn:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -8px rgba(255,122,44,.95), inset 0 1px 0 rgba(255,255,255,.45); }
.jbtn:active { transform: translateY(1px) scale(.98); }
.jbtn:disabled { cursor: default; opacity: .75; transform: none; }
.jbtn .xi svg { width: 18px; height: 18px; display: block; }
.jbtn .arr { font-size: .85em; opacity: .8; }
.jbtn.ghost { background: var(--s2); color: var(--text); border: 1px solid var(--line2); box-shadow: none; }
.jbtn.ghost::after { display: none; }
.jbtn.wait::after { display: none; }
.jbtn .spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(20,8,3,.3); border-top-color: #140803; animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.jdemo { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
.jdemo input, .jinput input { width: 100%; height: 60px; border-radius: 16px; border: 1px solid var(--line2); background: #07080c; padding: 0 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.jdemo input:focus, .jinput input:focus { border-color: var(--cu); box-shadow: 0 0 0 4px rgba(255,122,44,.15); }
.jinput { position: relative; margin-top: 16px; }
.jinput span { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); }
.jinput span svg { width: 20px; height: 20px; display: block; }
.jinput input { padding-left: 48px; font-size: 14.5px; }
.jhint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.jsafe { display: block; text-align: center; color: var(--dim, #5d6277); font-size: 12.5px; margin-top: 16px; }

/* done */
.jdone { text-align: center; }
.jdone .rail { margin-bottom: 8px; }
.jdone h3 { font-family: var(--display); font-size: clamp(28px, 3vw, 38px); letter-spacing: -.03em; }
.damt { margin-top: 6px; font-family: var(--display); }
.damt b { font-size: clamp(44px, 5vw, 60px); letter-spacing: -.04em; background: linear-gradient(90deg, var(--gold), var(--cu2), var(--cu)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.damt span { font-family: var(--mono); color: var(--cu2); font-size: 18px; }
.dto { color: var(--muted); margin-top: 4px; }
.jdone .st-line { color: var(--mint); margin-top: 8px; }
.jdone .st-line a { text-decoration: underline; }

/* token card (still image; only a soft glow breathes) */
.tk { position: relative; display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: center; margin: 24px 0 8px; padding: 16px 20px 16px 16px; border-radius: 24px; border: 1px solid rgba(255,179,107,.3); background: radial-gradient(90% 120% at 0% 50%, rgba(255,122,44,.22), transparent 60%), rgba(14,16,23,.82); box-shadow: 0 30px 70px -40px rgba(255,122,44,.8); overflow: hidden; }
.tk::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(40% 70% at 20% 50%, rgba(255,160,80,.25), transparent 70%); animation: tkglow 4s ease-in-out infinite; pointer-events: none; }
@keyframes tkglow { 50% { opacity: .35; } }
.tk-art { position: relative; aspect-ratio: 1.14; border-radius: 18px; overflow: hidden; background: #050608; }
.tk-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tk-free { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .14em; padding: 4px 10px; border-radius: 999px; color: #03140c; background: var(--mint); box-shadow: 0 0 18px -4px rgba(43,255,158,.8); }
.tk-amt { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 10px; font-family: var(--display); }
.tk-amt b { font-size: clamp(40px, 4.2vw, 58px); letter-spacing: -.04em; line-height: 1; background: linear-gradient(90deg, var(--gold), var(--cu2), var(--cu)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tk-amt span { font-family: var(--mono); font-size: 18px; color: var(--cu2); }
.tk-info p { color: #c6c9d6; font-size: 14.5px; margin-top: 6px; }
.tk-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tk-tags span { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: #c6c9d6; }
.dtoken { display: block; width: 230px; max-width: 70%; margin: 10px auto 6px; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(255,122,44,.9); animation: dtin .7s cubic-bezier(.2,1.4,.4,1); }
@keyframes dtin { from { opacity: 0; transform: translateY(16px) scale(.85); } }

@media (max-width: 1000px) {
  .jx { grid-template-columns: 1fr; padding: 32px; row-gap: 0; }
  .jx-l { display: contents; }
  .jx-l > .kick, .jx-l > h2, .jx-l > .lead { order: 0; }
  .jx-r { position: static; order: 1; margin-top: 22px; }
  .tk { order: 2; margin-top: 26px; }
  .jfacts { order: 3; } .jfeed { order: 4; }
}
@media (max-width: 640px) {
  .jx { padding: 22px 16px; border-radius: 26px; }
  @keyframes orbit { from { transform: rotate(0) translateX(110px) rotate(0) rotateX(-72deg); } to { transform: rotate(360deg) translateX(110px) rotate(-360deg) rotateX(-72deg); } }
  .tk { grid-template-columns: 1fr; padding: 14px; }
  .tk-art { aspect-ratio: 1.5; }
  .jp { padding: 18px 14px; border-radius: 22px; }
  .jp-head { flex-wrap: wrap; gap: 12px; }
  .jwho { margin-left: 0; max-width: 100%; }
  .node span { width: 36px; height: 36px; }
  .node span svg { width: 16px; height: 16px; }
  .node em { font-size: 9px; letter-spacing: 0; }
  .rail-line { top: 17px; }
  .jcard { grid-template-columns: 1fr; padding: 20px 18px; gap: 16px; }
  .jcard-ic { width: 72px; height: 72px; border-radius: 20px; }
  .jcard-ic > svg { width: 34px; height: 34px; }
  .jbtn { width: 100%; }
  .jdemo { grid-template-columns: 1fr; }
}
