:root {
  --bg-1: #02091d;
  --bg-2: #07142e;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f2f5ff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 19% 27%, rgba(255, 84, 84, 0.22), transparent 11%),
    radial-gradient(circle at 73% 67%, rgba(36, 203, 137, 0.22), transparent 12%),
    radial-gradient(circle at 85% 73%, rgba(100, 126, 255, 0.22), transparent 12%),
    linear-gradient(90deg, #010816 0%, #031232 50%, #07162f 100%);
  display: grid;
  place-items: center;
  padding: 24px 20px;
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

body::before {
  left: 6%;
  top: 15%;
  background: rgba(255, 92, 92, 0.3);
}

body::after {
  right: 8%;
  bottom: 16%;
  background: rgba(78, 107, 255, 0.3);
}

.wrapper {
  width: min(100%, 560px);
  position: relative;
  z-index: 1;
}

.card {
  position: relative;
  padding: 20px 22px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(32, 45, 79, 0.8), rgba(14, 22, 45, 0.88));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    transparent 20%,
    transparent 80%,
    rgba(255, 255, 255, 0.03)
  );
  pointer-events: none;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(204, 0, 255, 0.15);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  transition: transform 0.2s;
}

.avatar:hover {
  transform: scale(1.05);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 16px;
}

.instagram {
  background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045);
}

.tiktok {
  background: linear-gradient(90deg, #0f0f0f, #1f1f1f);
}

.social {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.social:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.14);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: white;
  border-radius: 18px;
  padding: 13px 15px;
  min-height: 72px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(0);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.link-card:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.04);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.link-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.link-title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.link-subtitle {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 500;
  line-height: 1.2;
}

.youtube {
  background: linear-gradient(90deg, #dc3134, #f35153);
}

.twitch {
  background: linear-gradient(90deg, #572e9f, #7c4ed3);
}

.discord {
  background: linear-gradient(90deg, #3557b7, #5576eb);
}

.contact {
  background: linear-gradient(90deg, #424a5b, #596273);
}

.footer-note {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 680px) {
  .wrapper {
    width: min(100%, 630px);
  }

  .card {
    padding: 20px 16px 22px;
    border-radius: 22px;
  }

  .avatar {
    width: 92px;
    height: 92px;
  }

  .social {
    width: 50px;
    height: 50px;
  }

  .links {
    gap: 14px;
  }

  .link-card {
    min-height: 82px;
    padding: 14px;
    gap: 14px;
  }

  .icon-box {
    width: 50px;
    height: 50px;
  }

  .link-title {
    font-size: 1rem;
  }

  .link-subtitle {
    font-size: 0.9rem;
  }

  svg {
    width: 25px;
    height: 25px;
  }
}