* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #0a0a0c;
  /* Subtle ambient background glow */
  background-image: radial-gradient(circle at center, rgba(255, 191, 0, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  color: #ffffff;
}

.glass-container {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 50px;
  width: 400px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 191, 0, 0.03);
}

.glass-container h1 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: -1px;
}

.form-control {
  position: relative;
  margin: 20px 0 40px;
  width: 300px;
}

.form-control input {
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid #2a2a35;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-size: 18px;
  color: #ffffff;
  transition: border-bottom-color 0.3s ease;
}

.form-control input:focus,
.form-control input:valid {
  outline: 0;
  border-bottom-color: #ffbf00;
  box-shadow: 0 10px 10px -10px rgba(255, 191, 0, 0.5);
}

.form-control label {
  position: absolute;
  top: 15px;
  left: 0;
  pointer-events: none;
}

.form-control label span {
  display: inline-block;
  font-size: 18px;
  min-width: 5px;
  color: #a0a0a5;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* The Wave Trigger */
.form-control input:focus + label span,
.form-control input:valid + label span {
  color: #ffbf00;
  transform: translateY(-30px);
  text-shadow: 0 0 10px rgba(255, 191, 0, 0.4);
}

.btn {
  cursor: pointer;
  display: inline-block;
  width: 100%;
  background-color: #ffbf00;
  padding: 15px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0c;
  border: 0;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 191, 0, 0.2);
}

.btn:hover {
  background-color: #ffc933;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 191, 0, 0.4);
}

.btn:active {
  transform: scale(0.98);
}

.text {
  margin-top: 30px;
  text-align: center;
  color: #a0a0a5;
  font-size: 14px;
}

.text a {
  text-decoration: none;
  color: #ffbf00;
  font-weight: 600;
  transition: color 0.2s;
}

.text a:hover {
  color: #ffffff;
}