:root {
  --sj-bg-deep: #09080c;
  --sj-bg-card: rgba(20, 18, 26, 0.88);
  --sj-surface: rgba(30, 27, 39, 0.85);
  --sj-surface-hover: rgba(42, 37, 54, 0.96);
  --sj-border: rgba(255, 255, 255, 0.09);
  --sj-gold-light: #f3d299;
  --sj-gold: #d89b52;
  --sj-gold-deep: #b56e2c;
  --sj-rose: #e57399;
  --sj-text: #f7f3ed;
  --sj-text-dim: #b3aab8;
  --sj-text-muted: #7e7585;
  --sj-radius-card: 28px;
  --sj-radius-pill: 18px;
}

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

html,
body {
  min-height: 100%;
  background-color: var(--sj-bg-deep);
  color: var(--sj-text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 16px 40px;
  position: relative;
  overflow-x: hidden;
}

.sj-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 155, 82, 0.19) 0%, transparent 52%),
    radial-gradient(circle at 85% 85%, rgba(229, 115, 153, 0.11) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(216, 155, 82, 0.09) 0%, transparent 45%);
}

.sj-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.sj-card {
  width: 100%;
  background: var(--sj-bg-card);
  border: 1px solid var(--sj-border);
  border-radius: var(--sj-radius-card);
  padding: 28px 20px 24px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

/* Header / Avatar */
.sj-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.sj-avatar-wrap {
  position: relative;
  margin-bottom: 12px;
}

.sj-avatar-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--sj-gold-light), var(--sj-gold), var(--sj-gold-deep));
  box-shadow: 0 8px 26px rgba(216, 155, 82, 0.28);
}

.sj-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #231e2d 0%, #100e15 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sj-avatar-svg {
  width: 52px;
  height: 52px;
}

.sj-age-pill {
  position: absolute;
  bottom: -2px;
  right: -6px;
  background: linear-gradient(135deg, #d89b52, #b56e2c);
  color: #09080c;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  border: 2px solid #121018;
}

.sj-title-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.sj-handle {
  font-family: "Syne", sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sj-text);
}

.sj-verified {
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--sj-gold);
}

.sj-brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sj-gold-light);
  margin-bottom: 6px;
}

.sj-tagline {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--sj-text-dim);
  max-width: 370px;
  margin-bottom: 14px;
}

/* Quick Social Row */
.sj-quick-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sj-social-chip {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--sj-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  text-decoration: none;
}

.sj-social-chip svg {
  width: 17px;
  height: 17px;
}

.sj-social-chip:hover {
  transform: translateY(-2px);
  border-color: var(--sj-gold);
  background: rgba(216, 155, 82, 0.15);
  color: var(--sj-gold-light);
}

/* Linktree Stack */
.sj-links-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sj-link-btn {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--sj-radius-pill);
  background: var(--sj-surface);
  border: 1px solid var(--sj-border);
  color: var(--sj-text);
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.sj-link-btn:hover {
  transform: translateY(-1.5px);
  background: var(--sj-surface-hover);
  border-color: rgba(243, 210, 153, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.sj-link-featured {
  background: linear-gradient(135deg, rgba(216, 155, 82, 0.22) 0%, rgba(35, 29, 44, 0.92) 100%);
  border: 1.5px solid rgba(243, 210, 153, 0.62);
  box-shadow: 0 10px 28px rgba(216, 155, 82, 0.16);
}

.sj-link-casting {
  background: linear-gradient(135deg, rgba(229, 115, 153, 0.16) 0%, rgba(31, 26, 40, 0.92) 100%);
  border: 1px solid rgba(229, 115, 153, 0.42);
}

.sj-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sj-gold-light);
}

.sj-link-casting .sj-link-icon {
  color: #f6b4ca;
}

.sj-link-icon svg {
  width: 19px;
  height: 19px;
}

.sj-link-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
  flex: 1;
}

.sj-link-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--sj-text);
  line-height: 1.25;
}

.sj-link-subtitle {
  font-size: 12px;
  color: var(--sj-text-dim);
  line-height: 1.3;
  margin-top: 2px;
}

.sj-link-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sj-text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.sj-badge-gold {
  background: linear-gradient(135deg, var(--sj-gold-light), var(--sj-gold));
  color: #120f17;
  border: none;
}

.sj-badge-casting {
  background: rgba(229, 115, 153, 0.2);
  color: #ffd1e0;
  border-color: rgba(229, 115, 153, 0.4);
}

.sj-link-arrow {
  font-size: 14px;
  color: var(--sj-text-muted);
  flex-shrink: 0;
  margin-left: 2px;
}

/* Footer */
.sj-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  font-size: 12px;
  color: var(--sj-text-muted);
}

.sj-footer a {
  color: var(--sj-gold-light);
  text-decoration: none;
}

.sj-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  body {
    padding: 12px 10px 24px;
  }
  .sj-card {
    padding: 22px 14px 18px;
    border-radius: 22px;
  }
  .sj-link-btn {
    padding: 12px 12px;
    gap: 10px;
  }
  .sj-link-title {
    font-size: 13.5px;
  }
}
