/* ==========================================================================
   VYRON BIO / NOIZ CLONE DASHBOARD STYLESHEET
   Full dark mode, 1:1 match with app.noiz.bio design system
   ========================================================================== */

:root {
  --bio-bg: #000000;
  --bio-sidebar-bg: #070709;
  --bio-card-bg: #0e0f14;
  --bio-card-border: rgba(255, 255, 255, 0.08);
  --bio-card-hover: rgba(255, 255, 255, 0.12);
  --bio-accent: #78bce3;
  --bio-accent-glow: rgba(120, 188, 227, 0.25);
  --bio-purple: #8b5cf6;
  --bio-text: #f3f4f6;
  --bio-text-dim: #8e929b;
  --bio-text-muted: #525866;
  --bio-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bio-mono: "DM Mono", monospace;
  --bio-radius-sm: 8px;
  --bio-radius-md: 14px;
  --bio-radius-lg: 20px;
  --bio-radius-xl: 28px;
}

/* Base Bio Page Container */
.bio-app-container {
  min-height: 100vh;
  background: var(--bio-bg);
  color: var(--bio-text);
  font-family: var(--bio-font);
  display: flex;
  overflow-x: hidden;
  position: relative;
  z-index: 10;
}

/* Hide main site topbar when inside /bio for authentic app experience */
body.in-bio-view #main-topbar {
  display: none !important;
}

/* Bio Sidebar */
.bio-sidebar {
  width: 250px;
  min-width: 250px;
  height: 100vh;
  position: sticky;
  top: 0;
  background: var(--bio-sidebar-bg);
  border-right: 1px solid var(--bio-card-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 14px 16px;
  overflow-y: auto;
  z-index: 40;
}

.bio-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 16px;
}

.bio-brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
}

.bio-brand-logo .brand-icon-svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 10px var(--bio-accent-glow));
}

.bio-brand-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(120, 188, 227, 0.15);
  color: var(--bio-accent);
  border: 1px solid rgba(120, 188, 227, 0.3);
}

.bio-nav-section-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--bio-text-muted);
  text-transform: uppercase;
  padding: 10px 12px 4px;
}

.bio-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}

.bio-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--bio-text-dim);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}

.bio-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.bio-nav-link.active {
  background: #17181f;
  color: #fff;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bio-nav-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bio-nav-link-left svg {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.bio-nav-link.active .bio-nav-link-left svg {
  opacity: 1;
  color: var(--bio-accent);
}

.bio-nav-badge-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--bio-text-muted);
}

/* Sidebar Bottom CTAs */
.bio-sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bio-upgrade-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bio-radius-md);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.bio-upgrade-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(120, 188, 227, 0.5);
  box-shadow: 0 4px 16px rgba(120, 188, 227, 0.15);
}

.bio-upgrade-pill-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bio-upgrade-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.bio-upgrade-text-title {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
}

.bio-upgrade-text-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bio-text-muted);
}

.bio-discord-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: var(--bio-radius-md);
  color: #c7d2fe;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.bio-discord-btn:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: rgba(88, 101, 242, 0.45);
  color: #fff;
}

.bio-user-profile-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: #101117;
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius-md);
  cursor: pointer;
  transition: background 0.15s ease;
}

.bio-user-profile-pill:hover {
  background: #171822;
}

.bio-user-avatar-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a2d3d;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bio-user-info-text {
  flex: 1;
  margin-left: 10px;
  overflow: hidden;
}

.bio-user-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bio-user-handle {
  font-size: 10px;
  color: var(--bio-text-muted);
}

/* Center Editor Content Canvas */
.bio-main-viewport {
  flex: 1;
  display: flex;
  min-height: 100vh;
  position: relative;
  background: #000000;
}

.bio-editor-pane {
  flex: 1;
  padding: 24px 32px 60px;
  max-width: 820px;
  overflow-y: auto;
  border-right: 1px solid var(--bio-card-border);
}

