* {
    -webkit-tap-highlight-color: transparent;
}



body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.glass-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-btn:hover::before {
    opacity: 1;
}

.glass-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.avatar-border {
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: all 0.5s ease;
}

.avatar-border:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(255, 255, 255, 0.04),
        0 0 100px rgba(255, 255, 255, 0.02);
}

#avatar {
    transition: transform 0.4s ease;
}

#avatar:hover {
    transform: scale(1.03);
}

.avatar-icon {
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.4s ease;
}

.avatar-icon:hover {
    background: rgba(255, 255, 255, 0.08);
}

.link-icon {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.glass-btn:hover .link-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.glass-btn.destaque {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.glass-btn.destaque:hover {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.02);
}

.bottom-sheet {
    background: rgba(10, 10, 10, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Fade-in animation for links */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#links-container > a {
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
}

#links-container > a:nth-child(1) { animation-delay: 0.05s; }
#links-container > a:nth-child(2) { animation-delay: 0.1s; }
#links-container > a:nth-child(3) { animation-delay: 0.15s; }
#links-container > a:nth-child(4) { animation-delay: 0.2s; }
#links-container > a:nth-child(5) { animation-delay: 0.25s; }
#links-container > a:nth-child(6) { animation-delay: 0.3s; }

.animated-border-avatar {
    position: relative;
    z-index: 0;
}

.animated-border-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(168, 85, 247, 0.5),
        rgba(236, 72, 153, 0.5),
        rgba(34, 211, 238, 0.5),
        rgba(168, 85, 247, 0.5)
    );
    animation: spinBorder 3s linear infinite;
}

.animated-border-badge {
    position: relative;
    z-index: 0;
    overflow: hidden;
    border-radius: 9999px;
}

.animated-border-badge::before {
    content: '';
    position: absolute;
    inset: -8px;
    z-index: -2;
    background: conic-gradient(
        from 0deg,
        rgba(168, 85, 247, 0.4),
        rgba(236, 72, 153, 0.4),
        rgba(34, 211, 238, 0.4),
        rgba(168, 85, 247, 0.4)
    );
    animation: spinBorder 3s linear infinite;
}

.animated-border-badge::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: #000;
    border-radius: 9999px;
    z-index: -1;
}

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