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

:root {
    --bg:           #080c12;
    --surface:      #111620;
    --surface-2:    #181f2e;
    --border:       rgba(255,255,255,0.07);
    --border-hover: rgba(0,178,255,0.3);
    --text:         #edf2f8;
    --muted:        #7a8a9e;
    --accent:       #00b2ff;
    --accent-dim:   rgba(0,178,255,0.1);
    --accent-glow:  rgba(0,178,255,0.22);
    --white:        #ffffff;
}
body {
    font-family: 'DM Mono', monospace;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 60px;
    position: relative;
    overflow-x: hidden;
}

/* ── Background ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(90,255,212,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 85% 100%, rgba(99,102,241,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(255,255,255,0.012) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Grid texture */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* ── Card: full-height flex container ── */
.card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ── Avatar ── */
.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
    animation: fadeUp 0.55s cubic-bezier(.22,1,.36,1) both;
}

.avatar-frame {
    position: relative;
    width: 90px;
    height: 90px;
}

.avatar-frame::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px dashed rgba(0,178,255,0.32);
    animation: spin 22s linear infinite;
    z-index: 0;
}

.avatar-img {
    position: relative;
    z-index: 1;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a1a2e 0%, #051020 100%);
    border: 2px solid rgba(0,178,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 0 3px rgba(0,178,255,0.07), 0 8px 28px rgba(0,0,0,0.55);
}
.avatar-img img{
    width: 100%;
}

.avatar-initials {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
    line-height: 1;
}

/* Status badge */
.status-badge {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px 11px;
    font-size: 10.5px;
    font-weight: 500;
    color: var(--muted);
}

.dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    position: relative;
}

.dot-green::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(34,197,94,0.25);
    animation: pulse 2.2s ease-in-out infinite;
}

/* ── Identity ── */
.identity {
    text-align: center;
    margin-bottom: 10px;
    animation: fadeUp 0.55s 0.07s cubic-bezier(.22,1,.36,1) both;
}

.name {
    font-size: clamp(24px, 5.5vw, 32px);
    font-weight: 700;
    letter-spacing: -0.8px;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.1;
}

.name span { color: var(--accent); }

.roles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.role-pill {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(0,178,255,0.18);
    border-radius: 5px;
    padding: 3px 8px;
}

.bio {
    font-size: 12px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 360px;
}

/* ── Divider ── */
.divider {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    animation: fadeIn 0.4s 0.15s ease both;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.divider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
}

/* ── Links ── */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--text);
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition:
    transform    0.18s cubic-bezier(.22,1,.36,1),
    background   0.18s ease,
    border-color 0.18s ease,
    box-shadow   0.18s ease;
    animation: fadeUp 0.45s cubic-bezier(.22,1,.36,1) both;
}

.link-btn:nth-child(1) { animation-delay: 0.18s; }
.link-btn:nth-child(2) { animation-delay: 0.22s; }
.link-btn:nth-child(3) { animation-delay: 0.26s; }
.link-btn:nth-child(4) { animation-delay: 0.30s; }
.link-btn:nth-child(5) { animation-delay: 0.34s; }
.link-btn:nth-child(6) { animation-delay: 0.38s; }

.link-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,178,255,0.05), transparent);
    transition: left 0.45s ease;
    pointer-events: none;
}

.link-btn:hover::before { left: 160%; }

.link-btn:hover {
    background: var(--surface-2);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,178,255,0.1);
}

.link-btn:active { transform: translateY(0); }

/* Icon */
.icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.18s cubic-bezier(.22,1,.36,1);
}

.link-btn:hover .icon-wrap { transform: scale(1.1); }
.icon-wrap svg { width: 16px; height: 16px; }

.icon-facebook  { background: rgba(24,119,242,0.14);  color: #4e9af1; }
.icon-behance   { background: rgba(23,119,253,0.14);   color: #5b9eff; }
.icon-instagram { background: rgba(225,48,108,0.14);  color: #f06090; }
.icon-vimeo     { background: rgba(26,183,234,0.14);  color: #4ecde8; }
.icon-linkedin  { background: rgba(10,102,194,0.14);  color: #5090d6; }
.icon-whatsapp  { background: rgba(37,211,102,0.14);  color: #3dcc74; }

/* Text */
.btn-text { flex: 1; min-width: 0; }

.btn-platform {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1px;
}

.btn-handle {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow */
.btn-arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--muted);
    font-style: normal;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.link-btn:hover .btn-arrow {
    background: var(--accent);
    color: var(--white);
    transform: translateX(3px);
}

/* ── Footer ── */
.footer {
    margin-top: 12px;
    text-align: center;
    animation: fadeIn 0.4s 0.42s ease both;
}

.footer-brand {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.18);
}

.footer-brand span { color: rgba(0,178,255,0.35); }

.footer-copy {
    font-size: 9.5px;
    color: rgba(255,255,255,0.12);
    letter-spacing: 0.8px;
    margin-top: 2px;
}

/* ── Keyframes ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%       { opacity: 0;   transform: scale(2.6); }
}

/* ── Responsive: allow scroll only if truly tiny screen ── */
@media (max-height: 600px) {
    html, body { overflow-y: auto; }
    body { align-items: flex-start; padding: 20px 0; }
}

@media (max-width: 400px) {
    .card { padding: 0 14px; }
    .link-btn { padding: 9px 12px; }
    .name { font-size: 22px; }
}