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

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: #ffffff;
}

body {
  background: #000;
  overflow-x: hidden;
}

/* =========================
   BACKGROUND
   ========================= */
.bg {
  position: fixed;
  inset: 0;
  background-image: url("brad-nietfeldt-icon.jpeg");
  background-size: cover;
  background-position: center;
  filter: blur(34px) saturate(1.3) brightness(1.15);
  transform: scale(1.15);
  z-index: 0;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(0,0,0,.15), rgba(0,0,0,.45)),
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
}

/* =========================
   LAYOUT
   ========================= */
.wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 28px 16px 48px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: rgba(0,0,0,.82);
  border-radius: 24px;
  padding: 22px 18px 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

/* =========================
   PROFILE
   ========================= */
.profile {
  text-align: center;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.2);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile h1 {
  font-size: 22px;
  font-weight: 700;
}

.handle {
  font-size: 13px;
  opacity: .75;
}

.bio {
  font-size: 14px;
  line-height: 1.45;
  margin-top: 10px;
  opacity: .9;
}

/* =========================
   SOCIAL ICONS
   ========================= */
.socials {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  justify-items: center;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  transition: transform .1s ease, background .1s ease;
}

.socials a:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

/* =========================
   BUTTONS
   ========================= */
.links {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: transform .1s ease, background .1s ease;
}

.link-btn:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.link-btn.primary {
  background: linear-gradient(135deg, #2563eb, #dc2626);
  border: none;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  margin-top: 22px;
  font-size: 12px;
  opacity: .65;
  text-align: center;
}

.footer a {
  background: linear-gradient(
    90deg,
    #1e3a8a,  /* deep blue */
    #7c3aed,  /* purple */
    #dc2626   /* red */
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  filter: brightness(1.15);
}

/* =========================
   MOBILE POLISH (≤768px)
   ========================= */
@media (max-width: 768px) {

  .bg {
    filter: blur(36px) saturate(1.5) brightness(1.25);
  }

  .bg::after {
    background:
      radial-gradient(circle at top, rgba(0,0,0,.05), rgba(0,0,0,.35)),
      linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.60));
  }

  .card {
    padding: 26px 20px 30px;
  }

  .profile {
    margin-bottom: 20px;
  }

  .avatar {
    width: 104px;
    height: 104px;
    margin-bottom: 14px;
  }

  h1 {
    font-size: 23px;
  }

  .bio {
    margin-top: 12px;
    line-height: 1.55;
  }

  .socials {
    margin-top: 22px;
    margin-bottom: 26px;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .socials a {
    width: 52px;
    height: 52px;
    font-size: 22px;
    border-radius: 14px;
  }

  .links {
    gap: 14px;
  }

  .link-btn {
    padding: 18px 20px;
    font-size: 16px;
    border-radius: 16px;
  }

  .footer {
    margin-top: 26px;
  }
}

/* =========================
   DESKTOP POLISH (≥1024px)
   ========================= */
@media (min-width: 1024px) {
  .bg {
    filter: blur(32px) saturate(1.4) brightness(1.2);
  }
}
