:root {
  --bg: #0b0b0c;
  --panel: rgba(22, 22, 25, 0.82);
  --line: rgba(255, 255, 255, 0.12);
  --text: #e9e9ec;
  --muted: #a3a3ab;
  --accent: #e9e9ec;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.04) 45%, transparent 65%),
    radial-gradient(ellipse at 50% 0%, #26262b 0%, transparent 60%),
    radial-gradient(ellipse at 50% 120%, #1a1a1e 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* brushed-silver lettering */
.chrome {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #d9d9de 38%, #7c7c85 52%, #f2f2f5 64%, #a7a7ae 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 14px rgba(255, 255, 255, 0.12));
}

/* ---- hero ---- */

.hero {
  text-align: center;
  padding: 44px 20px 22px;
}

.pfp {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 3px solid #d7d7dd;
  box-shadow: 0 0 0 6px #111, 0 0 0 7px var(--line), 0 10px 40px rgba(0, 0, 0, 0.7);
  background: #111;
  object-fit: cover;
}

.hero h1 {
  margin: 16px 0 4px;
  font-size: clamp(3rem, 14vw, 5rem);
  line-height: 1.05;
}

.tag {
  margin: 0 auto;
  max-width: 42ch;
  text-wrap: balance;
  color: var(--muted);
}

/* ---- layout ---- */

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- link cards ---- */

.links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.btn {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 30%, transparent);
  outline: none;
}
.btn svg {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  justify-self: center;
  fill: var(--accent);
}
.btn span { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.btn small {
  color: var(--muted);
  font-size: 0.84rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 560px) {
  .links { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (min-width: 860px) {
  .links { grid-template-columns: repeat(3, 1fr); }
}

/* ---- content cards ---- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 26px 0 10px;
}
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.card {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.card h2 { margin: 0 0 10px; font-size: 1.9rem; line-height: 1.15; }
.card p { margin: 0 0 10px; }
.card ul, .card ol { margin: 0 0 12px; padding-left: 1.3em; }
.card li { margin: 3px 0; }
.card li::marker { color: var(--muted); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f4f4f6, #a9a9b1);
  color: #111;
  font-weight: 700;
  text-decoration: none;
}
.cta:hover, .cta:focus-visible { filter: brightness(1.08); }
.cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cta svg { width: 18px; height: 18px; fill: currentColor; }
.cta.coffee { background: linear-gradient(180deg, #ffe55c, #f5c400); }

/* ---- footer ---- */

footer {
  text-align: center;
  padding: 26px 20px 40px;
  color: var(--muted);
}
footer p { margin: 6px 0; }
footer .small { font-size: 0.8rem; opacity: 0.7; }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover, .btn:focus-visible { transform: none; }
}

/* generated from site.config.mjs */
.btn.youtube { --accent: #ff0033; }
.btn.discord { --accent: #5865f2; }
.btn.twitch { --accent: #9146ff; }
.btn.tiktok { --accent: #25f4ee; }
.btn.instagram { --accent: #ff0069; }
.btn.x { --accent: #e9e9ec; }
.btn.coffee { --accent: #ffdd00; }
