/* ==========================================================================
   SocialPoint - Public Bio-Link Stylesheet
   Modern Glassmorphism & High-Aesthetic Theme Engine
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Default: glass-dark theme */
  --bg-gradient: radial-gradient(ellipse at 50% 0%, #1e1b4b 0%, #0f172a 50%, #020617 100%);
  --bg-color: #030712;
  --mesh-1: rgba(99, 102, 241, 0.75);   /* Cosmic Electric Indigo */
  --mesh-2: rgba(245, 158, 11, 0.65);   /* Monk Amber Flame */
  --mesh-3: rgba(168, 85, 247, 0.70);   /* Vibrant Royal Violet */
  --mesh-4: rgba(14, 165, 233, 0.60);   /* Electric Cyan */
  --mesh-5: rgba(234, 88, 12, 0.50);    /* Warm Saffron Sunset */

  --card-bg: rgba(255, 255, 255, 0.04);
  --card-hover-bg: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-hover-border: rgba(99, 102, 241, 0.5);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --card-hover-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.3);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-primary: #6366f1;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --accent-glow: rgba(99, 102, 241, 0.35);

  --badge-bg: rgba(99, 102, 241, 0.2);
  --badge-text: #a5b4fc;
  --badge-border: rgba(99, 102, 241, 0.3);

  --social-btn-bg: rgba(255, 255, 255, 0.05);
  --social-btn-hover: rgba(255, 255, 255, 0.12);
  --social-btn-border: rgba(255, 255, 255, 0.1);

  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-card: 20px;
  --radius-avatar: 50%;
}



