/* ───────────────────────────────────────────────────────────────────────────
   Roomie root link page — own link-collection landing (replaces Carrd).
   Shares the Daily VS game's dark, neon-edge palette so / and /vs-game feel
   like one site. Mobile-first, single centered card.
   ─────────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0a0f;
  --bg-2: #14141d;
  --panel: #1b1b27;
  --ink: #f4f4fb;
  --muted: #8a8aa3;
  --line: #2a2a3a;
  --a: #21e6c1;      /* teal */
  --b: #ff4d8d;      /* pink */
  --vs: #ffd23f;     /* brand gold */
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(33, 230, 193, 0.10), transparent 60%),
    radial-gradient(1000px 600px at 110% 0%, rgba(255, 77, 141, 0.12), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(28px, 7vw, 56px) clamp(16px, 5vw, 32px) 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: 0.02em;
  color: #0a0a0f;
  background: linear-gradient(135deg, var(--a), var(--vs) 55%, var(--b));
  box-shadow: 0 0 32px rgba(255, 210, 63, 0.35), var(--shadow);
  margin-bottom: 6px;
}

.name {
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: clamp(26px, 6vw, 38px);
  margin: 4px 0 0;
}
.tagline {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
  max-width: 38ch;
  line-height: 1.4;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.link:hover { transform: translateY(-3px); border-color: var(--a); }
.link:active { transform: translateY(0); }

.link-emoji { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.link-body { flex: 1 1 auto; min-width: 0; text-align: left; }
.link-title { display: block; font-weight: 800; font-size: 16px; }
.link-sub { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.link-chevron { flex: 0 0 auto; color: var(--muted); font-weight: 900; }
.link:hover .link-chevron { color: var(--a); }

/* the game gets the gold spotlight */
.link.featured {
  width: 100%;
  margin-bottom: 18px;
  border-color: rgba(255, 210, 63, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 210, 63, 0.10), transparent 70%),
    var(--panel);
}
.link.featured .link-title { color: var(--vs); }
.link.featured:hover { border-color: var(--vs); }
.link.featured:hover .link-chevron { color: var(--vs); }

/* placeholder rows read as inert until Joel wires real URLs */
.link[data-placeholder] { opacity: 0.72; }
.link[data-placeholder]::after {
  content: "set link";
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 2px 8px;
}
.link[data-placeholder] .link-chevron { display: none; }

.placeholder-note {
  color: var(--muted);
  font-size: 12px;
  margin: 16px 0 0;
  line-height: 1.4;
}
.placeholder-note code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink);
}

.foot {
  color: var(--muted);
  font-size: 12px;
  padding: 8px 0 28px;
}
