/* Ocultar barra lateral en Chrome, Edge, Safari */
::-webkit-scrollbar{
    display: none;
}

/* Ocultar barra lateral en Firefox */
html{
    scrollbar-width: none;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    background-image: url('./img/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    font-family: 'Inter', sans-serif;
}

@media (min-width: 769px){

    body::before{
        content: '';
        position: fixed;
        inset: 0;
        pointer-events: none;

        background:
        linear-gradient(
            to left,
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,0.95) 20%,
            rgba(0,0,0,0) 70%
        );
    }

}

@media (max-width: 768px){

    body{
        background-position: 20% center;
        background-attachment: scroll;
    }

    body::before{
        content: '';

        position: fixed;
        inset: 0;

        background-image: url('./img/background.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 20% center;

        filter: blur(2px);

        transform: scale(1.05);

        z-index: -1;
    }

}

.container{
    width: 90vw;
    max-width: 450px;
    min-height: 95vh;
    position: relative;

    margin: 0 auto;
    padding: 20px;

    display: flex;
    flex-direction: column;

    background: rgba(255, 203, 233, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    overflow: hidden;
}

.container::before{
    content: '';

    position: absolute;
    inset: 0;

    border-radius: inherit;
    padding: 1px;

    background:

        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(129, 129, 129, 0.45) 100%
        ),
        
        radial-gradient(
            circle at 50% 100%,
            rgba(255, 145, 230, .9) 0%,
            rgba(255,145,230,.35) 8%,
            transparent 20%
        ),
        
        radial-gradient(
            circle at 80% 30%,
            rgba(255, 145, 230, .9) 0%,
            rgba(255,145,230,.55) 25%,
            transparent 50%
        ),
        
        radial-gradient(
            circle at 100% 80%,
            rgba(255, 231, 249, 0.7) 0%,
            rgba(255, 231, 249,.45) 20%,
            transparent 50%
        ),
        
        radial-gradient(
            circle at 0% 20%,
            rgba(245, 178, 55, 0.9) 0%,
            rgba(245, 178, 55, 0.5) 25%,
            transparent 50%
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

.container::after{
    content: '';

    position: absolute;

    left: 50%;
    bottom: -200px;

    transform: translateX(-50%);

    width: 300px;
    height: 300px;

    background: radial-gradient(
        ellipse,
        rgba(255, 90, 180, 0.35) 0%,
        rgba(255, 90, 180, 0.10) 50%,
        transparent 80%
    );

    filter: blur(30px);

    pointer-events: none;
}

.profile-picture{
    width: 160px;
    height: 160px;
    margin: 20px auto 0 auto;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 10px rgba(255, 120, 220, .3),
        0 0 30px rgba(255, 120, 220, .08),
        0 0 60px rgba(180, 100, 255, .04);
}

.profile-picture img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture::before{
    content: '';

    position: absolute;
    inset: 0;

    border-radius: inherit;

    padding: 2px;

    background:
            linear-gradient(
            135deg,
            rgba(255, 120, 194, 0.15),
            rgba(255, 100, 221, 0.4),
            rgba(255,120,220,.15)
        ),

        radial-gradient(
            circle at 75% 25%,
            rgba(255,120,220,.5) 0%,
            transparent 35%
        ),

        radial-gradient(
            circle at 30% 80%,
            rgba(252, 104, 203, 0.2) 0%,
            transparent 30%
        ),

        radial-gradient(
            circle at 20% 20%,
            rgba(243, 197, 72, .4) 0%,
            transparent 30%
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

.profile-info{
    text-align: center;
    margin-top: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.profile-info h1{
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.checkmark-icon{
    width: 24px;
    height: 24px;
    transform: translateY(2px);
}

.username{
    margin-top: 2px;

    color: rgba(255, 190, 230, 0.8);
    font-size: .85rem;
}

.description{
    margin-top: 18px;

    color: rgba(255,255,255,0.85);
    font-size: .85rem;
}

.location{
    margin-top: 4px;

    color: rgba(255,255,255,0.85);
    font-size: .85rem;
}

.social-links{
    display: flex;
    justify-content: center;
    gap: 15px;

    margin-top: 20px;
}

.social-links a{
    width: 28px;
    height: 28px;

    transition:
        transform .25s ease;
}

.social-links a:hover{
    transform: translateY(-2px);
}

.social-links img{
    width: 100%;
    height: 100%;

    object-fit: contain;
    filter: brightness(0)
            invert(1)
            drop-shadow(0 2px 8px rgba(0,0,0,.8));
}

.cards-container{
    flex: 1;
    width: 100%;
    padding: 20px 10px 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-card{
    flex: 1;
    width: 100%;
    padding: 10px 16px;
    position: relative;

    display: flex;
    align-items: center;
    gap: 16px;

    text-decoration: none;
    border-radius: 16px;
    background: rgba(255, 182, 233, 0.1);
    backdrop-filter: blur(15px);
    transition:
        background .25s ease,
        transform .25s ease;
}

.link-card::before{
    content: '';

    position: absolute;
    inset: 0;

    border-radius: inherit;
    padding: 1px;

    background:

        linear-gradient(
            160deg,
            rgba(255, 180, 238, 0.4) 0%,
            rgba(255,145,230,.2) 100%
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

.link-card:hover{
    background: rgba(255, 182, 233, 0.25);
    transform: translateY(-2px);
}

.card-icon{
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    opacity: .8;
    filter: brightness(0)
            invert(1)
            drop-shadow(0 2px 8px rgba(0,0,0,.25));
}

.link-card-text{
    flex: 1;
}

.link-card-text h3{
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 600;
}

.link-card-text p{
    margin-top: 2px;
    color: rgba(250, 192, 228, 0.85);
    font-size: .8rem;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.premium-card{
    background: rgba(255, 218, 117, 0.2);
}

.premium-card::before{
    background: linear-gradient(
        160deg,
        rgba(255, 235, 180, 0.6) 0%,
        rgba(255, 229, 145, 0.3) 100%
    );
}

.premium-card:hover{
    background: rgba(255, 218, 117, 0.4);
}

.premium-card .link-card-text h3{
    color: rgba(255, 251, 243, 0.9);
}

.premium-card .link-card-text p{
    color: rgb(255, 216, 125, .85);
}

.arrow{
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: .7;
    filter: brightness(0)
            invert(1)
            drop-shadow(0 2px 8px rgba(0,0,0,.8));
}

.footer{
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding-bottom: 5px;
}

.footer img{
    width: 80px;
    height: auto;
    opacity: .9;
    filter:
        brightness(0)
        invert(1)
        drop-shadow(0 0 2px rgba(248, 161, 222, 0.25));
}