body {
  margin: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background: #000;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  padding: 25px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  color: white;
  box-shadow: 0 0 40px rgba(0,255,255,0.4);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translate(-50%, -50%) rotateY(8deg) rotateX(8deg);
}

.card h2 {
  text-align: center;
  margin-bottom: 15px;
}

.card input,
.card button {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  border: none;
  outline: none;
}

.card button {
  background: linear-gradient(45deg,#00c6ff,#0072ff);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.card button:hover {
  transform: scale(1.05);
}

/* Gender section layout */
.gender {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

/* Each label alignment */
.gender label {
  display: flex;
  align-items: center;
  gap: 6px;   /* space between dot and text */
  cursor: pointer;
}

/* Radio button proper alignment */
.gender input[type="radio"] {
  margin: 0;
  transform: translateX(-2px);  /* thoda left shift */
}

/* Small error message */
.error {
  display: block;
  color: #ff4d4d;
  font-size: 12px;
  margin-top: 5px;
  min-height: 14px; /* layout jump prevent */
}

/* Success message */
.success {
  display: block;
  color: #00ffcc;
  font-size: 12px;
  margin-top: 5px;
  min-height: 14px;
}