:root {
    --bg-1: #071028;
    --bg-2: #0b1730;
    --muted: #9fb0c5;
    --accent: #7a6cff;
    --accent-2: #7dd3fc;
    --text: #eaf6ff;
    --card-alpha: 0.03;
}
* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
}
body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial;
    background:
        radial-gradient(
            ellipse at 20% 10%,
            rgba(255, 255, 255, 0.015),
            transparent 8%
        ),
        radial-gradient(
            ellipse at 80% 85%,
            rgba(255, 255, 255, 0.01),
            transparent 10%
        ),
        linear-gradient(180deg, var(--bg-1), var(--bg-2));
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    position: relative;
    overflow: hidden;
}
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'><g fill='%230a2038' opacity='0.8'><ellipse cx='800' cy='650' rx='600' ry='180' /><ellipse cx='400' cy='550' rx='420' ry='140' /><ellipse cx='1200' cy='520' rx='480' ry='150' /></g></svg>");
    background-size: cover;
    background-position: center;
    filter: blur(28px) saturate(1.1) contrast(0.95);
    opacity: 0.78;
    transform: scale(1.05);
    z-index: 0;
    pointer-events: none;
}
body::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.02) 1px,
        transparent 1.5px
    );
    background-size: 72px 72px;
    mix-blend-mode: overlay;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}
.stage {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 820px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card {
    width: 100%;
    max-width: 520px;
    text-align: center;
    padding: 22px;
    border-radius: 14px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, var(--card-alpha)),
        rgba(255, 255, 255, 0.01)
    );
    box-shadow:
        0 10px 40px rgba(2, 8, 23, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    will-change: transform;
    transform-style: preserve-3d;
}
.avatar-wrap {
    position: relative;
    display: inline-block;
    margin-top: -12px;
}
.avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #1a274b;
    border: 0;
    box-shadow: 0 18px 50px rgba(2, 8, 23, 0.85);
    position: relative;
    z-index: 2;
}
.avatar-wrap::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0) 62%
        ),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.03)),
        radial-gradient(
            circle at 30% 25%,
            rgba(90, 110, 180, 0.22),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            rgba(64, 56, 160, 0.85),
            rgba(55, 110, 150, 0.4)
        );
    -webkit-mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 6px),
        #000 calc(100% - 6px)
    );
    mask: radial-gradient(
        farthest-side,
        transparent calc(100% - 6px),
        #000 calc(100% - 6px)
    );
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 14px 40px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 3;
}
.avatar-halo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(122, 120, 255, 0.22) 0%,
        rgba(125, 200, 252, 0.1) 35%,
        transparent 68%
    );
    filter: blur(10px);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}
.name {
    margin: 14px 0 6px;
    font-size: 20px;
    letter-spacing: 0.4px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}
.subtitle {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
}
.icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 14px;
}
.icon-btn {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.01)
    );
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 30px rgba(2, 8, 23, 0.6);
    color: var(--text);
    text-decoration: none;
    transition:
        transform 0.16s cubic-bezier(0.2, 0.9, 0.2, 1),
        box-shadow 0.16s ease,
        background 0.16s ease;
    overflow: hidden;
}
.icon-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    opacity: 0.95;
    transform: translateY(1px);
}
.icon-btn:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 26px 60px rgba(79, 98, 255, 0.18);
    background: linear-gradient(
        180deg,
        rgba(122, 108, 255, 0.12),
        rgba(122, 108, 255, 0.02)
    );
}
.foot {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
}
@media (max-width: 420px) {
    .card {
        padding: 18px;
    }
    .avatar {
        width: 104px;
        height: 104px;
    }
    .avatar-wrap::after {
        inset: -5px;
        -webkit-mask: radial-gradient(
            farthest-side,
            transparent calc(100% - 5px),
            #000 calc(100% - 5px)
        );
        mask: radial-gradient(
            farthest-side,
            transparent calc(100% - 5px),
            #000 calc(100% - 5px)
        );
    }
    .avatar-halo {
        width: 170px;
        height: 170px;
    }
    .icon-btn {
        width: 46px;
        height: 46px;
    }
}
