/* ============================================================
   characters.css — Character landing page specific styles
   Requires shared.css. Used by: jan, sophie, devries, pietersen
   ============================================================ */

/* --- Character avatar -------------------------------------- */
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--border);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

/* --- Feature grid ----------------------------------------- */
.feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.feat-icon { font-size: 22px; margin-bottom: 8px; }
.feat-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.feat-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* --- Example chat (static preview) ------------------------ */
.example-chat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 28px;
  max-width: 520px;
}
.msg { display: flex; gap: 10px; margin-bottom: 14px; }
.msg:last-child { margin-bottom: 0; }
.msg-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.msg-bubble {
  background: var(--surface2);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}
.msg.user { flex-direction: row-reverse; }
.msg.user .msg-bubble { background: rgba(232,96,28,0.15); margin-left: auto; }

/* --- Other characters grid -------------------------------- */
.other-chars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.other-char-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: border-color .15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.other-char-card:hover { border-color: var(--accent); }
.other-char-card .icon { font-size: 22px; margin-bottom: 8px; }
.other-char-card .name { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.other-char-card .lvl { font-size: 12px; color: var(--muted); }
