:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: rgba(12, 12, 12, 0.86);
  --panel-strong: #0d0d0d;
  --line: rgba(255,255,255,.13);
  --line-strong: rgba(255,255,255,.24);
  --text: #f7f7f7;
  --muted: #a7a7a7;
  --chrome: #d7d7d7;
  --accent: #ffffff;
  --danger: #ff4d4d;
  --success: #63f5a2;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0,0,0,.52);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; max-width: 100%; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
.hidden { display: none !important; }

.kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .03em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.btn-primary { background: #fff; color: #050505; border-color: #fff; }
.btn-danger { background: rgba(255,77,77,.1); border-color: rgba(255,77,77,.28); color: #ff9c9c; }
.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(6,6,6,.72);
  backdrop-filter: blur(14px);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.field { display: grid; gap: 8px; }
.field label { font-size: .77rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: var(--text);
  border-radius: 14px;
  outline: none;
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(255,255,255,.38); box-shadow: 0 0 0 4px rgba(255,255,255,.05); }

.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; }
.toast {
  min-width: 240px;
  max-width: 380px;
  border: 1px solid var(--line);
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(18px);
  padding: 14px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: toastIn .25s ease;
}
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } }
