:root {
  --bg: #0b0d10;
  --bg2: #12161c;
  --panel: rgba(255,255,255,0.06);
  --panel-2: rgba(255,255,255,0.08);
  --text: #f5f7fa;
  --muted: #aeb7c2;
  --line: rgba(255,255,255,0.12);
  --accent: #9dd6ff;
  --accent-2: #7af0c8;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; background: radial-gradient(circle at top, #1a2230 0%, #0b0d10 45%, #08090b 100%); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; }
body { min-height: 100vh; }
.wrapper { max-width: 1240px; margin: 0 auto; padding: 28px 18px 40px; }
.brand { letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
h1 { font-size: clamp(30px, 5vw, 56px); line-height: .98; margin: 0 0 14px; letter-spacing: -0.04em; }
.sub { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 760px; }
.card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.landing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.form-card { padding: 26px; }
.label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
input { width: 100%; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--text); border-radius: 16px; padding: 16px 18px; font-size: 16px; outline: none; }
input:focus { border-color: rgba(157,214,255,0.7); box-shadow: 0 0 0 4px rgba(157,214,255,0.08); }
button { border: 0; border-radius: 18px; padding: 14px 18px; font-size: 15px; font-weight: 600; cursor: pointer; }
button.primary { width: 100%; margin-top: 14px; color: #071018; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
button.ghost { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--line); }
button.warn { background: rgba(255,90,90,0.15); color: #ffd7d7; border: 1px solid rgba(255,90,90,0.25); }
button:disabled { opacity: 0.65; cursor: wait; }
.status { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--muted); min-height: 52px; }
.small { font-size: 14px; color: var(--muted); margin-top: 12px; }
.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.meta .card { padding: 18px; }
.meta-title { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.meta-copy { line-height: 1.5; }
.hidden { display: none !important; }
.meeting-shell { display: grid; grid-template-columns: 1fr 320px; gap: 18px; }
.stage { padding: 14px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-height: 520px; }
.participant { position: relative; overflow: hidden; border-radius: 22px; background: #050608; border: 1px solid rgba(255,255,255,0.08); min-height: 240px; }
.participant video, .participant audio { width: 100%; height: 100%; object-fit: cover; display: block; }
.participant .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); }
.badge { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,0.55); color: #fff; border: 1px solid rgba(255,255,255,0.12); padding: 8px 10px; border-radius: 999px; font-size: 13px; backdrop-filter: blur(12px); }
.side { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.side h2 { font-size: 15px; margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.side p { margin: 0; color: var(--muted); line-height: 1.55; }
.control-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.participant-list { display: flex; flex-direction: column; gap: 10px; }
.participant-pill { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--text); }
.leave { margin-top: auto; }
@media (max-width: 980px) {
  .landing, .meeting-shell { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; min-height: 320px; }
}
