/**
 * Bio-Link Micro-Landing Page & Mobile Phone Simulator Styles
 */

/* Phone Mockup Frame (In Builder) */
.phone-mockup-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.phone-mockup {
  width: 360px;
  height: 720px;
  background: #000;
  border-radius: 46px;
  border: 10px solid #1f2937;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 105px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.phone-screen {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 45px 18px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Standalone Public Bio Page */
.public-bio-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.public-bio-container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  min-height: 90vh;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Common Profile Header */
.bio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.bio-avatar-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.bio-avatar {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.bio-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #3b82f6;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2px solid #000;
}

.bio-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bio-description {
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 400px;
  opacity: 0.85;
}

/* Social Icon Tray */
.bio-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.bio-social-link {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.bio-social-link:hover {
  transform: translateY(-3px) scale(1.08);
}

/* Links Stack */
.bio-links-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.bio-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bio-link-btn:hover {
  transform: translateY(-2px);
}

.bio-link-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.bio-link-icon {
  font-size: 1.25rem;
}

.bio-link-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bio-link-badge {
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
}

/* Themes */
/* 1. Midnight Theme */
.theme-midnight {
  background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #090d16 80%);
  color: #f8fafc;
}
.theme-midnight .bio-link-btn {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.theme-midnight .bio-link-btn:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: #6366f1;
}
.theme-midnight .bio-social-link {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* 2. Cyberpunk Neon Theme */
.theme-cyber {
  background: #05050c;
  color: #00ffff;
}
.theme-cyber .bio-link-btn {
  background: rgba(13, 17, 38, 0.9);
  border: 1px solid #00ffff;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}
.theme-cyber .bio-link-btn:hover {
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
  border-color: #ec4899;
}
.theme-cyber .bio-social-link {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  border: 1px solid #00ffff;
}

/* 3. Sunset Horizon */
.theme-sunset {
  background: linear-gradient(160deg, #4c0519 0%, #18052e 50%, #020617 100%);
  color: #fff;
}
.theme-sunset .bio-link-btn {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fff;
}
.theme-sunset .bio-link-btn:hover {
  background: linear-gradient(90deg, #f43f5e 0%, #a855f7 100%);
  border-color: transparent;
}
.theme-sunset .bio-social-link {
  background: rgba(244, 63, 94, 0.2);
  color: #f43f5e;
}

/* 4. Luxury Gold */
.theme-gold {
  background: #0c0a09;
  color: #fef08a;
}
.theme-gold .bio-link-btn {
  background: rgba(28, 25, 23, 0.8);
  border: 1px solid #d97706;
  color: #fef3c7;
}
.theme-gold .bio-link-btn:hover {
  background: #d97706;
  color: #000;
}
.theme-gold .bio-social-link {
  background: rgba(217, 119, 6, 0.15);
  color: #d97706;
}

/* 5. Minimalist Clean */
.theme-minimal {
  background: #f8fafc;
  color: #0f172a;
}
.theme-minimal .bio-link-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.theme-minimal .bio-link-btn:hover {
  background: #0f172a;
  color: #ffffff;
}
.theme-minimal .bio-social-link {
  background: #e2e8f0;
  color: #0f172a;
}

/* 6. Emerald Mint */
.theme-emerald {
  background: radial-gradient(circle at 50% 0%, #064e3b 0%, #022c22 70%);
  color: #ecfdf5;
}
.theme-emerald .bio-link-btn {
  background: rgba(6, 78, 59, 0.4);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #fff;
}
.theme-emerald .bio-link-btn:hover {
  background: #10b981;
  color: #022c22;
}
.theme-emerald .bio-social-link {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

/* Link Animations */
@keyframes bioPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes bioShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

@keyframes bioBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.anim-pulse {
  animation: bioPulse 2s infinite ease-in-out;
}

.anim-shake {
  animation: bioShake 3s infinite ease-in-out;
}

.anim-bounce {
  animation: bioBounce 2.5s infinite ease-in-out;
}

.bio-branding-footer {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.6;
}
