:root {
  --bg: #0d121c;
  --bg-2: #141b29;
  --bg-3: #1c2537;
  --line: #2a3448;
  --cream: #f3ead6;
  --muted: #a3a9b8;
  --gold: #d9a93c;
  --gold-2: #f0c45a;
  --ok: #4fbf8a;
  --danger: #e2685c;
  --radius: 14px;
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }
button, input, select, textarea { font: inherit; color: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 11px 20px; font-weight: 600;
  background: var(--gold); color: #1a1406;
  transition: background .15s, transform .1s;
  text-decoration: none;
}
.btn:hover { background: var(--gold-2); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--gold); }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.btn.wa { background: #25d366; color: #062b14; }
.btn.small { padding: 7px 14px; font-size: 13px; }
.btn.block { width: 100%; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 13px; outline: none;
}
.input:focus { border-color: var(--gold); }
textarea.input { resize: vertical; min-height: 70px; }

.error-msg { color: var(--danger); font-size: 14px; min-height: 1em; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  background: var(--bg-3); color: var(--muted);
}
.hidden { display: none !important; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--cream); color: var(--bg); padding: 10px 18px; border-radius: 999px;
  font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 100;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
