
/* Crap Caty Login/Register UI Fix */
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:#050b16;
  color:#fff;
  min-height:100vh;
  overflow-x:hidden;
}
.bg{
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 15% 8%,rgba(255,138,0,.25),transparent 30%),
    radial-gradient(circle at 90% 20%,rgba(0,212,255,.22),transparent 30%),
    radial-gradient(circle at 50% 100%,rgba(116,70,255,.18),transparent 35%),
    linear-gradient(135deg,#050913,#0b172d 55%,#08101f);
  z-index:-1;
}
.container{
  width:100%;
  max-width:520px;
  margin:0 auto;
  padding:18px;
}
.page{
  min-height:100vh;
  padding-bottom:98px;
}
.glass{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.11);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 18px 60px rgba(0,0,0,.38);
}
.card{
  border-radius:28px;
  padding:22px;
}
h1,h2,h3{
  margin:0 0 16px;
  line-height:1.15;
}
h2{
  font-size:30px;
  font-weight:900;
}
.muted{
  color:#9aa7bd;
}
a{
  color:#dce7ff;
  text-decoration:none;
}
form{
  width:100%;
  display:block;
}
input,select,textarea{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:auto;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  color:#fff;
  padding:15px 16px;
  margin:0 0 12px 0;
  font-size:15px;
  outline:none;
}
input:focus,select:focus,textarea:focus{
  border-color:#ff8a00;
  box-shadow:0 0 0 3px rgba(255,138,0,.12);
}
input::placeholder{
  color:#7f8aa0;
}
button,.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border:0;
  border-radius:18px;
  padding:15px 18px;
  font-size:16px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg,#ff8a00,#ff3d63);
  box-shadow:0 12px 28px rgba(255,90,40,.22);
  cursor:pointer;
}
.btn.secondary,button.secondary{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:none;
}
.auth-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px 0;
}
.auth-card{
  width:100%;
  border-radius:34px;
  padding:26px;
}
.auth-logo{
  width:76px;
  height:76px;
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:24px;
  background:linear-gradient(135deg,#ff8a00,#ff3d63);
  box-shadow:0 18px 44px rgba(255,95,35,.25);
  font-size:38px;
}
.auth-title{
  text-align:center;
  font-size:32px;
  font-weight:950;
  margin-bottom:8px;
}
.auth-subtitle{
  text-align:center;
  color:#9aa7bd;
  margin-bottom:22px;
}
.captcha-box,
.captcha,
.captcha-label{
  display:block;
  width:100%;
  margin:4px 0 10px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px dashed rgba(255,255,255,.17);
  color:#fff;
  font-weight:800;
  text-align:center;
}
.auth-links{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:18px;
  color:#9aa7bd;
  flex-wrap:wrap;
}
.auth-links a{
  color:#fff;
  font-weight:800;
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:18px;
}
.bottom-nav{
  position:fixed;
  left:50%;
  bottom:10px;
  transform:translateX(-50%);
  width:calc(100% - 22px);
  max-width:520px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:5px;
  padding:9px;
  border-radius:24px;
  z-index:999;
}
.bottom-nav a{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#b9c4d7;
  font-size:10px;
  font-weight:800;
  padding:9px 2px;
  border-radius:16px;
}
.bottom-nav a.active,.bottom-nav a:hover{
  background:rgba(255,255,255,.09);
  color:#fff;
}
.bottom-nav i{
  font-size:18px;
  line-height:1;
  margin-bottom:4px;
}
.quick{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.quick a{
  min-height:90px;
  padding:14px 8px;
  border-radius:22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.grid{display:grid;gap:14px}
.grid-2{grid-template-columns:repeat(2,1fr)}
@media(max-width:480px){
  .container{padding:14px}
  .card{padding:20px}
  .auth-card{padding:24px 18px}
  h2,.auth-title{font-size:29px}
}
