@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap");

:root {
  --paper: #f7f9fc;
  --ink: #172033;
  --muted: #788398;
  --line: #e2e7f0;
  --card: #ffffff;
  --accent: #1677ed;
}

* {
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
}

html {
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, #ffffff 0, transparent 44rem),
    var(--paper);
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: none;
}

a,
button {
  cursor: none;
}

.cursor {
  position: fixed;
  z-index: 10;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  visibility: hidden;
  opacity: 1;
  transform: translate(-50%, -50%);
  transition:
    width 240ms cubic-bezier(0.22, 1, 0.36, 1),
    height 240ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 240ms ease,
    opacity 240ms ease;
}

.cursor.is-visible {
  visibility: visible;
}

.cursor.is-hovering {
  width: 38px;
  height: 38px;
  background: rgba(22, 119, 237, 0.1);
}

.page-shell {
  width: min(100% - 40px, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 92px 0 32px;
}

.profile {
  text-align: center;
}

h1 {
  margin: 0 0 48px;
  font-size: clamp(42px, 11vw, 60px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
  text-align: center;
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(29, 63, 112, 0.06), 0 1px 3px rgba(29, 63, 112, 0.04);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    box-shadow 220ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: #fffefb;
  box-shadow: 0 14px 30px rgba(29, 63, 112, 0.11), 0 3px 8px rgba(29, 63, 112, 0.05);
  outline: none;
  transform: translate(-2px, -2px);
}

.social-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-right: 14px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 15px;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.twitch-icon { color: #9146ff; }
.youtube-icon { color: #e62117; }
.tiktok-icon,
.twitter-icon { color: #111; }

.social-copy {
  display: grid;
  gap: 3px;
}

.social-copy strong {
  font-size: 15px;
  font-weight: 500;
}

.social-copy small {
  color: var(--muted);
  font-size: 11px;
}

.open-link {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 10px rgba(22, 119, 237, 0.2);
  font-size: 18px;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.social-link:hover .open-link,
.social-link:focus-visible .open-link {
  background: #0868d9;
  box-shadow: 0 6px 14px rgba(22, 119, 237, 0.28);
  transform: translate(2px, -2px);
}

footer {
  margin-top: 36px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

@media (max-width: 560px) {
  body,
  a,
  button {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .page-shell {
    width: min(100% - 28px, 520px);
    padding-top: 52px;
  }

  h1 {
    margin-bottom: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
