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

:root {
    --bg: #060608;
    --surface: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --text: #e8e8f0;
    --muted: #6b6b80;
    --accent1: #6366f1;
    --accent2: #22d3ee;
    --accent3: #10b981;
}

html, body { height: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: drift 20s ease-in-out infinite alternate;
}

.orb-1 { width: 700px; height: 700px; background: var(--accent1); opacity: 0.12; top: -250px; left: -250px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--accent2); opacity: 0.10; bottom: -150px; right: -150px; animation-delay: -8s; }
.orb-3 { width: 350px; height: 350px; background: var(--accent3); opacity: 0.08; top: 40%; left: 55%; animation-delay: -15s; }

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(50px, 40px) scale(1.15); }
}

.card {
    position: relative;
    z-index: 10;
    background: rgba(8, 8, 18, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 56px 64px;
    max-width: 580px;
    width: 90%;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 40px 100px rgba(0,0,0,0.6),
        0 0 140px rgba(99,102,241,0.06);
    animation: fadeUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}

.avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, var(--accent1) 0%, var(--accent2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
    box-shadow: 0 0 0 1px rgba(99,102,241,0.3), 0 0 50px rgba(99,102,241,0.35);
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(99,102,241,0.3), 0 0 50px rgba(99,102,241,0.35); }
    50%       { box-shadow: 0 0 0 1px rgba(34,211,238,0.4), 0 0 70px rgba(34,211,238,0.4); }
}

h1 {
    font-size: clamp(2rem, 5vw, 2.9rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(120deg, #ffffff 0%, var(--accent2) 45%, var(--accent1) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
    from { background-position: 0% center; }
    to   { background-position: 200% center; }
}

.role {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.22);
    border-radius: 100px;
    padding: 7px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.role-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent2);
    box-shadow: 0 0 8px var(--accent2);
    flex-shrink: 0;
    animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    border-radius: 2px;
    margin: 0 auto 28px;
}

.bio {
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.bio strong {
    color: #a5b4fc;
    font-weight: 600;
}

.interests {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 7px 16px;
    font-size: 0.82rem;
    color: var(--muted);
    transition: all 0.25s ease;
    cursor: default;
}

.tag:hover {
    border-color: rgba(99,102,241,0.35);
    color: var(--text);
    background: rgba(99,102,241,0.08);
    transform: translateY(-2px);
}

.socials-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: rgba(107,107,128,0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.social-link:hover {
    background: rgba(99,102,241,0.14);
    border-color: rgba(99,102,241,0.4);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(99,102,241,0.28);
}

.social-link:hover svg { transform: scale(1.1); }

.social-link::after {
    content: attr(data-label);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(15,15,25,0.96);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 7px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.social-link:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.footer {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: rgba(107,107,128,0.45);
    letter-spacing: 0.05em;
}

.footer a {
    color: rgba(165,180,252,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover { color: #a5b4fc; }
