/* Intaqami Profit — login & register */
html,body{margin:0}
body.sr-auth{
  color:#F8F4EC;
  font-family:Sora,"Segoe UI",sans-serif;
  background:
    radial-gradient(560px 240px at 8% -40px, rgba(27,122,69,.4), transparent 62%),
    radial-gradient(420px 220px at 100% 0, rgba(226,178,58,.22), transparent 55%),
    #04150F;
}
body.sr-auth main{min-height:100vh}

.sr-auth-wrap{
  width:min(760px, calc(100% - 28px));
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:22px 0 40px;
}

.sr-back{
  display:inline-flex;align-items:center;gap:12px;
  color:#F4F7FF;text-decoration:none;font-weight:700;
  font-family:Fraunces,Georgia,serif;font-size:1.2rem;
}
.sr-back img{
  width:52px;height:52px;border-radius:18px;display:block;
  filter:drop-shadow(0 8px 16px rgba(36,24,47,.16));
}

.sr-row{
  margin:0;border-radius:24px;overflow:hidden;
  background:#24182F;
  box-shadow:0 18px 40px rgba(36,24,47,.14);
}
.sr-row.pso-poster{
  background:transparent;
  box-shadow:none;
  filter:drop-shadow(0 16px 22px rgba(6,50,34,.22));
}
.sr-row.pso-poster .pso-art{display:block;width:100%;height:auto}
.sr-row.pso-poster.is-login{
  border-radius:0;
  clip-path:polygon(0 22%, 10% 0, 90% 0, 100% 22%, 100% 100%, 0 100%);
}
.sr-row.pso-poster.is-register{
  border-radius:0;
  clip-path:polygon(0 0, 100% 0, 100% 78%, 88% 100%, 12% 100%, 0 78%);
}