/* Topbar inside Editor */
.bio-editor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.bio-search-box {
  flex: 1;
  max-width: 380px;
  position: relative;
}

.bio-search-input {
  width: 100%;
  background: #0c0d12;
  border: 1px solid var(--bio-card-border);
  border-radius: 12px;
  padding: 9px 40px 9px 36px;
  font-size: 13px;
  color: #fff;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.bio-search-input:focus {
  border-color: var(--bio-accent);
}

.bio-search-icon-left {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bio-text-muted);
  width: 14px;
  height: 14px;
}

.bio-kbd-pill {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #171822;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 10px;
  font-family: var(--bio-mono);
  color: var(--bio-text-muted);
}

.bio-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bio-view-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.bio-view-profile-btn:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.bio-exit-btn {
  background: #101117;
  border: 1px solid var(--bio-card-border);
  border-radius: 12px;
  color: var(--bio-text-dim);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.bio-exit-btn:hover {
  background: #1b1c26;
  color: #fff;
}

/* Banner Announcement Card (Noiz style) */
.bio-promo-banner {
  background: linear-gradient(135deg, #111218, #0a0b10);
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.bio-promo-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 15%;
  width: 140px;
  height: 100%;
  background: radial-gradient(circle, rgba(120, 188, 227, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.bio-promo-banner-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #fff;
}

.bio-promo-banner-desc {
  font-size: 12.5px;
  color: var(--bio-text-dim);
  line-height: 1.4;
}

.bio-unlock-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.bio-unlock-btn:hover {
  transform: translateY(-2px);
  background: #e2e8f0;
}

/* Cards & Sections */
.bio-card-panel {
  background: var(--bio-card-bg);
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius-lg);
  padding: 24px;
  margin-bottom: 22px;
  transition: border-color 0.2s ease;
}

.bio-card-panel:hover {
  border-color: var(--bio-card-hover);
}

.bio-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bio-step-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--bio-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.bio-panel-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.bio-panel-desc {
  font-size: 13px;
  color: var(--bio-text-dim);
  margin-top: 4px;
}

/* Form Controls */
.bio-form-group {
  margin-bottom: 20px;
}

.bio-form-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bio-form-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.bio-char-count {
  font-size: 11px;
  color: var(--bio-text-muted);
  font-family: var(--bio-mono);
}

.bio-input, .bio-textarea {
  width: 100%;
  background: #09090d;
  border: 1px solid var(--bio-card-border);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13.5px;
  color: #fff;
  outline: none;
  font-family: inherit;
  transition: all 0.15s ease;
}

.bio-input:focus, .bio-textarea:focus {
  border-color: var(--bio-accent);
  box-shadow: 0 0 0 3px rgba(120, 188, 227, 0.12);
}

.bio-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

/* Toggle Switch Rows */
.bio-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #09090d;
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius-md);
  margin-bottom: 12px;
}

.bio-toggle-info {
  flex: 1;
  padding-right: 16px;
}

.bio-toggle-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.bio-toggle-subtitle {
  font-size: 12px;
  color: var(--bio-text-dim);
  margin-top: 2px;
}

/* Sleek iOS/Noiz Toggle Switch */
.bio-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.bio-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.bio-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #272733;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 24px;
}

.bio-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

.bio-switch input:checked + .bio-slider {
  background-color: #fff;
}

.bio-switch input:checked + .bio-slider:before {
  transform: translateX(20px);
  background-color: #000;
}

/* Quick Actions 2x2 Grid (Screenshot 39) */
.bio-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.bio-quick-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #0d0e14;
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  color: #fff;
}

.bio-quick-card:hover {
  background: #141620;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.bio-quick-card.discord-card {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  border: none;
}

.bio-quick-card.discord-card:hover {
  background: linear-gradient(135deg, #4752c4, #3c45a5);
}

.bio-quick-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bio-quick-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 15px;
}

.bio-quick-card.discord-card .bio-quick-icon {
  background: rgba(255, 255, 255, 0.2);
}

.bio-quick-title {
  font-size: 13.5px;
  font-weight: 700;
}

