* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #fff;
  padding: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

h1 {
  margin: 0 0 6px;
  font-size: 26px;
  text-align: center;
}

.subtitle {
  text-align: center;
  color: #b8b8d1;
  margin: 0 0 24px;
  font-size: 14px;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  margin-top: 16px;
  color: #cfcfe6;
}

input[type="text"],
input[type="password"],
input[type="number"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 14px;
  resize: none;
}

textarea { height: 70px; }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.amount-btn {
  padding: 12px 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.amount-btn:hover { background: rgba(255, 255, 255, 0.12); }

.amount-btn.selected {
  background: linear-gradient(135deg, #ff2d78, #ff6b6b);
  border-color: transparent;
}

#custom-amount { margin-top: 10px; }

.submit-btn {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff2d78, #ff6b6b);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.submit-btn:hover:not(:disabled) { transform: translateY(-2px); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.error-msg {
  color: #ff6b6b;
  font-size: 13px;
  text-align: center;
  min-height: 18px;
  margin-top: 10px;
}
