:root {
  --ink: #090909;
  --panel: #11110f;
  --paper: #f3f0e9;
  --acid: #d7ff2f;
  --muted: #aaa99f;
  --line: rgba(255, 255, 255, .16);
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  color: #fff;
  background: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.links-page {
  position: relative;
  min-height: 100svh;
  padding: 34px 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 45%),
    #090909;
}

.links-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: .15;
  background-image: url("../images/Viper-7.jpg?v=20260825m");
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.2);
}

.links-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(9,9,9,.72), #090909 72%);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--acid);
  opacity: .07;
  filter: blur(95px);
  pointer-events: none;
}

.ambient-one { top: -180px; right: -130px; }
.ambient-two { bottom: -240px; left: -180px; }

.link-card {
  position: relative;
  width: min(100%, 600px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  background: rgba(12, 12, 11, .88);
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
  backdrop-filter: blur(20px);
}

.close-link {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,.035);
  font-size: 1.55rem;
  line-height: 1;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.close-link:hover {
  color: var(--ink);
  border-color: var(--acid);
  background: var(--acid);
  transform: rotate(4deg);
}

.wordmark {
  display: table;
  margin: 0 auto 32px;
  font-family: "Oswald", sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.wordmark span { color: var(--acid); }

.profile { text-align: center; }

.portrait-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(215,255,47,.6);
  border-radius: 50%;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.85) contrast(1.08);
}

.status-dot {
  position: absolute;
  right: 0;
  bottom: 5px;
  width: 17px;
  height: 17px;
  border: 4px solid var(--panel);
  border-radius: 50%;
  background: var(--acid);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--acid);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(3rem, 12vw, 5rem);
  line-height: .88;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

h1 em { color: var(--acid); font-style: normal; }

.intro {
  max-width: 440px;
  margin: 22px auto 30px;
  color: #c0c0b9;
  font-size: .92rem;
  line-height: 1.65;
}

.link-list { display: grid; gap: 11px; }

.link-button {
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,.035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: var(--acid);
  background: rgba(215,255,47,.06);
}

.link-button span {
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.link-button small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.link-button strong {
  color: var(--acid);
  font-size: 1.1rem;
  transition: transform .18s ease;
}

.link-button:hover strong { transform: translate(2px, -2px); }

.link-button.featured {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.link-button.featured small { color: rgba(9,9,9,.62); }
.link-button.featured strong { color: var(--ink); }
.link-button.featured:hover { background: #fff; border-color: #fff; }

footer {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #73736e;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-mark { width: 22px; height: 1px; background: #484844; }
footer a:hover { color: var(--acid); }

@media (max-width: 520px) {
  .links-page { padding: 0; place-items: start center; }
  .link-card { min-height: 100svh; border: 0; padding: 28px 18px 30px; }
  .close-link { top: 16px; right: 16px; }
  .wordmark { margin-bottom: 27px; }
  .portrait-wrap { width: 82px; height: 82px; margin-bottom: 20px; }
  .intro { margin: 18px auto 25px; font-size: .86rem; }
  .link-button { min-height: 67px; }
}

@media (prefers-reduced-motion: reduce) {
  .close-link, .link-button, .link-button strong { transition: none; }
}