.bio-quick-sub {
  font-size: 11px;
  color: var(--bio-text-muted);
}

.bio-quick-card.discord-card .bio-quick-sub {
  color: rgba(255, 255, 255, 0.8);
}

/* Analytics Stats Row */
.bio-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.bio-stat-box {
  background: #09090d;
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius-md);
  padding: 16px 18px;
}

.bio-stat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--bio-text-dim);
  font-weight: 600;
  margin-bottom: 8px;
}

.bio-stat-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  font-family: var(--bio-mono);
}

/* Badges Grid (Screenshot 68 & 73) */
.bio-badges-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.bio-badge-select-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: #09090d;
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  text-align: center;
}

.bio-badge-select-item:hover {
  background: #12131b;
  border-color: rgba(255, 255, 255, 0.16);
}

.bio-badge-select-item.active {
  background: rgba(120, 188, 227, 0.08);
  border-color: var(--bio-accent);
  box-shadow: 0 0 16px rgba(120, 188, 227, 0.2);
}

.bio-badge-select-item.is-premium-badge {
  border-color: rgba(251, 191, 36, 0.4);
}

.bio-badge-select-item.is-premium-badge.active {
  background: rgba(251, 191, 36, 0.12);
  border-color: #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.bio-badge-icon-preview {
  font-size: 24px;
  margin-bottom: 6px;
}

.bio-badge-title-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
}

.bio-badge-active-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bio-accent);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
}

/* Links List in Editor */
.bio-link-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0a0b10;
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius-md);
  margin-bottom: 10px;
  transition: border-color 0.15s ease;
}

.bio-link-row-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.bio-link-left-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  overflow: hidden;
}

.bio-link-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #171822;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.bio-link-title-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.bio-link-url-text {
  font-size: 11px;
  color: var(--bio-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.bio-link-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bio-action-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--bio-text-dim);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
}

.bio-action-icon-btn:hover {
  background: #1a1c27;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.bio-action-icon-btn.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   RIGHT PANE: LIVE SMARTPHONE MOCKUP (1:1 with Screenshots 72, 42, 64)
   ========================================================================== */
.bio-preview-pane {
  width: 440px;
  min-width: 440px;
  height: 100vh;
  position: sticky;
  top: 0;
  background: #050608;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 24px 30px;
  overflow-y: auto;
}

.bio-preview-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bio-preview-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bio-text-dim);
  text-transform: uppercase;
}

.bio-preview-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.bio-preview-url-tag {
  font-size: 11px;
  color: var(--bio-text-muted);
  font-family: var(--bio-mono);
}

.bio-preview-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bio-preview-ctrl-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #101117;
  border: 1px solid var(--bio-card-border);
  color: var(--bio-text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.bio-preview-ctrl-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Smartphone Mockup Frame */
.bio-phone-frame {
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 46px;
  padding: 11px;
  border: 4px solid #1c1d24;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 0 4px rgba(255, 255, 255, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
}

.bio-phone-screen {
  flex: 1;
  background: #090a0f;
  border-radius: 36px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 14px 28px;
}

/* Phone Top Speaker & Notch */
.bio-phone-notch {
  width: 100px;
  height: 20px;
  background: #000;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-phone-camera-lens {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a0d14;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bio-phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 10px 14px;
  z-index: 10;
}

/* Live Canvas Background inside Phone Screen */
.bio-phone-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

/* Creator Profile Card inside Phone */
.bio-phone-content-card {
  position: relative;
  z-index: 10;
  background: rgba(16, 17, 24, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.bio-phone-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #1e202c, #0d0e14);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 20px rgba(120, 188, 227, 0.25);
}

/* Badges Row */
.bio-phone-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 6px;
}

.bio-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.bio-pill-badge.premium-gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
  border-color: rgba(251, 191, 36, 0.5);
  color: #fef3c7;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.bio-phone-display-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.bio-phone-handle {
  font-size: 11.5px;
  color: var(--bio-text-muted);
  margin-top: 1px;
}

