@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&display=swap');

body {
    margin: 0;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top, rgba(255,255,255,0.02), transparent 55%), #070707;
    font-family: 'Space Grotesk', sans-serif;
    padding: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.bg-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 0.75;
    mix-blend-mode: screen;
}

.back-link {
    position: fixed;
    top: 24px;
    left: 24px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 15, 15, 0.7);
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.back-link:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 20, 0.85);
}

.card {
    width: min(370px, 92vw);
    min-height: 520px;
    padding: 30px 28px;
    position: relative;
    background: linear-gradient(145deg, rgba(20,20,20,0.3), rgba(32,32,32,0.3));
    border-radius: 18px;
    overflow: hidden;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Critical for 3D depth */
    transform-style: preserve-3d;
    transform: perspective(1000px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.3);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(1px);
}

.card::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto -10%;
    height: 55%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08), transparent 45%);
    opacity: 0.45;
    pointer-events: none;
}

/* Ensure Vanilla Tilt glare respects rounded corners */
.js-tilt-glare,
.js-tilt-glare-inner {
    border-radius: inherit;
    overflow: hidden;
}

.content {
    /* Pushes text "off" the card for 3D depth */
    transform: translateZ(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background:
        url('/SEGG.png') center/cover no-repeat;
    border: 2px solid rgba(255, 255, 255, 1);
    overflow: hidden;
}

.content h2 {
    margin: 0;
    font-size: 1.7rem;
    letter-spacing: 0.02em;
}

.role {
    margin: 0;
    color: #d9d9d9;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.handle {
    margin: 0;
    color: #9fa1a5;
    font-size: 0.92rem;
}

.tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    color: #e5e5e5;
}

.divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.info-list {
    width: 100%;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #dcdcdc;
    font-size: 0.92rem;
}

.label {
    color: #9f9f9f;
    font-size: 0.84rem;
}

.value {
    color: #ffffff;
    letter-spacing: 0.01em;
}

.link {
    color: #e9e9e9;
    text-decoration: none;
}

.cta {
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 11px 26px;
    border-radius: 24px;
    font-size: 0.92rem;
    transition: background 0.3s, border-color 0.3s;
}

.cta:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.4);
}

@media (max-width: 640px) {
    body {
        padding: 18px 14px 28px;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 440px;
        min-height: unset;
        padding: 26px 22px;
        max-height: calc(100vh - 64px);
        transform: none;
        cursor: default;
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
        overflow: hidden;
    }

    .content {
        gap: 14px;
    }

    .avatar {
        width: 128px;
        height: 128px;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .role {
        font-size: 1rem;
    }

    .info-list {
        max-width: 100%;
    }
}