/* Theme: Cyberpunk Neon */
body.theme-cyberpunk {
  --bg-gradient: radial-gradient(circle at top right, #1e0533 0%, #090014 60%, #000000 100%);
  --bg-color: #06000c;
  --mesh-1: rgba(0, 240, 255, 0.15);
  --mesh-2: rgba(255, 0, 128, 0.15);
  --card-bg: rgba(18, 5, 33, 0.6);
  --card-hover-bg: rgba(28, 10, 50, 0.8);
  --card-border: rgba(0, 240, 255, 0.25);
  --card-hover-border: #00f0ff;
  --card-hover-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  --text-main: #f0fdf4;
  --text-muted: #a78bfa;
  --accent-primary: #00f0ff;
  --accent-gradient: linear-gradient(135deg, #00f0ff 0%, #ff007f 100%);
  --badge-bg: rgba(255, 0, 128, 0.2);
  --badge-text: #ff77c6;
  --badge-border: rgba(255, 0, 128, 0.4);
}


/* Theme: Sunset Glow */
body.theme-sunset-glow {
  --bg-gradient: radial-gradient(circle at 10% 20%, #4a0e2e 0%, #2a0845 50%, #110326 100%);
  --bg-color: #120326;
  --mesh-1: rgba(249, 115, 22, 0.2);
  --mesh-2: rgba(236, 72, 153, 0.2);
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-hover-bg: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-hover-border: #f97316;
  --card-hover-shadow: 0 15px 35px -10px rgba(249, 115, 22, 0.35);
  --text-main: #fff7ed;
  --text-muted: #fed7aa;
  --accent-primary: #f97316;
  --accent-gradient: linear-gradient(135deg, #f97316 0%, #f43f5e 50%, #a855f7 100%);
  --badge-bg: rgba(249, 115, 22, 0.2);
  --badge-text: #fdba74;
  --badge-border: rgba(249, 115, 22, 0.4);
}

/* Theme: Obsidian Gold */
body.theme-obsidian-gold {
  --bg-gradient: radial-gradient(circle at top, #1c1917 0%, #0c0a09 60%, #000000 100%);
  --bg-color: #0c0a09;
  --mesh-1: rgba(234, 179, 8, 0.12);
  --mesh-2: rgba(217, 119, 6, 0.1);
  --card-bg: rgba(35, 31, 28, 0.6);
  --card-hover-bg: rgba(45, 40, 35, 0.85);
  --card-border: rgba(234, 179, 8, 0.25);
  --card-hover-border: #eab308;
  --card-hover-shadow: 0 15px 35px -10px rgba(234, 179, 8, 0.25);
  --text-main: #fefce8;
  --text-muted: #d6d3d1;
  --accent-primary: #eab308;
  --accent-gradient: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  --badge-bg: rgba(234, 179, 8, 0.15);
  --badge-text: #fef08a;
  --badge-border: rgba(234, 179, 8, 0.35);
}

/* Theme: Emerald Forest */
body.theme-emerald-forest {
  --bg-gradient: radial-gradient(circle at top left, #062c21 0%, #021a13 50%, #010d0a 100%);
  --bg-color: #02120d;
  --mesh-1: rgba(16, 185, 129, 0.18);
  --mesh-2: rgba(5, 150, 105, 0.12);
  --card-bg: rgba(6, 44, 33, 0.5);
  --card-hover-bg: rgba(10, 60, 45, 0.7);
  --card-border: rgba(16, 185, 129, 0.2);
  --card-hover-border: #10b981;
  --card-hover-shadow: 0 15px 35px -10px rgba(16, 185, 129, 0.3);
  --text-main: #ecfdf5;
  --text-muted: #a7f3d0;
  --accent-primary: #10b981;
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
  --badge-bg: rgba(16, 185, 129, 0.2);
  --badge-text: #6ee7b7;
  --badge-border: rgba(16, 185, 129, 0.35);
}

/* Button / Card shapes - Portfolio Rounded Pill Shape */
.style-glass-pill .link-card,
.style-glass-rounded .link-card,
.style-sharp .link-card,
.link-card {
  border-radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Animated Liquid Gradient Mesh */
.ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-color);
  background-image: var(--bg-gradient);
}

.mesh-blob {
  position: absolute;
  filter: blur(85px);
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
  transform-origin: center center;
  transition: filter 0.6s ease, opacity 0.5s ease;
}

/* When JS mouse tracking is active, pause CSS animation and let JS drive transforms */
.mesh-blob.mouse-driven {
  animation-play-state: paused;
}

/* Cursor follower glow orb */
.cursor-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.38) 0%, rgba(168, 85, 247, 0.22) 40%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  transition: opacity 0.4s ease;
  opacity: 0;
}

/* Hover ripple state on interactive elements */
body:has(.link-card:hover) .cursor-glow,
body:has(.social-circle-btn:hover) .cursor-glow,
body:has(.action-pill-btn:hover) .cursor-glow {
  opacity: 1;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.45) 0%, rgba(99, 102, 241, 0.25) 40%, transparent 68%);
}


/* Blob 1: Cosmic Electric Indigo */
.blob-1 {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, var(--mesh-1) 0%, rgba(99, 102, 241, 0.22) 48%, transparent 72%);
  top: -160px;
  left: -140px;
  animation: floatMesh1 22s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

/* Blob 2: Monk Amber Flame */
.blob-2 {
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, var(--mesh-2) 0%, rgba(245, 158, 11, 0.20) 48%, transparent 72%);
  top: 10%;
  right: -140px;
  animation: floatMesh2 26s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

/* Blob 3: Royal Violet / Purple */
.blob-3 {
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, var(--mesh-3) 0%, rgba(168, 85, 247, 0.22) 50%, transparent 72%);
  bottom: -180px;
  left: 0%;
  animation: floatMesh3 28s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

/* Blob 4: Electric Cyan */
.blob-4 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, var(--mesh-4) 0%, rgba(14, 165, 233, 0.20) 46%, transparent 70%);
  bottom: 8%;
  right: -80px;
  animation: floatMesh4 24s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

/* Blob 5: Monk Saffron Sunset Aura */
.blob-5 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, var(--mesh-5) 0%, rgba(234, 88, 12, 0.16) 45%, transparent 68%);
  top: 38%;
  left: 32%;
  animation: floatMesh5 32s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