.bio-phone-joined {
  font-size: 10px;
  color: var(--bio-text-muted);
  margin-top: 3px;
}

.bio-phone-bio-text {
  font-size: 12px;
  color: var(--bio-text-dim);
  margin-top: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  position: relative;
  padding: 0 4px;
}

.bio-phone-bio-text.has-quotes::before {
  content: '“';
  font-size: 16px;
  color: var(--bio-accent);
}

.bio-phone-bio-text.has-quotes::after {
  content: '”';
  font-size: 16px;
  color: var(--bio-accent);
}

.bio-phone-bio-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0 8px;
}

/* Phone Social Platforms Row */
.bio-phone-platforms-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.bio-phone-platform-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s ease;
}

.bio-phone-platform-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Phone Links List */
.bio-phone-links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.bio-phone-link-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.15s ease;
}

.bio-phone-link-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.bio-phone-link-card-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.bio-phone-link-card-title {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mini Audio Player Widget inside Phone */
.bio-phone-music-widget {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-top: 12px;
}

.bio-phone-music-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bio-phone-music-icon {
  font-size: 14px;
  color: var(--bio-accent);
}

.bio-phone-music-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bio-phone-music-title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.bio-phone-music-artist {
  font-size: 9.5px;
  color: var(--bio-text-muted);
}

.bio-phone-music-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-size: 10px;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   MODALS: "CHOOSE YOUR NAME" & "KABOOM FAKE PURCHASE BROSKI"
   ========================================================================== */
.bio-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: bioFadeIn 0.2s ease-out;
}

@keyframes bioFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bio-modal-card {
  background: #0d0e14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bio-radius-xl);
  padding: 32px 28px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(120, 188, 227, 0.1);
  position: relative;
  text-align: center;
}

.bio-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--bio-text-dim);
  cursor: pointer;
}

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

.bio-modal-header-icon {
  font-size: 44px;
  margin-bottom: 14px;
  display: inline-block;
  animation: kaboomPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes kaboomPop {
  0% { transform: scale(0.3) rotate(-20deg); }
  60% { transform: scale(1.25) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.bio-modal-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.bio-modal-desc {
  font-size: 13.5px;
  color: var(--bio-text-dim);
  line-height: 1.6;
  margin-bottom: 22px;
}

.bio-founder-privilege-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 18px;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.bio-standard-claim-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--bio-text-dim);
  margin-bottom: 18px;
}

.bio-input-prefix-wrap {
  display: flex;
  align-items: center;
  background: #06070a;
  border: 1px solid var(--bio-card-border);
  border-radius: 14px;
  padding: 4px 14px;
  margin-bottom: 16px;
  transition: border-color 0.15s ease;
}

.bio-input-prefix-wrap:focus-within {
  border-color: var(--bio-accent);
  box-shadow: 0 0 0 3px rgba(120, 188, 227, 0.15);
}

.bio-prefix-text {
  font-size: 13px;
  font-family: var(--bio-mono);
  color: var(--bio-text-muted);
  font-weight: 600;
}

.bio-prefix-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 6px;
  font-family: inherit;
}

.bio-modal-submit-btn {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.bio-modal-submit-btn:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

/* Celebration Modal (KABOOM) */
.bio-kaboom-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fef08a;
  text-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
  margin-bottom: 10px;
}

.bio-kaboom-perks-box {
  background: #06070a;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--bio-radius-md);
  padding: 16px;
  margin-bottom: 22px;
  text-align: left;
}

.bio-kaboom-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.bio-kaboom-perk-item:last-child {
  margin-bottom: 0;
}

/* Responsive Rules */
@media (max-width: 1100px) {
  .bio-preview-pane {
    display: none;
  }
}

@media (max-width: 768px) {
  .bio-sidebar {
    position: fixed;
    left: -260px;
    transition: left 0.25s ease;
  }
  .bio-sidebar.mobile-open {
    left: 0;
  }
  .bio-editor-pane {
    padding: 16px;
  }
}