.ip-banner{
  position:relative;margin:0;min-height:168px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:22px 28px;overflow:hidden;
  background:linear-gradient(120deg,#141033,#7C5CFF 70%,#3EE0C5);
  clip-path:polygon(0 18%, 8% 0, 100% 0, 100% 82%, 92% 100%, 0 100%);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.ip-banner.is-register{
  background:linear-gradient(120deg,#0E7A6A,#141033 55%,#7C5CFF);
  clip-path:polygon(0 0, 92% 0, 100% 18%, 100% 100%, 8% 100%, 0 82%);
}
.ip-banner img{width:72px;height:72px;position:relative;z-index:1;animation:ipFloat 3.2s ease-in-out infinite}
.ip-banner strong{
  position:relative;z-index:1;
  font-family:Syne,Figtree,sans-serif;font-size:1.35rem;letter-spacing:-.03em;
}
.ip-banner .ip-orbit{
  position:absolute;right:18%;width:160px;height:160px;border-radius:50%;
  border:1px dashed rgba(244,247,255,.55);
  animation:ipSpin 16s linear infinite;
}
.ip-bars{position:relative;z-index:1;display:flex;align-items:flex-end;gap:6px;height:72px}
.ip-bars i{
  display:block;width:10px;height:var(--h,40%);
  background:#D6FF4A;
  clip-path:polygon(0 8px, 100% 0, 100% 100%, 0 100%);
  animation:ipBar 1.2s ease both;
}
.ip-bars i:nth-child(1){--h:36%}
.ip-bars i:nth-child(2){--h:58%;animation-delay:.08s}
.ip-bars i:nth-child(3){--h:42%;animation-delay:.16s}
.ip-bars i:nth-child(4){--h:74%;animation-delay:.24s}
.ip-bars i:nth-child(5){--h:90%;animation-delay:.32s}
@keyframes ipFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes ipSpin{to{transform:rotate(360deg)}}
@keyframes ipBar{from{transform:scaleY(.2)}to{transform:scaleY(1)}}

.sr-card{
  background:rgba(16,20,40,.92);color:#F4F7FF;
  padding:26px 22px 22px;
  border:1px solid rgba(62,224,197,.22);
  clip-path:polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  box-shadow:0 16px 36px rgba(0,0,0,.35);
}
.sr-card h2{
  margin:0;
  font-family:Fraunces,Georgia,serif;
  font-size:clamp(1.8rem, 4vw, 2.4rem);
  font-weight:720;letter-spacing:-.03em;line-height:1;
}
.sr-card h2 em{font-style:italic;color:#D6FF4A}
.sr-card .sr-sub{margin:8px 0 16px;color:#C5CEE6}

.sr-alert{margin:0 0 12px;padding:10px 12px;font-size:.9rem;font-weight:600;border-radius:12px}
.sr-alert.err{background:#FFD5DE;color:#8E2438}
.sr-alert.ok{background:#E7F6EA;color:#1D6B3A}

.sr-field{
  display:flex;align-items:center;gap:8px;
  min-height:54px;margin-bottom:10px;padding:0 8px 0 0;
  background:#141033;
  clip-path:polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.sr-field-icon{
  width:48px;height:54px;flex:0 0 48px;display:grid;place-items:center;
  background:#7C5CFF;color:#F4F7FF;
}
.sr-field-icon svg{width:20px;height:20px}
.sr-field input,.sr-field select{
  flex:1;min-width:0;height:52px;border:0;background:transparent;
  color:#F4F7FF;font:inherit;font-size:1rem;outline:none;
}
.sr-field input::placeholder{color:#8E9AB8}
.sr-field select{cursor:pointer}
.sr-eye{
  width:40px;height:40px;border:0;background:transparent;color:#D6FF4A;cursor:pointer;
}
.sr-eye svg{width:20px;height:20px}

.sr-options{
  display:flex;justify-content:space-between;gap:10px;align-items:center;
  margin:4px 2px 12px;font-size:.86rem;
}
.sr-options label{display:flex;align-items:center;gap:6px}
.sr-options button{
  border:0;background:transparent;color:#3EE0C5;font:inherit;font-weight:700;cursor:pointer;
}
.sr-note{margin:-4px 0 12px;color:#C5CEE6;font-size:.86rem}
.sr-note.is-on{display:block}

.sr-submit{
  width:100%;min-height:56px;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:flex-start;gap:0;
  padding:0;background:transparent;color:#F6F1EA;
  font-family:Syne,Figtree,sans-serif;font-weight:700;font-size:1rem;
}
.sr-submit span.sr-ico{
  width:56px;height:56px;display:grid;place-items:center;flex:0 0 auto;
  background:#D6FF4A;color:#101428;
  clip-path:polygon(22% 0, 78% 0, 100% 50%, 78% 100%, 22% 100%, 0 50%);
}
.sr-submit .submit-label,
.sr-submit > span:not(.sr-ico){
  flex:1;min-height:56px;display:grid;place-items:center;
  margin-left:-6px;background:#7C5CFF;color:#F4F7FF;
  clip-path:polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.sr-submit > i{display:none}
.sr-switch{margin-top:16px;text-align:center;color:#C5CEE6}
.sr-switch a{
  display:inline-flex;align-items:center;gap:8px;margin-top:8px;
  color:#D6FF4A;font-weight:800;text-decoration:none;
}

.acct-lock{
  position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:18px;
  background:rgba(36,24,47,.55);
}
.acct-lock-card{
  width:min(420px,100%);padding:22px;background:#F6F1EA;color:#24182F;text-align:center;
  border-radius:22px;
}
.acct-lock-ico{font-size:1.6rem;color:#C23B56}
.acct-lock-btn,.acct-lock-close{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;margin-top:8px;padding:0 14px;text-decoration:none;font-weight:700;border-radius:12px;
}
.acct-lock-btn{background:#24182F;color:#F6F1EA;border:0}
.acct-lock-close{margin-left:8px;background:transparent;border:0;color:#24182F;cursor:pointer}

body.auth-login{
  background:
    radial-gradient(520px 240px at 0 0, rgba(246,213,106,.28), transparent 60%),
    #04150F;
}
body.auth-register{
  background:
    radial-gradient(480px 220px at 100% 0, rgba(246,213,106,.22), transparent 55%),
    #04150F;
  color:#F8F4EC;
}

.gate{width:min(760px, calc(100% - 28px));margin:0 auto;padding:22px 0 48px}
.gate-login{display:flex;flex-direction:column;gap:0}
.gate-login .gate-art{
  margin:0;border-radius:28px 28px 0 0;overflow:hidden;
  border:1px solid rgba(232,184,74,.6);border-bottom:0;
  box-shadow:0 20px 40px rgba(0,0,0,.35);
}
.gate-login .gate-art img{display:block;width:100%;height:230px;object-fit:cover;object-position:center 42%}
.gate-login .sr-card{
  margin-top:0;position:relative;z-index:1;
  background:#08281A;color:#F8F4EC;
  border:1px solid rgba(232,184,74,.45);
  border-radius:28px;
  clip-path:none;
}
.gate-login .sr-card h2 em{color:#F6D56A}
.gate-login .sr-card .sr-sub{color:#C9E6D4}
.gate-login .sr-field{
  border-radius:999px;clip-path:none;overflow:hidden;
  background:#04150F;border:1px solid rgba(246,213,106,.35);
  padding-right:8px;
}
.gate-login .sr-field-icon{
  width:46px;height:46px;margin:4px;border-radius:50%;
  background:linear-gradient(145deg,#F6D56A,#C88912);color:#14301C;
}
.gate-login .sr-submit span.sr-ico{display:none}
.gate-login .sr-submit .submit-label{
  margin:0;min-height:54px;border-radius:999px;clip-path:none;
  background:linear-gradient(100deg,#F6D56A,#E2B23A);color:#14301C;
}
.gate-login .sr-switch a{color:#F6D56A}

.gate-register{
  width:min(980px, calc(100% - 24px));
  display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);
  gap:18px;align-items:stretch;
}
.gate-register .sr-card{
  background:#08281A;color:#F8F4EC;
  border-radius:28px;clip-path:none;
  border:1px solid rgba(232,184,74,.45);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.gate-register .sr-card h2 em{color:#F6D56A}
.gate-register .sr-card .sr-sub{color:#C9E6D4}
.gate-register .gate-art{
  margin:0;position:relative;overflow:hidden;border-radius:28px;
  border:1px solid rgba(232,184,74,.7);
  box-shadow:0 18px 40px rgba(12,40,24,.2);
}
.gate-register .gate-art img{display:block;width:100%;height:100%;object-fit:cover;min-height:100%}
.gate-register .gate-art figcaption{
  position:absolute;left:16px;right:16px;bottom:16px;
  padding:10px 14px;border-radius:999px;text-align:center;
  background:rgba(4,21,15,.72);color:#F6D56A;
  font-family:Syne,Figtree,sans-serif;font-weight:700;letter-spacing:.08em;
}
.reg-field{
  position:relative;display:block;margin-bottom:14px;
}
.reg-field span{
  display:block;margin:0 0 6px 2px;
  font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#F6D56A;
}
.reg-field input{
  width:100%;height:54px;padding:0 46px 0 14px;box-sizing:border-box;
  border:1px solid rgba(246,213,106,.35);border-radius:16px;
  background:#04150F;color:#F8F4EC;font:inherit;font-size:1rem;outline:none;
}
.reg-field input:focus{border-color:#F6D56A;background:#04150F}
.reg-field input::placeholder{color:#8EAE9A}
.reg-field .sr-eye{position:absolute;right:4px;bottom:6px;color:#F6D56A}
.gate-register .sr-submit{
  margin-top:6px;border-radius:999px;overflow:hidden;
  background:linear-gradient(100deg,#F6D56A,#E2B23A);
}
.gate-register .sr-submit span.sr-ico{display:none}
.gate-register .sr-submit > span:not(.sr-ico){
  background:transparent;color:#14301C;clip-path:none;margin:0;font-weight:800;
}
.gate-register .sr-switch{color:#C9E6D4}
.gate-register .sr-switch a{color:#F6D56A}

@media (max-width:800px){
  .gate-register{grid-template-columns:1fr}
  .gate-register .gate-art{order:-1}
  .gate-register .gate-art img{height:240px;object-fit:cover;object-position:center 38%}
}
