* {
  box-sizing: border-box;
}

.auth-box {
  text-align: center;
  padding: 30px 25px;
  border-radius: 15px;
  background: rgba(0,0,0,0.75);
  box-shadow: 0 0 20px #ff8aff50;
  max-width: 400px;
  margin: 150px auto 0;
  animation: riseFade 1s ease forwards;
  opacity: 0;
}

.auth-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 16px;
}

.auth-box button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: linear-gradient(135deg, #e754ff, #ff8aff);
  color: #fff;
  transition: 0.25s;
}

.auth-box button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px #ff66d8, 0 0 28px #e754ff50;
}

/* Mesajlar */
.auth-msg {
  margin-top: 12px;
  font-size: 14px;
  color: #ff8aff;
  text-shadow: 0 0 8px #ff8aff50;
}

/* Google buton */
.google-login-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.google-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 0 8px #fff5;
}

.google-btn img {
  width: 24px;
  height: 24px;
}

.google-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px #fff7;
}

.nav a {
  color: #ff8aff;
  font-weight: bold;
  text-decoration: none;
  margin-left: 20px;
  font-size: 17px;
  transition: 0.2s;
  text-shadow: 0 0 5px #ff8aff50; /* glow mor-pembe */
}

.nav a:hover {
  color: #ff66ff;
  text-shadow: 0 0 12px #ff8aff, 0 0 24px #e754ff;
  transform: translateY(-2px) scale(1.05);
}

.home-icon {
  width: 18px;
  height: 18px;
  color: #9fdcff; 
  filter: drop-shadow(0 0 4px #ff66ff);
  transition: 0.2s ease;
}

.home-link:hover .home-icon {
  color: #c9eaff;
  filter: drop-shadow(0 0 6px #ff66ff);
  transform: scale(1.1);
}

/* Animasyon */
@keyframes riseFade {
  from { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@media (max-width:480px) {
  .auth-box {
  width: 100%;
  max-width: 420px;
  padding: 16px;
}

.auth-box h1 {
    font-size: 1.5rem;
  }
  .auth-box input,
  .auth-box button {
    font-size: 15px;
  }

  .google-login-container {
    justify-content: center;
  }

  .google-btn {
    width: 48px;
    height: 48px;
  }
}

body.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
