/* Bmember · estilos del sitio raíz (guía de estilos: Ciruela, Inter, frosted glass) */
:root {
  --color-primary: #4D1E54;
  --color-background: #F2EFF5;
  --color-foreground: #0E0E0F;
  --color-deep-surface: #062423;
  --color-muted: #547475;
  --color-subtle-tint: #A8BEBD;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --radius-pill: 980px;
  --radius-card: 16px;
  --shadow-low: 0 2px 8px rgba(14, 14, 15, 0.04);
  --shadow-mid: 0 8px 24px rgba(14, 14, 15, 0.08);
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav con frosted glass */
.nav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(242, 239, 245, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(84, 116, 117, 0.18);
}
.nav-brand { font-weight: 700; font-size: 20px; letter-spacing: -0.014em; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-low); }
.btn-primary:hover { box-shadow: var(--shadow-mid); }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
  background: rgba(84, 116, 117, 0.12);
  color: var(--color-foreground);
}

/* Hero */
.hero {
  flex: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 32px 64px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 16px;
}
.display {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin-bottom: 20px;
}
.lead {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.010em;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* Card centrada (login / callback / lobby) */
.center-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.card {
  background: #fff;
  border: 1px solid rgba(84, 116, 117, 0.15);
  border-radius: 24px;
  box-shadow: var(--shadow-mid);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.card h1 { font-size: 28px; font-weight: 600; letter-spacing: -0.014em; margin-bottom: 8px; }
.card p { color: var(--color-muted); font-size: 16px; margin-bottom: 24px; }
.card .btn { width: 100%; }

/* Lobby: lista de tenants */
.tenant-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.tenant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid rgba(84, 116, 117, 0.18);
  border-radius: var(--radius-card);
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-foreground);
  font-weight: 500;
  transition: box-shadow 200ms var(--ease-standard), transform 200ms var(--ease-standard);
}
.tenant-item:hover { box-shadow: var(--shadow-mid); transform: translateY(-1px); }

/* Footer */
.footer {
  padding: 24px 32px;
  text-align: center;
  color: var(--color-muted);
  font-size: 12px;
  border-top: 1px solid rgba(84, 116, 117, 0.18);
}

/* Spinner simple */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(84, 116, 117, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .display { font-size: 40px; }
  .lead { font-size: 16px; }
}
