@font-face {
    font-family: "Profile";
    src: url("../assets/2.woff2") format("woff2");
    font-display: swap;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #080808;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Profile", Arial, sans-serif;
}


.profile {
    display: flex;
    align-items: center;
    gap: 27px;
    padding: 24px;
}

.avatar {
    width: 155px;
    height: 155px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.identity {
    display: flex;
    align-items: center;
    gap: 10px;
}


.username {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;

    background-color: #ffffff;

    background-size: 200% 100%;
    background-position: 0% 50%;
    background-repeat: repeat-x;

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


#enter-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
    color: #f5f5f5;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

#enter-screen span {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-shadow: 0 0 12px #ffffff18;
    animation: enter-pulse 2s ease-in-out infinite;
}

#enter-screen.leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#enter-screen.leaving span {
    animation: fly-up 0.7s cubic-bezier(.2, .75, .25, 1) forwards;
}

@keyframes fly-up {
    from {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0);
    }

    to {
        transform: translateY(-100px);
        opacity: 0;
        filter: blur(5px);
    }
}

@keyframes enter-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.82;
    }
}



.badges {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 20px;
    background: #191919;
    box-shadow: 0 0 10px #ffffff15;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #fff;
    text-decoration: none;
    cursor: default;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.badge svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
    filter: drop-shadow(0 0 4px #ffffff70);
}

.badge:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}



.links {
    display: flex;
    align-items: center;
    gap: 13px;
}

.link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    filter: drop-shadow(0 0 5px #ffffff85);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.link:hover {
    opacity: 0.65;
    transform: translateY(-2px);
}

.link svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}



.tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.tooltip .tooltip-text {
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    z-index: 100;
    padding: 6px 9px;
    border: 1px solid #292929;
    border-radius: 5px;
    background: #101010;
    color: #eee;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
    text-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}
#eth-copy.notification-hidden .tooltip-text {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translate(-50%, 4px) !important;
}
.tooltip:hover .tooltip-text,
.tooltip:focus-visible .tooltip-text,
.tooltip:focus-within .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}



@media (max-width: 480px) {
    .profile {
        gap: 18px;
        padding: 16px;
    }
    .avatar {
        width: 110px;
        height: 110px;
    }
    .username {
        font-size: 27px;
    }
    .details {
        gap: 18px;
    }
    .link svg {
        width: 27px;
        height: 27px;
    }
    .identity {
        flex-wrap: wrap;
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
#particles-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.75;
}

body {
    position: relative;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.267);
    z-index: -1;
    pointer-events: none;
}

body {
    background: #080808;
}
