/* 
   Mitsury | Link Tree
   Minimalistic Premium Glassmorphism Design
*/

:root {
    --bg-color: #050505;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(255, 255, 255, 0.25);

    /* Neon Colors for blobs and highlights */
    --accent-1: #ff2da6;
    /* Bright Pink */
    --accent-2: #cc1880;
    /* Deep Pink */
    --accent-3: #ff66c3;
    /* Light Pink */
}

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

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

/* ======== BACKGROUND BLOBS ======== */
.blob {
    position: absolute;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.6;
    border-radius: 50%;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--accent-1);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 35vw;
    height: 35vw;
    background: var(--accent-2);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 60%;
    width: 25vw;
    height: 25vw;
    background: var(--accent-3);
    animation-delay: -10s;
    opacity: 0.4;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* ======== LAYOUT ======== */
.container {
    width: 100%;
    max-width: 420px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ======== PROFILE SECTION ======== */
.profile-header {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 1.25rem;
}

.avatar-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    z-index: 0;
    filter: blur(10px);
    opacity: 0.8;
    animation: pulse 3s infinite alternate;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.1);
    background-color: #111;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #fff 0%, #d4d4d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ======== LINKS SECTION ======== */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.glass-btn {
    text-decoration: none;
    color: var(--text-main);
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.1rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* The subtle shine effect on hover */
.glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.glass-btn:hover::before {
    left: 200%;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.privacy-icon {
    color: var(--accent-1);
}

.telegram-icon {
    color: var(--accent-2);
    filter: drop-shadow(0 0 8px rgba(204, 24, 128, 0.5));
}

.vip-icon {
    color: var(--accent-3);
    filter: drop-shadow(0 0 8px rgba(255, 102, 195, 0.5));
}

.chevron {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.glass-btn:hover {
    transform: translateY(-4px) scale(1.01);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--card-hover-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.05);
}

.glass-btn:hover .chevron {
    transform: translateX(4px);
    color: var(--text-main);
}

/* ======== FOOTER ======== */
.footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.7;
}

/* ======== ANIMATIONS ======== */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    /* Usa a var customizada no inline style pra delay */
    animation-delay: calc(var(--delay) * 0.15s + 0.3s);
}

/* Responsiveness on very small screens */
@media (max-width: 350px) {
    .glass-btn {
        padding: 1rem 1.2rem;
    }

    .profile-name {
        font-size: 1.5rem;
    }
}