/* ============================ JOIN //ADAPT (NEW LOOK) ============================
   users/register2.php on the site shell: the artwork column (sticky, dark) and the form column (light).
   ========================================================================== */
.rg { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100vh - 74px); padding-top: 74px; /* under the shell's fixed header */ background: #0a0a0a; color: #f5f5f3; }
.rg p { margin: 0; }
@keyframes rgDrift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes rgIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the artwork */
.rg-art { position: sticky; top: 74px; height: calc(100vh - 74px); overflow: hidden; background: #0a0a0a; }
.rg-art-img { position: absolute; inset: 0; background: center / cover no-repeat; animation: rgDrift 22s ease-in-out infinite alternate; }
.rg-art-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #0a0a0a 0%, rgba(10,10,10,.55) 32%, rgba(10,10,10,0) 62%), linear-gradient(90deg, rgba(10,10,10,0) 70%, #0a0a0a 100%); }
.rg-big { position: absolute; left: -1%; top: 4%; font: 900 clamp(90px, 13vw, 230px)/.8 'Archivo', sans-serif; letter-spacing: -.075em; color: transparent; -webkit-text-stroke: 1.5px rgba(0,255,80,.55); white-space: nowrap; pointer-events: none; }
.rg-art-copy { position: absolute; left: clamp(18px, 3vw, 44px); right: clamp(18px, 3vw, 44px); bottom: 64px; }
.rg-kick { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 800 10.5px 'Archivo', sans-serif; letter-spacing: .16em; color: #00FF50; }
.rg-hatch { width: 46px; height: 12px; background: repeating-linear-gradient(-45deg, #00FF50 0 4px, transparent 4px 8px); }
.rg .rg-line { font: 900 clamp(32px, 3.6vw, 56px)/.92 'Archivo', sans-serif; letter-spacing: -.05em; max-width: 15ch; color: #f5f5f3; }
.rg-perks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 22px; max-width: 620px; }
.rg-perk { min-width: 0; padding: 10px 10px 11px; background: rgba(10,10,10,.6); border: 1px solid #2a2a2a; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.rg-perk b { display: block; font: 900 13px 'Archivo', sans-serif; letter-spacing: -.01em; }
.rg-perk b span { color: #00FF50; }
.rg-perk em { display: block; font: 600 11px/1.35 'Archivo', sans-serif; font-style: normal; margin-top: 5px; color: #9a9a95; transition: color .2s; }
.rg-perk.on { background: rgba(0,255,80,.14); border-color: #00FF50; }
.rg-perk.on em { color: #f5f5f3; }
.rg .rg-credit { position: absolute; left: clamp(18px, 3vw, 44px); bottom: 18px; font: 600 11.5px 'Archivo', sans-serif; color: #bdbdb8; }
.rg-credit a { color: #f5f5f3 !important; text-decoration: underline; }

/* the form */
.rg-side { min-width: 0; position: relative; background: #f5f5f3; color: #0a0a0a; display: flex; flex-direction: column; }
.rg-stripe { height: 8px; background: repeating-linear-gradient(-45deg, #0a0a0a 0 4px, #00FF50 4px 8px); }
.rg-wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 64px) 40px; }
.rg-in { width: 100%; max-width: 540px; }
.rg-in [hidden] { display: none !important; }
.rg .rg-event { display: inline-block; margin-bottom: 12px; padding: 6px 10px; background: #0a0a0a; color: #f5f5f3; font: 800 11px 'Archivo', sans-serif; letter-spacing: .1em; }
.rg-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.rg-badges span { padding: 4px 8px; border: 1px solid #0a0a0a; font: 800 10px 'Archivo', sans-serif; letter-spacing: .14em; }
.rg-badges span.on { background: #0a0a0a; color: #00FF50; }
.rg h1 { font: 900 clamp(52px, 6vw, 92px)/.84 'Archivo', sans-serif; letter-spacing: -.065em; margin: 0 0 14px; color: #0a0a0a; }
.rg h1 span { background: #00FF50; padding: 0 6px; }
.rg .rg-lead { font: 600 15px/1.55 'Archivo', sans-serif; color: #2a2a2a; margin: 0 0 24px; max-width: 46ch; }
.rg-sso { margin-bottom: 8px; }
.rg-sso .au_gbtn { justify-content: flex-start; min-height: 44px; }
.rg .rg-note { font: 600 12px 'Archivo', sans-serif; color: #4a4a46; margin-bottom: 20px; }
.rg-or { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rg-or span { flex: 1; height: 2px; background: #0a0a0a; }
.rg-or b { font: 800 10.5px 'Archivo', sans-serif; letter-spacing: .16em; }
.rg-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rg form label { display: block; min-width: 0; margin: 0 0 12px; }
.rg form label:not(.rg-terms) > span { display: flex; justify-content: space-between; align-items: baseline; font: 800 10px 'Archivo', sans-serif; letter-spacing: .16em; margin-bottom: 6px; color: #0a0a0a; }
.rg form input[type=text], .rg form input[type=email], .rg form input[type=password] { width: 100%; height: 50px; box-sizing: border-box; border: 2px solid #0a0a0a; background: #fff; padding: 0 14px; outline: none; font: 700 15.5px 'Archivo', sans-serif; color: #0a0a0a; border-radius: 0; margin: 0; }
.rg form input:focus { box-shadow: 0 0 0 3px rgba(0,255,80,.55); }
.rg form input.bad { border-color: #b3261e; }
.rg form input::placeholder { color: #8d8d88; }
.rg-ok { font-style: normal; color: #3f5618; font: 900 12px 'Archivo', sans-serif; }
.rg-pw button { border: 0; background: none; padding: 0; cursor: pointer; font: 800 10px 'Archivo', sans-serif; letter-spacing: .1em; text-decoration: underline; color: #0a0a0a; }
.rg form label.rg-pw { margin-bottom: 6px; }
.rg-meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 6px; }
.rg-meter i { display: block; height: 5px; background: #deded9; transition: background .2s; }
.rg .rg-pwnote { font: 700 12px 'Archivo', sans-serif; color: #4a4a46; }
.rg .rg-pwnote.bad { color: #b3261e; }
.rg form label.rg-terms { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin: 18px 0 14px; font: 600 13.5px/1.5 'Archivo', sans-serif; color: #0a0a0a; }
.rg-terms input { position: absolute; opacity: 0; width: 0; height: 0; }
.rg-box { width: 24px; height: 24px; flex: none; display: grid; place-items: center; margin-top: -1px; border: 2px solid #0a0a0a; background: #fff; font: 900 13px 'Archivo', sans-serif; color: transparent; }
.rg-terms input:checked + .rg-box { background: #00FF50; color: #0a0a0a; }
.rg-terms input:focus-visible + .rg-box { outline: 2px solid #00FF50; outline-offset: 2px; }
.rg-terms.bad .rg-box { border-color: #b3261e; }
.rg-terms a { color: #0a0a0a !important; text-decoration: underline; font-weight: 800; }
.rg-go { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; height: 58px; padding: 0 20px; cursor: not-allowed; font: 800 13.5px 'Archivo', sans-serif; letter-spacing: .12em; text-transform: uppercase; background: #0a0a0a; color: #8d8d88; border: 2px solid #0a0a0a; transition: background .2s, color .2s; }
.rg-terms > span:last-child { font: 600 13.5px/1.5 'Archivo', sans-serif; letter-spacing: 0; text-transform: none; }
.rg-go.ready { background: #00FF50; color: #0a0a0a; cursor: pointer; }
.rg-go:disabled { opacity: .6; }
.rg .rg-msg { margin-top: 12px; padding: 10px 12px; background: #fde8e6; border: 1px solid #b3261e; font: 700 13px 'Archivo', sans-serif; color: #b3261e; }
.rg-free { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font: 700 12px 'Archivo', sans-serif; color: #4a4a46; }

/* what comes next */
.rg-next { margin-top: 28px; padding-top: 18px; border-top: 2px solid #0a0a0a; }
.rg-k { font: 800 10.5px 'Archivo', sans-serif; letter-spacing: .16em; margin-bottom: 12px; }
.rg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid #0a0a0a; background: #fff; }
.rg-steps > div { min-width: 0; padding: 13px 14px; border-right: 2px solid #0a0a0a; }
.rg-steps > div:last-child { border-right: 0; }
.rg-steps > div.on { background: #00FF50; }
.rg-steps b { display: block; font: 900 22px/1 'Archivo', sans-serif; letter-spacing: -.03em; }
.rg-steps span { display: block; font: 800 13px/1.25 'Archivo', sans-serif; margin-top: 8px; }
.rg .rg-nextnote { font: 600 12.5px/1.5 'Archivo', sans-serif; color: #4a4a46; margin-top: 10px; }
.rg-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font: 700 13px 'Archivo', sans-serif; }
.rg-links a { color: #0a0a0a !important; font-weight: 900; text-decoration: underline; }

/* done */
.rg-tick { width: 72px; height: 72px; display: grid; place-items: center; background: #00FF50; border: 2px solid #0a0a0a; font: 900 32px 'Archivo', sans-serif; margin-bottom: 24px; color: #0a0a0a; }
.rg-done-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-cta { padding: 16px 20px; background: #0a0a0a; color: #00FF50 !important; font: 800 12.5px 'Archivo', sans-serif; letter-spacing: .14em; text-decoration: none; border: 2px solid #0a0a0a; }
.rg-cta.line { background: transparent; color: #0a0a0a !important; }

@media (prefers-reduced-motion: reduce){ .rg-art-img, .rg-in { animation: none; } }
@media (max-width: 960px){
    .rg { grid-template-columns: minmax(0, 1fr); }
    .rg-art { position: relative; top: 0; height: auto; min-height: 380px; }
    .rg-art-copy { position: relative; left: auto; right: auto; bottom: auto; padding: 150px clamp(18px, 3vw, 44px) 56px; }
    .rg-big { font-size: 64px; }
    .rg-perks { display: none; }
}
@media (max-width: 560px){ .rg-two { grid-template-columns: minmax(0, 1fr); } }

/* ---- the entrance: each piece rises in after the one before it (CSS only, so nothing waits on a script) ---- */
@keyframes rgUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rgSide { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes rgFade { from { opacity: 0; } to { opacity: 1; } }
#rgForm > :not(form), #rgFormEl > *, .rg-steps > div { animation: rgUp .6s cubic-bezier(.2,.7,.2,1) both; }
#rgForm > :nth-child(1) { animation-delay: .05s; }  #rgForm > :nth-child(2) { animation-delay: .12s; }
#rgForm > :nth-child(3) { animation-delay: .19s; }  #rgForm > :nth-child(4) { animation-delay: .26s; }
#rgForm > :nth-child(5) { animation-delay: .33s; }  #rgForm > :nth-child(6) { animation-delay: .40s; }
#rgForm > :nth-child(7) { animation-delay: .47s; }  #rgForm > :nth-child(8) { animation-delay: .54s; }
#rgForm > :nth-child(9) { animation-delay: .61s; }  #rgForm > :nth-child(10) { animation-delay: .95s; }
#rgFormEl > :nth-child(1) { animation-delay: .55s; } #rgFormEl > :nth-child(2) { animation-delay: .61s; }
#rgFormEl > :nth-child(3) { animation-delay: .67s; } #rgFormEl > :nth-child(4) { animation-delay: .72s; }
#rgFormEl > :nth-child(5) { animation-delay: .76s; } #rgFormEl > :nth-child(6) { animation-delay: .80s; }
#rgFormEl > :nth-child(7) { animation-delay: .85s; } #rgFormEl > :nth-child(8) { animation-delay: .90s; }
#rgFormEl > :nth-child(9) { animation-delay: .94s; } #rgFormEl > :nth-child(10) { animation-delay: .98s; }
.rg-steps > div:nth-child(1) { animation-delay: 1.05s; } .rg-steps > div:nth-child(2) { animation-delay: 1.12s; } .rg-steps > div:nth-child(3) { animation-delay: 1.19s; }
.rg-h1-wrap, .rg h1 span { display: inline-block; }
.rg h1 span { animation: rgSide .7s .3s cubic-bezier(.2,.7,.2,1) both; }
.rg-stripe { animation: rgFade .6s both; }
.rg-kick, .rg .rg-line { animation: rgSide .7s cubic-bezier(.2,.7,.2,1) both; }
.rg-kick { animation-delay: .25s; } .rg .rg-line { animation-delay: .38s; }
.rg-perk { animation: rgUp .55s cubic-bezier(.2,.7,.2,1) both; }
.rg-perk:nth-child(1) { animation-delay: .55s; } .rg-perk:nth-child(2) { animation-delay: .62s; } .rg-perk:nth-child(3) { animation-delay: .69s; }
.rg-perk:nth-child(4) { animation-delay: .76s; } .rg-perk:nth-child(5) { animation-delay: .83s; }
.rg-big { animation: rgFade 1.4s .1s ease both; }
@media (prefers-reduced-motion: reduce){
    #rgForm > *, #rgFormEl > *, .rg-steps > div, .rg h1 span, .rg-stripe, .rg-kick, .rg .rg-line, .rg-perk, .rg-big { animation: none !important; }
}