/* Subtle Animated Ambient Shimmer Canvas */
.mesh-canvas-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(99, 102, 241, 0.14) 0%, rgba(245, 158, 11, 0.09) 36%, transparent 72%);
  animation: pulseMeshGlow 14s ease-in-out infinite alternate;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes floatMesh1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate3d(190px, 150px, 0) scale(1.14) rotate(45deg);
  }
  66% {
    transform: translate3d(90px, 250px, 0) scale(0.92) rotate(90deg);
  }
  100% {
    transform: translate3d(250px, 70px, 0) scale(1.08) rotate(140deg);
  }
}

@keyframes floatMesh2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate3d(-170px, 130px, 0) scale(1.12) rotate(-55deg);
  }
  66% {
    transform: translate3d(-250px, -70px, 0) scale(0.88) rotate(-110deg);
  }
  100% {
    transform: translate3d(-100px, 190px, 0) scale(1.05) rotate(-170deg);
  }
}

@keyframes floatMesh3 {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate3d(150px, -190px, 0) scale(1.1) rotate(40deg);
  }
  66% {
    transform: translate3d(280px, -80px, 0) scale(0.9) rotate(80deg);
  }
  100% {
    transform: translate3d(110px, -250px, 0) scale(1.06) rotate(120deg);
  }
}

@keyframes floatMesh4 {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate3d(-190px, -150px, 0) scale(1.15) rotate(-50deg);
  }
  66% {
    transform: translate3d(-90px, -270px, 0) scale(0.85) rotate(-95deg);
  }
  100% {
    transform: translate3d(-230px, -80px, 0) scale(1.08) rotate(-155deg);
  }
}

@keyframes floatMesh5 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.9) rotate(0deg);
  }
  50% {
    transform: translate3d(-130px, 90px, 0) scale(1.22) rotate(180deg);
  }
  100% {
    transform: translate3d(110px, -70px, 0) scale(0.95) rotate(360deg);
  }
}

@keyframes pulseMeshGlow {
  0% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.1);
  }
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
}

/* Page Container */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  min-height: 100vh;
  padding: 40px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Top Action Header */
.top-actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.action-btn {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s ease;
  text-decoration: none;
}

.action-btn:hover {
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -6px rgba(0,0,0,0.3);
}

.action-btn svg {
  width: 16px;
  height: 16px;
}

/* Profile Header Section */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

.avatar-container {
  position: relative;
  margin-bottom: 18px;
}

.avatar-wrapper {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-avatar);
  padding: 3px;
  background: var(--accent-gradient);
  box-shadow: 0 10px 25px -5px var(--accent-glow);
  position: relative;
  transition: transform 0.3s ease;
}

.avatar-wrapper:hover {
  transform: scale(1.04);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-avatar);
  object-fit: cover;
  background: #1e293b;
  display: block;
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-avatar);
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
}

.name-badge-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.profile-name {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.verified-icon {
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(0 2px 8px var(--accent-glow));
}

.profile-handle {
  font-size: 0.95rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.profile-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 0.8rem;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}

.location-pill svg {
  width: 13px;
  height: 13px;
  color: var(--accent-primary);
}

/* Quick Social Icons Row - Positioned directly below link cards */
.social-icons-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 36px;
  width: 100%;
}

.social-circle-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--social-btn-bg);
  border: 1px solid var(--social-btn-border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.social-circle-btn svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease;
}

.social-circle-btn:hover {
  background: var(--social-btn-hover);
  border-color: var(--card-hover-border);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.3);
}

.social-circle-btn:hover svg {
  transform: scale(1.1);
}

/* Links Container - Always Full Width List */
.links-container,
#linksContainer,
#linksContainer.bento-grid {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 12px;
  margin-bottom: 24px;
}

/* Individual Link Card - Portfolio Rounded Pill Shape */
.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  padding: 11px 18px;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px !important;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: pointer;
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.link-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px) scale(1.006);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.4);
}

