/* aaoo prototype styles. Flat CSS, no preprocessor — matches the website repo
   philosophy. Values that recur live in :root so they change in one place. */
:root {
  --bg: #0e0f13;
  --panel: #1a1c22;
  --text: #f2f3f5;
  --muted: #9aa0aa;
  --accent: #3b82f6;
  --danger: #ef4444;
  --radius: 12px;
  --gap: 16px;
  --maxw: 460px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* --- Landing -------------------------------------------------------------- */
.card {
  max-width: var(--maxw);
  margin: 12vh auto 0;
  padding: 32px;
  background: var(--panel);
  border-radius: var(--radius);
  text-align: center;
}
.brand { font-size: 56px; margin: 0; letter-spacing: 2px; }
.tagline { color: var(--muted); margin: 8px 0 28px; }
.hint { color: var(--muted); font-size: 14px; margin: 20px 0 12px; }

.link-row { display: flex; gap: 8px; margin-bottom: 12px; }
.link-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #2c2f38;
  background: #0d0e12;
  color: var(--text);
  font-size: 13px;
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid #2c2f38;
  border-radius: 8px;
  background: #23262e;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.15); }
.btn-primary { background: var(--accent); border-color: var(--accent); width: 100%; margin-top: 6px; }
.btn-danger { background: var(--danger); border-color: var(--danger); }

/* --- Call stage ---------------------------------------------------------- */
.call-body { height: 100vh; display: flex; flex-direction: column; }
.stage { position: relative; flex: 1; background: #000; overflow: hidden; }
.remote { width: 100%; height: 100%; object-fit: cover; background: #000; }
.local {
  position: absolute; bottom: 16px; right: 16px;
  width: 28%; max-width: 180px;
  border-radius: 10px; border: 2px solid #000;
  object-fit: cover; background: #111;
}
.status {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  margin: 0; padding: 8px 16px;
  background: rgba(0,0,0,0.55); border-radius: 999px;
  font-size: 14px; color: var(--text); white-space: nowrap;
}
.controls {
  display: flex; gap: var(--gap); justify-content: center;
  padding: 16px; background: var(--panel);
}
