:root {
  --bg: #101315;
  --panel: rgba(24, 29, 32, 0.92);
  --text: #f2f4e9;
  --muted: #aeb8ac;
  --gold: #ffd166;
  --blue: #7cc7ff;
  --purple: #c084fc;
  --bad: #ff6b6b;
  --border: rgba(255,255,255,0.14);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 209, 102, 0.16), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(124, 199, 255, 0.16), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(192, 132, 252, 0.18), transparent 32%),
    linear-gradient(135deg, #101315, #181020 55%, #11181c);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

body::before {
  content: "🦆";
  position: fixed;
  left: 7%;
  top: 10%;
  font-size: 76px;
  opacity: 0.11;
  transform: rotate(-12deg);
}

body::after {
  content: "🦖";
  position: fixed;
  right: 7%;
  bottom: 8%;
  font-size: 88px;
  opacity: 0.10;
  transform: rotate(10deg);
}

form {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}

form::before {
  content: "Puddlebound Login";
  display: block;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--text);
}

form::after {
  display: none;
  content: "";
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--gold);
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: bold;
}

input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.32);
  color: var(--text);
  padding: 13px 14px;
  font-size: 16px;
  outline: none;
}

input:focus {
  border-color: rgba(124, 199, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(124, 199, 255, 0.14);
}

button,
input[type="submit"] {
  width: 100%;
  margin-top: 18px;
  border: none;
  border-radius: 14px;
  padding: 13px 16px;
  background: linear-gradient(135deg, var(--gold), #ff9f1c);
  color: #201400;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(255, 159, 28, 0.2);
}

button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

a {
  color: var(--blue);
  font-weight: bold;
}

p {
  color: var(--muted);
}

.error,
.alert,
.message {
  border-radius: 12px;
  padding: 10px 12px;
  margin: 12px 0;
}

.error,
.alert {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffd5d5;
}

.message {
  background: rgba(114, 226, 139, 0.12);
  border: 1px solid rgba(114, 226, 139, 0.35);
  color: #d8ffe0;
}

@media (max-width: 520px) {
  body {
    padding: 14px;
  }

  form {
    padding: 22px;
    border-radius: 20px;
  }

  form::before {
    font-size: 24px;
  }
}

/* =====================================================
   Step 109 - Real mascot art
   ===================================================== */

body::before,
body::after {
  content: none !important;
}

.login-mascots {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.login-mascot {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.45));
  opacity: 0.92;
}

.login-mascot-dino {
  width: min(360px, 34vw);
  left: 4vw;
  bottom: 5vh;
  transform: rotate(-4deg);
}

.login-mascot-duck {
  width: min(190px, 22vw);
  right: 9vw;
  top: 8vh;
  transform: rotate(8deg);
}

.login-mascot-muddy {
  width: min(230px, 25vw);
  right: 5vw;
  bottom: 6vh;
  transform: rotate(3deg);
}

form {
  z-index: 2;
}

@media (max-width: 760px) {
  .login-mascot {
    opacity: 0.22;
  }

  .login-mascot-dino {
    width: 260px;
    left: -60px;
    bottom: 0;
  }

  .login-mascot-duck {
    width: 140px;
    right: -25px;
    top: 30px;
  }

  .login-mascot-muddy {
    width: 150px;
    right: -35px;
    bottom: 20px;
  }
}
