/* LifeChat Discovery 3.1 — one composition, social energy, no duplicate banners */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Outfit:wght@400;500;600;700&display=swap');

.lc-disco {
  --lc-font-display: "Syne", system-ui, sans-serif;
  --lc-font-sans: "Outfit", system-ui, sans-serif;
  --lc-blue: #3d8bfd;
  --lc-cyan: #5ce1ff;
  --lc-rose: #ff5d8f;
  font-family: var(--lc-font-sans);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

.lc-disco-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
@media (max-width: 860px) {
  .lc-disco-hero { grid-template-columns: 1fr; }
}

.lc-disco-hero__stage {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.85rem 1.6rem 1.5rem;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(61, 139, 253, 0.45), transparent 55%),
    radial-gradient(70% 60% at 100% 20%, rgba(255, 93, 143, 0.28), transparent 50%),
    linear-gradient(155deg, #070d18 0%, #0f1a2e 55%, #151028 100%);
  border: 1px solid rgba(92, 225, 255, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color: #eef4ff;
  animation: lc-disco-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lc-disco-hero__brand {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lc-cyan);
}

.lc-disco-hero__title {
  font-family: var(--lc-font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.65rem;
  color: #fff;
}

.lc-disco-hero__lead {
  margin: 0 0 1.1rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(238, 244, 255, 0.82);
}

.lc-disco-pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}
@media (max-width: 520px) {
  .lc-disco-pulse { grid-template-columns: repeat(2, 1fr); }
}
.lc-disco-pulse > div {
  text-align: center;
  padding: 0.65rem 0.35rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lc-disco-pulse strong {
  display: block;
  font-family: var(--lc-font-display);
  font-size: 1.25rem;
  color: var(--lc-cyan);
}
.lc-disco-pulse span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.lc-disco-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.lc-disco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lc-disco-btn--primary {
  background: linear-gradient(135deg, #2f6bff, #5ce1ff);
  color: #041018 !important;
  box-shadow: 0 12px 32px rgba(61, 139, 253, 0.4);
}
.lc-disco-btn--primary:hover { transform: translateY(-2px); }
.lc-disco-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.lc-disco-btn--text {
  background: transparent;
  color: rgba(255, 255, 255, 0.75) !important;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}
.lc-disco-hero__fine {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  opacity: 0.55;
}

.lc-disco-hero__orbit {
  position: relative;
  min-height: 280px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(61, 139, 253, 0.25), transparent 55%),
    linear-gradient(180deg, #0a1220, #121a2c);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.lc-disco-orbit__chip {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -26px 0 0 -26px;
  transform:
    rotate(calc(var(--i) * 45deg)) translate(min(38%, 110px)) rotate(calc(var(--i) * -45deg));
  animation: lc-orbit-fade 0.6s calc(var(--d)) both;
}
.lc-disco-orbit__chip .lc-userchip__name { display: none; }
.lc-disco-orbit__chip .lc-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50%;
  border: 2px solid rgba(92, 225, 255, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.lc-disco-orbit__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  color: rgba(238, 244, 255, 0.7);
  font-weight: 600;
}

.lc-disco-nav {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  margin: 0 0 1.35rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--lc-surface, #121a28) 90%, #000);
  border: 1px solid var(--lc-border, #2a3648);
  scrollbar-width: thin;
}
.lc-disco-nav a {
  flex: 0 0 auto;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.86rem;
  text-decoration: none !important;
  color: var(--lc-muted, #9db0c0) !important;
  white-space: nowrap;
}
.lc-disco-nav a[aria-current="page"],
.lc-disco-nav a:hover {
  background: color-mix(in srgb, var(--lc-blue) 28%, transparent);
  color: #fff !important;
}

.lc-disco-section { margin-bottom: 1.75rem; }
.lc-disco-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.lc-disco-section__head h2 {
  margin: 0;
  font-family: var(--lc-font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.lc-disco-section__head a {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
  color: var(--lc-blue) !important;
}

.lc-disco-rooms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.lc-disco-room {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 148px;
  padding: 1rem;
  border-radius: 18px;
  text-decoration: none !important;
  color: #eef4ff !important;
  background:
    linear-gradient(160deg, hsl(var(--room-hue, 210) 62% 22%), #0c1422 72%);
  border: 1px solid hsl(var(--room-hue, 210) 55% 42% / 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lc-disco-room,
.lc-disco-room [class*="lc-"],
.lc-disco-room strong,
.lc-disco-room span,
.lc-disco-room em {
  color: #eef4ff !important;
}
.lc-disco-room:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.lc-disco-room__kind {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.lc-disco-room__title {
  font-family: var(--lc-font-display);
  font-size: 1.15rem;
  line-height: 1.2;
}
.lc-disco-room__topic {
  font-size: 0.85rem;
  opacity: 0.8;
  flex: 1;
}
.lc-disco-room__meta {
  display: flex;
  gap: 0.65rem;
  font-size: 0.75rem;
  opacity: 0.7;
}
.lc-disco-room__meta em { font-style: normal; }
.lc-disco-room--empty {
  grid-column: 1 / -1;
  background: linear-gradient(160deg, #122038, #0c1422);
  border-style: dashed;
}

.lc-disco-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}
@media (max-width: 800px) {
  .lc-disco-split { grid-template-columns: 1fr; }
}

.lc-disco-people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}
.lc-disco-person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--lc-surface, #121a28) 92%, #000);
  border: 1px solid var(--lc-border, #2a3648);
}
.lc-disco-person .lc-userchip__name {
  color: inherit !important;
  font-weight: 650;
}
.lc-disco-person__lv {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.65;
  color: inherit !important;
}
.lc-disco-person__add {
  border: 0;
  background: color-mix(in srgb, var(--lc-blue) 22%, transparent);
  color: inherit;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.lc-disco-comms {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lc-disco-comm {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit !important;
  background: color-mix(in srgb, var(--lc-surface, #121a28) 92%, #000);
  border: 1px solid var(--lc-border, #2a3648);
  font-weight: 650;
}
.lc-disco-comm span { opacity: 0.65; font-weight: 500; font-size: 0.85rem; }

.lc-disco-ice__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.lc-disco-ice__pill {
  border: 1px solid color-mix(in srgb, var(--lc-cyan) 30%, transparent);
  background: color-mix(in srgb, var(--lc-cyan) 10%, transparent);
  color: inherit;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lc-disco-ice__pill:hover {
  background: color-mix(in srgb, var(--lc-cyan) 22%, transparent);
}

.lc-disco-empty,
.lc-disco-nudge {
  font-size: 0.9rem;
  opacity: 0.75;
}
.lc-disco-nudge a { font-weight: 700; color: var(--lc-blue) !important; }

.lc-disco-ai {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--lc-border, #2a3648);
  background: color-mix(in srgb, var(--lc-surface, #121a28) 94%, #000);
}
.lc-disco-ai__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.lc-disco-ai__form input {
  flex: 1 1 200px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--lc-border, #2a3648);
  background: transparent;
  color: inherit;
  padding: 0 1rem;
}

@keyframes lc-disco-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes lc-orbit-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-disco-hero__stage, .lc-disco-orbit__chip { animation: none !important; }
}

/* Hide legacy duplicate growth banner if still injected elsewhere on LC pages */
.lc-disco ~ .sx-growth,
.lc-disco .sx-growth { display: none !important; }

/* —— Growth gate (onboarding / optional embeds) —— */
.sx-growth {
  position: relative;
  overflow: hidden;
  margin: 1.25rem 0;
  border-radius: 22px;
  padding: 1.4rem 1.35rem;
  border: 1px solid rgba(92, 225, 255, 0.22);
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(61, 139, 253, 0.35), transparent 55%),
    linear-gradient(155deg, #0a1220, #121a2c 60%, #181428);
  color: #eef4ff;
}
.sx-growth--lq {
  border-color: rgba(46, 229, 157, 0.28);
  background:
    radial-gradient(90% 80% at 0% 0%, rgba(46, 229, 157, 0.28), transparent 55%),
    linear-gradient(155deg, #0c1612, #15241e 60%, #1a1c14);
}
.sx-growth__glow {
  position: absolute;
  inset: -40% auto auto 40%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 225, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.sx-growth__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lc-cyan, #5ce1ff);
}
.sx-growth--lq .sx-growth__kicker { color: #2ee59d; }
.sx-growth__title {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--lc-font-display, "Syne", system-ui, sans-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}
.sx-growth__lead { margin: 0 0 0.85rem; opacity: 0.85; }
.sx-growth__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}
.sx-growth__points li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sx-growth__privacy {
  margin: 0 0 0.95rem;
  font-size: 0.78rem;
  opacity: 0.6;
}
.sx-growth__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sx-growth__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.sx-growth__btn--primary {
  background: linear-gradient(135deg, #2f6bff, #5ce1ff);
  color: #041018 !important;
}
.sx-growth--lq .sx-growth__btn--primary {
  background: linear-gradient(135deg, #0f8f5f, #2ee59d);
  color: #041810 !important;
}
.sx-growth__btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* —— LifeQuest board hero (shared stylesheet) —— */
.lifequest-board,
.lifequest-app {
  --lq-font-display: "Syne", system-ui, sans-serif;
}
.lq-hero-community {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.85rem 1.5rem 1.6rem !important;
  margin-bottom: 1.35rem;
  background:
    radial-gradient(100% 80% at 0% 0%, rgba(46, 229, 157, 0.28), transparent 55%),
    radial-gradient(80% 70% at 100% 10%, rgba(255, 107, 61, 0.22), transparent 50%),
    linear-gradient(160deg, #0c1612 0%, #15241e 60%, #1a1c14 100%) !important;
  border: 1px solid rgba(46, 229, 157, 0.28) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
  animation: lq-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lq-hero-community .lq-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2ee59d !important;
}
.lq-hero-community h1 {
  font-family: var(--lq-font-display) !important;
  font-size: clamp(1.75rem, 4.2vw, 2.6rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.55rem !important;
  background: linear-gradient(120deg, #e8f2ec, #2ee59d 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.lq-hero-community .lq-lead {
  max-width: 40rem;
  font-size: 1.05rem;
  opacity: 0.9;
}
.lq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.1rem 0 1.2rem;
}
.lq-btn-primary {
  background: linear-gradient(135deg, #0f8f5f, #2ee59d) !important;
  color: #041810 !important;
  border: 0 !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 30px rgba(46, 229, 157, 0.3);
}
.lq-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.lq-stats-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.65rem;
}
.lq-stats-hero .lq-stat {
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(46, 229, 157, 0.18);
}
.lq-stats-hero .lq-stat strong {
  display: block;
  font-family: var(--lq-font-display);
  font-size: 1.45rem;
  color: #2ee59d;
}
.lq-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.lq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 229, 157, 0.4) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
@keyframes lq-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lq-hero-community, .lq-card { animation: none !important; transition: none !important; }
}