.link-card:hover::before {
  transform: translateX(100%);
}

.link-card:active {
  transform: translateY(0) scale(0.995);
}

/* Featured cards share the exact same clean transparent frosted glass design */
.link-card.is-featured {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.35);
  animation: none;
}

.link-card.is-featured:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.4);
}

.card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.card-icon-wrapper {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.link-card:hover .card-icon-wrapper {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.15);
}

.card-icon-wrapper svg {
  width: 19px;
  height: 19px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.card-icon-wrapper img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.card-subtitle {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
  line-height: 1.3;
}

.card-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.45);
  transition: transform 0.25s ease, color 0.25s ease;
}

.link-card:hover .arrow-icon {
  color: #ffffff;
  transform: translateX(3px);
}

.copy-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
}

/* Footer Section */
.page-footer {
  margin-top: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.brand-tag:hover {
  color: var(--text-main);
  border-color: var(--card-hover-border);
  transform: translateY(-2px);
}

.brand-logo-icon {
  width: 14px;
  height: 14px;
  color: var(--accent-primary);
}

/* Share & QR Code Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.qr-box {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.qr-box canvas, .qr-box svg {
  display: block;
}

.share-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.share-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.share-social-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.share-social-item svg {
  width: 22px;
  height: 22px;
}

.share-url-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px 6px 6px 14px;
}

.share-url-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
  outline: none;
}

.copy-url-btn {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.copy-url-btn:hover {
  opacity: 0.9;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #10b981;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

.toast-msg.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   New Interactive & Scalability UI Components
   ========================================================================== */

/* Animated Avatar Ring & Glow */
.avatar-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.avatar-ring-glow {
  position: absolute;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ea580c, #f97316, #fb923c, #ea580c);
  opacity: 0.85;
  filter: blur(8px);
  animation: spinHalo 10s linear infinite;
  z-index: 0;
}

@keyframes spinHalo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-wrapper {
  position: relative;
  z-index: 1;
}

/* Creator Status Pill */
.creator-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.creator-status-badge:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  position: relative;
  display: inline-block;
}

.beacon-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.6;
  animation: beaconPulse 2s infinite ease-out;
}

@keyframes beaconPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ==========================================================================
   MONK MEDIA SPACE - Top Navigation Brand Bar (Dark Ambient)
   ========================================================================== */
.top-brand-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 15, 30, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.brand-bar-inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-monogram-box {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.monogram-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.35);
  transition: transform 0.2s ease;
}

.brand-monogram-box:hover .monogram-logo {
  transform: scale(1.06);
}

.brand-monogram-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 85, 0, 0.5);
  box-shadow: 0 0 12px rgba(255, 85, 0, 0.35);
  transition: transform 0.2s ease;
}

.brand-monogram-box:hover .brand-monogram-img {
  transform: scale(1.08);
}

/* Empty Links State */
.empty-links-state {
  width: 100%;
  padding: 36px 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.empty-links-icon-wrap {
  margin-bottom: 12px;
}

.empty-links-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 85, 0, 0.45);
  box-shadow: 0 6px 20px rgba(255, 85, 0, 0.3);
}

.empty-links-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.empty-links-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.empty-links-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5500, #ff7700);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 85, 0, 0.4);
  transition: all 0.22s ease;
}

.empty-links-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 85, 0, 0.55);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.action-pill-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.action-pill-btn.admin-btn {
  background: rgba(234, 88, 12, 0.16);
  border-color: rgba(234, 88, 12, 0.35);
  color: #fb923c;
}

.action-pill-btn.admin-btn:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.action-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.action-circle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Modal & Footer */
.modal-brand-header {
  text-align: center;
  margin-bottom: 12px;
}

.footer-monogram {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #ff5500;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
}

