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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 400px;
    width: 100%;
    background: url('imagens/background2.png');
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-out;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 25px;
    z-index: -1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 15px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
}

.name {
    font-size: 24px;
    font-weight: bold;
    color: #555555;
    margin-bottom: 5px;
}

.bio {
    font-size: 14px;
    color: #555555;
    line-height: 1.4;
}

.links-section {
    margin-bottom: 30px;
}

.sub-links {
    margin-left: 20px;
    margin-bottom: 15px;
    border-left: 3px solid #667eea;
    padding-left: 15px;
    animation: slideDown 0.3s ease-out;
}

/* Estilo para sub-links aninhados */
.sub-links .sub-links {
    margin-left: 15px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-left: 2px solid #a5b4fc;
    padding-left: 10px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.sub-button {
    background: white;
    color: #555555;
    font-size: 18px;
    padding: 12px 16px;
    margin-bottom: 10px;
}

.sub-button:hover {
    background: #e0e0e0;
    color: #555555;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.link-button {
    display: block;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 15px;
    background: white;
    color: #555555;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #e0e0e0;
    color: #555555;
}

.link-button:active {
    transform: translateY(0);
}

.link-button-with-image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 10px 20px;
}

.link-button-with-image img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.link-button.primary {
    background: white;
    color: #555555;
    font-size: 18px;
    padding: 20px;
}

.link-button.primary:hover {
    background: #e0e0e0;
    color: #555555;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.social-section {
    text-align: center;
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(0%) invert(40%) sepia(0%) saturate(0%) hue-rotate(201deg) brightness(95%) contrast(91%);
    transition: filter 0.3s ease;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: transparent;
    text-decoration: none;
    margin: 0 5px;
    padding: 8px;
    box-sizing: border-box;
}

.social-link:hover {
    background-color: #e0e0e0;
}

.social-link:hover .social-icon {
    opacity: 0.8;
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 12px;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .name {
        font-size: 20px;
    }
    
    .link-button {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .link-button.primary {
        font-size: 16px;
        padding: 18px;
    }
}
