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

:root {
  --bg: #0b0c0d;
  --card: #141618;
  --card-hover: #1a1d20;
  --accent: #00a36c;
  --accent-glow: rgba(0, 163, 108, 0.25);
  --text: #ffffff;
  --text-muted: #8b929a;
  --border: #1f2327;
  --radius: 16px;
  --radius-sm: 12px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.5;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 2.5rem 1.25rem;
  max-width: 480px;
  margin: 0 auto;
  gap: 2.5rem;
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.avatar-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  border: none;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), #00c97f);
  box-shadow: 0 0 32px var(--accent-glow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avatar-wrap:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px var(--accent-glow);
}

.avatar-wrap.is-playing {
  box-shadow: 0 0 48px var(--accent-glow);
}

.avatar-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border: 3px solid var(--bg);
}

.title {
  font-size: clamp(2.25rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.title-accent {
  color: var(--accent);
}

.title-tail {
  color: var(--text);
}

/* Links */

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.link-card:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.link-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.link-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.link-icon svg {
  width: 100%;
  height: 100%;
}

.link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.link-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.link-handle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.link-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

/* Footer */

.footer {
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 480px) {
  .avatar-wrap {
    width: 180px;
    height: 180px;
  }
}
