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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

.perfil {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.perfil.visivel {
    opacity: 1;
    transform: translateY(0);
}

.banner {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.foto-perfil {
    border-radius: 50%;
    position: absolute;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border: 4px solid white;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
}

.foto-perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
}

.titulo {
    margin-top: 70px;
    font-size: 22px;
    color: #1a1a1a;
}

.subtitulo {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.redes-sociais {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.redes-sociais img {
    width: 24px;
    height: 24px;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.botao-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.botao-link:hover {
    background-color: #e8e8e8;
}

.icone-botao {
    width: 20px;
    height: 20px;
}

.descricao {
    font-size: 13px;
    color: #999;
    padding-bottom: 20px;
}

.aviso-copiado {
    background-color: #1a1a1a;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-block;
    margin-top: 12px;
}
#botao-tema {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
}
body.modo-escuro {
    background-color: #121212;
}

body.modo-escuro .perfil {
    background-color: #1e1e1e;
}

body.modo-escuro .titulo {
    color: #ffffff;
}

body.modo-escuro .subtitulo {
    color: #aaaaaa;
}

body.modo-escuro .botao-link {
    background-color: #2a2a2a;
    color: #ffffff;
}

body.modo-escuro .botao-link:hover {
    background-color: #3a3a3a;
}

body.modo-escuro .descricao {
    color: #777777;
}