*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Arial',sans-serif;
  background:linear-gradient(135deg,#5f7cff,#000);
  color:white;
  overflow-x:hidden;
}

.container{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
}

.card{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(20px);
  border-radius:20px;
  padding:40px;
  width:320px;
  text-align:center;
  box-shadow:0 10px 40px rgba(0,0,0,0.5);
  animation:fadeUp 0.8s ease;
}

h1{
  font-size:32px;
  margin-bottom:25px;
}

.input-group{
  margin-bottom:15px;
}

.input-group input{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:none;
  outline:none;
  background:rgba(255,255,255,0.1);
  color:white;
  transition:0.3s;
}

.input-group input:focus{
  background:rgba(255,255,255,0.2);
  box-shadow:0 0 10px #5f7cff;
}

.btn{
  width:100%;
  padding:12px;
  border:none;
  border-radius:12px;
  margin-top:10px;
  font-weight:bold;
  cursor:pointer;
  background:linear-gradient(45deg,#5f7cff,#8aa0ff);
  color:white;
  transition:0.3s;
}

.btn:hover{
  transform:scale(1.05);
  box-shadow:0 0 20px #5f7cff;
}

.link{
  margin-top:15px;
  font-size:14px;
  opacity:0.8;
  cursor:pointer;
}

.link:hover{
  opacity:1;
  text-decoration:underline;
}

.back{
  position:absolute;
  top:20px;
  left:20px;
  cursor:pointer;
  opacity:0.8;
  transition:0.3s;
}

.back:hover{
  transform:translateX(-5px);
}

.profile-img{
  width:120px;
  height:120px;
  border-radius:50%;
  margin-bottom:15px;
  object-fit:cover;
  transition:0.3s;
}

.profile-img:hover{
  transform:scale(1.1);
  box-shadow:0 0 20px rgba(255,255,255,0.5);
}

.upload-btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:12px;
  background:#5f7cff;
  cursor:pointer;
  margin-top:10px;
  transition:0.3s;
}

.upload-btn:hover{
  transform:scale(1.05);
  box-shadow:0 0 15px #5f7cff;
}

#filename{
  margin-top:10px;
  font-size:12px;
  opacity:0.7;
}

.error{
  font-size:12px;
  color:#ff6b6b;
  margin-top:5px;
}

.auth{
  position:fixed;
  top:20px;
  right:20px;
  display:flex;
  align-items:center;
  gap:10px;
}

.auth img{
  width:45px;
  height:45px;
  border-radius:50%;
  cursor:pointer;
  object-fit:cover;
  transition:0.3s;
}

.auth img:hover{
  transform:scale(1.1);
  box-shadow:0 0 10px white;
}

.auth button{
  height:45px;
  padding:0 18px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-weight:bold;
  background:linear-gradient(45deg,#5f7cff,#8aa0ff);
  color:white;
  transition:0.3s;
}

.auth button:hover{
  transform:scale(1.05);
  box-shadow:0 0 15px #5f7cff;
}

.hidden{
  opacity:0;
  transform:translateY(40px);
  transition:all 0.8s ease;
}

.show{
  opacity:1;
  transform:translateY(0);
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media(max-width:768px){
  .card{
    width:90%;
  }

  h1{
    font-size:26px;
  }
}

::-webkit-scrollbar{
  width:10px;
}

::-webkit-scrollbar-track{
  background:#0a0a0a;
}

::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#5f7cff,#8aa0ff);
  border-radius:10px;
  box-shadow:0 0 10px rgba(95,124,255,0.6);
}

::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#7f97ff,#c3d0ff);
}

html{
  scrollbar-width:thin;
  scrollbar-color:#5f7cff #0a0a0a;
}