@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #09070c;
  --panel: rgba(24, 14, 29, 0.76);
  --ink: #f8f2fa;
  --muted: #c7b9ca;
  --violet: #bc6cff;
  --pink: #ef69b5;
  --gold: #d7ad61;
  --line: rgba(232, 211, 239, 0.14);
  --shadow: 0 28px 80px rgba(0,0,0,.45);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(174, 88, 227, .14), transparent 32%),
    radial-gradient(circle at 86% 16%, rgba(222, 82, 149, .11), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(184, 124, 61, .07), transparent 30%),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.byte-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .08;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .25em;
}
.byte-field span { position: absolute; color: var(--violet); transform: rotate(-18deg); }
.byte-field span:nth-child(1){ top: 8%; left: -2%; }
.byte-field span:nth-child(2){ top: 18%; right: 4%; }
.byte-field span:nth-child(3){ top: 42%; left: 5%; }
.byte-field span:nth-child(4){ top: 56%; right: -1%; }
.byte-field span:nth-child(5){ top: 72%; left: 16%; }
.byte-field span:nth-child(6){ top: 84%; right: 18%; }
.byte-field span:nth-child(7){ top: 33%; left: 47%; }
.byte-field span:nth-child(8){ top: 94%; left: 58%; }

.shell { width: min(1100px, calc(100% - 34px)); margin: 0 auto; padding: 56px 0 34px; }
.hero { min-height: 72vh; display: grid; place-items: center; align-content: center; text-align: center; position: relative; }
.crest {
  width: 92px; height: 92px; border: 1px solid rgba(215, 173, 97, .6);
  border-radius: 50%; display: grid; place-items: center; position: relative;
  box-shadow: inset 0 0 28px rgba(215,173,97,.08), 0 0 40px rgba(188,108,255,.08);
  margin-bottom: 24px;
}
.monogram { font-family: "Cormorant Garamond", Georgia, serif; font-size: 54px; font-weight: 700; line-height: 1; }
.fang { position: absolute; top: 12px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 18px solid rgba(248,242,250,.88); }
.fang.left { left: 21px; transform: rotate(12deg); }
.fang.right { right: 21px; transform: rotate(-12deg); }

.eyebrow, .kicker { margin: 0 0 12px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .24em; }
h1 {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(72px, 13vw, 154px);
  line-height: .82; letter-spacing: -.04em; margin: 0;
  text-shadow: 0 10px 40px rgba(188,108,255,.16);
}
.tagline { margin: 30px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(24px, 3vw, 38px); font-style: italic; color: #eee3ef; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-actions a { text-decoration: none; padding: 14px 20px; border-radius: 999px; font-weight: 700; border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.hero-actions a:hover { transform: translateY(-2px); }
.primary { color: #130b17; background: linear-gradient(135deg, #f9e9ff, #d9b8ff 58%, #f2aad1); }
.secondary { color: var(--ink); background: rgba(255,255,255,.035); }
.secondary:hover { border-color: rgba(188,108,255,.55); }
.microcopy { margin-top: 19px; color: var(--muted); font-size: 13px; }

.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.link-card {
  min-height: 360px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent), var(--panel);
  backdrop-filter: blur(18px); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.link-card::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -60px; bottom: -80px; background: radial-gradient(circle, rgba(188,108,255,.12), transparent 68%); pointer-events: none;
}
.link-card.support::after { background: radial-gradient(circle, rgba(239,105,181,.14), transparent 68%); }
.link-card.lore::after { background: radial-gradient(circle, rgba(215,173,97,.12), transparent 68%); }

h2 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(30px, 4vw, 46px); line-height: 1; margin: 0 0 14px; }
.link-card p:not(.kicker), .about p { color: var(--muted); line-height: 1.75; }
.links { display: grid; gap: 8px; margin-top: 26px; }
.links a {
  color: var(--ink); text-decoration: none; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border-radius: 13px; background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.05); transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.links a:hover { background: rgba(188,108,255,.08); border-color: rgba(188,108,255,.28); transform: translateX(3px); }
.links b { color: var(--gold); font-weight: 500; }
.lore-note { margin-top: 24px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-style: italic; }

.byte-divider {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin: 68px 0;
  color: rgba(199,185,202,.42); font-size: 10px; letter-spacing: .18em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.byte-divider span { height: 1px; background: linear-gradient(to right, transparent, var(--line)); }
.byte-divider span:last-child { background: linear-gradient(to left, transparent, var(--line)); }

.about { max-width: 760px; margin: 0 auto 82px; text-align: center; }
.about > p:last-child { font-size: 17px; }
footer { border-top: 1px solid var(--line); padding: 26px 0 0; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 13px; }
footer div { display: flex; gap: 12px; }
footer strong { color: var(--ink); letter-spacing: .12em; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 18px); opacity: 0; pointer-events: none;
  padding: 12px 16px; border: 1px solid rgba(239,105,181,.35); background: rgba(20,10,24,.94);
  color: var(--ink); border-radius: 999px; box-shadow: var(--shadow); transition: opacity .2s ease, transform .2s ease; font-size: 13px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 760px) {
  .shell { padding-top: 28px; }
  .hero { min-height: 68vh; }
  .card-grid { grid-template-columns: 1fr; }
  .link-card { min-height: auto; }
  .byte-divider { margin: 48px 0; }
  footer { flex-direction: column; }
}


/* v2: platform identity, status states, and highlighted primary actions */
.hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero-actions img {
  width: 18px;
  height: 18px;
}
.hero-actions .primary img {
  filter: brightness(0) saturate(100%);
}

.link-card strong { color: var(--ink); font-weight: 650; }

.link-main {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.link-main img {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  object-fit: contain;
}

.links .featured-link {
  background: rgba(188,108,255,.09);
  border-color: rgba(188,108,255,.30);
}
.links .featured-link:hover {
  background: rgba(188,108,255,.14);
  border-color: rgba(188,108,255,.48);
}
.links .kofi-link {
  background: rgba(239,105,181,.08);
  border-color: rgba(239,105,181,.26);
}
.links .kofi-link:hover {
  background: rgba(239,105,181,.13);
  border-color: rgba(239,105,181,.42);
}

.link-meta {
  margin-left: 12px;
  color: var(--gold);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .12em;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}
.link-disabled {
  color: rgba(248,242,250,.48);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 13px;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(255,255,255,.035);
  cursor: not-allowed;
  filter: grayscale(.8);
}
.link-disabled img { opacity: .42; }
.muted-status { color: rgba(199,185,202,.46); }

.status-note {
  margin: 14px 2px 0;
  font-size: 12px;
  line-height: 1.65 !important;
  color: rgba(199,185,202,.62) !important;
}

.link-card.lore p + p {
  margin-top: 14px;
}

@media (max-width: 560px) {
  .link-meta {
    font-size: 8px;
    letter-spacing: .08em;
  }
}
