* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

:root {
  --auth-bg-1: #050816;
  --auth-bg-2: #0c1430;
  --auth-bg-3: #14204a;
  --auth-ink: #eaf2ff;
  --auth-muted: rgba(234, 242, 255, 0.75);
  --auth-accent: #2aa1ff;
  --auth-accent-2: #6bd0ff;
  --auth-card: rgba(10, 18, 40, 0.75);
  --auth-border: rgba(90, 140, 220, 0.25);
  --auth-shadow: rgba(4, 8, 24, 0.4);
  --auth-wood-1: #0f1d3a;
  --auth-wood-2: #12264a;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--auth-bg-1), var(--auth-bg-2), var(--auth-bg-3), #1a2a5a);
  overflow: hidden;
  position: relative;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-form {
  position: relative;
  width: 420px;
  padding: 42px;
  background: var(--auth-card);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 35px var(--auth-shadow);
  border: 1px solid var(--auth-border);
  z-index: 10;
  animation: fadeIn 1s ease-out;
}

.login-form h2 {
  color: var(--auth-ink);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(5, 8, 22, 0.45);
}

.input-group {
  position: relative;
  margin-bottom: 24px;
}

.input-group input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  outline: none;
  border-radius: 30px;
  color: var(--auth-ink);
  font-size: 16px;
  letter-spacing: 0.4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.input-group i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--auth-muted);
}

.login-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(120deg, var(--auth-accent), var(--auth-accent-2));
  border: none;
  border-radius: 30px;
  color: #031027;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 24px rgba(42, 161, 255, 0.35);
}

.login-btn:hover {
  background: linear-gradient(120deg, #6bd0ff, #9be7ff);
  transform: translateY(-5px);
}

.google-btn {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--auth-ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.google-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.form-footer {
  margin-top: 20px;
  text-align: center;
  color: var(--auth-muted);
  display: grid;
  gap: 10px;
}

.form-footer a {
  color: var(--auth-ink);
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

.social-login {
  margin-top: 16px;
}

.tree {
  position: absolute;
  bottom: 0;
  z-index: 1;
}

.tree-1 {
  left: 5%;
  height: 300px;
  animation: sway 8s infinite ease-in-out;
}

.tree-2 {
  right: 10%;
  height: 350px;
  animation: sway 10s infinite ease-in-out;
}

.tree-3 {
  left: 15%;
  height: 250px;
  animation: sway 12s infinite ease-in-out;
}

.tree-4 {
  right: 20%;
  height: 320px;
  animation: sway 9s infinite ease-in-out;
}

.trunk {
  position: absolute;
  bottom: 0;
  width: 20px;
  background: var(--auth-wood-1);
  border-radius: 10px 10px 0 0;
}

.tree-1 .trunk {
  height: 80px;
  left: 40px;
}

.tree-2 .trunk {
  height: 100px;
  left: 45px;
}

.tree-3 .trunk {
  height: 70px;
  left: 35px;
}

.tree-4 .trunk {
  height: 90px;
  left: 40px;
}

.leaves {
  position: absolute;
  bottom: 60px;
  width: 100px;
  height: 120px;
  background: linear-gradient(45deg, #2aa1ff, #6bd0ff, #1b6ecf, #2a7bd8);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 0 20px rgba(42, 161, 255, 0.4);
}

.tree-1 .leaves {
  bottom: 80px;
}

.tree-2 .leaves {
  bottom: 100px;
  width: 120px;
  height: 140px;
}

.tree-3 .leaves {
  bottom: 70px;
  width: 90px;
  height: 110px;
}

.tree-4 .leaves {
  bottom: 90px;
  width: 110px;
  height: 130px;
}

.path {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--auth-wood-1), var(--auth-wood-2));
  clip-path: polygon(0% 100%, 10% 70%, 20% 80%, 30% 65%, 40% 75%, 50% 60%, 60% 70%, 70% 55%, 80% 65%, 90% 50%, 100% 60%, 100% 100%);
  z-index: 2;
}

.chair {
  position: absolute;
  bottom: 100px;
  z-index: 3;
}

.chair-1 {
  left: 30%;
  transform: rotate(-10deg);
  animation: chairMove 15s infinite ease-in-out;
}

.chair-2 {
  right: 35%;
  transform: rotate(10deg);
  animation: chairMove 18s infinite ease-in-out;
}

.chair-base {
  width: 60px;
  height: 60px;
  background: var(--auth-wood-1);
  border-radius: 5px;
  position: relative;
}

.chair-back {
  width: 60px;
  height: 40px;
  background: var(--auth-wood-2);
  border-radius: 5px 5px 0 0;
  position: absolute;
  top: -40px;
}

.falling-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.leaf {
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #2aa1ff, #6bd0ff, #1b6ecf);
  border-radius: 50% 0 50% 50%;
  opacity: 0.8;
  animation: fall linear infinite;
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

@keyframes chairMove {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }

  50% {
    transform: rotate(-8deg) translateY(-5px);
  }
}

@keyframes fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .login-form {
    width: 90%;
    padding: 30px 20px;
  }

  .tree {
    transform: scale(0.8);
  }
}
