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

:root {
  --purple:     #6366f1;
  --purple-mid: #7B7EE8;
  --purple-dk:  #5B5BD6;
  --pink:       #e879a0;
  --gold:       #f59e0b;
  --white:      #ffffff;
  --muted:      rgba(255,255,255,0.55);
  --dim:        rgba(255,255,255,0.22);
  --card-bg:    rgba(255,255,255,0.045);
  --card-border:rgba(255,255,255,0.09);
}

html, body {
  min-height: 100%;
  background: #000;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--white);
  overflow-x: hidden;
}

/* ─── CANVAS DE PARTÍCULAS ─── */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ─── ORBS DE FUNDO ─── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: pulse 8s ease-in-out infinite alternate;
}
.orb-purple {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(99,102,241,0.28) 0%, transparent 70%);
  top: -180px; left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}
.orb-pink {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(232,121,160,0.18) 0%, transparent 70%);
  bottom: 60px; left: -80px;
  animation-delay: -3s;
}
.orb-gold {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.13) 0%, transparent 70%);
  bottom: 100px; right: -60px;
  animation-delay: -5s;
}

@keyframes pulse {
  0%   { opacity: 0.7; transform: scale(1) translateX(-50%); }
  100% { opacity: 1;   transform: scale(1.12) translateX(-50%); }
}
.orb-pink { animation: pulseNoX 8s ease-in-out infinite alternate; }
.orb-gold { animation: pulseNoX 8s ease-in-out infinite alternate; animation-delay: -5s; }
@keyframes pulseNoX {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.15); }
}

/* ─── WRAPPER PRINCIPAL ─── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 20px 60px;
}

/* ─── PROFILE ─── */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.logo-wrap {
  position: relative;
  width: 110px;
  height: 80px;
  margin-bottom: 16px;
  animation: float 5s ease-in-out infinite;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(99,102,241,0.5));
}

.logo-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.22) 0%, transparent 70%);
  animation: glowRing 3s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes glowRing {
  0%   { opacity: 0.5; transform: scale(0.9); }
  100% { opacity: 1;   transform: scale(1.1); }
}

.profile-name {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 30%, var(--purple-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-mid);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.profile-bio {
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.6;
  font-weight: 500;
}

/* ─── LINKS ─── */
.links {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--white);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.link-card:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(99,102,241,0.55);
  box-shadow: 0 8px 32px rgba(99,102,241,0.18), 0 0 0 1px rgba(99,102,241,0.12);
}

.link-card:hover::before { opacity: 1; }

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

/* ─── ÍCONE ─── */
.link-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.link-card:hover .link-icon {
  background: rgba(99,102,241,0.18);
  border-color: rgba(99,102,241,0.3);
}

/* ─── VARIAÇÕES DE COR POR CARD ─── */
.link-card.card-site:hover { border-color: rgba(99,102,241,0.55);  box-shadow: 0 8px 32px rgba(99,102,241,0.18); }

.link-card.card-wa:hover            { border-color: rgba(37,211,102,0.55);  box-shadow: 0 8px 32px rgba(37,211,102,0.15); }
.link-card.card-wa:hover .link-icon { background: rgba(37,211,102,0.18); border-color: rgba(37,211,102,0.3); }

.link-card.card-ig:hover            { border-color: rgba(232,121,160,0.55); box-shadow: 0 8px 32px rgba(232,121,160,0.15); }
.link-card.card-ig:hover .link-icon { background: rgba(232,121,160,0.18); border-color: rgba(232,121,160,0.3); }

.link-card.card-mail:hover            { border-color: rgba(56,189,248,0.55);  box-shadow: 0 8px 32px rgba(56,189,248,0.12); }
.link-card.card-mail:hover .link-icon { background: rgba(56,189,248,0.18); border-color: rgba(56,189,248,0.3); }

/* ─── TEXTO DO LINK ─── */
.link-text { flex: 1; }

.link-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.link-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
}

/* ─── SETA ─── */
.link-arrow {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.link-card:hover .link-arrow {
  background: rgba(255,255,255,0.12);
  transform: translateX(2px);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  stroke: rgba(255,255,255,0.5);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── SVGs ─── */
.ig-svg, .wa-svg { width: 22px; height: 22px; }

/* ─── SERVIÇOS ─── */
.services {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 360px;
}

.service-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* ─── DIVISOR ─── */
.divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent);
  margin: 32px auto 0;
}

/* ─── FOOTER ─── */
.footer {
  margin-top: 32px;
  text-align: center;
}

.footer-logo {
  font-size: 13px;
  font-weight: 800;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.footer-url {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  margin-top: 3px;
}

/* ─── RIPPLE ─── */
@keyframes rippleAnim {
  to { transform: scale(1); opacity: 0; }
}
