*{box-sizing:border-box}
body{margin:0;min-height:100vh;font-family:Inter,Arial,sans-serif;color:white}
.rainbow-page{
 min-height:100vh;display:grid;place-items:center;padding:22px;
 background:linear-gradient(125deg,#ff315d,#ff8a26,#e7d52d,#31d69a,#268bff,#9148ff,#ff3cbd,#ff315d);
 background-size:400% 400%;animation:rainbow 12s ease infinite
}
@keyframes rainbow{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
.auth-card{
 width:min(100%,390px);padding:34px 25px;text-align:center;
 border:1px solid #ffffff80;border-radius:28px;
 background:#090d1fd9;box-shadow:0 25px 90px #0006;
 backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)
}
.logo,.loading-logo{font-size:55px;font-weight:900;letter-spacing:3px;color:#8bd4ff;text-shadow:0 0 28px #268bff}
.tag{font-size:10px;letter-spacing:3px;color:#a9cfff;font-weight:800}
.auth-card h1{font-size:23px;margin:24px 0 10px}
.desc,.note{font-size:13px;line-height:1.7;color:#c4d4eb}
.auth-card button{
 width:100%;padding:15px;margin-top:17px;border:1px solid #9bcfff80;
 border-radius:13px;background:linear-gradient(110deg,#176fd5,#7138c9);
 color:white;font-weight:800;font-size:14px
}
.auth-card button:disabled{opacity:.6}
.auth-card input{
 width:100%;padding:15px;margin-top:16px;border-radius:12px;
 border:1px solid #8bcaff80;background:#101d35;color:white;
 text-align:center;font-size:16px
}
.auth-card [hidden]{display:none!important}
#playerPhoto{width:78px;height:78px;border-radius:50%;object-fit:cover;border:2px solid #8bd4ff}
.auth-card .secondary{background:transparent}
.loading-page{display:grid;place-items:center;background:#080d19;text-align:center;padding:20px}
.loading-card{width:min(100%,380px)}
.loading-logo{font-size:76px;animation:pulse 1.5s ease-in-out infinite}
.loading-card h1{font-size:25px;letter-spacing:3px}
.loading-card p,.loading-card small{color:#9dcfff;letter-spacing:3px;font-size:11px}
.loader{height:5px;width:100%;margin:35px 0 20px;background:#1b2940;border-radius:10px;overflow:hidden}
.loader span{display:block;height:100%;width:40%;border-radius:10px;background:linear-gradient(90deg,#278bff,#a15cff,#55dfff);animation:load 1.5s ease-in-out infinite}
@keyframes load{0%{transform:translateX(-110%)}100%{transform:translateX(280%)}}
@keyframes pulse{50%{transform:scale(1.08);filter:brightness(1.5)}}

#playerPhoto {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 14px auto;
  border: 2px solid rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
}
.photo-picker {
  display: block;
  width: fit-content;
  margin: 12px auto;
  padding: 12px 18px;
  border-radius: 14px;
  color: white;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  background: linear-gradient(110deg,#7045ff,#e13db8,#ff7b55);
  box-shadow: 0 8px 25px rgba(130,65,255,.28);
}

.profile-card { text-align:center; }
#profilePhoto {
 width:120px;height:120px;object-fit:cover;border-radius:50%;
 display:block;margin:18px auto;border:3px solid white;
 background:rgba(255,255,255,.12);
}
.profile-back {
 display:block;margin:22px auto 5px;color:white;
 text-decoration:none;font-weight:700;font-size:13px;
}
