/* ========================================================
   DGSeg - Link na Bio (Mobile-First / Linktree Style)
   Domínio: dgseg.infinitgrupo.com.br/bio
   ======================================================== */

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

:root {
  --bg-bio: #040814;
  --card-bg: rgba(14, 23, 51, 0.78);
  --card-hover: rgba(20, 34, 76, 0.95);
  --border-bio: rgba(0, 136, 255, 0.22);
  --border-active: rgba(0, 229, 255, 0.6);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary-blue: #0088ff;
  --accent-cyan: #00e5ff;
  --whatsapp: #25D366;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);
  --urgent: #ff3366;
  --radius: 16px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  min-height: 100vh;
  background-color: var(--bg-bio);
  background: 
    radial-gradient(circle at 50% 10%, rgba(0, 136, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 50% 90%, rgba(0, 229, 255, 0.1) 0%, transparent 60%),
    #040814;
  color: var(--text-main);
  font-family: 'Inter', -apple-system, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 36px 16px 48px;
  overflow-x: hidden;
}

.bio-container {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header & Avatar */
.bio-header {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-wrapper {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 16px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

.verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  background: #0088ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  border: 2px solid var(--bg-bio);
}

.bio-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 4px;
}

.bio-handle {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 12px;
}

.bio-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  max-width: 380px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: #4ade80;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--whatsapp);
  animation: pulseBio 1.8s infinite;
}

@keyframes pulseBio {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Links Stack */
.links-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.bio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border-bio);
  text-decoration: none;
  color: #fff;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.bio-card:hover {
  transform: translateY(-3px);
  background: var(--card-hover);
  border-color: var(--border-active);
  box-shadow: 0 8px 25px -5px rgba(0, 136, 255, 0.35);
}

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

.bio-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 136, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.bio-card.highlight {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.18) 0%, rgba(14, 23, 51, 0.85) 100%);
  border-color: rgba(37, 211, 102, 0.45);
}

.bio-card.highlight .bio-icon {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
}

.bio-card.urgent {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.2) 0%, rgba(14, 23, 51, 0.85) 100%);
  border-color: rgba(255, 51, 102, 0.45);
}

.bio-card.urgent .bio-icon {
  background: rgba(255, 51, 102, 0.2);
  color: #ff3366;
}

.bio-card-text .title {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bio-card-text .subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.badge-tag {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 9999px;
  background: #ff3366;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-tag.green {
  background: #25D366;
  color: #000;
}

.bio-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.bio-card:hover .bio-arrow {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

/* Quick Banner in Bio */
.bio-banner-box {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-bio);
  margin-bottom: 24px;
}

.bio-banner-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Social & Footer */
.bio-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 15px rgba(0, 136, 255, 0.4);
}

.bio-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.bio-footer strong {
  color: #fff;
}
