/* ============================================================
   VINICODY — Hub de links (bio)
   ============================================================ */

.vc-links {
    --links-max: 28rem;
    --card: rgba(13, 20, 36, 0.78);
    --card-border: rgba(99, 102, 241, 0.22);
    min-height: 100dvh;
    padding: 2.25rem 1.15rem 3rem;
    position: relative;
    overflow-x: hidden;
}

.vc-links::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 45% at 80% -10%, rgba(99, 102, 241, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 55% 40% at -10% 90%, rgba(236, 72, 153, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 40%, rgba(34, 211, 238, 0.06) 0%, transparent 60%);
}

.vc-links-inner {
    position: relative;
    z-index: 1;
    max-width: var(--links-max);
    margin: 0 auto;
}

.vc-links-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.75rem;
}

.vc-links-brand:hover { color: #fff; }
.vc-links-brand .brand-icon { color: #a5b4fc; font-family: "JetBrains Mono", monospace; }

/* ---- PROFILE ---- */
.vc-links-profile {
    text-align: center;
    margin-bottom: 1.35rem;
}

.vc-avatar-wrap {
    width: 104px;
    height: 104px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    padding: 3px;
    background: var(--vc-grad);
    box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.12), 0 12px 40px rgba(99, 102, 241, 0.25);
    position: relative;
}

.vc-avatar-wrap img,
.vc-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: var(--vc-surface);
}

.vc-avatar-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    background: var(--vc-surface2);
}

.vc-avatar-wrap.is-fallback img { display: none; }
.vc-avatar-wrap.is-fallback .vc-avatar-fallback { display: flex; }

.vc-avatar-live {
    position: absolute;
    right: 6px;
    bottom: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #10b981;
    border: 3px solid var(--vc-bg);
    box-shadow: 0 0 10px #10b981;
}

.vc-links-name {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.15rem;
    color: #fff;
}

.vc-links-handle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #94a3b8;
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0 0 0.55rem;
}

.vc-copy-handle {
    border: 0;
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.vc-copy-handle:hover,
.vc-copy-handle:focus-visible {
    background: rgba(99, 102, 241, 0.28);
    color: #fff;
    outline: none;
}

.vc-links-headline {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.vc-links-stats {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin: 0 0 1.15rem;
}

.vc-stat {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
}

/* ---- SOCIALS ---- */
.vc-socials {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 1.6rem;
}

.vc-social {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border: 1px solid var(--card-border);
    color: #e2e8f0;
    text-decoration: none;
    transition: transform 0.18s, border-color 0.18s, background 0.18s, color 0.18s;
}

.vc-social:hover,
.vc-social:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(165, 180, 252, 0.55);
    color: #fff;
    outline: none;
}

.vc-social[data-network="whatsapp"]:hover { background: #25d366; border-color: #25d366; color: #fff; }
.vc-social[data-network="instagram"]:hover { background: #e1306c; border-color: #e1306c; }
.vc-social[data-network="linkedin"]:hover { background: #0a66c2; border-color: #0a66c2; }
.vc-social svg { width: 18px; height: 18px; }

/* ---- SECTIONS / CARDS ---- */
.vc-sec {
    margin-bottom: 1.35rem;
}

.vc-sec-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 0.65rem 0.15rem;
}

.vc-link-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.65rem;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--card-border);
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(12px);
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
    animation: vc-rise 0.5s ease both;
}

.vc-link-card:hover,
.vc-link-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 10px 30px rgba(8, 12, 20, 0.35);
    outline: none;
    color: inherit;
}

.vc-link-card.is-featured {
    padding: 1.1rem 1.1rem;
    border-color: rgba(16, 185, 129, 0.4);
    background:
        linear-gradient(180deg, rgba(16, 185, 129, 0.1), rgba(13, 20, 36, 0.85));
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.12);
}

.vc-link-card.is-featured:hover {
    border-color: rgba(16, 185, 129, 0.7);
}

.vc-link-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.14);
    color: #a5b4fc;
}

.vc-link-card[data-accent="green"] .vc-link-ico { background: rgba(16, 185, 129, 0.16); color: #34d399; }
.vc-link-card[data-accent="purple"] .vc-link-ico { background: rgba(139, 92, 246, 0.16); color: #c4b5fd; }
.vc-link-card[data-accent="cyan"] .vc-link-ico { background: rgba(34, 211, 238, 0.14); color: #67e8f9; }
.vc-link-card[data-accent="pink"] .vc-link-ico { background: rgba(236, 72, 153, 0.14); color: #f9a8d4; }
.vc-link-card[data-accent="blue"] .vc-link-ico { background: rgba(10, 102, 194, 0.18); color: #93c5fd; }

.vc-link-ico svg { width: 20px; height: 20px; }

.vc-link-body { flex: 1; min-width: 0; }
.vc-link-title-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.vc-link-title {
    font-weight: 800;
    font-size: 0.98rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.vc-badge {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(165, 180, 252, 0.16);
    color: #c7d2fe;
}

.vc-link-card.is-featured .vc-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.vc-link-sub {
    margin: 0.18rem 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.4;
}

.vc-link-arrow {
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.18s, color 0.18s;
}

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

.vc-link-arrow svg { width: 16px; height: 16px; }

/* ---- SHARE / FOOT ---- */
.vc-links-actions {
    display: flex;
    gap: 0.6rem;
    margin: 1.5rem 0 1.25rem;
}

.vc-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(99, 102, 241, 0.1);
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, transform 0.18s;
}

.vc-action:hover,
.vc-action:focus-visible {
    background: rgba(99, 102, 241, 0.22);
    color: #fff;
    outline: none;
}

.vc-action svg { width: 15px; height: 15px; }

.vc-links-foot {
    text-align: center;
    color: #475569;
    font-size: 0.75rem;
    line-height: 1.6;
}

.vc-links-foot a {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
}

.vc-links-foot a:hover { color: #c7d2fe; }

.vc-toast {
    position: fixed;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%) translateY(12px);
    background: #111a2e;
    border: 1px solid var(--vc-border);
    color: #fff;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    transition: opacity 0.2s, transform 0.2s;
}

.vc-toast.is-on {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes vc-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.vc-sec:nth-child(1) .vc-link-card:nth-child(1) { animation-delay: 0.05s; }
.vc-sec:nth-child(2) .vc-link-card:nth-child(1) { animation-delay: 0.1s; }
.vc-sec:nth-child(2) .vc-link-card:nth-child(2) { animation-delay: 0.15s; }
.vc-sec:nth-child(2) .vc-link-card:nth-child(3) { animation-delay: 0.2s; }
.vc-sec:nth-child(3) .vc-link-card:nth-child(1) { animation-delay: 0.25s; }
.vc-sec:nth-child(3) .vc-link-card:nth-child(2) { animation-delay: 0.3s; }
.vc-sec:nth-child(3) .vc-link-card:nth-child(3) { animation-delay: 0.35s; }
.vc-sec:nth-child(4) .vc-link-card:nth-child(1) { animation-delay: 0.4s; }
.vc-sec:nth-child(4) .vc-link-card:nth-child(2) { animation-delay: 0.45s; }
.vc-sec:nth-child(4) .vc-link-card:nth-child(3) { animation-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .vc-link-card,
    .vc-social,
    .vc-action,
    .vc-link-arrow {
        animation: none;
        transition: none;
    }
}

body.vc-links-page {
    padding-top: 0;
    background: var(--vc-bg);
}

.vc-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