.footer-tagline {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ==========================================================================
   Compact Mobile Sizing Engine (max-width: 600px)
   Noticeably smaller, compact, clean cards and elements for mobile devices
   ========================================================================== */
@media (max-width: 600px) {
  .page-wrapper {
    padding: 16px 14px 44px;
    max-width: 100%;
  }

  .top-brand-bar {
    padding: 8px 12px;
  }

  .monogram-logo {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .brand-title {
    font-size: 0.85rem;
  }

  .btn-label-desktop {
    display: none;
  }

  .action-pill-btn {
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  .action-circle-btn {
    width: 30px;
    height: 30px;
  }

  .action-circle-btn svg {
    width: 14px;
    height: 14px;
  }

  .blob-1 { width: 440px; height: 440px; filter: blur(65px); }
  .blob-2 { width: 400px; height: 400px; filter: blur(65px); }
  .blob-3 { width: 460px; height: 460px; filter: blur(65px); }
  .blob-4 { width: 380px; height: 380px; filter: blur(65px); }
  .blob-5 { width: 350px; height: 350px; filter: blur(65px); }

  .profile-section {
    margin-bottom: 18px;
  }

  .avatar-container {
    margin-bottom: 10px;
  }

  .avatar-ring-glow {
    width: 78px;
    height: 78px;
    filter: blur(6px);
  }

  .avatar-wrapper {
    width: 70px;
    height: 70px;
  }

  .avatar-fallback {
    font-size: 1.45rem;
  }

  .name-badge-row {
    gap: 6px;
    margin-bottom: 2px;
  }

  .profile-name {
    font-size: 1.2rem;
  }

  .verified-icon svg {
    width: 16px;
    height: 16px;
  }

  .profile-handle {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .profile-bio {
    font-size: 0.8rem;
    line-height: 1.42;
    margin-bottom: 10px;
    max-width: 300px;
  }

  .location-pill {
    padding: 3px 8px;
    font-size: 0.7rem;
    gap: 4px;
  }

  .social-icons-row {
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 24px;
  }

  .social-circle-btn {
    width: 36px;
    height: 36px;
  }

  .social-circle-btn svg {
    width: 16px;
    height: 16px;
  }

  .links-container {
    gap: 9px;
    margin-bottom: 16px;
    width: 100% !important;
  }

  .link-card {
    padding: 8px 14px;
    border-radius: 22px !important;
    min-height: 48px;
    gap: 8px;
  }

  .card-left {
    gap: 10px;
  }

  .card-icon-wrapper {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 9px;
  }

  .card-icon-wrapper svg {
    width: 16px;
    height: 16px;
  }

  .card-icon-wrapper img {
    width: 16px;
    height: 16px;
  }

  .card-title {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .card-badge {
    font-size: 0.58rem;
    padding: 1px 5px;
    border-radius: 999px;
  }

  .card-subtitle {
    font-size: 0.7rem;
    margin-top: 1px;
    max-width: 200px;
  }

  .card-right {
    gap: 4px;
    margin-left: 5px;
  }

  .copy-btn {
    padding: 3px;
  }

  .copy-btn svg {
    width: 13px;
    height: 13px;
  }

  .arrow-icon {
    width: 14px;
    height: 14px;
  }

  .brand-tag {
    font-size: 0.74rem;
    padding: 4px 10px;
  }

  .modal-content {
    max-width: 320px;
    padding: 18px 14px;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 1.1rem;
  }

  .modal-desc {
    font-size: 0.78rem;
    margin-bottom: 14px;
  }

  .qr-box {
    padding: 10px;
    margin-bottom: 14px;
  }

  .qr-box img {
    width: 140px !important;
    height: 140px !important;
  }

  .share-buttons-grid {
    gap: 6px;
    margin-bottom: 14px;
  }

  .share-social-item {
    padding: 6px 4px;
    font-size: 0.68rem;
    border-radius: 8px;
  }

  .share-social-item svg {
    width: 16px;
    height: 16px;
  }

  .share-url-box {
    padding: 4px 4px 4px 8px;
  }

  .share-url-input {
    font-size: 0.75rem;
  }

  .copy-url-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

