/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Particles background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-image: url(img/backengenheiro02.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Container principal */
.container {
    max-width: 480px;
    /* Adicionamos margem no topo para empurrar o conteúdo para baixo e evitar cortes */
    margin: 100px auto 0;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header do perfil */
.profile-header {
    text-align: center;
    margin-bottom: 30px;
    /*background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 0));*/
    background-image: url(img/backheroenge.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 80px 20px 30px 20px; /* Padding ajustado para o novo layout */
    /* Removemos a sombra e a borda para um efeito de degradê mais limpo */
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); */
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    filter: drop-shadow(2px 4px 6px black);
}

.profile-image {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    margin-top: -150px; /* Puxa a imagem para fora do card */
}

.profile-image img {
    width: 200px;
    height: 220px;
    border-radius: 10%;
    /* A borda foi removida conforme solicitado */
    
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #4CAF50;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 3px solid white;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #030303;
    margin-bottom: 5px;
    background-color: #f5f5dc7a;
  
}

.profile-title {
    font-size: 18px;
    color: #252525;
    font-weight: 600;
    margin-bottom: 5px;
    filter: drop-shadow(2px 4px 6px white);
    background-color: #f5f5dc7a;

}

.profile-subtitle {
    font-size: 14px;
    color: #070707;
    margin-bottom: 20px;
    background-color: #f5f5dc7a;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #347cff;
    filter: drop-shadow(2px 4px 6px brown);
}

.stat-label {
    font-size: 12px;
    color: #014269;
}

/* Container de links */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

/* Estilo dos links */
.link-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-decoration: none;
    color: #2c3e50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid;
    border-color: cornflowerblue;
    background-color: currentColor;
    background-repeat: no-repeat;
    background-position: bottom;
    filter: drop-shadow(2px 4px 6px black);
}

span {
    color: white;
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    -webkit-tap-highlight-color: transparent; /* Remove o destaque de toque em celulares */
}

.link-item.primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.link-item.primary:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
}

.link-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 79, 0);
    flex-shrink: 0;
    position: relative; /* Adicionado para posicionar a imagem */
    margin-right: 25px; /* Aumentado para dar espaço à imagem maior */
}



.link-icon2 img {
    width: 95px;
    height: 195px;
    object-fit: contain;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    margin-left: 50px;
}








.link-icon img {
    /* A imagem agora é maior e posicionada de forma absoluta para vazar */
    width: 95px;
    height: 95px;
    object-fit: contain;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.link-item.primary .link-icon {
    background: rgba(255, 255, 255, 0);
}

.link-icon.whatsapp {
    background: rgba(0, 0, 0, 0);
    /* A cor do ícone agora vem da imagem */
}

.link-icon.instagram {
    background: linear-gradient(45deg, #00000000 0%, #e6693c00 25%, #dc274200 50%, #cc236700 75%, #bc188800 100%);
    /* A cor do ícone agora vem da imagem */
}

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.link-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.link-subtitle {
    font-size: 13px;
    opacity: 0.7;
}

.link-arrow {
    font-size: 16px;
    opacity: 0.5;
    transition: all 0.3s ease;
    color: lawngreen;
}

.link-item:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Redes sociais */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-link[data-social="facebook"]:hover {
    background: #1877f2;
    color: white;
}

.social-link[data-social="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link[data-social="linkedin"]:hover {
    background: #0077b5;
    color: white;
}

.social-link[data-social="youtube"]:hover {
    background: #ff0000;
    color: white;
}

/* Informações de contato */
.contact-info {
    text-align: center;
     background: rgba(115, 167, 231, 0.274);
    backdrop-filter: blur(1px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    margin: 8px 0;
    color: #030303f8;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-info i {
    color: #102ac2;
}

a{
    text-align: center;
    text-decoration: none;
    color: yellowgreen;
}

footer p {
    text-align: center;
    font-size: 12px;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 10px;
}



/* Responsividade */
@media (max-width: 480px) {
    .container {
        margin-top: 80px; /* Reduz a margem superior em telas menores */
        padding: 15px;
    }
    
    .profile-header {
        /* Ajustado para dar espaço à imagem que vaza para fora */
        padding: 70px 15px 25px;
    }

    /* Ajuste para evitar problemas com o background fixo em telas pequenas,
       fazendo com que o background role com a página. */
    /* A regra abaixo não é mais necessária com a correção aplicada. */
    /* .particles { background-attachment: scroll; } */

    .profile-image {
        margin-top: -125px; /* Ajuste do deslocamento para telas menores */
    }

    .profile-image img {
               width: 220px;
        height: 200px;
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .profile-stats {
        gap: 20px;
    }
    
    .link-item {
        padding: 15px;
    }
    
    .link-icon {
        width: 45px;
        height: 45px;
        margin-right: 20px;
    }

    .link-icon img {
        /* Ajuste para telas menores */
        width: 85px;
        height: 85px;
    }



    .link-icon2 img {
    width: 50px;
    height: 60px;
    object-fit: contain;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    margin-left: 50px;
    margin-top: -10px;
}
    
    .link-title {
        font-size: 15px;
    }
    
    .link-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .container {
        margin-top: 70px;
    }
    .profile-header {
        padding-top: 60px;
        margin-bottom: 20px;
    }
    .profile-image img {
               width: 120px;
        height: 150px;
    }
    
    .profile-name {
        font-size: 22px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}