:root {
  color-scheme: dark;
  --bg: #0b0610;
  --surface: rgba(31, 17, 43, 0.76);
  --surface-hover: rgba(52, 24, 70, 0.92);
  --text: #fff8ff;
  --muted: #cdbbd4;
  --purple: #a72cff;
  --pink: #ff3a98;
  --border: rgba(255, 255, 255, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 7%, rgba(167, 44, 255, 0.34), transparent 29rem),
    radial-gradient(circle at 86% 94%, rgba(255, 58, 152, 0.26), transparent 32rem),
    linear-gradient(150deg, #08040d 0%, #16091c 48%, #08040d 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  content: "";
  filter: blur(72px);
  opacity: 0.26;
  pointer-events: none;
}

body::before {
  top: 15%;
  left: -10rem;
  background: var(--pink);
}

body::after {
  right: -10rem;
  bottom: 12%;
  background: var(--purple);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 560px);
  margin: 0 auto;
  padding: 52px 0 30px;
}

.profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.avatar-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple) 58%, #f4a7ff);
  box-shadow: 0 18px 58px rgba(166, 44, 255, 0.32);
}

.avatar {
  width: 100%;
  height: 100%;
  border: 5px solid #13091a;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 38%;
}

.mascot-badge {
  position: absolute;
  right: -12px;
  bottom: -7px;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(15, 7, 21, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.mascot-badge img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.eyebrow {
  margin: 26px 0 7px;
  color: #f1a8ff;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.21em;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-shadow: 0 8px 36px rgba(255, 58, 152, 0.2);
}

.handle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.links {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.social-link {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 66px;
  padding: 10px 18px 10px 12px;
  grid-template-columns: 46px 1fr 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.social-link::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 44%);
  content: "";
  opacity: 0.88;
  pointer-events: none;
}

.social-link > * {
  position: relative;
}

.social-link:hover {
  border-color: color-mix(in srgb, var(--accent) 62%, white 10%);
  background: var(--surface-hover);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 18%, transparent);
  transform: translateY(-2px);
}

.social-link:active {
  transform: translateY(0) scale(0.992);
}

.social-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, white 8%);
  border-radius: 13px;
  color: #fff;
  background: color-mix(in srgb, var(--accent) 28%, #140b1c);
}

.icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.kick-mark {
  font-size: 1.1rem;
  font-weight: 950;
  font-style: italic;
}

.arrow {
  justify-self: end;
  color: color-mix(in srgb, var(--accent) 72%, white 28%);
  font-size: 1.1rem;
}

.twitch { --accent: #a970ff; }
.kick { --accent: #53fc18; }
.youtube { --accent: #ff344c; }
.instagram { --accent: #ff4fa6; }
.tiktok { --accent: #34f6ea; }
.x { --accent: #bbaac7; }

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

footer img {
  object-fit: contain;
  opacity: 0.82;
}

@media (min-width: 700px) {
  .page-shell {
    padding-top: 68px;
    padding-bottom: 46px;
  }

  .social-link {
    min-height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
