:root {
  color-scheme: dark;
  --bg: #07080d;
  --panel: rgba(17, 19, 27, 0.72);
  --panel-strong: rgba(21, 23, 34, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f1f4fb;
  --muted: #9aa3b7;
  --soft: #626b80;
  --magenta: #f04494;
  --cyan: #33c7f6;
  --green: #43d18d;
  --violet: #8b7cf6;
  --amber: #f1b454;
  --orange: #ff9900;
  --radius: 18px;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* Base resets for showcase page */
.showcase-body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(51, 199, 246, 0.18), transparent 30rem),
    radial-gradient(circle at 12% 18%, rgba(240, 68, 148, 0.14), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(67, 209, 141, 0.10), transparent 25rem),
    linear-gradient(180deg, #090a10 0%, #0b0d13 48%, #07080d 100%);
  letter-spacing: 0;
  position: relative;
  overflow-x: hidden;
}

.showcase-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 74%);
}

.linktree-shell {
  position: relative;
  width: min(100% - 28px, 610px);
  margin: 0 auto;
  padding: 22px 0 46px;
}

.profile-card {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 30px 10px 20px;
}

.brand-orbit {
  position: absolute;
  top: 18px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background:
    conic-gradient(from 160deg, var(--magenta), var(--cyan), var(--green), var(--violet), var(--magenta));
  filter: blur(34px);
  opacity: 0.34;
}

.avatar {
  position: relative;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(145deg, #111424, #080912);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.36);
}

.avatar img {
  width: 62px;
  height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(226, 53, 26, 0.28));
}

.eyebrow {
  margin: 16px 0 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.showcase-h1 {
  max-width: 430px;
  margin-bottom: 12px;
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}

.bio {
  max-width: 500px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.social-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.social-button {
  position: relative;
  grid-column: span 2;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  text-decoration: none;
}

.social-button:hover,
.link-card:hover,
.category-nav a:hover,
.footer-card a:hover {
  transform: translateY(-2px);
}

.social-button.primary {
  grid-column: span 6;
  background:
    linear-gradient(90deg, rgba(240, 68, 148, 0.18), rgba(51, 199, 246, 0.16)),
    rgba(255, 255, 255, 0.08);
}

.social-button.showcase {
  grid-column: span 3;
}

.brand-link {
  justify-content: flex-start;
  min-height: 70px;
  padding: 11px 13px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(14, 16, 24, 0.96);
  border-color: rgba(255, 255, 255, 0.14);
}

.brand-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #080912;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.brand-badge img {
  width: 27px;
  height: 29px;
  object-fit: contain;
}

.shackit-mark img {
  width: 31px;
  height: 31px;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
}

.brand-copy strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  color: rgba(241, 244, 251, 0.68);
  font-size: 11px;
  line-height: 1.25;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.social-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram { color: #ff62b7; }
.whatsapp { color: #4ade80; }
.phone { color: #7dd3fc; }
.email { color: #f9a8d4; }
.linkedin { color: #62b8ff; }

.in-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #0a66c2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.category-nav {
  position: sticky;
  top: 8px;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  margin: 4px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  background: #090b12;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.42);
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar { display: none; }

.category-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 13, 27, 0.78);
  color: #f7f7ff;
  font-size: 12px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
  text-decoration: none;
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.search-panel input {
  width: 100%;
  min-height: 38px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 0 8px 0 10px;
}

.search-panel input::placeholder {
  color: rgba(247, 247, 255, 0.45);
}

.search-panel span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 11px;
}

.links-root {
  display: grid;
  gap: 14px;
}

.link-section {
  scroll-margin-top: 82px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045)),
    var(--panel);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
  padding: 11px;
  backdrop-filter: blur(24px);
}

.section-title {
  padding: 9px 9px 12px;
}

.section-title p {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
}

.link-list {
  display: grid;
  gap: 8px;
}

.link-card {
  --accent: var(--cyan);
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 11px;
  min-height: 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 54%),
    rgba(255, 255, 255, 0.075);
  padding: 9px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  text-decoration: none;
}

.link-card:hover {
  border-color: color-mix(in srgb, var(--accent) 48%, white 0%);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 58%),
    rgba(255, 255, 255, 0.11);
}

.thumb {
  position: relative;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 72%, #fff 0%), rgba(255, 255, 255, 0.12)),
    #16182b;
}

.thumb img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb img.is-broken {
  display: none;
}

.thumb-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #080912;
  font-weight: 900;
}

.link-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.link-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-copy small {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.open-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.open-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-section.magenta { --accent: var(--magenta); }
.link-section.cyan { --accent: var(--cyan); }
.link-section.green { --accent: var(--green); }
.link-section.violet { --accent: var(--violet); }
.link-section.amber { --accent: var(--amber); }
.link-section.orange { --accent: var(--orange); }

.is-hidden { display: none !important; }

.footer-card {
  margin-top: 18px;
  padding: 22px 18px 28px;
  text-align: center;
  color: var(--muted);
}

.footer-card p {
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-card a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  color: #080912;
  font-weight: 700;
  padding: 12px 18px;
  transition: transform 180ms ease;
  text-decoration: none;
}

@media (max-width: 520px) {
  .linktree-shell {
    width: min(100% - 22px, 610px);
    padding-top: 16px;
  }
  .profile-card { padding-inline: 4px; }
  .social-row { grid-template-columns: 1fr; }
  .social-button, .social-button.primary, .social-button.showcase { grid-column: span 1; }
  .search-panel { border-radius: 24px; }
  .link-card {
    grid-template-columns: 68px minmax(0, 1fr) 30px;
    min-height: 88px;
    border-radius: 18px;
  }
  .thumb { width: 68px; height: 68px; border-radius: 13px; }
}
