:root {
  --bg: #05060b;
  --bg-2: #0b1020;
  --card: rgba(10, 14, 30, 0.72);
  --card-border: rgba(142, 230, 255, 0.22);
  --text: #eef7ff;
  --muted: #b6c7df;
  --cyan: #56e4ff;
  --cyan-2: #7fdcff;
  --pink: #ff5fe4;
  --purple: #9a6cff;
  --shadow: 0 0 20px rgba(86, 228, 255, 0.22), 0 0 40px rgba(255, 95, 228, 0.12);
  --shadow-strong: 0 0 24px rgba(86, 228, 255, 0.32), 0 0 60px rgba(255, 95, 228, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --max-width: 760px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(101, 66, 255, 0.16), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(86, 228, 255, 0.16), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(255, 95, 228, 0.16), transparent 18%),
    linear-gradient(180deg, #04050a 0%, #070b18 48%, #03040a 100%);
}

.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 28px 18px 90px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(86, 228, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 95, 228, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: .25;
}

.bg-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: .26;
}
.orb-1 { top: -80px; left: -80px; background: var(--cyan); }
.orb-2 { top: 80px; right: -100px; background: var(--pink); }

.page {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.icon-btn,
.social-link,
.link-share {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.profile-card {
  position: relative;
  text-align: center;
  padding: 34px 24px 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(18, 23, 44, 0.92), rgba(9, 12, 24, 0.86));
  border: 1px solid rgba(129, 231, 255, 0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(86,228,255,.9), rgba(154,108,255,.55), rgba(255,95,228,.85));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
}

.profile-glow {
  position: absolute;
  inset: -10% 18% auto;
  height: 160px;
  background: radial-gradient(circle, rgba(110, 222, 255, .25), transparent 65%);
  filter: blur(12px);
}

.avatar-frame {
  width: 170px;
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  box-shadow: var(--shadow-strong);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  background: #05070d;
}

.profile-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-shadow: 0 0 16px rgba(86, 228, 255, .25), 0 0 22px rgba(255, 95, 228, .18);
}

.tagline {
  max-width: 620px;
  margin: 12px auto 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(86, 228, 255, 0.12);
}

.links-section {
  margin-top: 26px;
}

.section-kicker {
  margin: 0 0 14px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .76rem;
  color: #8dc7ea;
}

.links-list {
  display: grid;
  gap: 16px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(13, 18, 38, .94), rgba(8, 11, 24, .92));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(86,228,255,0.12), transparent 32%, transparent 68%, rgba(255,95,228,0.12));
  opacity: .8;
  pointer-events: none;
}

.link-thumb {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 16px rgba(86,228,255,.18);
  background: #0b1020;
}

.link-body {
  min-width: 0;
}

.link-title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
}

.link-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.5;
}

.link-arrow,
.link-share {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-share {
  cursor: pointer;
}

.footer-links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #91a7c5;
  font-size: .9rem;
}

.footer-links a,
.footer-links button {
  color: inherit;
  background: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 24px));
  padding: 18px;
  border-radius: 24px;
  background: rgba(8, 12, 26, 0.95);
  border: 1px solid rgba(141, 227, 255, 0.22);
  box-shadow: var(--shadow-strong);
  display: none;
  z-index: 15;
  backdrop-filter: blur(18px);
}

.cookie-banner.show { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-copy strong { display: block; margin-bottom: 6px; }
.cookie-copy p { margin: 0; color: var(--muted); line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary {
  color: #07111a;
  background: linear-gradient(90deg, var(--cyan), #d3f7ff);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(9, 14, 30, .94);
  border: 1px solid rgba(141, 227, 255, 0.25);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 30;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.icon-btn:hover,
.social-link:hover,
.link-share:hover,
.link-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-strong);
  border-color: rgba(141, 227, 255, 0.34);
}

@media (max-width: 640px) {
  .page-shell { padding-inline: 14px; }
  .profile-card { padding: 28px 18px 24px; }
  .avatar-frame { width: 140px; }
  .link-card {
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
  }
  .link-thumb { width: 72px; height: 72px; border-radius: 18px; }
  .link-share { display: none; }
  .cookie-banner.show { display: grid; }
}
