
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0d0d0f;
  --surface:   #141418;
  --surface-2: #1c1c22;
  --border:    rgba(255,255,255,0.07);
  --text:      #e8e6e1;
  --muted:     #6e6d6a;
  --accent:    #c8f03a;
  --accent-2:  #3af0c8;
  --accent-3:  #f03a8c;

  --font-mono:   'DM Mono', monospace;
  --font-serif:  'Instrument Serif', Georgia, serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

@keyframes drift {
  from { transform: translateY(0px) scale(1); }
  to   { transform: translateY(30px) scale(1.05); }
}

/* layout */
.container {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fade-in 0.7s ease both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* stagger children (wtf does this do claude?) */
.container > * { animation: fade-in 0.6s ease both; }
.container > *:nth-child(1) { animation-delay: 0.05s; }
.container > *:nth-child(2) { animation-delay: 0.12s; }
.container > *:nth-child(3) { animation-delay: 0.19s; }
.container > *:nth-child(4) { animation-delay: 0.26s; }
.container > *:nth-child(5) { animation-delay: 0.33s; }
.container > *:nth-child(6) { animation-delay: 0.40s; }

/* header */
.header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 0 12px;
}

.avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
}

.avatar:hover {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 0 0 4px rgba(200, 240, 58, 0.25);
}

.status-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 240, 58, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(200, 240, 58, 0); }
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pronoun {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px 10px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.tagline {
  font-size: 12px;
  color: var(--muted);
}

.italic {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text);
}

/* cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}

.card:hover {
  border-color: rgba(255,255,255,0.13);
  background: var(--surface-2);
}

.card-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 500;
}

/* bio card */
.bio-card p {
  margin-bottom: 12px;
  color: rgba(232, 230, 225, 0.85);
}
.bio-card p:last-child { margin-bottom: 0; }

.bio-card strong {
  color: var(--text);
  font-weight: 500;
}

.bio-card em {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 15px;
}

.bio-card a {
  color: var(--accent);
  text-decoration: none;
}

.bio-card a:hover {
  color: var(--accent-2);
}

/* pills */
.pill {
  display: inline-block;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 99px;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-right: 6px;
}

/* music and games grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 520px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* list */
.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(232, 230, 225, 0.8);
}

.list li {
  font-size: 13px;
}

.list em {
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 14px;
}

/* tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: rgba(232, 230, 225, 0.75);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  cursor: default;
}

.tag:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(58, 240, 200, 0.05);
}

/* links */
.links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(232, 230, 225, 0.8);
  text-decoration: none;
  font-size: 13px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  position: relative;
  border: 1px solid transparent;
}

.link-item:hover {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
  transform: translateX(4px);
}

.link-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.link-arrow {
  margin-left: auto;
  font-size: 14px;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(-4px);
  color: var(--accent);
}

.link-item:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* footer */
.footer {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding-top: 8px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dot-sep { opacity: 0.4; }

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* selection */
::selection {
  background: rgba(200, 240, 58, 0.25);
  color: var(--text);
} /* <--- THIS WAS MISSING */

.spotify-widget {
  width: 100%;
  border-radius: var(--radius-sm);
  display: block;
}