* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #0f0f1a, #090917);
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  color: white;
  height: 100vh;
}

#background-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 0, 0.05),
    transparent 70%
  );
  overflow: hidden;
  z-index: 0;
}

.login-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  width: 380px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.logo a {
  font-size: 2rem;
  margin-bottom: 25px;
  text-decoration: none;
  color: white;
}

.logo span {
  color: red;
  text-decoration: none;
}

h2 {
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  transition: 0.3s;
}

input:focus {
  border-color: red;
  outline: none;
}

button {
  width: 100%;
  padding: 14px;
  background: red;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  color: #0f0f1a;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #cc0000;
}

.options {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  font-size: 0.9rem;
}

.options a {
  color: red;
  text-decoration: none;
  padding: 10px 20px;

  border-radius: 10px;
  transition: 0.3s;
}

.options a:hover {
  text-decoration: none;
}

.hidden {
  display: none;
}

/* Partículas douradas */
.particle {
  position: absolute;
  background-color: red;
  border-radius: 50%;
  opacity: 0.25;
  animation: move 5s linear forwards;
}

@keyframes move {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) scale(0.5);
    opacity: 0;
  }
}

/* Botão Google */
.google-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: white;
  color: #444;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.3s;
}

.google-btn img {
  width: 20px;
  height: 20px;
}

.google-btn:hover {
  background: #ddd;
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  color: white;
  user-select: none;
  transition: 0.3s;
  padding-bottom: 11px;
}

.toggle-password:hover {
  color: white;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}
